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.java133 when(mPm.getApplicationInfoAsUser(eq(PKG_N_MR1), anyInt(), anyInt())).thenReturn(legacy); in setUp()
136 when(mPm.getPackageUidAsUser(eq(PKG_N_MR1), anyInt())).thenReturn(UID_N_MR1); in setUp()
142 when(mPm.getPackageInfoAsUser(eq(PKG_N_MR1), anyInt(), anyInt())) in setUp()
335 mHelper.createNotificationChannelGroup(PKG_N_MR1, UID_N_MR1, ncg, true); in testChannelXml()
336 mHelper.createNotificationChannelGroup(PKG_N_MR1, UID_N_MR1, ncg2, true); in testChannelXml()
337 assertTrue(mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1, true, false)); in testChannelXml()
338 assertTrue(mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel2, false, false)); in testChannelXml()
340 mHelper.setShowBadge(PKG_N_MR1, UID_N_MR1, true); in testChannelXml()
341 mHelper.setAppImportanceLocked(PKG_N_MR1, UID_N_MR1); in testChannelXml()
343 ByteArrayOutputStream baos = writeXmlAndPurge(PKG_N_MR1, UID_N_MR1, false, in testChannelXml()
[all …]
DNotificationRecordTest.java85 private final String pkg = PKG_N_MR1;
179 StatusBarNotification sbn = getNotification(PKG_N_MR1, true /* noisy */, in testSound_default_preUpgradeUsesNotification()
192 StatusBarNotification sbn = getNotification(PKG_N_MR1, true /* noisy */, in testSound_custom_preUpgradeUsesNotification()
206 StatusBarNotification sbn = getNotification(PKG_N_MR1, true /* noisy */, in testSound_default_userLocked_preUpgrade()
218 StatusBarNotification sbn = getNotification(PKG_N_MR1, false /* noisy */, in testSound_noSound_preUpgrade()
244 StatusBarNotification sbn = getNotification(PKG_N_MR1, false /* noisy */, in testVibration_default_preUpgradeUsesNotification()
256 StatusBarNotification sbn = getNotification(PKG_N_MR1, false /* noisy */, in testVibration_custom_preUpgradeUsesNotification()
269 StatusBarNotification sbn = getNotification(PKG_N_MR1, false /* noisy */, in testVibration_custom_userLocked_preUpgrade()
291 StatusBarNotification sbn = getNotification(PKG_N_MR1, true /* noisy */, in testImportance_preUpgrade()
302 StatusBarNotification sbn = getNotification(PKG_N_MR1, true /* noisy */, in testImportance_locked_preUpgrade()
[all …]
DNotificationManagerServiceTest.java2755 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()