Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DLocationPermissionChecker.java172 if (!checkCallersLocationPermission(pkgName, featureId, uid, in checkLocationPermissionInternal()
192 public boolean checkCallersLocationPermission(@Nullable String pkgName, in checkCallersLocationPermission() method in LocationPermissionChecker
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareClientState.java261 boolean hasPermission = mWifiPermissionsUtil.checkCallersLocationPermission( in onInterfaceAddressChange()
304 boolean hasPermission = mWifiPermissionsUtil.checkCallersLocationPermission( in onClusterChange()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java168 if (!checkCallersLocationPermission(pkgName, featureId, in enforceLocationPermission()
405 public boolean checkCallersLocationPermission(String pkgName, @Nullable String featureId, in checkCallersLocationPermission() method in WifiPermissionsUtil
594 boolean canAppPackageUseLocation = checkCallersLocationPermission(pkgName, featureId, in enforceCanAccessScanResults()
706 if (!checkCallersLocationPermission(pkgName, featureId, uid, in checkCanAccessWifiDirect()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/rtt/
DRttServiceImplTest.java232 when(mockPermissionUtil.checkCallersLocationPermission(eq(mPackageName), eq(mFeatureId), in setUp()
594 when(mockPermissionUtil.checkCallersLocationPermission(eq(mPackageName), eq(mFeatureId), in testRangingRequestWithoutRuntimePermission()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java403 doReturn(true).when(mLocationPermissionChecker).checkCallersLocationPermission( in setUp()
2121 .checkCallersLocationPermission(any(), any(), anyInt(), anyBoolean(), any()); in testEnforceTemplateLocationPermission()
2134 .checkCallersLocationPermission(any(), any(), anyInt(), anyBoolean(), any()); in testEnforceTemplateLocationPermission()
/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/
DRttServiceImpl.java1256 mWifiPermissionsUtil.checkCallersLocationPermission( in onRangingResults()
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsService.java1762 .checkCallersLocationPermission(callingPackage,
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java5655 when(mWifiPermissionsUtil.checkCallersLocationPermission( in testRequestPersistentGroupInfoNoLocationFinePermission()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java815 when(mWifiPermissionsUtil.checkCallersLocationPermission(eq(callingPackage), in testAwareEventsDelivery()