commit | 902f90835d88f2cde551d4463b825c31a7c468e6 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Thu Oct 15 17:32:48 2020 -0700 |
committer | Yabin Cui <yabinc@google.com> | Fri Oct 16 15:11:19 2020 -0700 |
tree | 6d4704046f9dd260e7c49a3905faa079bed1e1f4 | |
parent | 3babe8947d5c07e68ecaeb1a0d2da62cd0181d4a [diff] |
simpleperf: support secondary android users. 1. Add --user option to simpleperf_app_runner. 2. When using run-as or simpleperf_app_runner, use `am get-current-user` to get current user id. 3. In app_api, choose correct app data dir based on uid. 4. Update testdata apks. Bug: 141267945 Test: run simpleperf_unit_test on different users. Test: run CtsSimpleperfTestCases on different users. Change-Id: Ib64c3dd55914176791ed05853b972813c5d01d40