Searched refs:setNotificationListenerAccessGranted (Results 1 – 12 of 12) sorted by relevance
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/ |
D | NotificationManagerCompat.java | 32 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/ |
D | ApprovalPreferenceController.java | 141 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/ |
D | ApprovalPreferenceControllerTest.java | 187 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/ |
D | NotificationAccessPreferenceController.java | 207 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/ |
D | NotificationUtils.java | 78 userNotificationManager.setNotificationListenerAccessGranted( in setNotificationGrantStateForPackageAsUser()
|
/packages/apps/Car/Settings/src/com/android/car/settings/notifications/ |
D | NotificationAccessConfirmationActivity.java | 138 .setNotificationListenerAccessGranted(mComponentName, true); in onAllow()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationAccessConfirmationActivity.java | 163 mNm.setNotificationListenerAccessGranted(mComponentName, true); in onAllow()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/ |
D | NotificationAccess.java | 153 mNotificationManager.setNotificationListenerAccessGranted(cn, enable); in updateList()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/specialaccess/ |
D | NotificationAccessState.java | 145 mNotificationManager.setNotificationListenerAccessGranted(cn, (boolean) newValue); in onPreferenceChange()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/notifications/ |
D | NotificationAccessConfirmationActivityTest.java | 138 .setNotificationListenerAccessGranted(eq(info.getComponentName()), eq(true)); in onAllow_permissionAvailable_callsNotificationManager()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/specialaccess/ |
D | NotificationAccessPreferenceControllerTest.java | 265 mNotificationManager.setNotificationListenerAccessGranted(mListenerComponent, in setupPreferenceController()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/privacysources/ |
D | NotificationListenerCheck.kt | 1049 notificationManager.setNotificationListenerAccessGranted( in onReceive()
|