Searched refs:checkOp (Results 1 - 7 of 7) sorted by relevance

/frameworks/native/include/binder/
H A DAppOpsManager.h71 int32_t checkOp(int32_t op, int32_t uid, const String16& callingPackage);
/frameworks/native/libs/binder/
H A DAppOpsManager.cpp68 int32_t AppOpsManager::checkOp(int32_t op, int32_t uid, const String16& callingPackage) function in class:android::AppOpsManager
/frameworks/base/services/java/com/android/server/
H A DClipboardService.java205 if (mAppOps.checkOp(AppOpsManager.OP_READ_CLIPBOARD, Binder.getCallingUid(),
216 if (mAppOps.checkOp(AppOpsManager.OP_READ_CLIPBOARD, Binder.getCallingUid(),
240 if (mAppOps.checkOp(AppOpsManager.OP_READ_CLIPBOARD, Binder.getCallingUid(),
H A DLocationManagerService.java1022 if (mAppOps.checkOp(op, uid, packageName) != AppOpsManager.MODE_ALLOWED) {
/frameworks/base/core/java/android/app/
H A DAppOpsManager.java74 * Result from {@link #checkOp}, {@link #noteOp}, {@link #startOp}: the given caller is
80 * Result from {@link #checkOp}, {@link #noteOp}, {@link #startOp}: the given caller is
876 public int checkOp(String op, int uid, String packageName) { method in class:AppOpsManager
877 return checkOp(strOpToOp(op), uid, packageName);
881 * Like {@link #checkOp but instead of throwing a {@link SecurityException} it
969 public int checkOp(int op, int uid, String packageName) { method in class:AppOpsManager
982 * Like {@link #checkOp} but instead of throwing a {@link SecurityException} it
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsApplication.java300 // We can only call checkOp if we are privileged (updateIfNeeded) or if the app we
306 int mode = appOps.checkOp(AppOpsManager.OP_WRITE_SMS, applicationData.mUid,
334 int mode = appOps.checkOp(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid,
349 int mode = appOps.checkOp(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid,
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp1023 res = mAppOpsManager.checkOp(AppOpsManager::OP_CAMERA,
1025 ALOGV("checkOp returns: %d, %s ", res,

Completed in 659 milliseconds