/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/ |
D | Permissions.java | 144 String permission = permissionsToGrant.valueAt(i); in grant() local 169 String permission = sortedPermissionsToGrant[i]; in grant() local 185 private static boolean grantSingle(@NonNull String packageName, @NonNull String permission, in grantSingle() 257 @NonNull String permission, @NonNull Context context) { in isPermissionAndAppOpGranted() 313 @NonNull String permission, @NonNull Context context) { in grantPermissionAndAppOp() 400 String permission = permissionsToRevoke.valueAt(i); in revoke() local 421 String permission = sortedPermissionsToRevoke[i]; in revoke() local 437 private static boolean revokeSingle(@NonNull String packageName, @NonNull String permission, in revokeSingle() 482 @NonNull String permission, @NonNull Context context) { in revokePermissionAndAppOp() 574 private static int getPermissionFlags(@NonNull String packageName, @NonNull String permission, in getPermissionFlags() [all …]
|
D | RequiredBroadcastReceiver.java | 40 @Nullable String permission, @NonNull List<RequiredMetaData> metaData) { in RequiredBroadcastReceiver()
|
D | RequiredActivity.java | 40 @Nullable String permission, @NonNull List<RequiredMetaData> metaData) { in RequiredActivity()
|
D | RequiredContentProvider.java | 40 @Nullable String permission, @NonNull List<RequiredMetaData> metaData) { in RequiredContentProvider()
|
D | RequiredService.java | 40 @Nullable String permission, @NonNull List<RequiredMetaData> metaData) { in RequiredService()
|
D | Roles.java | 247 String permission = requireAttributeValue(parser, ATTRIBUTE_NAME, TAG_PERMISSION); in parsePermissionSet() local 459 String permission = getAttributeValue(parser, ATTRIBUTE_PERMISSION); in parseRequiredComponent() local 653 String permission = requireAttributeValue(parser, ATTRIBUTE_NAME, in parsePermissions() local 928 String permission = permissions.get(permissionsIndex); in validateParseResult() local 945 String permission = requiredComponent.getPermission(); in validateParseResult() local 954 String permission = permissions.get(i); in validateParseResult() local 964 String permission = AppOpsManager.opToPermission(appOp.getName()); in validateParseResult() local 988 private static void validatePermission(@NonNull String permission, @NonNull Context context) { in validatePermission()
|
/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/PermissionController/src/com/android/packageinstaller/permission/model/ |
D | AppPermissionGroup.java | 288 Permission permission = new Permission(requestedPermission, requestedPermissionInfo, in create() local 305 Permission permission = allPermissions.valueAt(i); in create() local 330 Permission permission = allPermissions.valueAt(i); in create() local 442 Permission permission = mPermissions.valueAt(i); in isReviewRequired() local 458 Permission permission = mPermissions.valueAt(i); in isUserSensitive() local 469 Permission permission = mPermissions.valueAt(i); in unsetReviewRequired() local 483 Permission permission = mPermissions.valueAt(i); in hasGrantedByDefaultPermission() local 618 public boolean hasPermission(String permission) { in hasPermission() 649 Permission permission = mPermissions.valueAt(i); in areRuntimePermissionsGranted() local 708 private boolean allowAppOp(Permission permission, int uid) { in allowAppOp() [all …]
|
D | AppPermissionUsage.java | 79 final GroupUsage permission = mGroupUsages.get(i); in getAccessCount() local 172 final Permission permission = permissions.get(i); in isRunning() local 191 final Permission permission = permissions.get(i); in extractAggregate() local 206 final Permission permission = permissions.get(permissionNum); in lastAccessAggregate() local
|
/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/apps/Dialer/java/com/android/dialer/util/ |
D | PermissionsUtil.java | 138 public static boolean hasPermission(Context context, String permission) { in hasPermission() 150 public static boolean isFirstRequest(Context context, String permission) { in isFirstRequest() 163 public static void permissionRequested(Context context, String permission) { in permissionRequested() 193 Context context, BroadcastReceiver receiver, String permission) { in registerPermissionReceiver() 204 public static void notifyPermissionGranted(Context context, String permission) { in notifyPermissionGranted()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | AppPermissionPreferenceControllerTest.java | 109 final String permission = "Storage"; in onPermissionSummaryResult_hasRuntimePermission_shouldSetPermissionAsSummary() local 122 final String permission = "Storage"; in onPermissionSummaryResult_hasAdditionalPermission_shouldSetAdditionalSummary() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppPermissionsPreferenceControllerTest.java | 87 final String permission = "location"; in updateSummary_hasPermissionGroups_shouldSetPermissionAsSummary() local 102 final String permission = "location"; in updateSummary_notReachCallbackCount_shouldNotSetSummary() local
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/ |
D | SoftRestrictedPermissionPolicy.java | 52 public static boolean shouldShow(@NonNull PackageInfo pkg, @NonNull Permission permission) { in shouldShow()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/ |
D | RuntimePermissionPresenterServiceLegacyImpl.java | 43 android.permission.RuntimePermissionPresentationInfo permission = permissions.get(i); in onGetAppPermissions() local
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | DiscoveringPackage.java | 23 DiscoveringPackage(String packageName, String permission) { in DiscoveringPackage()
|
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
D | MockTvProviderContext.java | 69 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission() 79 public void grantOrRejectPermission(String permission, boolean granted) { in grantOrRejectPermission()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | VoicemailPermissions.java | 124 private boolean packageHasPermission(String packageName, String permission) { in packageHasPermission() 129 private boolean callerHasPermission(String permission) { in callerHasPermission()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | AppStateInstallAppsBridge.java | 68 private boolean hasRequestedAppOpPermission(String permission, String packageName) { in hasRequestedAppOpPermission() 78 private boolean hasPermission(String permission, int uid) { in hasPermission()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateInstallAppsBridge.java | 68 private boolean hasRequestedAppOpPermission(String permission, String packageName) { in hasRequestedAppOpPermission() 78 private boolean hasPermission(String permission, int uid) { in hasPermission()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/ |
D | AppStateAppOpsBridge.java | 62 public AppStateAppOpsBridge(Context context, int appOpsOpCode, String permission) { in AppStateAppOpsBridge() 67 AppStateAppOpsBridge(Context context, int appOpsOpCode, String permission, in AppStateAppOpsBridge()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | PasswordUtils.java | 42 String permission) { in isCallingAppPermitted()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | PasswordUtils.java | 42 String permission) { in isCallingAppPermitted()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | LocalCallingIdentity.java | 155 public boolean hasPermission(int permission) { in hasPermission() 165 private boolean hasPermissionInternal(int permission) { in hasPermissionInternal()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowPasswordUtils.java | 46 String permission) { in isCallingAppPermitted()
|