simpleperf: update app_api and api_profiler.py.
Update app_api interface to check persist properties.
Update api_profiler.py to use new options in api-prepare cmd.
Also refactor api_profiler.py to move functions inside ApiProfiler
class.
Also update build config of demo packages.
Also update test apk files. Apk files targeting prev Q are removed,
Because Android Studio already recommends targeting Android 11.
Bug: 204601121
Test: run scripts/test/test.py -p TestApiProfiler*
Change-Id: I91c3a9f1a5cfeb528af27b1a0648812541121ae3
29 files changed