Searched refs:checkNetworkSetupWizardPermission (Results 1 – 9 of 9) sorted by relevance
223 if (checkNetworkSettingsPermission(uid) || checkNetworkSetupWizardPermission(uid) in enforceCanAccessScanResults()457 public boolean checkNetworkSetupWizardPermission(int uid) { in checkNetworkSetupWizardPermission() method in WifiPermissionsUtil
230 || mWifiPermissionsUtil.checkNetworkSetupWizardPermission(creatorUid)) { in isImsiProtectionApprovalNeeded()
425 || mWifiPermissionsUtil.checkNetworkSetupWizardPermission(callingUid); in startScan()
591 private boolean checkNetworkSetupWizardPermission(int pid, int uid) { in checkNetworkSetupWizardPermission() method in WifiServiceImpl612 || checkNetworkSetupWizardPermission(pid, uid) in isPrivileged()623 || checkNetworkSetupWizardPermission(pid, uid); in isSettingsOrSuw()2847 || mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid)) {
1260 && !mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid) in addOrUpdateNetworkInternal()3242 mWifiPermissionsUtil.checkNetworkSetupWizardPermission(uid); in canModifyProxySettings()
236 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(TEST_UID)).thenReturn(true); in testStartScanSuccessFromAppWithNetworkSetupWizard()623 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(TEST_UID)).thenReturn(true); in testSuccessiveScanRequestFromSameAppWithNetworkSetupWizardPermissionNotThrottled()
664 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testCannotUpdateMacRandomizationSettingWithoutPermission()693 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testCanUpdateMacRandomizationSettingWithNetworkSettingPermission()728 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(true); in testCanUpdateMacRandomizationSettingWithSetupWizardPermission()760 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testCanUpdateMacRandomizationSettingWithPasspointCreatorUid()4689 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())) in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
3373 when(mWifiPermissionsUtil.checkNetworkSetupWizardPermission(anyInt())).thenReturn(false); in testGetPasspointConfigurationsWithOutPrivilegedPermissions()
784 assertFalse(wifiPermissionsUtil.checkNetworkSetupWizardPermission(MANAGED_PROFILE_UID)); in testCheckNetworkSetupWizard()789 assertTrue(wifiPermissionsUtil.checkNetworkSetupWizardPermission(MANAGED_PROFILE_UID)); in testCheckNetworkSetupWizard()