/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/apps/ |
D | NotificationsPreferenceTest.java | 95 setNotificationsEnabledForPackage(PACKAGE_NAME, true); in testNotificationsPreference_systemAppNotificationsEnabledInRes() 107 setNotificationsEnabledForPackage(PACKAGE_NAME, true); in testNotificationsPreference_systemAppNotificationsEnabledNotInRes() 119 setNotificationsEnabledForPackage(PACKAGE_NAME, true); in testNotificationsPreference_notSystemAppNotificationsEnabledInRes() 131 setNotificationsEnabledForPackage(PACKAGE_NAME, true); in testNotificationsPreference_notSystemAppNotificationsEnabledNotInRes() 143 setNotificationsEnabledForPackage(PACKAGE_NAME, false); in testNotificationsPreference_systemAppNotificationsDisabledNotInRes() 155 setNotificationsEnabledForPackage(PACKAGE_NAME, false); in testNotificationsPreference_notSystemAppNotificationsEDisabledInRes() 167 setNotificationsEnabledForPackage(PACKAGE_NAME, false); in testNotificationsPreference_notSystemAppNotificationsDisabledNotInRes() 179 setNotificationsEnabledForPackage(PACKAGE_NAME, false); in testNotificationsPreference_systemAppNotificationsDisabledInRes() 192 private void setNotificationsEnabledForPackage(String packageName, in setNotificationsEnabledForPackage() method in NotificationsPreferenceTest
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/ |
D | NotificationsPreferenceControllerTest.java | 114 verify(mMockManager).setNotificationsEnabledForPackage(PKG_NAME, UID, true); in callChangeListener_setEnable_enablingNotification() 123 verify(mMockManager).setNotificationsEnabledForPackage(PKG_NAME, UID, false); in callChangeListener_setDisable_disablingNotification()
|
/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | BlockPreferenceController.java | 127 mBackend.setNotificationsEnabledForPackage(mAppRow.pkg, mAppRow.uid, !blocked); in onSwitchChanged() 135 mBackend.setNotificationsEnabledForPackage(mAppRow.pkg, mAppRow.uid, !blocked); in onSwitchChanged()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
D | ResetAppPrefFragmentTest.java | 132 .setNotificationsEnabledForPackage(ENABLED_PKG_NAME, UID, true); in resetClicked_resetsNotificationsForApps() 134 .setNotificationsEnabledForPackage(DISABLED_PKG_NAME, UID, true); in resetClicked_resetsNotificationsForApps()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/notifications/ |
D | NotificationsAppListPreferenceControllerTest.java | 164 verify(mMockManager).setNotificationsEnabledForPackage(PKG_NAME, UID, true); in toggle_setEnable_enablingNotification() 180 verify(mMockManager).setNotificationsEnabledForPackage(PKG_NAME, UID, false); in toggle_setDisable_disablingNotification()
|
/packages/apps/Car/Settings/src/com/android/car/settings/notifications/ |
D | BaseNotificationsPreferenceController.java | 77 mNotificationManager.setNotificationsEnabledForPackage(packageName, uid, enabled); in toggleNotificationsSetting()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | NotificationsPreference.java | 92 mNotificationManager.setNotificationsEnabledForPackage( in setNotificationsEnabled()
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | ResetAppPrefFragment.java | 113 notificationManagerService.setNotificationsEnabledForPackage( in doInBackground()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationBackend.java | 197 public boolean setNotificationsEnabledForPackage(String pkg, int uid, boolean enabled) { in setNotificationsEnabledForPackage() method in NotificationBackend 205 sINM.setNotificationsEnabledForPackage(pkg, uid, enabled); in setNotificationsEnabledForPackage()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateNotificationBridge.java | 232 mBackend.setNotificationsEnabledForPackage( in getSwitchOnCheckedListener()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
D | BlockPreferenceControllerTest.java | 394 verify(mBackend, times(2)).setNotificationsEnabledForPackage( in testOnSwitchChanged_channel_default()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppStateNotificationBridgeTest.java | 568 verify(mBackend).setNotificationsEnabledForPackage( in testSwitchOnChangeListener()
|