Home
last modified time | relevance | path

Searched refs:getCaptivePortalData (Results 1 – 21 of 21) sorted by relevance

/packages/modules/NetworkStack/apishim/31/com/android/networkstack/apishim/api31/
DNetworkInformationShimImpl.java52 public CaptivePortalDataShim getCaptivePortalData(@Nullable LinkProperties lp) { in getCaptivePortalData() method in NetworkInformationShimImpl
53 if (lp == null || lp.getCaptivePortalData() == null) return null; in getCaptivePortalData()
54 return new CaptivePortalDataShimImpl(lp.getCaptivePortalData()); in getCaptivePortalData()
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DNetworkInformationShimImpl.java72 public CaptivePortalDataShim getCaptivePortalData(@Nullable LinkProperties lp) { in getCaptivePortalData() method in NetworkInformationShimImpl
73 if (lp == null || lp.getCaptivePortalData() == null) return null; in getCaptivePortalData()
74 return new CaptivePortalDataShimImpl(lp.getCaptivePortalData()); in getCaptivePortalData()
/packages/modules/Connectivity/framework/api/
Dsystem-lint-baseline.txt14 RequiresPermission: android.net.LinkProperties#getCaptivePortalData():
15 …Method 'getCaptivePortalData' documentation mentions permissions without declaring @RequiresPermis…
Dmodule-lib-lint-baseline.txt16 RequiresPermission: android.net.LinkProperties#getCaptivePortalData():
17 …Method 'getCaptivePortalData' documentation mentions permissions without declaring @RequiresPermis…
Dsystem-current.txt193 method @Nullable public android.net.CaptivePortalData getCaptivePortalData();
/packages/modules/NetworkStack/src/com/android/networkstack/
DNetworkStackNotifier.java179 private CaptivePortalDataShim getCaptivePortalData(@NonNull TrackedNetworkStatus status) { in getCaptivePortalData() method in NetworkStackNotifier
180 return mInfoShim.getCaptivePortalData(status.mLinkProperties); in getCaptivePortalData()
201 final CaptivePortalDataShim capportData = getCaptivePortalData(networkStatus); in updateNotifications()
/packages/modules/NetworkStack/src/android/net/captiveportal/
DCapportApiProbeResult.java45 public CaptivePortalDataShim getCaptivePortalData() { in getCaptivePortalData() method in CapportApiProbeResult
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkNotificationManager.java169 if (nai.linkProperties != null && nai.linkProperties.getCaptivePortalData() != null in showNotification()
170 && !TextUtils.isEmpty(nai.linkProperties.getCaptivePortalData() in showNotification()
172 name = nai.linkProperties.getCaptivePortalData().getVenueFriendlyName(); in showNotification()
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/
DNetworkInformationShim.java51 CaptivePortalDataShim getCaptivePortalData(@Nullable LinkProperties lp); in getCaptivePortalData() method
/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/
DNetworkInformationShimImpl.java68 public CaptivePortalDataShim getCaptivePortalData(@Nullable LinkProperties lp) { in getCaptivePortalData() method in NetworkInformationShimImpl
/packages/modules/Connectivity/tests/common/java/android/net/
DLinkPropertiesTest.java109 private static Object getCaptivePortalData() { in getCaptivePortalData() method in LinkPropertiesTest
140 assertNull(lp.getCaptivePortalData()); in checkEmpty()
165 lp.setCaptivePortalData((CaptivePortalData) getCaptivePortalData()); in makeTestObject()
1019 source.setCaptivePortalData((CaptivePortalData) getCaptivePortalData()); in testLinkPropertiesParcelable()
1184 assertEquals(getCaptivePortalData(), lp.getCaptivePortalData()); in testCaptivePortalData()
1187 assertNull(lp.getCaptivePortalData()); in testCaptivePortalData()
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DWifiDetailPreferenceController2.java410 final CaptivePortalData data = lp.getCaptivePortalData(); in getCaptivePortalVenueInfoUrl()
431 if (mLinkProperties == null || mLinkProperties.getCaptivePortalData() == null) { in getExpiryTimeSummary()
435 final long expiryTimeMillis = mLinkProperties.getCaptivePortalData().getExpiryTimeMillis(); in getExpiryTimeSummary()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/
DNetworkStackNotifierTest.kt124 val captivePortalDataShim = networkShim.getCaptivePortalData(this) in <lambda>()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java1274 if (linkProperties.getCaptivePortalData() == null) { in getVenueFriendlyName()
1277 final CaptivePortalData captivePortalData = linkProperties.getCaptivePortalData(); in getVenueFriendlyName()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java1472 if (isTermsAndConditionsCaptive(mInfoShim.getCaptivePortalData(mLinkProperties)) in enter()
1476 mLinkProperties.getCaptivePortalData().getUserPortalUrl() in enter()
2119 mInfoShim.getCaptivePortalData(mLinkProperties))) { in processMessage()
2122 mLinkProperties.getCaptivePortalData().getUserPortalUrl() in processMessage()
3491 maybeReportCaptivePortalData(((CapportApiProbeResult) res).getCaptivePortalData()); in reportProbeResult()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java724 .getCaptivePortalData()); in testGetRedactedLinkPropertiesForPackage()
732 assertNotNull(lp.getCaptivePortalData()); in testGetRedactedLinkPropertiesForPackage()
736 assertEquals(lp.getCaptivePortalData(), in testGetRedactedLinkPropertiesForPackage()
738 .getCaptivePortalData()); in testGetRedactedLinkPropertiesForPackage()
/packages/modules/Connectivity/framework/src/android/net/
DLinkProperties.java1643 public CaptivePortalData getCaptivePortalData() { in getCaptivePortalData() method in LinkProperties
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java3530 Objects.equals(expectedCapportData, cb.getLp().getCaptivePortalData()));
3532 Objects.equals(expectedCapportData, cb.getLp().getCaptivePortalData()));
3536 assertEquals(expectedCapportData, lp.getCaptivePortalData());
4993 cb -> testData.equals(cb.getLp().getCaptivePortalData()));
5000 cb -> testData.equals(cb.getLp().getCaptivePortalData())
5096 cb -> captivePortalTestData.mCapportData.equals(cb.getLp().getCaptivePortalData()));
5107 cb.getLp().getCaptivePortalData()));
5117 cb.getLp().getCaptivePortalData()));
5126 cb -> captivePortalTestData.mCapportData.equals(cb.getLp().getCaptivePortalData())
5132 cb -> cb.getLp().getCaptivePortalData() == null);
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java5754 linkProperties.getCaptivePortalData().getUserPortalUrl().toString()) in testTermsAndConditionsClearUrlAfterNetworkValidation()
5755 && linkProperties.getCaptivePortalData().isCaptive())); in testTermsAndConditionsClearUrlAfterNetworkValidation()
5779 linkProperties.getCaptivePortalData().getUserPortalUrl() == null in testTermsAndConditionsClearUrlAfterNetworkValidation()
5780 && !linkProperties.getCaptivePortalData().isCaptive())); in testTermsAndConditionsClearUrlAfterNetworkValidation()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java3476 networkShim.getCaptivePortalData(linkProperties); in testIsCaptivePortal_FromExternalSource()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java3087 (lp.getCaptivePortalApiUrl() != null || lp.getCaptivePortalData() != null);
9030 nai.networkAgentPortalData = lp.getCaptivePortalData();