Home
last modified time | relevance | path

Searched refs:checkNetworkSetupWizardPermission (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java241 if (checkNetworkSettingsPermission(uid) || checkNetworkSetupWizardPermission(uid) in enforceCanAccessScanResults()
464 public boolean checkNetworkSetupWizardPermission(int uid) { in checkNetworkSetupWizardPermission() method in WifiPermissionsUtil
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanRequestProxy.java463 || mWifiPermissionsUtil.checkNetworkSetupWizardPermission(callingUid); in startScan()
DWifiServiceImpl.java726 private boolean checkNetworkSetupWizardPermission(int pid, int uid) { in checkNetworkSetupWizardPermission() method in WifiServiceImpl
745 || checkNetworkSetupWizardPermission(pid, uid) in isPrivileged()
754 || checkNetworkSetupWizardPermission(pid, uid); in isSettingsOrSuw()
2318 && !mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid)) { in getPasspointConfigurations()
DWifiConfigManager.java1164 && !mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid)) { in addOrUpdateNetworkInternal()
3265 mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid); in canModifyProxySettings()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanRequestProxyTest.java203 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(TEST_UID)).thenReturn(true); in testStartScanSuccessFromAppWithNetworkSetupWizard()
593 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(TEST_UID)).thenReturn(true); in testSuccessiveScanRequestFromSameAppWithNetworkSetupWizardPermissionNotThrottled()
DWifiConfigManagerTest.java482 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testCannotUpdateMacRandomizationSettingWithoutPermission()
509 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testCanUpdateMacRandomizationSettingWithNetworkSettingPermission()
537 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(true); in testCanUpdateMacRandomizationSettingWithSetupWizardPermission()
4550 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())) in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
DWifiServiceImplTest.java2655 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testGetPasspointConfigurationsWithOutPermissions()
2669 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(true); in testGetPasspointConfigurationWithInvalidPackage()
2681 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testGetPasspointConfigurationForAppsTargetingBelowQSDK()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java793 assertFalse(wifiPermissionsUtil.checkNetworkSetupWizardPermission(MANAGED_PROFILE_UID)); in testCheckNetworkSetupWizard()
798 assertTrue(wifiPermissionsUtil.checkNetworkSetupWizardPermission(MANAGED_PROFILE_UID)); in testCheckNetworkSetupWizard()