Searched refs:TEST_CALLING_PACKAGE (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | AlarmManagerServiceTest.java | 93 import static com.android.server.alarm.Constants.TEST_CALLING_PACKAGE; 461 when(mUsageStatsManagerInternal.getAppStandbyBucket(eq(TEST_CALLING_PACKAGE), in setUp() 503 registerAppIds(new String[]{TEST_CALLING_PACKAGE}, in setUp() 615 TEST_CALLING_PACKAGE, null, 0); in setPrioritizedAlarm() 640 TEST_CALLING_PACKAGE, idleOptions); in setTestAlarm() 657 FLAG_STANDALONE, null, null, callingUid, TEST_CALLING_PACKAGE, null, 0); in setTestAlarmWithListener() 665 return getNewMockPendingIntent(TEST_CALLING_UID, TEST_CALLING_PACKAGE, isActivity); in getNewMockPendingIntent() 974 when(mUsageStatsManagerInternal.getAppStandbyBucket(eq(TEST_CALLING_PACKAGE), anyInt(), 982 when(mUsageStatsManagerInternal.getAppStandbyBucket(eq(TEST_CALLING_PACKAGE), anyInt(), 990 when(mUsageStatsManagerInternal.getAppStandbyBucket(eq(TEST_CALLING_PACKAGE), anyInt(), [all …]
|
D | AlarmTest.java | 31 import static com.android.server.alarm.Constants.TEST_CALLING_PACKAGE; 58 TEST_CALLING_PACKAGE, null, 0); in createDefaultAlarm() 65 TEST_CALLING_PACKAGE, null, 0); in createAlarmClock() 70 when(alarmPi.getCreatorPackage()).thenReturn(TEST_CALLING_PACKAGE); in createAlarmSender()
|
D | Constants.java | 20 String TEST_CALLING_PACKAGE = "com.android.framework.test-package"; field
|
D | AlarmStoreTest.java | 25 import static com.android.server.alarm.Constants.TEST_CALLING_PACKAGE; 75 TEST_CALLING_PACKAGE, null, EXACT_ALLOW_REASON_NOT_APPLICABLE); in createAlarmClock() 80 null, null, null, flags, null, TEST_CALLING_UID, TEST_CALLING_PACKAGE, null, in createAlarm()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/ |
D | AppClipsActivityTest.java | 79 private static final String TEST_CALLING_PACKAGE = "test-calling-package"; field in AppClipsActivityTest 118 when(mPackageManager.getApplicationInfoAsUser(eq(TEST_CALLING_PACKAGE), in setUp() 158 verify(mUiEventLogger).log(SCREENSHOT_FOR_NOTE_ACCEPTED, TEST_UID, TEST_CALLING_PACKAGE); in screenshotDisplayed_userConsented_screenshotExportedSuccessfully() 176 verify(mUiEventLogger).log(SCREENSHOT_FOR_NOTE_CANCELLED, TEST_UID, TEST_CALLING_PACKAGE); in screenshotDisplayed_userDeclined() 187 TEST_CALLING_PACKAGE); in launchActivity()
|
D | AppClipsTrampolineActivityTest.java | 85 private static final String TEST_CALLING_PACKAGE = "test-calling-package"; field in AppClipsTrampolineActivityTest 260 verify(mUiEventLogger).log(SCREENSHOT_FOR_NOTE_TRIGGERED, TEST_UID, TEST_CALLING_PACKAGE); in startAppClipsActivity_shouldLogUiEvent() 269 when(mPackageManager.getApplicationInfoAsUser(eq(TEST_CALLING_PACKAGE), in mockToSatisfyAllPrerequisites() 292 return TEST_CALLING_PACKAGE; in getCallingPackage()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStartInterceptorTest.java | 89 private static final String TEST_CALLING_PACKAGE = "com.test.caller"; field in ActivityStartInterceptorTest 143 TEST_START_FLAGS, TEST_CALLING_PACKAGE, null); in setUp()
|