Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DNetworkMisc.java52 public boolean acceptUnvalidated; field in NetworkMisc
87 acceptUnvalidated = nm.acceptUnvalidated; in NetworkMisc()
103 out.writeInt(acceptUnvalidated ? 1 : 0); in writeToParcel()
115 networkMisc.acceptUnvalidated = in.readInt() != 0;
DNetworkAgent.java436 public void explicitlySelected(boolean acceptUnvalidated) { in explicitlySelected() argument
437 explicitlySelected(true /* explicitlySelected */, acceptUnvalidated); in explicitlySelected()
451 public void explicitlySelected(boolean explicitlySelected, boolean acceptUnvalidated) { in explicitlySelected() argument
454 acceptUnvalidated ? 1 : 0); in explicitlySelected()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkAgentInfo.java481 if (networkMisc.explicitlySelected && (networkMisc.acceptUnvalidated || pretendValidated)) { in getCurrentScore()
629 + "acceptUnvalidated{" + networkMisc.acceptUnvalidated + "} " in toString()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java2585 nai.networkMisc.acceptUnvalidated = (msg.arg1 == 1) && (msg.arg2 == 1); in maybeHandleNetworkAgentMessage()
3382 if (accept != nai.networkMisc.acceptUnvalidated) { in handleSetAcceptUnvalidated()
3384 nai.networkMisc.acceptUnvalidated = accept; in handleSetAcceptUnvalidated()
3672 if (nai.networkMisc.explicitlySelected && !nai.networkMisc.acceptUnvalidated) { in shouldPromptUnvalidated()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java660 public void explicitlySelected(boolean acceptUnvalidated) { in explicitlySelected() argument
661 mNetworkAgent.explicitlySelected(acceptUnvalidated); in explicitlySelected()