Home
last modified time | relevance | path

Searched refs:PKG_O (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java170 when(mPm.getApplicationInfoAsUser(eq(PKG_O), anyInt(), anyInt())).thenReturn(upgrade); in setUp()
174 when(mPm.getPackageUidAsUser(eq(PKG_O), anyInt())).thenReturn(UID_O); in setUp()
471 mHelper.createNotificationChannel(PKG_O, UID_O, getChannel(), true, false); in testChannelXmlForBackup()
478 mHelper.setImportance(PKG_O, UID_O, IMPORTANCE_NONE); in testChannelXmlForBackup()
483 mHelper.onPackagesChanged(true, UserHandle.myUserId(), new String[]{PKG_N_MR1, PKG_O}, in testChannelXmlForBackup()
486 mHelper.setShowBadge(PKG_O, UID_O, true); in testChannelXmlForBackup()
490 assertEquals(IMPORTANCE_NONE, mHelper.getImportance(PKG_O, UID_O)); in testChannelXmlForBackup()
717 + "<package name=\"" + PKG_O + "\" uid=\"" + UID_O + "\" visibility=\"" in testChannelXml_upgradeCreateDefaultChannel()
737 assertEquals(null, mHelper.getNotificationChannel(PKG_O, UID_O, in testChannelXml_upgradeCreateDefaultChannel()
893 mHelper.createNotificationChannel(PKG_O, UID_O, channel, false, false); in testUpdate_postUpgrade_noUpdateAppFields()
[all …]
DNotificationRecordTest.java92 private final String mPkg = PKG_O;
279 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testSound_default_upgradeUsesChannel()
329 StatusBarNotification sbn = getNotification(PKG_O, false /* noisy */, in testVibration_custom_upgradeUsesChannel()
372 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testImportance_upgrade()
421 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testLights_upgrade_defaultLights()
437 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testLights_upgrade()
446 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testLights_upgrade_noLight()
456 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testLogMaker()
486 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testLogMakerImportanceApp()
507 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testLogMakerImportanceAsst()
[all …]
DZenModeHelperTest.java452 mZenModeHelperSpy.setPriorityOnlyDndExemptPackages(new String[] {PKG_O}); in testApplyRestrictions_whitelist_priorityOnlyMode()
459 eq(AppOpsManager.OP_PLAY_AUDIO), eq(usage), anyInt(), eq(new String[]{PKG_O})); in testApplyRestrictions_whitelist_priorityOnlyMode()
461 eq(AppOpsManager.OP_VIBRATE), eq(usage), anyInt(), eq(new String[]{PKG_O})); in testApplyRestrictions_whitelist_priorityOnlyMode()
467 mZenModeHelperSpy.setPriorityOnlyDndExemptPackages(new String[] {PKG_O}); in testApplyRestrictions_whitelist_alarmsOnlyMode()
482 mZenModeHelperSpy.setPriorityOnlyDndExemptPackages(new String[] {PKG_O}); in testApplyRestrictions_whitelist_totalSilenceMode()
DNotificationManagerServiceTest.java353 return new String[] {PKG_O}; in getStringArrayResource()
510 PKG_O, new ParceledListSlice(Arrays.asList(mTestNotificationChannel))); in setUp()
547 case PKG_O: in getApplicationInfo()
6741 StatusBarNotification sbn = new StatusBarNotification(PKG_O, PKG_O, 1, in testRecordMessages_invalidMsg_notMessageStyle()
6747 mBinderService.enqueueNotificationWithTag(PKG_O, PKG_O, nr.getSbn().getTag(), in testRecordMessages_invalidMsg_notMessageStyle()
6753 assertTrue(mBinderService.isInInvalidMsgState(PKG_O, mUid)); in testRecordMessages_invalidMsg_notMessageStyle()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/
DUiServiceTestCase.java42 protected static final String PKG_O = "com.example.o"; field in UiServiceTestCase
69 case PKG_O: in setup()