Searched refs:TEST_PKG2 (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/blob/ |
D | BlobStoreManagerServiceTest.java | 72 private static final String TEST_PKG2 = "com.example2"; field in BlobStoreManagerServiceTest 122 final BlobStoreSession session2 = createBlobStoreSessionMock(TEST_PKG2, TEST_UID2, in testHandlePackageRemoved() 251 final BlobStoreSession session2 = createBlobStoreSessionMock(TEST_PKG2, TEST_UID2, in testHandleIdleMaintenance_deleteStaleSessions() 334 doReturn(true).when(blobMetadata1).isALeasee(TEST_PKG2, TEST_UID2); in testGetTotalUsageBytes() 341 doReturn(true).when(blobMetadata2).isALeasee(TEST_PKG2, TEST_UID2); in testGetTotalUsageBytes() 348 doReturn(false).when(blobMetadata3).isALeasee(TEST_PKG2, TEST_UID2); in testGetTotalUsageBytes() 354 assertThat(mService.getTotalUsageBytesLocked(TEST_UID2, TEST_PKG2)) in testGetTotalUsageBytes()
|
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/ |
D | LowPowerStandbyControllerTest.java | 109 private static final String TEST_PKG2 = "PKG2"; field in LowPowerStandbyControllerTest 189 when(mPackageManagerMock.getPackageUid(eq(TEST_PKG2), any())).thenReturn(TEST_PKG2_APP_ID); in setUp() 192 when(mPackageManagerMock.getPackageUidAsUser(eq(TEST_PKG2), eq(USER_ID_1))) in setUp() 655 mController.setPolicy(policyWithExemptPackages(TEST_PKG1, TEST_PKG2)); in testSetExemptPackages_uidPerUserIsExempt() 809 fgsObserver.onForegroundStateChanged(null, TEST_PKG2, USER_ID_1, true); in testAllowReason_ongoingPhoneCallService() 872 mController.setPolicy(policyWithExemptPackages(TEST_PKG2)); in testActiveStandbyPorts_emptyIfPackageNotExempt()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | UidObserverControllerTest.java | 71 private static final String TEST_PKG2 = "com.example2"; field in UidObserverControllerTest 159 PROCESS_STATE_IMPORTANT_FOREGROUND, TEST_PKG2, TEST_UID2); in testDispatchUidsChanged()
|