Searched refs:checkNetworkSetupWizardPermission (Results 1 – 8 of 8) sorted by relevance
241 if (checkNetworkSettingsPermission(uid) || checkNetworkSetupWizardPermission(uid) in enforceCanAccessScanResults()464 public boolean checkNetworkSetupWizardPermission(int uid) { in checkNetworkSetupWizardPermission() method in WifiPermissionsUtil
463 || mWifiPermissionsUtil.checkNetworkSetupWizardPermission(callingUid); in startScan()
726 private boolean checkNetworkSetupWizardPermission(int pid, int uid) { in checkNetworkSetupWizardPermission() method in WifiServiceImpl745 || checkNetworkSetupWizardPermission(pid, uid) in isPrivileged()754 || checkNetworkSetupWizardPermission(pid, uid); in isSettingsOrSuw()2318 && !mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid)) { in getPasspointConfigurations()
1164 && !mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid)) { in addOrUpdateNetworkInternal()3265 mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid); in canModifyProxySettings()
203 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(TEST_UID)).thenReturn(true); in testStartScanSuccessFromAppWithNetworkSetupWizard()593 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(TEST_UID)).thenReturn(true); in testSuccessiveScanRequestFromSameAppWithNetworkSetupWizardPermissionNotThrottled()
482 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()
2655 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()
793 assertFalse(wifiPermissionsUtil.checkNetworkSetupWizardPermission(MANAGED_PROFILE_UID)); in testCheckNetworkSetupWizard()798 assertTrue(wifiPermissionsUtil.checkNetworkSetupWizardPermission(MANAGED_PROFILE_UID)); in testCheckNetworkSetupWizard()