Searched refs:setNotificationListenerAccessGranted (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/ |
D | NotificationAccessPreferenceControllerTest.java | 112 mContext.getSystemService(NotificationManager.class).setNotificationListenerAccessGranted( in onStart_serviceAccessGranted_setsPreferenceChecked() 124 mContext.getSystemService(NotificationManager.class).setNotificationListenerAccessGranted( in onStart_serviceAccessNotGranted_setsPreferenceUnchecked() 136 mContext.getSystemService(NotificationManager.class).setNotificationListenerAccessGranted( in preferenceClicked_serviceAccessGranted_showsRevokeConfirmDialog() 151 mContext.getSystemService(NotificationManager.class).setNotificationListenerAccessGranted( in preferenceClicked_serviceAccessNotGranted_showsGrantConfirmDialog() 168 notificationManager.setNotificationListenerAccessGranted( in revokeConfirmed_revokesNotificationAccess() 191 notificationManager.setNotificationListenerAccessGranted( in revokeConfirmed_notificationPolicyAccessNotGranted_removesAutomaticZenRules() 222 notificationManager.setNotificationListenerAccessGranted( in grantConfirmed_grantsNotificationAccess()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationAccessSettings.java | 125 mNm.setNotificationListenerAccessGranted(service, true); in enable() 142 parent.mNm.setNotificationListenerAccessGranted(cn, false); in disable()
|
D | NotificationAccessConfirmationActivity.java | 111 mNm.setNotificationListenerAccessGranted(mComponentName, true); in onAllow()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | NotificationAccessSettings.java | 125 mNm.setNotificationListenerAccessGranted(service, true); in enable() 142 parent.mNm.setNotificationListenerAccessGranted(cn, false); in disable()
|
D | NotificationAccessConfirmationActivity.java | 111 mNm.setNotificationListenerAccessGranted(mComponentName, true); in onAllow()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/ |
D | NotificationAccessPreferenceController.java | 174 mNm.setNotificationListenerAccessGranted(service, /* granted= */ true); in grantNotificationAccess() 178 mNm.setNotificationListenerAccessGranted(service, /* granted= */ false); in revokeNotificationAccess()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowNotificationManager.java | 59 protected void setNotificationListenerAccessGranted(ComponentName listener, boolean granted) { in setNotificationListenerAccessGranted() method in ShadowNotificationManager
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/ |
D | NotificationAccess.java | 135 mNotificationManager.setNotificationListenerAccessGranted(cn, enable); in updateList()
|