Home
last modified time | relevance | path

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

/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DNotificationManagerCompat.java32 public void setNotificationListenerAccessGranted( in setNotificationListenerAccessGranted() method in NotificationManagerCompat
34 mNotificationManager.setNotificationListenerAccessGranted(listener, granted); in setNotificationListenerAccessGranted()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/
DApprovalPreferenceController.java141 mNm.setNotificationListenerAccessGranted(cn, false); in disable()
154 mNm.setNotificationListenerAccessGranted(cn, true); in enable()
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/specialaccess/notificationaccess/
DApprovalPreferenceControllerTest.java187 verify(mNm).setNotificationListenerAccessGranted(mCn, true); in enable()
201 verify(mNm).setNotificationListenerAccessGranted(mCn, false); in disable()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DNotificationAccessPreferenceController.java207 mNm.setNotificationListenerAccessGranted(service, /* granted= */ true); in grantNotificationAccess()
211 mNm.setNotificationListenerAccessGranted(service, /* granted= */ false); in revokeNotificationAccess()
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/util/
DNotificationUtils.java78 userNotificationManager.setNotificationListenerAccessGranted( in setNotificationGrantStateForPackageAsUser()
/packages/apps/Car/Settings/src/com/android/car/settings/notifications/
DNotificationAccessConfirmationActivity.java138 .setNotificationListenerAccessGranted(mComponentName, true); in onAllow()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationAccessConfirmationActivity.java163 mNm.setNotificationListenerAccessGranted(mComponentName, true); in onAllow()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DNotificationAccess.java153 mNotificationManager.setNotificationListenerAccessGranted(cn, enable); in updateList()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/specialaccess/
DNotificationAccessState.java145 mNotificationManager.setNotificationListenerAccessGranted(cn, (boolean) newValue); in onPreferenceChange()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/notifications/
DNotificationAccessConfirmationActivityTest.java138 .setNotificationListenerAccessGranted(eq(info.getComponentName()), eq(true)); in onAllow_permissionAvailable_callsNotificationManager()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/specialaccess/
DNotificationAccessPreferenceControllerTest.java265 mNotificationManager.setNotificationListenerAccessGranted(mListenerComponent, in setupPreferenceController()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/privacysources/
DNotificationListenerCheck.kt1049 notificationManager.setNotificationListenerAccessGranted( in onReceive()