Make the test suite device-tests.

+grant all permissions

Fixes: 272575212
Test: atest PackageManagerServiceHostTests
Change-Id: I0087c1bcd360f61a05a43855971f637f439ec808
This commit is contained in:
Alex Buynytskyy
2023-05-09 12:12:41 -07:00
parent 51a5c2fd3b
commit 3d023c38cb
2 changed files with 2 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ java_test_host {
"PackageManagerServiceHostTestsIntentVerifyUtils",
"block_device_writer_jar",
],
test_suites: ["general-tests"],
test_suites: ["device-tests"],
data: [
":PackageManagerTestApex",
":PackageManagerTestApexApp",

View File

@@ -30,6 +30,7 @@
<target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
<option name="cleanup-apks" value="true" />
<option name="install-arg" value="-t" />
<option name="install-arg" value="-g" />
<option name="test-file-name" value="PackageManagerServiceServerTests.apk" />
</target_preparer>