Searched refs:checkCallersLocationPermission (Results 1 – 9 of 9) sorted by relevance
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | LocationPermissionChecker.java | 172 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/ |
D | WifiAwareClientState.java | 261 boolean hasPermission = mWifiPermissionsUtil.checkCallersLocationPermission( in onInterfaceAddressChange() 304 boolean hasPermission = mWifiPermissionsUtil.checkCallersLocationPermission( in onClusterChange()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 168 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/ |
D | RttServiceImplTest.java | 232 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/ |
D | NetworkStatsServiceTest.java | 403 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/ |
D | RttServiceImpl.java | 1256 mWifiPermissionsUtil.checkCallersLocationPermission( in onRangingResults()
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | NetworkStatsService.java | 1762 .checkCallersLocationPermission(callingPackage,
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 5655 when(mWifiPermissionsUtil.checkCallersLocationPermission( in testRequestPersistentGroupInfoNoLocationFinePermission()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareStateManagerTest.java | 815 when(mWifiPermissionsUtil.checkCallersLocationPermission(eq(callingPackage), in testAwareEventsDelivery()
|