Searched refs:hasRequestedPermission (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PermissionHelperTest.java | 153 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()
|
D | NotificationManagerServiceTest.java | 3771 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/ |
D | PermissionHelper.java | 84 public boolean hasRequestedPermission(String permission, String pkg, @UserIdInt int userId) { in hasRequestedPermission() method in PermissionHelper
|
D | PreferencesHelper.java | 2283 final boolean requestedFSIPermission = mPermissionHelper.hasRequestedPermission( in pullPackagePreferencesStats()
|
D | NotificationManagerService.java | 7598 if (mPermissionHelper.hasRequestedPermission(
|
/frameworks/base/services/ |
D | art-profile-boot | 189 Lcom/android/server/pm/permission/PermissionsState;->hasRequestedPermission(Ljava/lang/String;)Z
|