Home
last modified time | relevance | path

Searched refs:enableAutojoin (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java710 public boolean enableAutojoin(String uniqueId, String fqdn, boolean enableAutojoin) { in enableAutojoin() method in PasspointManager
721 if (provider.setAutojoinEnabled(enableAutojoin)) { in enableAutojoin()
722 mWifiMetrics.logUserActionEvent(enableAutojoin in enableAutojoin()
741 if (provider.setAutojoinEnabled(enableAutojoin)) { in enableAutojoin()
742 mWifiMetrics.logUserActionEvent(enableAutojoin in enableAutojoin()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java725 assertTrue(mManager.enableAutojoin(null, provider.getConfig().getHomeSp().getFqdn(), in verifyEnableAutojoin()
728 assertTrue(mManager.enableAutojoin(null, provider.getConfig().getHomeSp().getFqdn(), in verifyEnableAutojoin()
731 assertFalse(mManager.enableAutojoin(null, provider.getConfig().getHomeSp() in verifyEnableAutojoin()
734 assertTrue(mManager.enableAutojoin(provider.getConfig().getUniqueId(), null, in verifyEnableAutojoin()
737 assertTrue(mManager.enableAutojoin(provider.getConfig().getUniqueId(), null, in verifyEnableAutojoin()
741 mManager.enableAutojoin(provider.getConfig().getHomeSp().getFqdn() + "-XXXX", in verifyEnableAutojoin()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNetworkSuggestionsManager.java1555 .enableAutojoin(ewns.wns.passpointConfiguration.getUniqueId(), in restoreInitialAutojoinForCarrierId()
2509 if (!mWifiInjector.getPasspointManager().enableAutojoin(config.getProfileKey(), in allowNetworkSuggestionAutojoin()
DWifiServiceImpl.java4352 public void allowAutojoinPasspoint(String fqdn, boolean enableAutojoin) { in allowAutojoinPasspoint() argument
4359 mLog.info("allowAutojoinPasspoint=% uid=%").c(enableAutojoin).c(callingUid).flush(); in allowAutojoinPasspoint()
4361 () -> mPasspointManager.enableAutojoin(null, fqdn, enableAutojoin), in allowAutojoinPasspoint()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSuggestionsManagerTest.java3978 when(mPasspointManager.enableAutojoin(anyString(), isNull(), anyBoolean())) in testSetAllowAutoJoinOnPasspointSuggestionNetwork()
3985 when(mPasspointManager.enableAutojoin(anyString(), isNull(), anyBoolean())) in testSetAllowAutoJoinOnPasspointSuggestionNetwork()
4231 verify(mPasspointManager).enableAutojoin(anyString(), any(), eq(true)); in testSendImsiProtectionNotificationOnUserAllowed()