Home
last modified time | relevance | path

Searched refs:captivePortalData (Results 1 – 10 of 10) sorted by relevance

/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DNetworkInformationShimImpl.java109 @Nullable CaptivePortalDataShim captivePortalData) { in setCaptivePortalData() argument
113 if (!(captivePortalData instanceof CaptivePortalDataShimImpl)) { in setCaptivePortalData()
117 + captivePortalData.getClass().getName()); in setCaptivePortalData()
120 lp.setCaptivePortalData(((CaptivePortalDataShimImpl) captivePortalData).getData()); in setCaptivePortalData()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/
DNetworkValidationMetricsTest.java171 final CaptivePortalDataShim captivePortalData = CaptivePortalDataShimImpl.isSupported() in testNetworkValidationMetrics_VerifyCollectMetrics() local
176 captivePortalData); in testNetworkValidationMetrics_VerifyCollectMetrics()
214 assertEquals(captivePortalData.getByteLimit() / 1000, capportData.getRemainingBytes()); in testNetworkValidationMetrics_VerifyCollectMetrics()
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/
DNetworkInformationShim.java87 @Nullable CaptivePortalDataShim captivePortalData); in setCaptivePortalData() argument
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkValidationTest.kt191 it.network == ncCb.network && it.lp.captivePortalData != null in testCapportApiCallbacks()
199 with(lp.captivePortalData) { in testCapportApiCallbacks()
/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/
DNetworkInformationShimImpl.java109 @Nullable CaptivePortalDataShim captivePortalData) { in setCaptivePortalData() argument
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/
DConnectivityServiceIntegrationTest.kt356 it.lp.captivePortalData != null in testCapportApi()
357 }.lp.captivePortalData in testCapportApi()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/
DNetworkStackNotifierTest.kt110 captivePortalData = CaptivePortalData.Builder() in <lambda>()
119 captivePortalData = CaptivePortalData.Builder() in <lambda>()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java1277 final CaptivePortalData captivePortalData = linkProperties.getCaptivePortalData(); in getVenueFriendlyName() local
1279 if (captivePortalData == null) { in getVenueFriendlyName()
1285 final Class captivePortalDataClass = captivePortalData.getClass(); in getVenueFriendlyName()
1289 return (CharSequence) getVenueFriendlyNameMethod.invoke(captivePortalData); in getVenueFriendlyName()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DCaptivePortalLoginActivityTest.java687 final CaptivePortalData captivePortalData = captivePortalDataBuilder.build(); in testVenueFriendlyNameTitle() local
688 linkProperties.setCaptivePortalData(captivePortalData); in testVenueFriendlyNameTitle()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java3471 CaptivePortalDataShim captivePortalData = new CaptivePortalDataShimImpl( in testIsCaptivePortal_FromExternalSource() local
3474 networkShim.setCaptivePortalData(linkProperties, captivePortalData); in testIsCaptivePortal_FromExternalSource()
3480 captivePortalData = captivePortalDataShim.withPasspointInfo(TEST_FRIENDLY_NAME, in testIsCaptivePortal_FromExternalSource()
3487 networkShim.setCaptivePortalData(linkProperties, captivePortalData); in testIsCaptivePortal_FromExternalSource()