Searched refs:PKG_O (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 194 when(mPm.getApplicationInfoAsUser(eq(PKG_O), anyInt(), anyInt())).thenReturn(upgrade); in setUp() 198 when(mPm.getPackageUidAsUser(eq(PKG_O), anyInt())).thenReturn(UID_O); in setUp() 286 appPermissions.put(new Pair(UID_O, PKG_O), new Pair(true, false)); in setUp() 567 mHelper.createNotificationChannel(PKG_O, UID_O, getChannel(), true, false); in testChannelXmlForBackup() 578 mHelper.onPackagesChanged(true, UserHandle.myUserId(), new String[]{PKG_N_MR1, PKG_O}, in testChannelXmlForBackup() 581 mHelper.setShowBadge(PKG_O, UID_O, true); in testChannelXmlForBackup() 632 + "<package name=\"" + PKG_O + "\" uid=\"" + UID_O + "\" importance=\"0\">\n" in testReadXml_oldXml_migrates() 668 PackagePermission oExpected = new PackagePermission(PKG_O, 0, false, true); in testReadXml_oldXml_migrates() 676 compareChannels(ido, mHelper.getNotificationChannel(PKG_O, UID_O, ido.getId(), false)); in testReadXml_oldXml_migrates() 779 + "<package name=\"" + PKG_O + "\" >\n" in testReadXml_newXml_noMigration_showPermissionNotification() [all …]
|
D | NotificationRecordTest.java | 98 private final String mPkg = PKG_O; 306 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testSound_default_upgradeUsesChannel() 358 StatusBarNotification sbn = getNotification(PKG_O, false /* noisy */, in testVibration_custom_upgradeUsesChannel() 412 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testImportance_upgrade() 461 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testLights_upgrade_defaultLights() 477 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testLights_upgrade() 486 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testLights_upgrade_noLight() 496 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testLogMaker() 526 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testLogMakerImportanceApp() 547 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testLogMakerImportanceAsst() [all …]
|
D | ZenModeHelperTest.java | 483 mZenModeHelperSpy.setPriorityOnlyDndExemptPackages(new String[] {PKG_O}); in testApplyRestrictions_whitelist_priorityOnlyMode() 490 eq(AppOpsManager.OP_PLAY_AUDIO), eq(usage), anyInt(), eq(new String[]{PKG_O})); in testApplyRestrictions_whitelist_priorityOnlyMode() 492 eq(AppOpsManager.OP_VIBRATE), eq(usage), anyInt(), eq(new String[]{PKG_O})); in testApplyRestrictions_whitelist_priorityOnlyMode() 498 mZenModeHelperSpy.setPriorityOnlyDndExemptPackages(new String[] {PKG_O}); in testApplyRestrictions_whitelist_alarmsOnlyMode() 513 mZenModeHelperSpy.setPriorityOnlyDndExemptPackages(new String[] {PKG_O}); in testApplyRestrictions_whitelist_totalSilenceMode()
|
D | NotificationManagerServiceTest.java | 514 mService.setStringArrayResourceValue(PKG_O); in setUp() 596 PKG_O, new ParceledListSlice(Arrays.asList(mTestNotificationChannel))); in setUp() 675 case PKG_O: in getApplicationInfo() 9157 StatusBarNotification sbn = new StatusBarNotification(PKG_O, PKG_O, 1, in testRecordMessages_invalidMsg_notMessageStyle() 9163 mBinderService.enqueueNotificationWithTag(PKG_O, PKG_O, nr.getSbn().getTag(), in testRecordMessages_invalidMsg_notMessageStyle() 9169 assertTrue(mBinderService.isInInvalidMsgState(PKG_O, mUid)); in testRecordMessages_invalidMsg_notMessageStyle()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/ |
D | UiServiceTestCase.java | 42 protected static final String PKG_O = "com.example.o"; field in UiServiceTestCase 69 case PKG_O: in setup()
|