Searched refs:checkOp (Results 1 - 7 of 7) sorted by relevance
/frameworks/native/include/binder/ |
H A D | AppOpsManager.h | 71 int32_t checkOp(int32_t op, int32_t uid, const String16& callingPackage);
|
/frameworks/native/libs/binder/ |
H A D | AppOpsManager.cpp | 68 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 D | ClipboardService.java | 205 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 D | LocationManagerService.java | 1022 if (mAppOps.checkOp(op, uid, packageName) != AppOpsManager.MODE_ALLOWED) {
|
/frameworks/base/core/java/android/app/ |
H A D | AppOpsManager.java | 74 * 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 D | SmsApplication.java | 300 // 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 D | CameraService.cpp | 1023 res = mAppOpsManager.checkOp(AppOpsManager::OP_CAMERA, 1025 ALOGV("checkOp returns: %d, %s ", res,
|
Completed in 659 milliseconds