Home
last modified time | relevance | path

Searched refs:PKG1 (Results 1 – 2 of 2) sorted by relevance

/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DAssistantTest.java72 private static final String PKG1 = "pkg1"; field in AssistantTest
180 StatusBarNotification sbn = generateSbn(PKG1, UID1, P1C1, null, null); in testNoAdjustmentForInitialPost()
190 almostBlockChannel(PKG1, UID1, P1C1); in testTriggerAdjustment()
191 dismissBadNotification(PKG1, UID1, P1C1, "trigger!"); in testTriggerAdjustment()
193 StatusBarNotification sbn = generateSbn(PKG1, UID1, P1C1, "new one!", null); in testTriggerAdjustment()
206 almostBlockChannel(PKG1, UID1, P1C3); in testMinCannotTriggerAdjustment()
207 dismissBadNotification(PKG1, UID1, P1C3, "trigger!"); in testMinCannotTriggerAdjustment()
209 StatusBarNotification sbn = generateSbn(PKG1, UID1, P1C3, "new one!", null); in testMinCannotTriggerAdjustment()
218 almostBlockChannel(PKG1, UID1, P1C1); in testGroupChildCanTriggerAdjustment()
220 StatusBarNotification sbn = generateSbn(PKG1, UID1, P1C1, "no", "I HAVE A GROUP"); in testGroupChildCanTriggerAdjustment()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppStateNotificationBridgeTest.java79 private static String PKG1 = "pkg1"; field in AppStateNotificationBridgeTest
118 UsageEvents usageEvents = new UsageEvents(events, new String[] {PKG1, PKG2}); in getUsageEvents()
139 good.mPackage = PKG1; in testGetAggregatedUsageEvents_onlyNotificationEvents()
144 bad.mPackage = PKG1; in testGetAggregatedUsageEvents_onlyNotificationEvents()
153 assertThat(map.get(AppStateNotificationBridge.getKey(0, PKG1)).sentCount).isEqualTo(1); in testGetAggregatedUsageEvents_onlyNotificationEvents()
161 good.mPackage = PKG1; in testGetAggregatedUsageEvents_multipleEventsAgg()
166 good1.mPackage = PKG1; in testGetAggregatedUsageEvents_multipleEventsAgg()
175 assertThat(map.get(AppStateNotificationBridge.getKey(0, PKG1)).sentCount).isEqualTo(2); in testGetAggregatedUsageEvents_multipleEventsAgg()
176 assertThat(map.get(AppStateNotificationBridge.getKey(0, PKG1)).lastSent).isEqualTo(6); in testGetAggregatedUsageEvents_multipleEventsAgg()
184 good.mPackage = PKG1; in testGetAggregatedUsageEvents_multiplePkgs()
[all …]