Convert transitions legacy to perfetto. Bug: 411363817 Test: npm run test:unit:ci Change-Id: I69abe332e9a549ee8260bdc6181cb34904597160