Home
last modified time | relevance | path

Searched refs:PKG_N_MR1 (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java137 when(mPm.getApplicationInfoAsUser(eq(PKG_N_MR1), anyInt(), anyInt())).thenReturn(legacy); in setUp()
140 when(mPm.getPackageUidAsUser(eq(PKG_N_MR1), anyInt())).thenReturn(UID_N_MR1); in setUp()
146 when(mPm.getPackageInfoAsUser(eq(PKG_N_MR1), anyInt(), anyInt())) in setUp()
338 mHelper.createNotificationChannelGroup(PKG_N_MR1, UID_N_MR1, ncg, true); in testChannelXml()
339 mHelper.createNotificationChannelGroup(PKG_N_MR1, UID_N_MR1, ncg2, true); in testChannelXml()
340 assertTrue(mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1, true, false)); in testChannelXml()
341 assertTrue(mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel2, false, false)); in testChannelXml()
343 mHelper.setShowBadge(PKG_N_MR1, UID_N_MR1, true); in testChannelXml()
344 mHelper.setAppImportanceLocked(PKG_N_MR1, UID_N_MR1); in testChannelXml()
346 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, false, in testChannelXml()
[all …]
DNotificationRecordTest.java87 private final String pkg = PKG_N_MR1;
205 StatusBarNotification sbn = getNotification(PKG_N_MR1, true /* noisy */, in testSound_default_preUpgradeUsesNotification()
218 StatusBarNotification sbn = getNotification(PKG_N_MR1, true /* noisy */, in testSound_custom_preUpgradeUsesNotification()
232 StatusBarNotification sbn = getNotification(PKG_N_MR1, true /* noisy */, in testSound_default_userLocked_preUpgrade()
244 StatusBarNotification sbn = getNotification(PKG_N_MR1, false /* noisy */, in testSound_noSound_preUpgrade()
270 StatusBarNotification sbn = getNotification(PKG_N_MR1, false /* noisy */, in testVibration_default_preUpgradeUsesNotification()
282 StatusBarNotification sbn = getNotification(PKG_N_MR1, false /* noisy */, in testVibration_custom_preUpgradeUsesNotification()
295 StatusBarNotification sbn = getNotification(PKG_N_MR1, false /* noisy */, in testVibration_custom_userLocked_preUpgrade()
317 StatusBarNotification sbn = getNotification(PKG_N_MR1, true /* noisy */, in testImportance_preUpgrade()
328 StatusBarNotification sbn = getNotification(PKG_N_MR1, true /* noisy */, in testImportance_locked_preUpgrade()
[all …]
DNotificationManagerServiceTest.java2819 String preOPkg = PKG_N_MR1; in testBumpFGImportance_noChannelChangePreOApp()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/
DUiServiceTestCase.java39 protected static final String PKG_N_MR1 = "com.example.n_mr1"; field in UiServiceTestCase
64 case PKG_N_MR1: in setup()