Home
last modified time | relevance | path

Searched refs:noteAppOpAllowed (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java171 boolean isAppOpAllowed = noteAppOpAllowed(AppOpsManager.OP_FINE_LOCATION, pkgName, uid); in checkCallersLocationPermission()
173 isAppOpAllowed = noteAppOpAllowed(AppOpsManager.OP_COARSE_LOCATION, pkgName, uid); in checkCallersLocationPermission()
214 if (!noteAppOpAllowed(AppOpsManager.OP_FINE_LOCATION, pkgName, uid)) { in checkCallersFineLocationPermission()
384 return noteAppOpAllowed(AppOpsManager.OP_WIFI_SCAN, pkgName, uid); in isScanAllowedbyApps()
416 private boolean noteAppOpAllowed(int op, String pkgName, int uid) { in noteAppOpAllowed() method in WifiPermissionsUtil
/frameworks/base/core/java/com/android/internal/util/
DLocationPermissionChecker.java193 boolean isFineLocationAllowed = noteAppOpAllowed( in checkCallersLocationPermission()
199 return noteAppOpAllowed(AppOpsManager.OPSTR_COARSE_LOCATION, pkgName, featureId, uid, in checkCallersLocationPermission()
239 private boolean noteAppOpAllowed(String op, String pkgName, @Nullable String featureId, in noteAppOpAllowed() method in LocationPermissionChecker