Searched refs:checkNetworkSetupWizardPermission (Results 1 – 14 of 14) sorted by relevance
160 if (checkNetworkSettingsPermission(uid) || checkNetworkSetupWizardPermission(uid) in checkLocationPermissionInternal()289 public boolean checkNetworkSetupWizardPermission(int uid) { in checkNetworkSetupWizardPermission() method in LocationPermissionChecker
224 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 WifiPermissionsUtil1229 if (checkNetworkSettingsPermission(uid) || checkNetworkSetupWizardPermission(uid)) { in getWifiCallerType()
143 || mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid) in isPrivileged()
277 || mWifiPermissionsUtil.checkNetworkSetupWizardPermission(creatorUid)) { in isImsiProtectionApprovalNeeded()
144 || mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid); in acceptRequest()
1079 || 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()
521 || mWifiPermissionsUtil.checkNetworkSetupWizardPermission(callingUid); in startScan()
1050 private boolean checkNetworkSetupWizardPermission(int pid, int uid) { in checkNetworkSetupWizardPermission() method in WifiServiceImpl1082 || 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);
1470 || mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid)) { in connectToUserSelectNetwork()
266 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(TEST_UID)).thenReturn(true); in testStartScanSuccessFromAppWithNetworkSetupWizard()750 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(TEST_UID)).thenReturn(true); in testSuccessiveScanRequestFromSameAppWithNetworkSetupWizardPermissionNotThrottled()
868 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 …]
1735 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()
10563 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()
841 assertFalse(wifiPermissionsUtil.checkNetworkSetupWizardPermission(MANAGED_PROFILE_UID)); in testCheckNetworkSetupWizard()846 assertTrue(wifiPermissionsUtil.checkNetworkSetupWizardPermission(MANAGED_PROFILE_UID)); in testCheckNetworkSetupWizard()