Searched defs:appOps (Results 1 - 1 of 1) sorted by relevance
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
H A D | Utils.java | 279 public static boolean checkCallerHasLocationPermission(Context context, AppOpsManager appOps, argument 283 && isAppOppAllowed(appOps, AppOpsManager.OP_FINE_LOCATION, callingPackage)) { 289 && isAppOppAllowed(appOps, AppOpsManager.OP_COARSE_LOCATION, callingPackage)) { 345 private static boolean isAppOppAllowed(AppOpsManager appOps, int op, String callingPackage) { argument 346 return appOps.noteOp(op, Binder.getCallingUid(), callingPackage)
|
Completed in 81 milliseconds