Home
last modified time | relevance | path

Searched refs:checkOp (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/libs/binder/include/binder/
DAppOpsManager.h100 int32_t checkOp(int32_t op, int32_t uid, const String16& callingPackage);
/frameworks/native/libs/binder/
DAppOpsManager.cpp88 int32_t AppOpsManager::checkOp(int32_t op, int32_t uid, const String16& callingPackage) in checkOp() function in android::AppOpsManager
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsAccess.java177 final int mode = appOps.checkOp(AppOpsManager.OP_GET_USAGE_STATS, in hasAppOpsPermission()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkStatsAccessTest.java166 when(mAppOps.checkOp(AppOpsManager.OP_GET_USAGE_STATS, TEST_UID, TEST_PKG)) in setHasAppOpsPermission()
/frameworks/base/core/java/android/app/
DAppOpsManager.java1590 public int checkOp(String op, int uid, String packageName) { in checkOp() method in AppOpsManager
1591 return checkOp(strOpToOp(op), uid, packageName); in checkOp()
1710 public int checkOp(int op, int uid, String packageName) { in checkOp() method in AppOpsManager
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsApplication.java486 int mode = appOps.checkOp(AppOpsManager.OP_WRITE_SMS, applicationData.mUid, in getApplication()
676 int mode = appOps.checkOp(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid, in assignWriteSmsPermissionToSystemApp()
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java557 if (mAppOps.checkOp(op, callingUid, callingPackage) != AppOpsManager.MODE_ALLOWED) { in clipboardAccessAllowed()
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java140 final int mode = mAppOps.checkOp(AppOpsManager.OP_GET_USAGE_STATS, in enforcePermission()
DUsageStatsService.java1374 final int mode = mAppOps.checkOp(AppOpsManager.OP_GET_USAGE_STATS, in hasPermission()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp2259 res = mAppOpsManager.checkOp(AppOpsManager::OP_CAMERA, in opChanged()
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java1519 if (mAppOps.checkOp(op, uid, packageName) != AppOpsManager.MODE_ALLOWED) { in checkLocationAccess()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java481 return mAppOps.checkOp(AppOpsManager.OP_POST_NOTIFICATION, uid, pkg) in checkNotificationOp()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt3788 method public int checkOp(java.lang.String, int, java.lang.String);
/frameworks/base/api/
Dcurrent.txt4148 method public int checkOp(java.lang.String, int, java.lang.String);
Dsystem-current.txt4301 method public int checkOp(java.lang.String, int, java.lang.String);