/packages/modules/NetworkStack/apishim/31/com/android/networkstack/apishim/api31/ |
D | NetworkInformationShimImpl.java | 52 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/ |
D | NetworkInformationShimImpl.java | 72 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/ |
D | system-lint-baseline.txt | 14 RequiresPermission: android.net.LinkProperties#getCaptivePortalData(): 15 …Method 'getCaptivePortalData' documentation mentions permissions without declaring @RequiresPermis…
|
D | module-lib-lint-baseline.txt | 16 RequiresPermission: android.net.LinkProperties#getCaptivePortalData(): 17 …Method 'getCaptivePortalData' documentation mentions permissions without declaring @RequiresPermis…
|
D | system-current.txt | 193 method @Nullable public android.net.CaptivePortalData getCaptivePortalData();
|
/packages/modules/NetworkStack/src/com/android/networkstack/ |
D | NetworkStackNotifier.java | 179 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/ |
D | CapportApiProbeResult.java | 45 public CaptivePortalDataShim getCaptivePortalData() { in getCaptivePortalData() method in CapportApiProbeResult
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | NetworkNotificationManager.java | 169 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/ |
D | NetworkInformationShim.java | 51 CaptivePortalDataShim getCaptivePortalData(@Nullable LinkProperties lp); in getCaptivePortalData() method
|
/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/ |
D | NetworkInformationShimImpl.java | 68 public CaptivePortalDataShim getCaptivePortalData(@Nullable LinkProperties lp) { in getCaptivePortalData() method in NetworkInformationShimImpl
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | LinkPropertiesTest.java | 109 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/ |
D | WifiDetailPreferenceController2.java | 410 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/ |
D | NetworkStackNotifierTest.kt | 124 val captivePortalDataShim = networkShim.getCaptivePortalData(this) in <lambda>()
|
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivity.java | 1274 if (linkProperties.getCaptivePortalData() == null) { in getVenueFriendlyName() 1277 final CaptivePortalData captivePortalData = linkProperties.getCaptivePortalData(); in getVenueFriendlyName()
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 1472 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/ |
D | ConnectivityManagerTest.java | 724 .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/ |
D | LinkProperties.java | 1643 public CaptivePortalData getCaptivePortalData() { in getCaptivePortalData() method in LinkProperties
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 3530 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/ |
D | ClientModeImplTest.java | 5754 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/ |
D | NetworkMonitorTest.java | 3476 networkShim.getCaptivePortalData(linkProperties); in testIsCaptivePortal_FromExternalSource()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 3087 (lp.getCaptivePortalApiUrl() != null || lp.getCaptivePortalData() != null); 9030 nai.networkAgentPortalData = lp.getCaptivePortalData();
|