summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2022-08-24 20:58:35 +0000
committer Vishnu Nair <vishnun@google.com> 2022-08-24 20:58:35 +0000
commita6676074c75563e54c08e982f54822dd81a5a941 (patch)
treeb520a65f782955bd14521f05a105d0b53fb0b7c9
parentea7e31ce51b17e656f391a2aaa678a4e4a5ece3a (diff)
SurfaceFlingerPerfTests: add permissions to read and write from storage
Permissions are needed to write perfetto trace and read/write simpleperf report. Test: abtd test --test_location=remote --test_bench_config=crystalball/oriole-skhynix-128gb --gerrit_hostname android ab::lkgb:oriole-userdebug:git_master /google/src/cloud/vishnun/CS-surface_flinger_perf-2022-08-23_083349/google3/wireless/android/test_tools/atp/config/test/health/microbench/instr_metric/surface_flinger_perf.gcl Bug: 230039226 Change-Id: I89c75c956d6aa644367a834453e80c550d351fc2
-rw-r--r--apct-tests/perftests/surfaceflinger/AndroidManifest.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/apct-tests/perftests/surfaceflinger/AndroidManifest.xml b/apct-tests/perftests/surfaceflinger/AndroidManifest.xml
index c908d6ae4cff..26f25863f055 100644
--- a/apct-tests/perftests/surfaceflinger/AndroidManifest.xml
+++ b/apct-tests/perftests/surfaceflinger/AndroidManifest.xml
@@ -16,6 +16,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="android.perftests.surfaceflinger">
+ <!-- permission needed to write perfetto trace and read/write simpleperf report -->
+ <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+
<application android:label="SurfaceFlingerPerfTests">
<uses-library android:name="android.test.runner" />
<activity android:name="android.surfaceflinger.SurfaceFlingerTestActivity"