Home
last modified time | relevance | path

Searched refs:CaptivePortalDataShim (Results 1 – 15 of 15) sorted by relevance

/packages/modules/NetworkStack/src/android/net/captiveportal/
DCapportApiProbeResult.java21 import com.android.networkstack.apishim.common.CaptivePortalDataShim;
30 private final CaptivePortalDataShim mCapportData;
33 @Nullable CaptivePortalDataShim capportData) { in CapportApiProbeResult()
39 @Nullable String detectUrl, @Nullable CaptivePortalDataShim capportData, in CapportApiProbeResult()
45 public CaptivePortalDataShim getCaptivePortalData() { in getCaptivePortalData()
/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/
DCaptivePortalDataShimImpl.java24 import com.android.networkstack.apishim.common.CaptivePortalDataShim;
36 public abstract class CaptivePortalDataShimImpl implements CaptivePortalDataShim {
47 public static CaptivePortalDataShim fromJson(JSONObject object) throws JSONException, in fromJson()
77 public CaptivePortalDataShim withVenueFriendlyName(String friendlyName) in withVenueFriendlyName()
95 public CaptivePortalDataShim withPasspointInfo(@NonNull String friendlyName, in withPasspointInfo()
DNetworkInformationShimImpl.java28 import com.android.networkstack.apishim.common.CaptivePortalDataShim;
82 public CaptivePortalDataShim getCaptivePortalData(@Nullable LinkProperties lp) { in getCaptivePortalData()
123 @Nullable CaptivePortalDataShim captivePortalData) { in setCaptivePortalData()
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DCaptivePortalDataShimImpl.java27 import com.android.networkstack.apishim.common.CaptivePortalDataShim;
56 public static CaptivePortalDataShim fromJson(JSONObject obj) throws JSONException, in fromJson()
131 public CaptivePortalDataShim withVenueFriendlyName(String friendlyName) in withVenueFriendlyName()
149 public CaptivePortalDataShim withPasspointInfo(@NonNull String friendlyName, in withPasspointInfo()
DNetworkInformationShimImpl.java30 import com.android.networkstack.apishim.common.CaptivePortalDataShim;
77 public CaptivePortalDataShim getCaptivePortalData(@Nullable LinkProperties lp) { in getCaptivePortalData()
114 @Nullable CaptivePortalDataShim captivePortalData) { in setCaptivePortalData()
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/
DCaptivePortalDataShim.java28 public interface CaptivePortalDataShim { interface
76 CaptivePortalDataShim withVenueFriendlyName(@NonNull String friendlyName) in withVenueFriendlyName()
91 CaptivePortalDataShim withPasspointInfo(@NonNull String friendlyName, in withPasspointInfo()
DNetworkInformationShim.java49 CaptivePortalDataShim getCaptivePortalData(@Nullable LinkProperties lp); in getCaptivePortalData()
85 @Nullable CaptivePortalDataShim captivePortalData); in setCaptivePortalData()
/packages/modules/NetworkStack/apishim/31/com/android/networkstack/apishim/api31/
DCaptivePortalDataShimImpl.java24 import com.android.networkstack.apishim.common.CaptivePortalDataShim;
56 public CaptivePortalDataShim withVenueFriendlyName(String friendlyName) { in withVenueFriendlyName()
74 public CaptivePortalDataShim withPasspointInfo(@NonNull String friendlyName, in withPasspointInfo()
DNetworkInformationShimImpl.java27 import com.android.networkstack.apishim.common.CaptivePortalDataShim;
58 public CaptivePortalDataShim getCaptivePortalData(@Nullable LinkProperties lp) { in getCaptivePortalData()
/packages/modules/NetworkStack/src/com/android/networkstack/
DNetworkStackNotifier.java46 import com.android.networkstack.apishim.common.CaptivePortalDataShim;
179 private CaptivePortalDataShim getCaptivePortalData(@NonNull TrackedNetworkStatus status) { in getCaptivePortalData()
201 final CaptivePortalDataShim capportData = getCaptivePortalData(networkStatus); in updateNotifications()
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DNetworkValidationMetrics.java43 import com.android.networkstack.apishim.common.CaptivePortalDataShim;
191 @Nullable final CaptivePortalDataShim capportData) { in addProbeEvent()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/
DNetworkValidationMetricsTest.java43 import com.android.networkstack.apishim.common.CaptivePortalDataShim;
171 final CaptivePortalDataShim captivePortalData = CaptivePortalDataShimImpl.isSupported() in testNetworkValidationMetrics_VerifyCollectMetrics()
/packages/modules/NetworkStack/apishim/32/com/android/networkstack/apishim/
DCaptivePortalDataShimImpl.java25 import com.android.networkstack.apishim.common.CaptivePortalDataShim;
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java165 import com.android.networkstack.apishim.common.CaptivePortalDataShim;
827 CaptivePortalDataShim capportData) { in recordProbeEventMetrics()
2724 private CaptivePortalDataShim sendCapportApiProbe() { in sendCapportApiProbe()
2765 final CaptivePortalDataShim capportData = CaptivePortalDataShimImpl.fromJson(info); in sendCapportApiProbe()
2783 private CaptivePortalDataShim tryCapportApiProbe() { in tryCapportApiProbe()
2786 final CaptivePortalDataShim capportData = sendCapportApiProbe(); in tryCapportApiProbe()
2795 final CaptivePortalDataShim capportData = tryCapportApiProbe(); in sendProbe()
3499 private void maybeReportCaptivePortalData(@Nullable CaptivePortalDataShim data) { in maybeReportCaptivePortalData()
3546 private boolean isTermsAndConditionsCaptive(CaptivePortalDataShim captivePortalDataShim) { in isTermsAndConditionsCaptive()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java150 import com.android.networkstack.apishim.common.CaptivePortalDataShim;
2646 CaptivePortalDataShim captivePortalData = new CaptivePortalDataShimImpl(
2650 CaptivePortalDataShim captivePortalDataShim =