Home
last modified time | relevance | path

Searched refs:CaptivePortalData (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/Connectivity/tests/common/java/android/net/
DCaptivePortalDataTest.kt42 private val data = CaptivePortalData.Builder()
57 private val dataFromPasspoint = CaptivePortalData.Builder()
63 CaptivePortalData.CAPTIVE_PORTAL_DATA_SOURCE_PASSPOINT) in <lambda>()
65 CaptivePortalData.CAPTIVE_PORTAL_DATA_SOURCE_PASSPOINT) in <lambda>()
70 private fun makeBuilder() = CaptivePortalData.Builder(data) in makeBuilder()
100 assertEquals(dataFromPasspoint, CaptivePortalData.Builder(dataFromPasspoint).build()) in testEquals()
105 CaptivePortalData.CAPTIVE_PORTAL_DATA_SOURCE_OTHER) } in testEquals()
108 CaptivePortalData.CAPTIVE_PORTAL_DATA_SOURCE_PASSPOINT) } in testEquals()
111 CaptivePortalData.CAPTIVE_PORTAL_DATA_SOURCE_OTHER) } in testEquals()
116 CaptivePortalData.CAPTIVE_PORTAL_DATA_SOURCE_PASSPOINT) } in testEquals()
[all …]
DLinkPropertiesTest.java97 return new CaptivePortalData.Builder() in getCaptivePortalData()
161 lp.setCaptivePortalData((CaptivePortalData) getCaptivePortalData()); in makeTestObject()
1018 source.setCaptivePortalData((CaptivePortalData) getCaptivePortalData()); in testLinkPropertiesParcelable()
/packages/modules/Connectivity/framework/src/android/net/
DCaptivePortalData.java35 public final class CaptivePortalData implements Parcelable { class
66 private CaptivePortalData(long refreshTimeMillis, Uri userPortalUrl, Uri venueInfoUrl, in CaptivePortalData() method in CaptivePortalData
81 private CaptivePortalData(Parcel p) { in CaptivePortalData() method in CaptivePortalData
130 public Builder(@Nullable CaptivePortalData data) { in Builder()
240 public CaptivePortalData build() { in build()
241 return new CaptivePortalData(mRefreshTime, mUserPortalUrl, mVenueInfoUrl, in build()
329 public static final Creator<CaptivePortalData> CREATOR = new Creator<CaptivePortalData>() {
331 public CaptivePortalData createFromParcel(Parcel source) {
332 return new CaptivePortalData(source);
336 public CaptivePortalData[] newArray(int size) {
[all …]
DLinkProperties.java75 private CaptivePortalData mCaptivePortalData;
1583 public void setCaptivePortalData(@Nullable CaptivePortalData data) { in setCaptivePortalData()
1597 public CaptivePortalData getCaptivePortalData() { in getCaptivePortalData()
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DCaptivePortalDataShimImpl.java19 import android.net.CaptivePortalData;
40 protected final CaptivePortalData mData;
42 public CaptivePortalDataShimImpl(@NonNull CaptivePortalData data) { in CaptivePortalDataShimImpl()
46 public CaptivePortalData getData() { in getData()
69 return new CaptivePortalDataShimImpl(new CaptivePortalData.Builder() in fromJson()
/packages/modules/NetworkStack/apishim/31/com/android/networkstack/apishim/api31/
DCaptivePortalDataShimImpl.java19 import android.net.CaptivePortalData;
31 public CaptivePortalDataShimImpl(@NonNull CaptivePortalData data) { in CaptivePortalDataShimImpl()
57 return new CaptivePortalDataShimImpl(new CaptivePortalData.Builder(mData) in withVenueFriendlyName()
76 return new CaptivePortalDataShimImpl(new CaptivePortalData.Builder(mData) in withPasspointInfo()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt14 public final class CaptivePortalData implements android.os.Parcelable {
29 …field @NonNull public static final android.os.Parcelable.Creator<android.net.CaptivePortalData> CR…
32 public static class CaptivePortalData.Builder {
33 ctor public CaptivePortalData.Builder();
34 ctor public CaptivePortalData.Builder(@Nullable android.net.CaptivePortalData);
35 method @NonNull public android.net.CaptivePortalData build();
36 method @NonNull public android.net.CaptivePortalData.Builder setBytesRemaining(long);
37 method @NonNull public android.net.CaptivePortalData.Builder setCaptive(boolean);
38 method @NonNull public android.net.CaptivePortalData.Builder setExpiryTime(long);
39 method @NonNull public android.net.CaptivePortalData.Builder setRefreshTime(long);
[all …]
/packages/modules/NetworkStack/apishim/32/com/android/networkstack/apishim/
DCaptivePortalDataShimImpl.java19 import android.net.CaptivePortalData;
34 public CaptivePortalDataShimImpl(@NonNull CaptivePortalData data) { in CaptivePortalDataShimImpl()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/
DINetworkMonitorCallbacks.aidl19 import android.net.CaptivePortalData;
38 void notifyCaptivePortalDataChanged(in CaptivePortalData data) = 8;
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DCaptivePortalLoginActivityTest.java62 import android.net.CaptivePortalData;
598 CaptivePortalData.Builder captivePortalDataBuilder = new CaptivePortalData.Builder(); in testVenueFriendlyNameTitle()
606 captivePortalDataBuilder = (CaptivePortalData.Builder) in testVenueFriendlyNameTitle()
609 final CaptivePortalData captivePortalData = captivePortalDataBuilder.build(); in testVenueFriendlyNameTitle()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/
DNetworkStackNotifierTest.kt29 import android.net.CaptivePortalData
108 captivePortalData = CaptivePortalData.Builder() in <lambda>()
117 captivePortalData = CaptivePortalData.Builder() in <lambda>()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java104 import android.net.CaptivePortalData;
1273 final ArgumentCaptor<CaptivePortalData> capportDataCaptor =
1274 ArgumentCaptor.forClass(CaptivePortalData.class);
1276 final CaptivePortalData p = capportDataCaptor.getValue();
1299 final ArgumentCaptor<CaptivePortalData> capportCaptor = ArgumentCaptor.forClass(
1300 CaptivePortalData.class);
1345 final ArgumentCaptor<CaptivePortalData> capportCaptor = ArgumentCaptor.forClass(
1346 CaptivePortalData.class);
1363 final ArgumentCaptor<CaptivePortalData> capportCaptor = ArgumentCaptor.forClass(
1364 CaptivePortalData.class);
[all …]
/packages/modules/Connectivity/framework/aidl-export/android/net/
DCaptivePortalData.aidl19 @JavaOnlyStableParcelable parcelable CaptivePortalData;
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkAgentInfo.java26 import android.net.CaptivePortalData;
211 public CaptivePortalData capportApiData;
219 public CaptivePortalData networkAgentPortalData;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/
DINetworkMonitorCallbacks.aidl29 oneway void notifyCaptivePortalDataChanged(in android.net.CaptivePortalData data) = 8;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/9/android/net/
DINetworkMonitorCallbacks.aidl29 oneway void notifyCaptivePortalDataChanged(in android.net.CaptivePortalData data) = 8;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/10/android/net/
DINetworkMonitorCallbacks.aidl30 oneway void notifyCaptivePortalDataChanged(in android.net.CaptivePortalData data) = 8;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/
DINetworkMonitorCallbacks.aidl30 oneway void notifyCaptivePortalDataChanged(in android.net.CaptivePortalData data) = 8;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/
DINetworkMonitorCallbacks.aidl29 oneway void notifyCaptivePortalDataChanged(in android.net.CaptivePortalData data) = 8;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/8/android/net/
DINetworkMonitorCallbacks.aidl29 oneway void notifyCaptivePortalDataChanged(in android.net.CaptivePortalData data) = 8;
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/
DWifiDetailPreferenceController2Test.java43 import android.net.CaptivePortalData;
566 final CaptivePortalData data = new CaptivePortalData.Builder() in doShouldShowRemainingTimeTest()
1437 final CaptivePortalData data = new CaptivePortalData.Builder() in captivePortal_shouldShowVenueInfoButton()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java203 import android.net.CaptivePortalData;
1055 void notifyCapportApiDataChanged(CaptivePortalData data) { in notifyCapportApiDataChanged()
2633 final CaptivePortalData capportData = new CaptivePortalData.Builder() in doNetworkCallbacksSanitizationTest()
2644 final CaptivePortalData expectedCapportData = sanitized ? null : capportData; in doNetworkCallbacksSanitizationTest()
3823 final CaptivePortalData testData = new CaptivePortalData.Builder() in testCaptivePortalApi()
3859 CaptivePortalTestData(CaptivePortalData naPasspointData, CaptivePortalData capportData, in CaptivePortalTestData()
3860 CaptivePortalData naOtherData, CaptivePortalData expectedMergedPasspointData, in CaptivePortalTestData()
3861 CaptivePortalData expectedMergedOtherData) { in CaptivePortalTestData()
3869 public final CaptivePortalData mNaPasspointData;
3870 public final CaptivePortalData mCapportData;
[all …]
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java35 import android.net.CaptivePortalData;
1014 final CaptivePortalData captivePortalData = linkProperties.getCaptivePortalData(); in getVenueFriendlyName()
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DWifiDetailPreferenceController2.java34 import android.net.CaptivePortalData;
422 final CaptivePortalData data = lp.getCaptivePortalData(); in getCaptivePortalVenueInfoUrl()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java109 import android.net.CaptivePortalData;
3430 handleCapportApiDataUpdate(nai, (CaptivePortalData) msg.obj); in maybeHandleNetworkMonitorMessage()
3603 public void notifyCaptivePortalDataChanged(CaptivePortalData data) { in notifyCaptivePortalDataChanged()
3762 @Nullable final CaptivePortalData data) { in handleCapportApiDataUpdate()
6935 private CaptivePortalData mergeCaptivePortalData(CaptivePortalData naData, in mergeCaptivePortalData()
6936 CaptivePortalData apiData) { in mergeCaptivePortalData()
6940 final CaptivePortalData.Builder captivePortalBuilder = in mergeCaptivePortalData()
6941 new CaptivePortalData.Builder(naData); in mergeCaptivePortalData()
6965 != CaptivePortalData.CAPTIVE_PORTAL_DATA_SOURCE_PASSPOINT) { in mergeCaptivePortalData()
6972 != CaptivePortalData.CAPTIVE_PORTAL_DATA_SOURCE_PASSPOINT) { in mergeCaptivePortalData()

12