Home
last modified time | relevance | path

Searched refs:permissionToOpCode (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/os/
DPermissionEnforcer.java112 private static int permissionToOpCode(String permission) { in permissionToOpCode() method in PermissionEnforcer
113 return AppOpsManager.permissionToOpCode(permission); in permissionToOpCode()
116 private static int permissionToOpCode$ravenwood(String permission) { in permissionToOpCode$ravenwood()
122 if (permissionToOpCode(permission) != AppOpsManager.OP_NONE) { in anyAppOps()
139 if (permissionToOpCode(permission) != AppOpsManager.OP_NONE) { in enforcePermission()
/frameworks/native/libs/permission/
DAppOpsManager.cpp164 int32_t AppOpsManager::permissionToOpCode(const String16& permission) { in permissionToOpCode() function in android::AppOpsManager
167 return service->permissionToOpCode(permission); in permissionToOpCode()
DIAppOpsService.cpp125 virtual int32_t permissionToOpCode(const String16& permission) { in permissionToOpCode() function in android::BpAppOpsService
267 const int32_t opCode = permissionToOpCode(permission); in onTransact()
/frameworks/native/libs/sensor/
DSensor.cpp126 mRequiredAppOp = appOps.permissionToOpCode(String16(mRequiredPermission)); in Sensor()
180 appOps.permissionToOpCode(String16(mRequiredPermission)); in Sensor()
188 appOps.permissionToOpCode(String16(mRequiredPermission)); in Sensor()
308 … mRequiredAppOp = appOps.permissionToOpCode(String16(SENSOR_PERMISSION_BODY_SENSORS)); in Sensor()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastSkipPolicy.java138 final int opCode = AppOpsManager.permissionToOpCode(info.activityInfo.permission); in shouldSkipMessage()
254 int appOp = AppOpsManager.permissionToOpCode(excludedPermission); in shouldSkipMessage()
328 int appOp = AppOpsManager.permissionToOpCode(requiredPermission); in shouldSkipMessage()
402 final int opCode = AppOpsManager.permissionToOpCode(filter.requiredPermission); in shouldSkipMessage()
495 int appOp = AppOpsManager.permissionToOpCode(requiredPermission); in shouldSkipMessage()
534 int appOp = AppOpsManager.permissionToOpCode(excludedPermission); in shouldSkipMessage()
DActiveServices.java5094 final int opCode = AppOpsManager.permissionToOpCode(r.permission); in retrieveServiceLocked()
/frameworks/native/libs/permission/include/binder/
DIAppOpsService.h50 virtual int32_t permissionToOpCode(const String16& permission) = 0;
DAppOpsManager.h184 int32_t permissionToOpCode(const String16& permission);
/frameworks/base/core/java/android/permission/
DPermissionCheckerManager.java122 if (AppOpsManager.permissionToOpCode(permission) == AppOpsManager.OP_NONE) { in checkPermission()
/frameworks/base/core/java/com/android/internal/app/
DIAppOpsService.aidl59 int permissionToOpCode(String permission); in permissionToOpCode() method
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java294 final int appOpCode = AppOpsManager.permissionToOpCode( in onStart()
388 int op = AppOpsManager.permissionToOpCode(permission); in getSwitchOp()
759 final int appOpCode = AppOpsManager.permissionToOpCode(appOpPermission); in resetAppOpPermissionsIfNotRequestedForUid()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java1020 finishDataDelivery(AppOpsManager.permissionToOpCode(permission), in checkPermission()
1174 final int op = AppOpsManager.permissionToOpCode(permission); in checkAppOpPermission()
1241 final int op = AppOpsManager.permissionToOpCode(permission); in checkRuntimePermission()
/frameworks/base/services/permission/java/com/android/server/permission/access/appop/
DAppOpService.kt125 if (appOpCode == AppOpsManager.permissionToOpCode(permissionName)) { in <lambda>()
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DContextHubClientBroker.java783 int opCode = AppOpsManager.permissionToOpCode(permission); in notePermissions()
/frameworks/base/core/java/android/content/
DContentProvider.java825 && mTransport.mReadOp != AppOpsManager.permissionToOpCode(mReadPermission)) { in enforceReadPermission()
843 && mTransport.mWriteOp != AppOpsManager.permissionToOpCode(mWritePermission)) { in enforceWritePermission()
/frameworks/base/core/java/android/app/
DForegroundServiceTypePolicy.java1176 final int opCode = AppOpsManager.permissionToOpCode(name); in checkPermission()
DAppOpsManager.java3244 public static int permissionToOpCode(String permission) { in permissionToOpCode() method in AppOpsManager
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskSupervisor.java1330 final int opCode = AppOpsManager.permissionToOpCode(activityInfo.permission); in getComponentRestrictionForCallingPackage()
1374 final int opCode = AppOpsManager.permissionToOpCode(permission); in getActionRestrictionForCallingPackage()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java5697 final int opCode = AppOpsManager.permissionToOpCode(perm);
5723 final int opCode = AppOpsManager.permissionToOpCode(perm);
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java4288 public int permissionToOpCode(String permission) { in permissionToOpCode() method in AppOpsService
4292 return AppOpsManager.permissionToOpCode(permission); in permissionToOpCode()
/frameworks/base/config/
Dboot-profile.txt819 Landroid/app/AppOpsManager;->permissionToOpCode(Ljava/lang/String;)I
/frameworks/base/core/api/
Dtest-current.txt259 method public static int permissionToOpCode(String);
/frameworks/base/boot/
Dboot-image-profile.txt1131 HSPLandroid/app/AppOpsManager;->permissionToOpCode(Ljava/lang/String;)I
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt71667 Lcom/android/internal/app/IAppOpsService$Stub$Proxy;->permissionToOpCode(Ljava/lang/String;)I
71697 Lcom/android/internal/app/IAppOpsService;->permissionToOpCode(Ljava/lang/String;)I
/frameworks/base/services/
Dart-wear-profile7737 PLcom/android/server/appop/AppOpsService;->permissionToOpCode(Ljava/lang/String;)I

12