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()258 private int getUidPermission(String permissionType, int uid) { in getUidPermission() argument260 return mContext.checkPermission(permissionType, -1, uid); in getUidPermission()
45 public int getUidPermission(String permissionType, int uid) { in getUidPermission() argument47 return mContext.checkPermission(permissionType, -1, uid); in getUidPermission()
131 String permissionType = Manifest.permission.ACCESS_FINE_LOCATION; in checkCallersLocationPermission() local134 permissionType = Manifest.permission.ACCESS_COARSE_LOCATION; in checkCallersLocationPermission()136 if (mWifiPermissionsWrapper.getUidPermission(permissionType, uid) in checkCallersLocationPermission()