Searched refs:checkCallersLocationPermission (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 118 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/ |
D | LocationPermissionChecker.java | 157 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/ |
D | WifiAwareClientState.java | 225 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/ |
D | RttServiceImplTest.java | 208 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/ |
D | RttServiceImpl.java | 1095 boolean permissionGranted = mWifiPermissionsUtil.checkCallersLocationPermission( in onRangingResults()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareStateManagerTest.java | 627 when(mWifiPermissionsUtil.checkCallersLocationPermission(anyString(), anyInt(), in testAwareEventsDelivery()
|