Home
last modified time | relevance | path

Searched refs:HELPER_PKG2 (Results 1 – 7 of 7) sorted by relevance

/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/
DBroadcastDeliveryGroupTest.java36 final TestServiceConnection connection2 = bindToHelperService(HELPER_PKG2); in testDeliveryGroupPolicy_policyAll()
47 .setPackage(HELPER_PKG2); in testDeliveryGroupPolicy_policyAll()
50 .setPackage(HELPER_PKG2); in testDeliveryGroupPolicy_policyAll()
65 final TestServiceConnection connection2 = bindToHelperService(HELPER_PKG2); in testDeliveryGroupPolicy_withForceDelay_policyAll()
76 initializeQueue(HELPER_PKG2, cmdReceiver2); in testDeliveryGroupPolicy_withForceDelay_policyAll()
77 forceDelayBroadcasts(HELPER_PKG2); in testDeliveryGroupPolicy_withForceDelay_policyAll()
81 .setPackage(HELPER_PKG2); in testDeliveryGroupPolicy_withForceDelay_policyAll()
84 .setPackage(HELPER_PKG2); in testDeliveryGroupPolicy_withForceDelay_policyAll()
99 final TestServiceConnection connection2 = bindToHelperService(HELPER_PKG2); in testDeliveryGroupPolicy_policyMostRecent()
110 .setPackage(HELPER_PKG2); in testDeliveryGroupPolicy_policyMostRecent()
[all …]
DBroadcastDeferralTest.java61 .setPackage(HELPER_PKG2); in testFgBroadcastDeliveryToFrozenApp_withDeferUntilActive()
66 TestServiceConnection connection2 = bindToHelperService(HELPER_PKG2); in testFgBroadcastDeliveryToFrozenApp_withDeferUntilActive()
95 connection2 = bindToHelperService(HELPER_PKG2); in testFgBroadcastDeliveryToFrozenApp_withDeferUntilActive()
130 .setPackage(HELPER_PKG2); in testFgBroadcastDeliveryToFrozenApp()
132 TestServiceConnection connection2 = bindToHelperService(HELPER_PKG2); in testFgBroadcastDeliveryToFrozenApp()
158 connection2 = bindToHelperService(HELPER_PKG2); in testFgBroadcastDeliveryToFrozenApp()
DDumpOnFailureRule.java18 import static android.app.cts.broadcasts.BaseBroadcastTest.HELPER_PKG2;
60 dumpCommandOutput(out, "dumpsys activity processes " + HELPER_PKG2); in onTestFailure()
DBroadcastFreezerTest.java174 TestServiceConnection connection2 = bindToHelperService(HELPER_PKG2); in testBroadcastDelivery_pendingFreezeCancelled()
177 .setPackage(HELPER_PKG2); in testBroadcastDelivery_pendingFreezeCancelled()
198 connection2 = bindToHelperService(HELPER_PKG2); in testBroadcastDelivery_pendingFreezeCancelled()
DBaseBroadcastTest.java68 protected static final String HELPER_PKG2 = "com.android.app.cts.broadcasts.helper2"; field in BaseBroadcastTest
97 for (String pkg : new String[] {HELPER_PKG1, HELPER_PKG2}) { in unsetPackageStoppedState()
107 for (String pkg : new String[] {HELPER_PKG1, HELPER_PKG2}) { in tearDown()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appexit/
DAppExitHostTest.java56 private static final String HELPER_PKG2 = "com.android.cts.launcherapps.simpleapp"; field in AppExitHostTest
74 DeviceUtils.installTestApp(getDevice(), HELPER_APK2, HELPER_PKG2, mCtsBuild); in setUp() local
77 getDevice().executeShellCommand("cmd deviceidle tempwhitelist -r " + HELPER_PKG2); in setUp()
90 DeviceUtils.uninstallTestApp(getDevice(), HELPER_PKG2); in tearDown() local
100 final String helperPackage = HELPER_PKG2; in testLogStatsdPermChanged()
/cts/tests/BlobStore/src/com/android/cts/blob/
DBlobStoreManagerTest.java113 private static final String HELPER_PKG2 = "com.android.cts.blob.helper2"; field in BlobStoreManagerTest
147 for (String pkg : new String[] {HELPER_PKG, HELPER_PKG2, HELPER_PKG3}) { in tearDown()
256 assertThrows(SecurityException.class, () -> openSessionFromPkg(sessionId, HELPER_PKG2)); in testOpenSession_fromAnotherPkg()
264 assertThrows(SecurityException.class, () -> openSessionFromPkg(sessionId, HELPER_PKG2)); in testOpenSession_fromAnotherPkg()
350 acquireLeaseAndAssertPkgCanAccess(blobData, HELPER_PKG2); in testAllowPublicAccess()
394 assertPkgCannotAccess(blobData, HELPER_PKG2); in testAllowSameSignatureAccess()
433 session.allowPackageAccess(HELPER_PKG2, HELPER_PKG2_CERT_SHA256); in testAllowPackageAccess()
434 assertThat(session.isPackageAccessAllowed(HELPER_PKG2, HELPER_PKG2_CERT_SHA256)) in testAllowPackageAccess()
439 acquireLeaseAndAssertPkgCanAccess(blobData, HELPER_PKG2); in testAllowPackageAccess()
455 session.allowPackageAccess(HELPER_PKG2, HELPER_PKG2_CERT_SHA256); in testAllowPackageAccess_allowMultiple()
[all …]