Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DLocationPermissionChecker.java160 if (checkNetworkSettingsPermission(uid) || checkNetworkSetupWizardPermission(uid) in checkLocationPermissionInternal()
289 public boolean checkNetworkSetupWizardPermission(int uid) { in checkNetworkSetupWizardPermission() method in LocationPermissionChecker
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java224 if (checkNetworkSettingsPermission(uid) || checkNetworkSetupWizardPermission(uid) in enforceNearbyDevicesPermission()
573 if (checkNetworkSettingsPermission(uid) || checkNetworkSetupWizardPermission(uid) in enforceCanAccessScanResults()
647 if (checkNetworkSettingsPermission(uid) || checkNetworkSetupWizardPermission(uid)) { in enforceCanAccessScanResultsForWifiScanner()
857 public boolean checkNetworkSetupWizardPermission(int uid) { in checkNetworkSetupWizardPermission() method in WifiPermissionsUtil
1229 if (checkNetworkSettingsPermission(uid) || checkNetworkSetupWizardPermission(uid)) { in getWifiCallerType()
DWorkSourceHelper.java143 || mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid) in isPrivileged()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSavedNetworkNominator.java277 || mWifiPermissionsUtil.checkNetworkSetupWizardPermission(creatorUid)) { in isImsiProtectionApprovalNeeded()
DMultiInternetWifiNetworkFactory.java144 || mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid); in acceptRequest()
DWifiConfigManager.java1079 || mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid) in canModifyNetwork()
1089 || mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid) in canModifyNetwork()
1517 && !mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid) in addOrUpdateNetworkInternal()
1536 && !mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid)) { in addOrUpdateNetworkInternal()
3922 mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid); in canModifyProxySettings()
DScanRequestProxy.java521 || mWifiPermissionsUtil.checkNetworkSetupWizardPermission(callingUid); in startScan()
DWifiServiceImpl.java1050 private boolean checkNetworkSetupWizardPermission(int pid, int uid) { in checkNetworkSetupWizardPermission() method in WifiServiceImpl
1082 || checkNetworkSetupWizardPermission(pid, uid) in isPrivileged()
1094 || checkNetworkSetupWizardPermission(pid, uid); in isSettingsOrSuw()
3520 && !mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid)) { in setThirdPartyAppEnablingWifiConfirmationDialogEnabled()
3550 && !mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid)) { in isThirdPartyAppEnablingWifiConfirmationDialogEnabled()
4381 && !mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid)) { in getBssidBlocklist()
4534 || mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid)) { in getConnectionInfo()
4796 || mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid)) {
7114 || mWifiPermissionsUtil.checkNetworkSetupWizardPermission(callingUid);
DClientModeImpl.java1470 || mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid)) { in connectToUserSelectNetwork()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DScanRequestProxyTest.java266 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(TEST_UID)).thenReturn(true); in testStartScanSuccessFromAppWithNetworkSetupWizard()
750 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(TEST_UID)).thenReturn(true); in testSuccessiveScanRequestFromSameAppWithNetworkSetupWizardPermissionNotThrottled()
DWifiConfigManagerTest.java868 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testOverrideWifiConfigModifyAllNetworks()
915 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testCannotUpdateMacRandomizationSettingWithoutPermissionDO()
946 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testCanUpdateMacRandomizationSettingForAdminNetwork()
980 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testCanUpdateMacRandomizationSettingWithNetworkSettingPermission()
1015 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(true); in testCanUpdateMacRandomizationSettingWithSetupWizardPermission()
1046 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testCanAddConfigWithDisabledMacRandomizationWhenInDemoMode()
1065 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testCanUpdateMacRandomizationSettingWithPasspointCreatorUid()
1095 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testCanUpdateMacRandomizationSettingForSuggestions()
5777 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())) in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
8503 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(TEST_CREATOR_UID)) in testUpdateSendDhcpHostnameFailsWithoutSettingsOrSuwPermission()
[all …]
DWifiServiceImplTest.java1735 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testGetBssidBlocklist()
1749 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(true); in testGetBssidBlocklist()
5001 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testGetPasspointConfigurationsWithOutPrivilegedPermissions()
8376 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())) in testSetThirdPartyAppEnablingWifiConfirmationDialogEnabled()
10948 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testSetStaConcurrencyForMultiInternetModeThrowsExceptionWithoutPermissionOnT()
DClientModeImplTest.java10563 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testConnectDisabledPskAllowedForNonUserSelectedNetwork()
10649 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testConnectDisabledOpenAllowedForNonUserSelectedNetwork()
10736 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testConnectDisabledWpa2EnterpriseAllowedForNonUserSelectedNetwork()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java841 assertFalse(wifiPermissionsUtil.checkNetworkSetupWizardPermission(MANAGED_PROFILE_UID)); in testCheckNetworkSetupWizard()
846 assertTrue(wifiPermissionsUtil.checkNetworkSetupWizardPermission(MANAGED_PROFILE_UID)); in testCheckNetworkSetupWizard()