Home
last modified time | relevance | path

Searched refs:setNotificationListenerAccessGranted (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DNotificationAccessPreferenceControllerTest.java112 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/
DNotificationAccessSettings.java125 mNm.setNotificationListenerAccessGranted(service, true); in enable()
142 parent.mNm.setNotificationListenerAccessGranted(cn, false); in disable()
DNotificationAccessConfirmationActivity.java111 mNm.setNotificationListenerAccessGranted(mComponentName, true); in onAllow()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationAccessSettings.java125 mNm.setNotificationListenerAccessGranted(service, true); in enable()
142 parent.mNm.setNotificationListenerAccessGranted(cn, false); in disable()
DNotificationAccessConfirmationActivity.java111 mNm.setNotificationListenerAccessGranted(mComponentName, true); in onAllow()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DNotificationAccessPreferenceController.java174 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/
DShadowNotificationManager.java59 protected void setNotificationListenerAccessGranted(ComponentName listener, boolean granted) { in setNotificationListenerAccessGranted() method in ShadowNotificationManager
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DNotificationAccess.java135 mNotificationManager.setNotificationListenerAccessGranted(cn, enable); in updateList()