Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c78e267b authored by Kirill Timofeev's avatar Kirill Timofeev
Browse files

Perfetto SDK: use external 'dev.perfetto.sdk' dependency.

We want to use the same Perfetto Java SDK code both for the 3P
users and in Framework,the same way we are already doing
for the Perfetto C API.

We add a dependency to the external java and jni code.
We guard the new usage with a flag `perfetto_sdk_tracing_v3`.
We will delete the android.os.PerfettoTrace code in the future.

I've updated the 'TracePerfTest' with a 'V3' test versions,
to make sure we have no perf regressions.
I've also add tests to make sure the 'V3' version init and works fine.

Test: atest TracePerfTest
Test: atest FrameworksCoreTests:PerfettoTraceV3InitializationTest
Test: atest FrameworksCoreTests:PerfettoTraceMessageQueueTest
Bug: 303199244
Flag: android.os.perfetto_sdk_tracing_v3
Change-Id: Ie25bb90850f028fd6e5a345340b1359d214a7017
parent b250bf93
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment