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.java242 if (checkNetworkSettingsPermission(uid) || checkNetworkSetupWizardPermission(uid) in enforceCanAccessScanResults()
465 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.java723 private boolean checkNetworkSetupWizardPermission(int pid, int uid) { in checkNetworkSetupWizardPermission() method in WifiServiceImpl
742 || checkNetworkSetupWizardPermission(pid, uid) in isPrivileged()
751 || checkNetworkSetupWizardPermission(pid, uid); in isSettingsOrSuw()
2363 || mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid)) { in getPasspointConfigurations()
DWifiConfigManager.java1227 && !mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid)) { in addOrUpdateNetworkInternal()
3346 mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid); in canModifyProxySettings()
/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()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanRequestProxyTest.java215 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(TEST_UID)).thenReturn(true); in testStartScanSuccessFromAppWithNetworkSetupWizard()
608 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(TEST_UID)).thenReturn(true); in testSuccessiveScanRequestFromSameAppWithNetworkSetupWizardPermissionNotThrottled()
DWifiConfigManagerTest.java535 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testCannotUpdateMacRandomizationSettingWithoutPermission()
562 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testCanUpdateMacRandomizationSettingWithNetworkSettingPermission()
590 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(true); in testCanUpdateMacRandomizationSettingWithSetupWizardPermission()
4645 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())) in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
DWifiServiceImplTest.java2809 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testGetPasspointConfigurationsWithOutPrivilegedPermissions()