Searched refs:PKG_O (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 134 when(mPm.getApplicationInfoAsUser(eq(PKG_O), anyInt(), anyInt())).thenReturn(upgrade); in setUp() 137 when(mPm.getPackageUidAsUser(eq(PKG_O), anyInt())).thenReturn(UID_O); in setUp() 405 mHelper.createNotificationChannel(PKG_O, UID_O, getChannel(), true, false); in testChannelXmlForBackup() 409 mHelper.setImportance(PKG_O, UID_O, IMPORTANCE_NONE); in testChannelXmlForBackup() 414 mHelper.onPackagesChanged(true, UserHandle.myUserId(), new String[]{PKG_N_MR1, PKG_O}, in testChannelXmlForBackup() 417 mHelper.setShowBadge(PKG_O, UID_O, true); in testChannelXmlForBackup() 421 assertEquals(IMPORTANCE_NONE, mHelper.getImportance(PKG_O, UID_O)); in testChannelXmlForBackup() 642 + "<package name=\"" + PKG_O + "\" uid=\"" + UID_O + "\" visibility=\"" in testChannelXml_upgradeCreateDefaultChannel() 662 assertEquals(null, mHelper.getNotificationChannel(PKG_O, UID_O, in testChannelXml_upgradeCreateDefaultChannel() 818 mHelper.createNotificationChannel(PKG_O, UID_O, channel, false, false); in testUpdate_postUpgrade_noUpdateAppFields() [all …]
|
D | NotificationRecordTest.java | 231 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testSound_default_upgradeUsesChannel() 281 StatusBarNotification sbn = getNotification(PKG_O, false /* noisy */, in testVibration_custom_upgradeUsesChannel() 324 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testImportance_upgrade() 373 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testLights_upgrade_defaultLights() 389 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testLights_upgrade() 398 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testLights_upgrade_noLight() 408 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testLogMaker() 438 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testLogMakerImportanceApp() 459 StatusBarNotification sbn = getNotification(PKG_O, true /* noisy */, in testLogMakerImportanceAsst() 465 record.addAdjustment(new Adjustment(PKG_O, KEY_IMPORTANCE, signals, "", uid)); in testLogMakerImportanceAsst() [all …]
|
D | ZenModeHelperTest.java | 353 mZenModeHelperSpy.setPriorityOnlyDndExemptPackages(new String[] {PKG_O}); in testApplyRestrictions_whitelist_priorityOnlyMode() 360 eq(AppOpsManager.OP_PLAY_AUDIO), eq(usage), anyInt(), eq(new String[]{PKG_O})); in testApplyRestrictions_whitelist_priorityOnlyMode() 362 eq(AppOpsManager.OP_VIBRATE), eq(usage), anyInt(), eq(new String[]{PKG_O})); in testApplyRestrictions_whitelist_priorityOnlyMode() 368 mZenModeHelperSpy.setPriorityOnlyDndExemptPackages(new String[] {PKG_O}); in testApplyRestrictions_whitelist_alarmsOnlyMode() 383 mZenModeHelperSpy.setPriorityOnlyDndExemptPackages(new String[] {PKG_O}); in testApplyRestrictions_whitelist_totalSilenceMode()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/ |
D | UiServiceTestCase.java | 40 protected static final String PKG_O = "com.example.o"; field in UiServiceTestCase 66 case PKG_O: in setup()
|