Searched refs:permissionType (Results 1 – 3 of 3) sorted by relevance
182 String permissionType = Manifest.permission.ACCESS_FINE_LOCATION; in checkCallersLocationPermission() local185 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() argument259 return mContext.checkPermission(permissionType, -1, uid); in getUidPermission()
77 public int getUidPermission(String permissionType, int uid) { in getUidPermission() argument78 return ActivityManager.checkUidPermission(permissionType, uid); in getUidPermission()
159 String permissionType = Manifest.permission.ACCESS_FINE_LOCATION; in checkCallersLocationPermission() local162 permissionType = Manifest.permission.ACCESS_COARSE_LOCATION; in checkCallersLocationPermission()164 if (mWifiPermissionsWrapper.getUidPermission(permissionType, uid) in checkCallersLocationPermission()