Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DLocationPermissionChecker.java209 boolean isFineLocationAllowed = noteAppOpAllowed( in checkCallersLocationPermission()
215 return noteAppOpAllowed(AppOpsManager.OPSTR_COARSE_LOCATION, pkgName, featureId, uid, in checkCallersLocationPermission()
254 private boolean noteAppOpAllowed(String op, String pkgName, @Nullable String featureId, in noteAppOpAllowed() method in LocationPermissionChecker
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/util/permissions/
DDiscoveryPermissions.java86 return noteAppOpAllowed(appOpsManager, callerIdentity, /* message= */ null); in noteDiscoveryResultDelivery()
89 private static boolean noteAppOpAllowed(AppOpsManager appOpsManager, in noteAppOpAllowed() method in DiscoveryPermissions
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java425 boolean isFineLocationAllowed = noteAppOpAllowed( in checkCallersLocationPermission()
435 boolean allowed = noteAppOpAllowed(AppOpsManager.OPSTR_COARSE_LOCATION, pkgName, in checkCallersLocationPermission()
493 isAllowed = noteAppOpAllowed(AppOpsManager.OPSTR_FINE_LOCATION, pkgName, featureId, uid, in checkCallersFineLocationPermission()
537 boolean allowed = noteAppOpAllowed(AppOpsManager.OPSTR_COARSE_LOCATION, pkgName, in checkCallersCoarseLocationPermission()
743 return noteAppOpAllowed(AppOpsManager.OPSTR_WIFI_SCAN, pkgName, featureId, uid, null); in isScanAllowedbyApps()
755 private boolean noteAppOpAllowed(String op, String pkgName, @Nullable String featureId, in noteAppOpAllowed() method in WifiPermissionsUtil