Searched refs:TEST_PKG1 (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/blob/ |
D | BlobStoreManagerServiceTest.java | 71 private static final String TEST_PKG1 = "com.example1"; field in BlobStoreManagerServiceTest 116 final BlobStoreSession session1 = createBlobStoreSessionMock(TEST_PKG1, TEST_UID1, in testHandlePackageRemoved() 134 final BlobStoreSession session4 = createBlobStoreSessionMock(TEST_PKG1, TEST_UID1, in testHandlePackageRemoved() 145 doReturn(true).when(blobMetadata1).isACommitter(TEST_PKG1, TEST_UID1); in testHandlePackageRemoved() 154 doReturn(false).when(blobMetadata2).isACommitter(TEST_PKG1, TEST_UID1); in testHandlePackageRemoved() 163 doReturn(true).when(blobMetadata3).isACommitter(TEST_PKG1, TEST_UID1); in testHandlePackageRemoved() 170 mService.handlePackageRemoved(TEST_PKG1, TEST_UID1); in testHandlePackageRemoved() 185 verify(blobMetadata1).removeCommitter(TEST_PKG1, TEST_UID1); in testHandlePackageRemoved() 186 verify(blobMetadata1).removeLeasee(TEST_PKG1, TEST_UID1); in testHandlePackageRemoved() 187 verify(blobMetadata2, never()).removeCommitter(TEST_PKG1, TEST_UID1); in testHandlePackageRemoved() [all …]
|
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/ |
D | LowPowerStandbyControllerTest.java | 108 private static final String TEST_PKG1 = "PKG1"; field in LowPowerStandbyControllerTest 188 when(mPackageManagerMock.getPackageUid(eq(TEST_PKG1), any())).thenReturn(TEST_PKG1_APP_ID); in setUp() 190 when(mPackageManagerMock.getPackageUidAsUser(eq(TEST_PKG1), eq(USER_ID_1))) in setUp() 655 mController.setPolicy(policyWithExemptPackages(TEST_PKG1, TEST_PKG2)); in testSetExemptPackages_uidPerUserIsExempt() 672 mController.setPolicy(policyWithExemptPackages(TEST_PKG1)); in testExemptPackageIsRemoved_servicesAreNotified() 684 when(mPackageManagerMock.getPackageUid(eq(TEST_PKG1), any())) in testExemptPackageIsRemoved_servicesAreNotified() 688 intent.setData(Uri.fromParts(IntentFilter.SCHEME_PACKAGE, TEST_PKG1, null)); in testExemptPackageIsRemoved_servicesAreNotified() 701 mController.setPolicy(policyWithExemptPackages(TEST_PKG1)); in testUsersChanged_packagesExemptForNewUser() 803 fgsObserver.onForegroundStateChanged(null, TEST_PKG1, USER_ID_1, true); in testAllowReason_ongoingPhoneCallService() 816 fgsObserver.onForegroundStateChanged(null, TEST_PKG1, USER_ID_1, false); in testAllowReason_ongoingPhoneCallService() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | UidObserverControllerTest.java | 70 private static final String TEST_PKG1 = "com.example1"; field in UidObserverControllerTest
|