Home
last modified time | relevance | path

Searched refs:PKG_1 (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarHeadsUpNotificationManagerTest.java72 private static final String PKG_1 = "package_1"; field in CarHeadsUpNotificationManagerTest
205 new StatusBarNotification(PKG_1, OP_PKG, ID, TAG, UID, INITIAL_PID, in setup()
212 new StatusBarNotification(PKG_1, OP_PKG, ID, TAG, UID, INITIAL_PID, in setup()
215 new StatusBarNotification(PKG_1, OP_PKG, ID, TAG, UID, INITIAL_PID, in setup()
219 new StatusBarNotification(PKG_1, OP_PKG, ID, TAG, UID, INITIAL_PID, in setup()
222 new StatusBarNotification(PKG_1, OP_PKG, ID, TAG, UID, INITIAL_PID, in setup()
226 new StatusBarNotification(PKG_1, OP_PKG, ID, TAG, UID, INITIAL_PID, in setup()
265 setPackageInfo(PKG_1, /* isSystem= */ false, /* isSignedWithPlatformKey= */ false); in maybeShowHeadsUp_categoryCarInformation_returnsFalseAndNotAddedToQueue()
277 setPackageInfo(PKG_1, /* isSystem= */ false, /* isSignedWithPlatformKey= */ false); in maybeShowHeadsUp_categoryMessage_returnsTrueAndAddedToQueue()
289 setPackageInfo(PKG_1, /* isSystem= */ false, /* isSignedWithPlatformKey= */ false); in maybeShowHeadsUp_categoryCall_returnsTrueAndAddedToQueue()
[all …]
DCarNotificationDiffTest.java48 private static final String PKG_1 = "package_1"; field in CarNotificationDiffTest
98 mNotification1 = new AlertEntry(new StatusBarNotification(PKG_1, OP_PKG, in setupBaseActivityAndLayout()
101 mNotification2 = new AlertEntry(new StatusBarNotification(PKG_1, OP_PKG, in setupBaseActivityAndLayout()
201 mNotification4 = new AlertEntry(new StatusBarNotification(PKG_1, OP_PKG, in sameGroupUniqueIdentifiers_diffNotificationKey_shouldReturnFalse()
218 mNotification4 = new AlertEntry(new StatusBarNotification(PKG_1, OP_PKG, in sameGroupUniqueIdentifiers_sameChildrenNotification_shouldReturnTrue()
314 new StatusBarNotification(PKG_1, OP_PKG, in areBundleEqual_sameSize_shouldReturnTrue()
318 new StatusBarNotification(PKG_1, OP_PKG, in areBundleEqual_sameSize_shouldReturnTrue()
359 AlertEntry oldAlertEntry = new AlertEntry(new StatusBarNotification(PKG_1, OP_PKG, ID, TAG, in areBundleEqual_diffSize_shouldReturnFalse()
362 AlertEntry newAlertEntry = new AlertEntry(new StatusBarNotification(PKG_1, OP_PKG, ID, TAG, in areBundleEqual_diffSize_shouldReturnFalse()
403 new StatusBarNotification(PKG_1, OP_PKG, ID, TAG, UID, INITIAL_PID, in areBundleEqual_sameKeySetWithSameValue_shouldReturnTrue()
[all …]
DHeadsUpEntryTest.java40 private static final String PKG_1 = "package_1"; field in HeadsUpEntryTest
65 mNotification1 = new StatusBarNotification(PKG_1, OP_PKG, in setupBaseActivityAndLayout()
DCarHeadsUpNotificationQueueTest.java102 private static final String PKG_1 = "PKG_1"; field in CarHeadsUpNotificationQueueTest
531 R.array.headsup_throttled_foreground_packages, /* value= */ new String[]{PKG_1}); in triggerCallback_doesNot_showNotifications_whenAllowlistAppsAreInForeground()
540 generateRunningTaskInfo(PKG_1, /* displayAreaFeatureId= */ 111); in triggerCallback_doesNot_showNotifications_whenAllowlistAppsAreInForeground()
555 R.array.headsup_throttled_foreground_packages, /* value= */ new String[]{PKG_1}); in triggerCallback_does_showNotifications_whenAllowlistAppsAreNotInForeground()
580 R.array.headsup_throttled_foreground_packages, /* value= */ new String[]{PKG_1}); in nonAllowlistAppInForeground_afterAllowlistApp_callbackScheduled()
589 generateRunningTaskInfo(PKG_1, /* displayAreaFeatureId= */ 111); in nonAllowlistAppInForeground_afterAllowlistApp_callbackScheduled()
606 R.array.headsup_throttled_foreground_packages, /* value= */ new String[]{PKG_1}); in nonAllowlistAppInForeground_afterNonAllowlistApp_callbackNotScheduled()
DNotificationGroupTest.java45 private static final String PKG_1 = "package_1"; field in NotificationGroupTest
74 mNotification1 = new AlertEntry(new StatusBarNotification(PKG_1, OP_PKG, in setup()
DNotificationDataManagerTest.java48 private static final String PKG_1 = "package_1"; field in NotificationDataManagerTest
83 mMessageNotification = new AlertEntry(new StatusBarNotification(PKG_1, OP_PKG, in setup()
DCarNotificationViewTest.java62 private static final String PKG_1 = "package_1"; field in CarNotificationViewTest
310 AlertEntry notification = new AlertEntry(new StatusBarNotification(PKG_1, OP_PKG, in getNotificationGroup()
DNotificationClickHandlerFactoryTest.java68 private static final String PKG_1 = "package_1"; field in NotificationClickHandlerFactoryTest
154 new StatusBarNotification(PKG_1, OP_PKG, ID, TAG, UID, INITIAL_PID, in setUp()
158 new StatusBarNotification(PKG_1, OP_PKG, ID, TAG, UID, INITIAL_PID, in setUp()
DCarNotificationViewAdapterTest.java66 private static final String PKG_1 = "package_1"; field in CarNotificationViewAdapterTest
117 mNotification1 = new AlertEntry(new StatusBarNotification(PKG_1, OP_PKG, in setupBaseActivityAndLayout()
122 applicationInfo.packageName = PKG_1; in setupBaseActivityAndLayout()
959 return new AlertEntry(new StatusBarNotification(PKG_1, OP_PKG, in generateNotification()