Home
last modified time | relevance | path

Searched refs:captivePortalDataShim (Results 1 – 3 of 3) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/
DNetworkStackNotifierTest.kt124 val captivePortalDataShim = networkShim.getCaptivePortalData(this) in <lambda>() constant
126 if (captivePortalDataShim != null) { in <lambda>()
127 networkShim.setCaptivePortalData(this, captivePortalDataShim in <lambda>()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java4143 private boolean isTermsAndConditionsCaptive(CaptivePortalDataShim captivePortalDataShim) { in isTermsAndConditionsCaptive() argument
4144 return captivePortalDataShim != null in isTermsAndConditionsCaptive()
4145 && captivePortalDataShim.getUserPortalUrl() != null in isTermsAndConditionsCaptive()
4146 && !TextUtils.isEmpty(captivePortalDataShim.getUserPortalUrl().toString()) in isTermsAndConditionsCaptive()
4147 && captivePortalDataShim.isCaptive() in isTermsAndConditionsCaptive()
4148 && captivePortalDataShim.getUserPortalUrlSource() in isTermsAndConditionsCaptive()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java3475 CaptivePortalDataShim captivePortalDataShim = in testIsCaptivePortal_FromExternalSource() local
3480 captivePortalData = captivePortalDataShim.withPasspointInfo(TEST_FRIENDLY_NAME, in testIsCaptivePortal_FromExternalSource()