summaryrefslogtreecommitdiff
path: root/tests/BootImageProfileTest/AndroidTest.xml
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2019-10-03 09:38:49 -0700
committer Mathieu Chartier <mathieuc@google.com> 2019-10-11 15:10:01 -0700
commit9a1c86dd4bb7cbb669061ecc66d4d11b12dd7a60 (patch)
treeda83e22626d68e029f18f9eddc9b7d682ff2e570 /tests/BootImageProfileTest/AndroidTest.xml
parentb389ffe2d9b3ddf90093632cbbe4fc36aa384cd8 (diff)
Use phenotype properties for boot image profile test
Use these properties instead of system properties to get coverage. Bug: 139883463 Test: atest BootImageProfileTest Change-Id: I9275913ef109b5aaf0bdca6c07da8f102ecdc701
Diffstat (limited to 'tests/BootImageProfileTest/AndroidTest.xml')
-rw-r--r--tests/BootImageProfileTest/AndroidTest.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/BootImageProfileTest/AndroidTest.xml b/tests/BootImageProfileTest/AndroidTest.xml
index c13200778c4b..b4f2663585cc 100644
--- a/tests/BootImageProfileTest/AndroidTest.xml
+++ b/tests/BootImageProfileTest/AndroidTest.xml
@@ -22,8 +22,8 @@
<!-- we need this magic flag, otherwise it always reboots and breaks the selinux -->
<option name="force-skip-system-props" value="true" />
- <option name="run-command" value="setprop dalvik.vm.profilesystemserver true" />
- <option name="run-command" value="setprop dalvik.vm.profilebootclasspath true" />
+ <option name="run-command" value="device_config put runtime_native_boot profilesystemserver true" />
+ <option name="run-command" value="device_config put runtime_native_boot profilebootclasspath true" />
<!-- Profiling does not pick up the above changes we restart the shell -->
<option name="run-command" value="stop" />