Home
last modified time | relevance | path

Searched refs:enforceLocationPermissionInManifest (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java370 public void enforceLocationPermissionInManifest(int uid, boolean isCoarseOnly) { in enforceLocationPermissionInManifest() method in WifiPermissionsUtil
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java1193 private void enforceLocationPermissionInManifest(int uid, boolean isCoarseOnly) { in enforceLocationPermissionInManifest() method in WifiServiceImpl
1194 mWifiPermissionsUtil.enforceLocationPermissionInManifest(uid, isCoarseOnly); in enforceLocationPermissionInManifest()
4861 enforceLocationPermissionInManifest(uid, true /* isCoarseOnly */);
7004 enforceLocationPermissionInManifest(uid, false /* isCoarseOnly */);
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java8810 .enforceLocationPermissionInManifest(anyInt(), eq(false)); in testRegisterSuggestionNetworkCallbackWithMissingFinePermission()
10591 .when(mWifiPermissionsUtil).enforceLocationPermissionInManifest(anyInt(), eq(true)); in registerDriverCountryCodeChangedListenerThrowsSecurityExceptionWithoutPermission()
10634 .when(mWifiPermissionsUtil).enforceLocationPermissionInManifest(anyInt(), in verifyRegisterDriverCountryCodeChangedListenerSucceededAndTriggerListener()
10655 .when(mWifiPermissionsUtil).enforceLocationPermissionInManifest(anyInt(), in verifyRegisterDriverCountryCodeChangedListenerSucceededButNoNotifyListener()
10674 .when(mWifiPermissionsUtil).enforceLocationPermissionInManifest(anyInt(), in testDriverCountryCodeChangedDropWhenRegisterPermissionRemoved()
10702 .when(mWifiPermissionsUtil).enforceLocationPermissionInManifest(anyInt(), in unregisterDriverCountryCodeChangedListenerRemovesListener()