/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/ |
D | AppPermissionGroup.java | 165 Permission permission = new Permission(requestedPermission, granted, in create() local 230 Permission permission = mPermissions.valueAt(i); in isReviewRequired() local 241 Permission permission = mPermissions.valueAt(i); in resetReviewRequired() local 255 Permission permission = mPermissions.valueAt(i); in hasGrantedByDefaultPermission() local 295 public boolean hasPermission(String permission) { in hasPermission() 309 Permission permission = mPermissions.valueAt(i); in areRuntimePermissionsGranted() local 531 Permission permission = mPermissions.valueAt(i); in setPolicyFixed() local 549 Permission permission = mPermissions.valueAt(i); in getFlags() local 558 Permission permission = mPermissions.valueAt(i); in isUserFixed() local 569 Permission permission = mPermissions.valueAt(i); in isPolicyFixed() local [all …]
|
D | AppPermissions.java | 138 private void addPermissionGroupIfNeeded(String permission) { in addPermissionGroupIfNeeded() 152 private boolean hasGroupForPermission(String permission) { in hasGroupForPermission()
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
D | PermissionsUtil.java | 79 public static boolean hasPermission(Context context, String permission) { in hasPermission() 91 public static boolean isFirstRequest(Context context, String permission) { in isFirstRequest() 104 public static void permissionRequested(Context context, String permission) { in permissionRequested() 134 Context context, BroadcastReceiver receiver, String permission) { in registerPermissionReceiver() 145 public static void notifyPermissionGranted(Context context, String permission) { in notifyPermissionGranted()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | ContactsPermissions.java | 38 public static boolean hasCallerOrSelfPermission(Context context, String permission) { in hasCallerOrSelfPermission() 57 public static void enforceCallingOrSelfPermission(Context context, String permission) { in enforceCallingOrSelfPermission() 65 public static boolean hasPackagePermission(Context context, String permission, String pkg) { in hasPackagePermission()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | PermissionsUtil.java | 55 public static boolean hasPermission(Context context, String permission) { in hasPermission() 95 String permission) { in registerPermissionReceiver() 104 public static void notifyPermissionGranted(Context context, String permission) { in notifyPermissionGranted()
|
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
D | MockTvProviderContext.java | 72 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission() 82 public void grantOrRejectPermission(String permission, boolean granted) { in grantOrRejectPermission()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppPermissions.java | 114 Permission permission = new Permission(runtime, granted); in loadPermissionGroups() local 140 Permission permission = mPermissions.valueAt(i); in areRuntimePermissionsGranted() local 152 void addPermission(Permission permission, String permName) { in addPermission()
|
D | AppStateInstallAppsBridge.java | 69 private boolean hasRequestedAppOpPermission(String permission, String packageName) { in hasRequestedAppOpPermission() 79 private boolean hasPermission(String permission, int uid) { in hasPermission()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
D | GrantPermissionsActivity.java | 220 String permission = mRequestedPermissions[permissionNum]; in onCreate() local 318 String permission = mRequestedPermissions[i]; in onPermissionGrantResult() local 363 String permission, int permissionPolicy) { in computePermissionGrantState() 423 String permission = mRequestedPermissions[i]; in updateDefaultResults() local 461 String permission) { in computeAffectedPermissions()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | VoicemailPermissions.java | 108 private boolean packageHasPermission(String packageName, String permission) { in packageHasPermission() 113 private boolean callerHasPermission(String permission) { in callerHasPermission()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/service/ |
D | RuntimePermissionPresenterServiceImpl.java | 57 RuntimePermissionPresentationInfo permission = in onGetAppPermissions() local
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | ComponentContextFixture.java | 308 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission() 313 public void enforceCallingOrSelfPermission(String permission, String message) { in enforceCallingOrSelfPermission() 319 String permission, int pid, int uid, String message) { in enforcePermission()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/ |
D | SafetyNetLogger.java | 67 Permission permission = group.getPermissions().get(permissionNum); in buildChangedPermissionForPackageMessage() local
|
D | Utils.java | 162 public static boolean isPermissionIndividuallyControlled(Context context, String permission) { in isPermissionIndividuallyControlled()
|
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
D | BlockedNumberProvider.java | 525 private void checkForPermissionAndPrimaryUser(String permission) { in checkForPermissionAndPrimaryUser() 532 private void checkForPermission(String permission) { in checkForPermission() 548 private void enforceSystemPermissionAndUser(String permission) { in enforceSystemPermissionAndUser() 558 private boolean passesSystemPermissionCheck(String permission) { in passesSystemPermissionCheck()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/ |
D | AllAppPermissionsFragment.java | 276 String permission) { in getPermissionGroup() 300 MyMultiTargetSwitchPreference(Context context, String permission, in MyMultiTargetSwitchPreference()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsActor.java | 504 public int checkPermission(String permission, int pid, int uid) { in checkPermission() 509 public int checkCallingPermission(String permission) { in checkCallingPermission() 532 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission() 537 public void enforcePermission(String permission, int pid, int uid, String message) { in enforcePermission() 542 public void enforceCallingPermission(String permission, String message) { in enforceCallingPermission() 549 public void enforceCallingOrSelfPermission(String permission, String message) { in enforceCallingOrSelfPermission()
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | DevicePolicyManagerWrapper.java | 74 String permission); in getPermissionGrantState()
|
D | DevicePolicyManagerWrapperImpl.java | 61 String permission) { in getPermissionGrantState()
|
/packages/apps/Car/Stream/src/com/android/car/stream/ |
D | PermissionsActivity.java | 93 String permission = permissions[i]; in onRequestPermissionsResult() local
|
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/ |
D | MyMockContext.java | 102 public int checkCallingPermission(String permission) { in checkCallingPermission()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | TelecomServiceImpl.java | 1482 private void enforcePermissionOrPrivilegedDialer(String permission, String packageName) { in enforcePermissionOrPrivilegedDialer() 1510 private void enforcePermission(String permission) { in enforcePermission()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | InstallStart.java | 131 private boolean declaresAppOpPermission(int uid, String permission) { in declaresAppOpPermission()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | AtPhonebook.java | 348 int permission = checkAccessPermission(remoteDevice); in handleCpbrCommand() local 601 int permission = remoteDevice.getPhonebookAccessPermission(); in checkAccessPermission() local
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyProviderTest.java | 119 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission()
|