Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsWrapper.java48 public int getUidPermission(String permissionType, int uid) { in getUidPermission() argument
50 int granted = mContext.checkPermission(permissionType, -1, uid); in getUidPermission()
52 Log.v(TAG, "getUidPermission(" + permissionType + ", " + uid + "): " in getUidPermission()
DWifiPermissionsUtil.java148 String permissionType = Manifest.permission.ACCESS_FINE_LOCATION; in checkCallersLocationPermission() local
151 permissionType = Manifest.permission.ACCESS_COARSE_LOCATION; in checkCallersLocationPermission()
153 if (mWifiPermissionsWrapper.getUidPermission(permissionType, uid) in checkCallersLocationPermission()
157 + " doesn't have permission " + permissionType); in checkCallersLocationPermission()