Home
last modified time | relevance | path

Searched refs:testPkg (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSliceClientPermissionsTest.java64 PkgUser testPkg = new PkgUser("other", 2); in testRemoveBasic() local
68 .build(), testPkg); in testRemoveBasic()
71 .build(), testPkg); in testRemoveBasic()
76 .build(), testPkg.getUserId())); in testRemoveBasic()
90 PkgUser testPkg = new PkgUser("other", 2); in testRemoveSubtrees() local
95 .build(), testPkg); in testRemoveSubtrees()
99 .build(), testPkg); in testRemoveSubtrees()
102 .build(), testPkg); in testRemoveSubtrees()
107 .build(), testPkg.getUserId())); in testRemoveSubtrees()
121 PkgUser testPkg = new PkgUser("other", 2); in testAddConsolidate_addFirst() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DServiceRestarterTest.java380 final String testPkg = TEST_PACKAGE2_NAME; in testServiceWithDepPkgStopped() local
385 intent.setComponent(ComponentName.unflattenFromString(testPkg + "/" + TEST_SERVICE_NAME)); in testServiceWithDepPkgStopped()
388 executeShellCmd("am service-restart-backoff disable " + testPkg); in testServiceWithDepPkgStopped()
391 assertTrue("Unable to bind to test service in " + testPkg, in testServiceWithDepPkgStopped()
393 assertTrue("Timed out to bind service in " + testPkg, in testServiceWithDepPkgStopped()
397 assertTrue(libPkg + " should be a dependency package of " + testPkg, in testServiceWithDepPkgStopped()
398 isPackageDependency(testPkg, libPkg)); in testServiceWithDepPkgStopped()
403 assertTrue("Test service in didn't restart in " + testPkg, in testServiceWithDepPkgStopped()
411 assertTrue("Test service in didn't restart in " + testPkg, in testServiceWithDepPkgStopped()
418 am.forceStopPackage(testPkg); in testServiceWithDepPkgStopped()
[all …]