Home
last modified time | relevance | path

Searched refs:allowAutojoin (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSavedNetworkNominatorTest.java197 savedConfigs[1].allowAutojoin = false; in ignoreNetworksIfAutojoinNotAllowed()
224 wifiConfiguration.allowAutojoin = false; in returnNoCandidateIfNoNetworksAllowAutojoin()
240 configuration1.allowAutojoin = true; in returnCandidatesIfPasspointNetworksAvailableWithAutojoinEnabled()
242 configuration2.allowAutojoin = false; in returnCandidatesIfPasspointNetworksAvailableWithAutojoinEnabled()
DWifiServiceImplTest.java5143 mWifiServiceImpl.allowAutojoin(0, true); in testAllowAutojoinFailureNoNetworkSettingsPermission()
5153 config.allowAutojoin = false; in testAllowAutojoinOnSuggestionNetwork()
5158 mWifiServiceImpl.allowAutojoin(0, true); in testAllowAutojoinOnSuggestionNetwork()
5162 verify(mWifiConfigManager).allowAutojoin(anyInt(), anyBoolean()); in testAllowAutojoinOnSuggestionNetwork()
5170 config.allowAutojoin = false; in testAllowAutojoinOnSavedNetwork()
5174 mWifiServiceImpl.allowAutojoin(0, true); in testAllowAutojoinOnSavedNetwork()
5179 verify(mWifiConfigManager).allowAutojoin(anyInt(), anyBoolean()); in testAllowAutojoinOnSavedNetwork()
5187 mWifiServiceImpl.allowAutojoin(0, true); in testAllowAutojoinOnWifiNetworkSpecifier()
5192 verify(mWifiConfigManager, never()).allowAutojoin(0, true); in testAllowAutojoinOnWifiNetworkSpecifier()
5201 mWifiServiceImpl.allowAutojoin(0, true); in testAllowAutojoinOnSavedPasspointNetwork()
[all …]
DWifiConfigManagerTest.java1517 assertTrue(mWifiConfigManager.allowAutojoin( in testAllowDisallowAutojoin()
1521 assertTrue(retrievedNetwork.allowAutojoin); in testAllowDisallowAutojoin()
1525 assertTrue(mWifiConfigManager.allowAutojoin( in testAllowDisallowAutojoin()
1528 assertFalse(retrievedNetwork.allowAutojoin); in testAllowDisallowAutojoin()
3670 assertTrue(mWifiConfigManager.allowAutojoin(network3.networkId, false)); in testDisableAutojoinRemovesConnectChoice()
DWifiBackupRestoreTest.java1086 config.allowAutojoin = false; in createNetworkForConfigurationWithV1_2Data()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSavedNetworkNominator.java121 if (!network.allowAutojoin) { in findMatchedSavedNetworks()
180 if (!config.allowAutojoin) { in findMatchedPasspointNetworks()
DWifiShellCommand.java438 setAutoJoin(pw, config.SSID, config.allowAutojoin); in onCommand()
461 setAutoJoin(pw, config.SSID, config.allowAutojoin); in onCommand()
714 configuration.allowAutojoin = false; in buildWifiConfiguration()
849 private void setAutoJoin(PrintWriter pw, String ssid, boolean allowAutojoin) { in setAutoJoin() argument
863 mWifiService.allowAutojoin(retrievedConfig.networkId, allowAutojoin); in setAutoJoin()
DNetworkSuggestionNominator.java192 && wCmConfiguredNetwork.allowAutojoin)) { in findMatchedSuggestionNetworks()
DBaseWifiService.java185 public void allowAutojoin(int netId, boolean choice) { in allowAutojoin() method in BaseWifiService
DWifiBackupDataV1Parser.java360 configuration.allowAutojoin = (boolean) value; in parseWifiConfigurationFromXmlInternal()
DWifiServiceImpl.java2555 public void allowAutojoin(int netId, boolean choice) { in allowAutojoin() method in WifiServiceImpl
2587 if (choice != config.allowAutojoin) { in allowAutojoin()
2588 mWifiConfigManager.allowAutojoin(netId, choice); in allowAutojoin()
3562 mWifiConfigManager.allowAutojoin(networkId, configuration.allowAutojoin);
DWifiConfigManager.java1924 public boolean allowAutojoin(int networkId, boolean choice) { in allowAutojoin() method in WifiConfigManager
1935 config.allowAutojoin = choice; in allowAutojoin()
DWifiConnectivityManager.java1408 networks.removeIf(config -> !config.allowAutojoin in getAllScanOptimizationNetworks()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkNominateHelper.java211 mWifiConfigManager.allowAutojoin(result.getNetworkId(), config.allowAutojoin); in createWifiConfigForProvider()
DPasspointManager.java370 mWifiConfigManager.allowAutojoin(result.getNetworkId(), newConfig.allowAutojoin); in updateWifiConfigInWcmIfPresent()
DPasspointProvider.java517 wifiConfig.allowAutojoin = isAutojoinEnabled(); in getWifiConfig()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java4336 public void allowAutojoinGlobal(boolean allowAutojoin) { in allowAutojoinGlobal() argument
4338 mService.allowAutojoinGlobal(allowAutojoin); in allowAutojoinGlobal()
4356 public void allowAutojoin(int netId, boolean allowAutojoin) { in allowAutojoin() method in WifiManager
4358 mService.allowAutojoin(netId, allowAutojoin); in allowAutojoin()
4373 public void allowAutojoinPasspoint(@NonNull String fqdn, boolean allowAutojoin) { in allowAutojoinPasspoint() argument
4375 mService.allowAutojoinPasspoint(fqdn, allowAutojoin); in allowAutojoinPasspoint()
DWifiConfiguration.java866 public boolean allowAutojoin = true; field in WifiConfiguration
2357 sbuf.append(" allowAutojoin=" + allowAutojoin); in toString()
2780 allowAutojoin = source.allowAutojoin; in WifiConfiguration()
2852 dest.writeBoolean(allowAutojoin); in writeToParcel()
2926 config.allowAutojoin = in.readBoolean();
DIWifiManager.aidl93 void allowAutojoin(int netId, boolean choice); in allowAutojoin() method
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DPasspointWifiEntry.java474 return mWifiConfig.allowAutojoin; in isAutoJoinEnabled()
488 mWifiManager.allowAutojoin(mWifiConfig.networkId, enabled); in setAutoJoinEnabled()
DStandardWifiEntry.java566 return mWifiConfig.allowAutojoin; in isAutoJoinEnabled()
580 mWifiManager.allowAutojoin(mWifiConfig.networkId, enabled); in setAutoJoinEnabled()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DUtilsTest.java196 config.allowAutojoin = true; in testGetAutoConnectDescription_autoJoinEnabled_returnEmptyString()
210 config.allowAutojoin = false; in testGetAutoConnectDescription_autoJoinDisabled_returnDisable()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java457 XmlUtil.writeNextValue(out, XML_TAG_IS_AUTO_JOIN, configuration.allowAutojoin); in writeCommonElementsToXml()
708 configuration.allowAutojoin = (boolean) value; in parseFromXml()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java1259 assertTrue(mProvider.getWifiConfig().allowAutojoin); in getWifiConfigWithWithAutojoinDisable()
1261 assertFalse(mProvider.getWifiConfig().allowAutojoin); in getWifiConfigWithWithAutojoinDisable()
DPasspointManagerTest.java810 verify(mWifiConfigManager).allowAutojoin(TEST_NETWORK_ID, origWifiConfig.allowAutojoin); in addSavedProviderWithExistingConfig()
2013 verify(mWifiConfigManager).allowAutojoin(TEST_NETWORK_ID, origWifiConfig.allowAutojoin); in addSuggestionProviderWithExistingConfig()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java1774 mWifiManager.allowAutojoin(1, true); in testAllowAutojoin()
1775 verify(mWifiService).allowAutojoin(1, true); in testAllowAutojoin()

12