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 | 1139 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, TEST_FEATURE_ID, in testCanAccessScanResultsForWifiScanner() 1182 codeUnderTest.enforceCanAccessScanResultsForWifiScanner( in testAccessScanResultsForWifiScanner_LocationModeDisabledHasNoNetworkSettingsOrSuw() 1214 codeUnderTest.enforceCanAccessScanResultsForWifiScanner( in testAccessScanResultsForWifiScanner_LocationModeDisabledHasNetworkSettings() 1243 codeUnderTest.enforceCanAccessScanResultsForWifiScanner( in testAccessScanResultsForWifiScanner_LocationModeDisabledHasNetworkSuw() 1268 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, TEST_FEATURE_ID, in testCanAccessScanResultsForWifiScanner_HideFromAppOps() 1301 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, in testCannotAccessScanResultsForWifiScanner_NoFineLocationPermission() 1330 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, in testCannotAccessScanResultsForWifiScanner_NoFineLocationAppOps() 1360 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, in testCannotAccessScanResultsForWifiScanner_NoHardwareLocationPermission() 1389 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, in testCannotAccessScanResultsForWifiScanner_NoWifiScanAppOps() 1418 codeUnderTest.enforceCanAccessScanResultsForWifiScanner(TEST_PACKAGE_NAME, in testCannotAccessScanResultsForWifiScanner_LocationModeDisabled() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WifiScanningServiceTest.java | 2964 verify(mWifiPermissionsUtil).enforceCanAccessScanResultsForWifiScanner( in rejectRestrictedMessagesFromNonPrivilegedApps() 2970 verify(mWifiPermissionsUtil, never()).enforceCanAccessScanResultsForWifiScanner( in rejectRestrictedMessagesFromNonPrivilegedApps() 2990 .enforceCanAccessScanResultsForWifiScanner(any(), any(), eq(Binder.getCallingUid()), in rejectAllMessagesFromNonPrivilegedAppsWithoutLocationPermission() 3054 verify(mWifiPermissionsUtil).enforceCanAccessScanResultsForWifiScanner( in verifyIgnoreLocationSettingsFromNonPrivilegedAppsForSingleScan() 3065 verify(mWifiPermissionsUtil).enforceCanAccessScanResultsForWifiScanner( in verifyIgnoreLocationSettingsFromNonPrivilegedAppsForSingleScan() 3078 verify(mWifiPermissionsUtil, times(2)).enforceCanAccessScanResultsForWifiScanner( in verifyIgnoreLocationSettingsFromNonPrivilegedAppsForSingleScan() 3110 verify(mWifiPermissionsUtil).enforceCanAccessScanResultsForWifiScanner( in verifyHideFromAppOpsFromNonPrivilegedAppsForSingleScan() 3121 verify(mWifiPermissionsUtil).enforceCanAccessScanResultsForWifiScanner( in verifyHideFromAppOpsFromNonPrivilegedAppsForSingleScan() 3133 verify(mWifiPermissionsUtil, times(2)).enforceCanAccessScanResultsForWifiScanner( in verifyHideFromAppOpsFromNonPrivilegedAppsForSingleScan() 3168 verify(mWifiPermissionsUtil, never()).enforceCanAccessScanResultsForWifiScanner( in verifyLocationPermissionCheckIsSkippedFromPrivilegedClientsForSingleScan() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 641 public void enforceCanAccessScanResultsForWifiScanner(String pkgName, in enforceCanAccessScanResultsForWifiScanner() method in WifiPermissionsUtil
|
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningServiceImpl.java | 648 mWifiPermissionsUtil.enforceCanAccessScanResultsForWifiScanner(packageName, in enforcePermission()
|