Home
last modified time | relevance | path

Searched refs:hasRequestedPermission (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPermissionHelperTest.java153 assertThat(mPermissionHelper.hasRequestedPermission(permission, packageName, 0)).isFalse(); in testHasRequestedPermission_otherPermission()
168 assertThat(mPermissionHelper.hasRequestedPermission(permission, packageName, 0)).isFalse(); in testHasRequestedPermission_noPermissions()
184 assertThat(mPermissionHelper.hasRequestedPermission(permission, packageName, 0)).isTrue(); in testHasRequestedPermission_singlePermissions()
200 assertThat(mPermissionHelper.hasRequestedPermission(permission, packageName, 0)).isTrue(); in testHasRequestedPermission_twoPermissions()
DNotificationManagerServiceTest.java3771 when(mPermissionHelper.hasRequestedPermission(any(), eq("package"), anyInt())).thenReturn( in setNotificationsEnabledForPackage_disabling_clearsNotifications()
13049 when(mPermissionHelper.hasRequestedPermission(Manifest.permission.USE_FULL_SCREEN_INTENT,
/frameworks/base/services/core/java/com/android/server/notification/
DPermissionHelper.java84 public boolean hasRequestedPermission(String permission, String pkg, @UserIdInt int userId) { in hasRequestedPermission() method in PermissionHelper
DPreferencesHelper.java2283 final boolean requestedFSIPermission = mPermissionHelper.hasRequestedPermission( in pullPackagePreferencesStats()
DNotificationManagerService.java7598 if (mPermissionHelper.hasRequestedPermission(
/frameworks/base/services/
Dart-profile-boot189 Lcom/android/server/pm/permission/PermissionsState;->hasRequestedPermission(Ljava/lang/String;)Z