Home
last modified time | relevance | path

Searched refs:explicitlySelected (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/net/
DNetworkAgentConfig.java54 public boolean explicitlySelected; field in NetworkAgentConfig
60 return explicitlySelected; in isExplicitlySelected()
216 explicitlySelected = nac.explicitlySelected; in NetworkAgentConfig()
240 public Builder setExplicitlySelected(final boolean explicitlySelected) { in setExplicitlySelected() argument
241 mConfig.explicitlySelected = explicitlySelected; in setExplicitlySelected()
359 && explicitlySelected == that.explicitlySelected in equals()
372 return Objects.hash(allowBypass, explicitlySelected, acceptUnvalidated, in hashCode()
381 + ", explicitlySelected = " + explicitlySelected in toString()
402 out.writeInt(explicitlySelected ? 1 : 0); in writeToParcel()
419 networkAgentConfig.explicitlySelected = in.readInt() != 0;
DNetworkAgent.java775 public void explicitlySelected(boolean acceptUnvalidated) { in explicitlySelected() method in NetworkAgent
776 explicitlySelected(true /* explicitlySelected */, acceptUnvalidated); in explicitlySelected()
799 public void explicitlySelected(boolean explicitlySelected, boolean acceptUnvalidated) { in explicitlySelected() argument
801 explicitlySelected ? 1 : 0, in explicitlySelected()
/frameworks/base/tests/net/integration/util/com/android/server/
DNetworkAgentWrapper.java170 public void explicitlySelected(boolean explicitlySelected, boolean acceptUnvalidated) { in explicitlySelected() argument
171 mNetworkAgent.explicitlySelected(explicitlySelected, acceptUnvalidated); in explicitlySelected()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java4739 boolean explicitlySelected = false; in enter()
4745 explicitlySelected = in enter()
4749 + explicitlySelected); in enter()
4754 log("explicitlySelected=" + explicitlySelected + " acceptUnvalidated=" in enter()
4761 .setExplicitlySelected(explicitlySelected) in enter()
4763 explicitlySelected && config.noInternetAccessExpected) in enter()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java2245 mWiFiNetworkAgent.explicitlySelected(true, false); in testExplicitlySelected()
2268 mWiFiNetworkAgent.explicitlySelected(true, false); in testExplicitlySelected()
2279 mWiFiNetworkAgent.explicitlySelected(true, false); in testExplicitlySelected()
2300 mWiFiNetworkAgent.explicitlySelected(true, true); in testExplicitlySelected()
2313 mWiFiNetworkAgent.explicitlySelected(false, true); in testExplicitlySelected()
2629 mWiFiNetworkAgent.explicitlySelected(true /* explicitlySelected */, in testPartialConnectivity()
2651 mWiFiNetworkAgent.explicitlySelected(true /* explicitlySelected */, in testPartialConnectivity()
2674 mWiFiNetworkAgent.explicitlySelected(false /* explicitlySelected */, in testPartialConnectivity()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java2775 nai.networkAgentConfig.explicitlySelected = toBool(msg.arg1); in maybeHandleNetworkAgentMessage()
2875 nai.networkAgentConfig.explicitlySelected); in maybeHandleNetworkMonitorMessage()
3705 if (!nai.networkAgentConfig.explicitlySelected) { in handleSetAcceptUnvalidated()
3973 highPriority = nai.networkAgentConfig.explicitlySelected; in showNetworkNotification()
4021 if (nai.networkAgentConfig.explicitlySelected in shouldPromptUnvalidated()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java2611 assertTrue(agentConfig.explicitlySelected); in testExplicitlySelected_ExplicitInternetExpected()
2631 assertFalse(agentConfig.explicitlySelected); in testExplicitlySelected_NotExplicitNoInternetExpected()
2651 assertTrue(agentConfig.explicitlySelected); in testExplicitlySelected_ExplicitNoInternetExpected()