Home
last modified time | relevance | path

Searched refs:enforceCanAccessScanResultsForWifiScanner (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java979 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, TEST_FEATURE_ID, in testCanAccessScanResultsForWifiScanner()
1009 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, TEST_FEATURE_ID, in testCannotAccessScanResultsForWifiScanner_HideFromAppOps()
1041 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, in testCannotAccessScanResultsForWifiScanner_NoFineLocationPermission()
1069 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, in testCannotAccessScanResultsForWifiScanner_NoFineLocationAppOps()
1098 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, in testCannotAccessScanResultsForWifiScanner_NoHardwareLocationPermission()
1126 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, in testCannotAccessScanResultsForWifiScanner_NoWifiScanAppOps()
1154 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, in testCannotAccessScanResultsForWifiScanner_LocationModeDisabled()
1182 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, TEST_FEATURE_ID, in testCannotAccessScanResultsForWifiScanner_IgnoreLocationSettings()
1207 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, in testCannotAccessScanResultsForWifiScanner_InvalidPackage()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java2693 .enforceCanAccessScanResultsForWifiScanner(any(), any(), eq(Binder.getCallingUid()), in rejectAllMessagesFromNonPrivilegedAppsWithoutLocationPermission()
2762 verify(mWifiPermissionsUtil).enforceCanAccessScanResultsForWifiScanner( in verifyIgnoreLocationSettingsFromNonPrivilegedAppsForSingleScan()
2776 verify(mWifiPermissionsUtil).enforceCanAccessScanResultsForWifiScanner( in verifyIgnoreLocationSettingsFromNonPrivilegedAppsForSingleScan()
2790 verify(mWifiPermissionsUtil).enforceCanAccessScanResultsForWifiScanner( in verifyIgnoreLocationSettingsFromNonPrivilegedAppsForSingleScan()
2826 verify(mWifiPermissionsUtil).enforceCanAccessScanResultsForWifiScanner( in verifyHideFromAppOpsFromNonPrivilegedAppsForSingleScan()
2840 verify(mWifiPermissionsUtil).enforceCanAccessScanResultsForWifiScanner( in verifyHideFromAppOpsFromNonPrivilegedAppsForSingleScan()
2854 verify(mWifiPermissionsUtil).enforceCanAccessScanResultsForWifiScanner( in verifyHideFromAppOpsFromNonPrivilegedAppsForSingleScan()
2893 verify(mWifiPermissionsUtil, never()).enforceCanAccessScanResultsForWifiScanner( in verifyLocationPermissionCheckIsSkippedFromPrivilegedClientsForSingleScan()
3509 .when(mWifiPermissionsUtil).enforceCanAccessScanResultsForWifiScanner( in getAvailableChannels_noPermission_throwsException()
3529 doNothing().when(mWifiPermissionsUtil).enforceCanAccessScanResultsForWifiScanner( in getAvailableChannels_hasPermission_returnsSuccessfully()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java271 public void enforceCanAccessScanResultsForWifiScanner(String pkgName, in enforceCanAccessScanResultsForWifiScanner() method in WifiPermissionsUtil
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java237 mWifiPermissionsUtil.enforceCanAccessScanResultsForWifiScanner(packageName, in enforcePermission()