Searched refs:permissionType (Results 1 – 2 of 2) sorted by relevance
48 public int getUidPermission(String permissionType, int uid) { in getUidPermission() argument50 int granted = mContext.checkPermission(permissionType, -1, uid); in getUidPermission()52 Log.v(TAG, "getUidPermission(" + permissionType + ", " + uid + "): " in getUidPermission()
148 String permissionType = Manifest.permission.ACCESS_FINE_LOCATION; in checkCallersLocationPermission() local151 permissionType = Manifest.permission.ACCESS_COARSE_LOCATION; in checkCallersLocationPermission()153 if (mWifiPermissionsWrapper.getUidPermission(permissionType, uid) in checkCallersLocationPermission()157 + " doesn't have permission " + permissionType); in checkCallersLocationPermission()