Home
last modified time | relevance | path

Searched refs:validated (Results 1 – 19 of 19) sorted by relevance

/frameworks/libs/net/common/devicetests/com/android/testutils/
DTestableNetworkCallback.kt249 validated: Boolean = true, in expectAvailableCallbacks()
257 expectCapabilitiesThat(net, tmt) { validated == it.hasCapability(NET_CAPABILITY_VALIDATED) } in expectAvailableCallbacks()
266 validated: Boolean, in expectAvailableAndSuspendedCallbacks()
268 ) = expectAvailableCallbacks(net, suspended = true, validated = validated, tmt = tmt) in expectAvailableAndSuspendedCallbacks()
291 expectAvailableCallbacks(net, validated = false, tmt = tmt) in expectAvailableThenValidatedCallbacks()
325 validated: Boolean, in expectCallback()
328 ) = expectAvailableCallbacks(n.network, suspended, validated, blocked, timeoutMs) in expectCallback()
343 expectAvailableCallbacks(n.network, validated = false) in expectAvailableCallbacksUnvalidated()
347 expectAvailableCallbacks(n.network, validated = false, blocked = true) in expectAvailableCallbacksUnvalidatedAndBlocked()
/frameworks/base/services/core/java/com/android/server/connectivity/
DDnsManager.java154 final public boolean validated; field in DnsManager.PrivateDnsValidationUpdate
157 String hostname, boolean validated) { in PrivateDnsValidationUpdate() argument
161 this.validated = validated; in PrivateDnsValidationUpdate()
220 if (update.validated) { in updateStatus()
301 final boolean validated = (null != statuses) && statuses.hasValidatedServer(); in updatePrivateDnsStatus()
304 final boolean usingPrivateDns = strictMode || validated; in updatePrivateDnsStatus()
DNetdEventListenerService.java232 String ipAddress, String hostname, boolean validated) in onPrivateDnsValidationEvent() argument
236 callback.onPrivateDnsValidationEvent(netId, ipAddress, hostname, validated); in onPrivateDnsValidationEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerEthernetTest.java39 protected void setEthernetState(boolean connected, boolean validated) { in setEthernetState() argument
40 setConnectivityViaBroadcast(NetworkCapabilities.TRANSPORT_ETHERNET, validated, connected); in setEthernetState()
DNetworkControllerBaseTest.java239 int networkType, boolean validated, boolean isConnected) { in setConnectivityViaBroadcast() argument
240 setConnectivityCommon(networkType, validated, isConnected); in setConnectivityViaBroadcast()
246 int networkType, boolean validated, boolean isConnected){ in setConnectivityViaCallback() argument
247 setConnectivityCommon(networkType, validated, isConnected); in setConnectivityViaCallback()
253 int networkType, boolean validated, boolean isConnected){ in setConnectivityCommon() argument
260 if (validated) { in setConnectivityCommon()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellularNetworkValidator.java129 synchronized void storeLastValidationResult(int subId, boolean validated) {
132 + (validated ? " validated." : " not validated."));
135 if (!validated) {
206 void onValidationDone(boolean validated, int subId);
DPhoneSwitcher.java172 public void onValidationDone(boolean validated, int subId) {
174 EVENT_NETWORK_VALIDATION_DONE, subId, validated ? 1 : 0).sendToTarget();
/frameworks/base/core/java/android/net/
DINetdEventCallback.aidl71 boolean validated); in onPrivateDnsValidationEvent() argument
/frameworks/base/core/java/com/android/server/net/
DBaseNetdEventCallback.java42 String hostname, boolean validated) { in onPrivateDnsValidationEvent() argument
/frameworks/base/proto/src/
Dipconnectivity.proto80 // validated. This field is equal to 0 for DefaultNetworkEvents representing
461 // True if the network was validated at least once.
476 // 1 -> validated
484 // 1 -> validated
Dsystem_messages.proto248 // A validated network failed revalidation and lost Internet access
Dwifi.proto1041 // Network Agent has validated the internet connection (Captive Portal Check success, or user
/frameworks/base/tests/net/integration/src/com/android/server/net/integrationtests/
DConnectivityServiceIntegrationTest.kt247 testCb.expectAvailableCallbacks(na.network, validated = false, tmt = TEST_TIMEOUT_MS) in testCapportApi()
/frameworks/base/core/proto/android/net/
Dnetworkcapabilities.proto103 // validated. For example, for a network with NET_CAPABILITY_INTERNET,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java259 boolean validated = in NetworkControllerImpl()
266 validated == lastValidated) { in NetworkControllerImpl()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java2135 public boolean setNetworkValidatedInternetAccess(int networkId, boolean validated) { in setNetworkValidatedInternetAccess() argument
2140 config.validatedInternetAccess = validated; in setNetworkValidatedInternetAccess()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java692 public void connect(boolean validated) { in connect() argument
693 connect(validated, true, false /* isStrictMode */); in connect()
701 public void connect(boolean validated, boolean hasInternet, boolean isStrictMode) { in connect() argument
706 if (validated) { in connect()
729 if (validated) { in connect()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1933 String hostname, boolean validated) {
1939 hostname, validated)));
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto3480 // ACTION: A validated network failed revalidation and lost Internet access