Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DLocationPermissionChecker.java182 String permissionType = Manifest.permission.ACCESS_FINE_LOCATION; in checkCallersLocationPermission() local
185 permissionType = Manifest.permission.ACCESS_COARSE_LOCATION; in checkCallersLocationPermission()
187 if (getUidPermission(permissionType, uid) == PackageManager.PERMISSION_DENIED) { in checkCallersLocationPermission()
257 private int getUidPermission(String permissionType, int uid) { in getUidPermission() argument
259 return mContext.checkPermission(permissionType, -1, uid); in getUidPermission()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsWrapper.java77 public int getUidPermission(String permissionType, int uid) { in getUidPermission() argument
78 return ActivityManager.checkUidPermission(permissionType, uid); in getUidPermission()
DWifiPermissionsUtil.java159 String permissionType = Manifest.permission.ACCESS_FINE_LOCATION; in checkCallersLocationPermission() local
162 permissionType = Manifest.permission.ACCESS_COARSE_LOCATION; in checkCallersLocationPermission()
164 if (mWifiPermissionsWrapper.getUidPermission(permissionType, uid) in checkCallersLocationPermission()