/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/ |
D | EnableZenModeDialogTest.java | 87 doReturn(alarmsEnabledPolicy).when(mNotificationManager).getNotificationPolicy(); in setup() 172 when(mNotificationManager.getNotificationPolicy()).thenReturn( in testNoAlarmWarning() 188 when(mNotificationManager.getNotificationPolicy()).thenReturn( in testAlarmWarning()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 723 return getNotificationPolicy(); in getNotificationPolicyFromImplicitZenRule() 738 return getNotificationPolicy(); in getNotificationPolicyFromImplicitZenRule() 1749 public Policy getNotificationPolicy() { in getNotificationPolicy() method in ZenModeHelper 1751 return getNotificationPolicy(mConfig); in getNotificationPolicy() 1755 private static Policy getNotificationPolicy(ZenModeConfig config) { in getNotificationPolicy() method in ZenModeHelper 1908 Policy newPolicy = getNotificationPolicy(config); in setConfigLocked() 1909 boolean policyChanged = !Objects.equals(getNotificationPolicy(mConfig), newPolicy); in setConfigLocked()
|
D | PreferencesHelper.java | 1863 mCurrentUserHasChannelsBypassingDnd = (mZenModeHelper.getNotificationPolicy().state in syncChannelsBypassingDnd() 1925 NotificationManager.Policy policy = mZenModeHelper.getNotificationPolicy(); in updateZenPolicy()
|
D | NotificationManagerService.java | 5998 public Policy getNotificationPolicy(String pkg) { 6005 return mZenModeHelper.getNotificationPolicy(); 6042 Policy currPolicy = mZenModeHelper.getNotificationPolicy();
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeHelperTest.java | 1573 Policy originalPolicy = mZenModeHelper.getNotificationPolicy(); in testReadXmlRulesNotOverridden() 1596 assertEquals(originalPolicy, mZenModeHelper.getNotificationPolicy()); in testReadXmlRulesNotOverridden() 1726 Policy originalPolicy = mZenModeHelper.getNotificationPolicy(); in testReadXmlResetDefaultRules() 1747 assertEquals(originalPolicy, mZenModeHelper.getNotificationPolicy()); in testReadXmlResetDefaultRules() 1754 Policy originalPolicy = mZenModeHelper.getNotificationPolicy(); in testReadXmlAllDisabledRulesResetDefaultRules() 1785 assertEquals(originalPolicy, mZenModeHelper.getNotificationPolicy()); in testReadXmlAllDisabledRulesResetDefaultRules() 1791 Policy originalPolicy = mZenModeHelper.getNotificationPolicy(); in testReadXmlOnlyOneDefaultRuleExists() 1838 assertEquals(originalPolicy, mZenModeHelper.getNotificationPolicy()); in testReadXmlOnlyOneDefaultRuleExists() 1844 Policy originalPolicy = mZenModeHelper.getNotificationPolicy(); in testReadXmlDefaultRulesExist() 1908 assertEquals(originalPolicy, mZenModeHelper.getNotificationPolicy()); in testReadXmlDefaultRulesExist() [all …]
|
D | RankingHelperTest.java | 157 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in setUp()
|
D | PreferencesHelperTest.java | 341 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in setUp() 475 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in resetZenModeHelper() 2673 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in testBlockedGroupDoesNotBypassDnd() 2700 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in testBlockedAppsDoNotBypassDnd_localSettings() 2722 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in testBlockedAppsDoNotBypassDnd_permissionHelper() 2774 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in testSetupNewZenModeHelper_canBypass() 2785 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in testSetupNewZenModeHelper_cannotBypass()
|
D | NotificationManagerServiceTest.java | 6992 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_preP_setOldFields() 7012 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_preP_setNewFields() 7029 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_preP_setOldNewFields() 7047 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_P_setOldFields() 7066 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_P_setNewFields() 7086 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_P_setOldNewFields() 14992 mBinderService.getNotificationPolicy("package");
|
/frameworks/base/core/java/android/app/ |
D | INotificationManager.aidl | 215 NotificationManager.Policy getNotificationPolicy(String pkg); in getNotificationPolicy() method
|
D | NotificationManager.java | 1764 public Policy getNotificationPolicy() { in getNotificationPolicy() method in NotificationManager 1767 return service.getNotificationPolicy(mContext.getOpPackageName()); in getNotificationPolicy()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/ |
D | EnableZenModeDialog.java | 492 boolean allowAlarms = (mNotificationManager.getNotificationPolicy().priorityCategories in computeAlarmWarningText()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
D | PeopleSpaceWidgetManager.java | 1200 NotificationManager.Policy policy = mNotificationManager.getNotificationPolicy(); in getNotificationPolicyState()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
D | PeopleSpaceWidgetManagerTest.java | 302 when(mNotificationManager.getNotificationPolicy()).thenReturn(mNotificationPolicy); in setUp()
|
/frameworks/base/services/ |
D | art-wear-profile | 15893 PLcom/android/server/notification/NotificationManagerService$12;->getNotificationPolicy(Ljava/lang/… 16595 PLcom/android/server/notification/ZenModeHelper;->getNotificationPolicy()Landroid/app/NotificationM… 16596 PLcom/android/server/notification/ZenModeHelper;->getNotificationPolicy(Landroid/service/notificati…
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 1946 HSPLandroid/app/INotificationManager$Stub$Proxy;->getNotificationPolicy(Ljava/lang/String;)Landroid… 2382 HSPLandroid/app/NotificationManager;->getNotificationPolicy()Landroid/app/NotificationManager$Polic…
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 1946 HSPLandroid/app/INotificationManager$Stub$Proxy;->getNotificationPolicy(Ljava/lang/String;)Landroid… 2382 HSPLandroid/app/NotificationManager;->getNotificationPolicy()Landroid/app/NotificationManager$Polic…
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 6457 Landroid/app/INotificationManager$Stub$Proxy;->getNotificationPolicy(Ljava/lang/String;)Landroid/ap… 6647 Landroid/app/INotificationManager;->getNotificationPolicy(Ljava/lang/String;)Landroid/app/Notificat…
|
/frameworks/base/core/api/ |
D | current.txt | 7031 method public android.app.NotificationManager.Policy getNotificationPolicy();
|