Home
last modified time | relevance | path

Searched refs:isNotificationListenerAccessGranted (Results 1 – 24 of 24) sorted by relevance

/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/applications/specialaccess/notificationaccess/
H A DTypeFilterPreferenceControllerTest.java102 when(mNm.isNotificationListenerAccessGranted(any())).thenReturn(true); in testAvailable_lowTargetSdk_noCustomizations()
111 when(mNm.isNotificationListenerAccessGranted(any())).thenReturn(true); in testAvailable_lowTargetSdk_customizations()
131 when(mNm.isNotificationListenerAccessGranted(mCn)).thenReturn(true); in updateState_enabled_noMetaData()
143 when(mNm.isNotificationListenerAccessGranted(mCn)).thenReturn(true); in updateState_enabled_metaData_notTheDisableFilter()
156 when(mNm.isNotificationListenerAccessGranted(mCn)).thenReturn(true); in updateState_enabled_metaData_disableFilter_notThisField()
169 when(mNm.isNotificationListenerAccessGranted(mCn)).thenReturn(true); in updateState_enabled_metaData_disableFilter_thisField_stateIsChecked()
193 when(mNm.isNotificationListenerAccessGranted(mCn)).thenReturn(true); in updateState_disabled_metaData_disableFilter_thisField_stateIsNotChecked()
207 when(mNm.isNotificationListenerAccessGranted(mCn)).thenReturn(true); in updateState_checked()
220 when(mNm.isNotificationListenerAccessGranted(mCn)).thenReturn(true); in updateState_unchecked()
233 when(mNm.isNotificationListenerAccessGranted(mCn)).thenReturn(true); in onPreferenceChange_true()
[all …]
H A DBridgedAppsLinkPreferenceControllerTest.java67 when(mNm.isNotificationListenerAccessGranted(any())).thenReturn(false); in testAvailable_notGranted()
75 when(mNm.isNotificationListenerAccessGranted(any())).thenReturn(true); in testAvailable_lowTargetSdk_noCustomizations()
84 when(mNm.isNotificationListenerAccessGranted(any())).thenReturn(true); in testAvailable_lowTargetSdk_customizations()
95 when(mNm.isNotificationListenerAccessGranted(any())).thenReturn(true); in testAvailable_highTargetSdk_noCustomizations()
H A DPreUpgradePreferenceControllerTest.java67 when(mNm.isNotificationListenerAccessGranted(any())).thenReturn(false); in testAvailable_notGranted()
75 when(mNm.isNotificationListenerAccessGranted(any())).thenReturn(true); in testAvailable_lowTargetSdk_noCustomizations()
84 when(mNm.isNotificationListenerAccessGranted(any())).thenReturn(true); in testAvailable_lowTargetSdk_customizations()
95 when(mNm.isNotificationListenerAccessGranted(any())).thenReturn(true); in testAvailable_highTargetSdk_noCustomizations()
H A DBridgedAppsPreferenceControllerTest.java108 when(mNm.isNotificationListenerAccessGranted(mCn)).thenReturn(true); in onRebuildComplete_AddsToScreen()
122 when(mNm.isNotificationListenerAccessGranted(mCn)).thenReturn(true); in onRebuildComplete_doesNotReaddToScreen()
140 when(mNm.isNotificationListenerAccessGranted(mCn)).thenReturn(true); in onRebuildComplete_removesExtras()
158 when(mNm.isNotificationListenerAccessGranted(mCn)).thenReturn(true); in onRebuildComplete_buildsSetting()
180 when(mNm.isNotificationListenerAccessGranted(mCn)).thenReturn(true); in onPreferenceChange_false()
206 when(mNm.isNotificationListenerAccessGranted(mCn)).thenReturn(true); in onPreferenceChange_true()
H A DApprovalPreferenceControllerTest.java82 when(mNm.isNotificationListenerAccessGranted(mCn)).thenReturn(true); in updateState_checked()
/aosp12/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/
H A DNotificationAccessController.java38 .isNotificationListenerAccessGranted(cn); in hasAccess()
H A DBridgedAppsLinkPreferenceController.java60 if (mNm.isNotificationListenerAccessGranted(mCn)) { in getAvailabilityStatus()
H A DPreUpgradePreferenceController.java61 if (mNm.isNotificationListenerAccessGranted(mCn)) { in getAvailabilityStatus()
H A DApprovalPreferenceController.java125 return mNm.isNotificationListenerAccessGranted(cn); in isServiceEnabled()
H A DTypeFilterPreferenceController.java85 if (mNm.isNotificationListenerAccessGranted(mCn)) { in getAvailabilityStatus()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/specialaccess/
H A DNotificationAccessPreferenceControllerTest.java181 assertThat(mNotificationManager.isNotificationListenerAccessGranted(mListenerComponent)) in revokeConfirmed_revokesNotificationAccess()
224 assertThat(mNotificationManager.isNotificationListenerAccessGranted(mListenerComponent)) in grantConfirmed_grantsNotificationAccess()
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
H A DShadowNotificationManager.java54 protected boolean isNotificationListenerAccessGranted(ComponentName listener) { in isNotificationListenerAccessGranted() method in ShadowNotificationManager
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
H A DNotificationAccess.java135 pref.setChecked(mNotificationManager.isNotificationListenerAccessGranted(cn)); in updateList()
/aosp12/packages/apps/Settings/src/com/android/settings/notification/
H A DNotificationAccessSettings.java188 if (mNm.isNotificationListenerAccessGranted(cn)) { in updateList()
H A DNotificationBackend.java665 public boolean isNotificationListenerAccessGranted(ComponentName cn) { in isNotificationListenerAccessGranted() method in NotificationBackend
667 return sINM.isNotificationListenerAccessGranted(cn); in isNotificationListenerAccessGranted()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
H A DNotificationAccessPreferenceController.java185 return mNm.isNotificationListenerAccessGranted(service); in isAccessGranted()
/aosp12/frameworks/base/core/java/android/app/
H A DINotificationManager.aidl180 boolean isNotificationListenerAccessGranted(in ComponentName listener); in isNotificationListenerAccessGranted() method
H A DNotificationManager.java1472 public boolean isNotificationListenerAccessGranted(ComponentName listener) { in isNotificationListenerAccessGranted() method in NotificationManager
1475 return service.isNotificationListenerAccessGranted(listener); in isNotificationListenerAccessGranted()
/aosp12/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
H A DAbstractRestrictBackgroundNetworkTestCase.java789 nm.isNotificationListenerAccessGranted(listenerComponent)); in registerNotificationListenerService()
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerService.java5148 public boolean isNotificationListenerAccessGranted(ComponentName listener) {
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt6468 Landroid/app/INotificationManager$Stub$Proxy;->isNotificationListenerAccessGranted(Landroid/content…
6656 Landroid/app/INotificationManager;->isNotificationListenerAccessGranted(Landroid/content/ComponentN…
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt6252 method public boolean isNotificationListenerAccessGranted(android.content.ComponentName);
/aosp12/frameworks/base/services/
H A Dart-profile26505 …ndroid/server/notification/NotificationManagerService$11;->isNotificationListenerAccessGranted(Lan…