Searched refs:enforceCanAccessScanResultsForWifiScanner (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | WifiPermissionsUtilTest.java | 1037 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, TEST_FEATURE_ID, in testCanAccessScanResultsForWifiScanner() 1067 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, TEST_FEATURE_ID, in testCannotAccessScanResultsForWifiScanner_HideFromAppOps() 1099 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, in testCannotAccessScanResultsForWifiScanner_NoFineLocationPermission() 1127 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, in testCannotAccessScanResultsForWifiScanner_NoFineLocationAppOps() 1156 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, in testCannotAccessScanResultsForWifiScanner_NoHardwareLocationPermission() 1184 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, in testCannotAccessScanResultsForWifiScanner_NoWifiScanAppOps() 1212 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, in testCannotAccessScanResultsForWifiScanner_LocationModeDisabled() 1240 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, TEST_FEATURE_ID, in testCannotAccessScanResultsForWifiScanner_IgnoreLocationSettings() 1265 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, in testCannotAccessScanResultsForWifiScanner_InvalidPackage()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WifiScanningServiceTest.java | 2870 .enforceCanAccessScanResultsForWifiScanner(any(), any(), eq(Binder.getCallingUid()), in rejectAllMessagesFromNonPrivilegedAppsWithoutLocationPermission() 2948 verify(mWifiPermissionsUtil).enforceCanAccessScanResultsForWifiScanner( in verifyIgnoreLocationSettingsFromNonPrivilegedAppsForSingleScan() 2965 verify(mWifiPermissionsUtil).enforceCanAccessScanResultsForWifiScanner( in verifyIgnoreLocationSettingsFromNonPrivilegedAppsForSingleScan() 2981 verify(mWifiPermissionsUtil).enforceCanAccessScanResultsForWifiScanner( in verifyIgnoreLocationSettingsFromNonPrivilegedAppsForSingleScan() 3017 verify(mWifiPermissionsUtil).enforceCanAccessScanResultsForWifiScanner( in verifyHideFromAppOpsFromNonPrivilegedAppsForSingleScan() 3031 verify(mWifiPermissionsUtil).enforceCanAccessScanResultsForWifiScanner( in verifyHideFromAppOpsFromNonPrivilegedAppsForSingleScan() 3045 verify(mWifiPermissionsUtil).enforceCanAccessScanResultsForWifiScanner( in verifyHideFromAppOpsFromNonPrivilegedAppsForSingleScan() 3084 verify(mWifiPermissionsUtil, never()).enforceCanAccessScanResultsForWifiScanner( in verifyLocationPermissionCheckIsSkippedFromPrivilegedClientsForSingleScan() 3702 .when(mWifiPermissionsUtil).enforceCanAccessScanResultsForWifiScanner( in getAvailableChannels_noPermission_throwsException() 3722 doNothing().when(mWifiPermissionsUtil).enforceCanAccessScanResultsForWifiScanner( in getAvailableChannels_hasPermission_returnsSuccessfully() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 327 public void enforceCanAccessScanResultsForWifiScanner(String pkgName, in enforceCanAccessScanResultsForWifiScanner() method in WifiPermissionsUtil
|
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningServiceImpl.java | 247 mWifiPermissionsUtil.enforceCanAccessScanResultsForWifiScanner(packageName, in enforcePermission()
|