Home
last modified time | relevance | path

Searched refs:checkCallersLocationPermission (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java118 if (!checkCallersLocationPermission(pkgName, uid, /* coarseForTargetSdkLessThanQ */ true)) { in enforceLocationPermission()
155 public boolean checkCallersLocationPermission(String pkgName, int uid, in checkCallersLocationPermission() method in WifiPermissionsUtil
258 boolean canAppPackageUseLocation = checkCallersLocationPermission(pkgName, in enforceCanAccessScanResults()
347 if (!checkCallersLocationPermission(pkgName, uid, in checkCanAccessWifiDirect()
/frameworks/base/core/java/com/android/internal/util/
DLocationPermissionChecker.java157 if (!checkCallersLocationPermission(pkgName, featureId, uid, in checkLocationPermissionInternal()
177 public boolean checkCallersLocationPermission(String pkgName, @Nullable String featureId, in checkCallersLocationPermission() method in LocationPermissionChecker
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareClientState.java225 boolean hasPermission = mWifiPermissionsUtil.checkCallersLocationPermission( in onInterfaceAddressChange()
260 boolean hasPermission = mWifiPermissionsUtil.checkCallersLocationPermission( in onClusterChange()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttServiceImplTest.java208 when(mockPermissionUtil.checkCallersLocationPermission(eq(mPackageName), in setUp()
454 when(mockPermissionUtil.checkCallersLocationPermission(eq(mPackageName), in testRangingRequestWithoutRuntimePermission()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/
DRttServiceImpl.java1095 boolean permissionGranted = mWifiPermissionsUtil.checkCallersLocationPermission( in onRangingResults()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java627 when(mWifiPermissionsUtil.checkCallersLocationPermission(anyString(), anyInt(), in testAwareEventsDelivery()