Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DCaptivePortalData.java34 public final class CaptivePortalData implements Parcelable { class
45 private CaptivePortalData(long refreshTimeMillis, Uri userPortalUrl, Uri venueInfoUrl, in CaptivePortalData() method in CaptivePortalData
56 private CaptivePortalData(Parcel p) { in CaptivePortalData() method in CaptivePortalData
97 public Builder(@Nullable CaptivePortalData data) { in Builder()
175 public CaptivePortalData build() { in build()
176 return new CaptivePortalData(mRefreshTime, mUserPortalUrl, mVenueInfoUrl, in build()
238 public static final Creator<CaptivePortalData> CREATOR = new Creator<CaptivePortalData>() {
240 public CaptivePortalData createFromParcel(Parcel source) {
241 return new CaptivePortalData(source);
245 public CaptivePortalData[] newArray(int size) {
[all …]
DCaptivePortalData.aidl19 @JavaOnlyStableParcelable parcelable CaptivePortalData;
DLinkProperties.java76 private CaptivePortalData mCaptivePortalData;
1608 public void setCaptivePortalData(@Nullable CaptivePortalData data) { in setCaptivePortalData()
1623 public CaptivePortalData getCaptivePortalData() { in getCaptivePortalData()
/frameworks/base/tests/net/common/java/android/net/
DCaptivePortalDataTest.kt36 private val data = CaptivePortalData.Builder()
46 private fun makeBuilder() = CaptivePortalData.Builder(data) in makeBuilder()
90 assertEquals(-1L, CaptivePortalData.Builder(null).build().byteLimit) in testByteLimit()
102 assertEquals(-1L, CaptivePortalData.Builder(null).build().expiryTimeMillis) in testExpiryTimeMillis()
111 private fun CaptivePortalData.mutate(mutator: (CaptivePortalData.Builder) -> Unit) = in mutate() method
112 CaptivePortalData.Builder(this).apply { mutator(this) }.build() in mutate()
114 private fun assertNotEqualsAfterChange(mutator: (CaptivePortalData.Builder) -> Unit) { in assertNotEqualsAfterChange()
DLinkPropertiesTest.java98 return new CaptivePortalData.Builder() in getCaptivePortalData()
162 lp.setCaptivePortalData((CaptivePortalData) getCaptivePortalData()); in makeTestObject()
1050 source.setCaptivePortalData((CaptivePortalData) getCaptivePortalData()); in testLinkPropertiesParcelable()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkAgentInfo.java25 import android.net.CaptivePortalData;
169 public CaptivePortalData captivePortalData;
/frameworks/base/api/
Dtest-current.txt1416 public final class CaptivePortalData implements android.os.Parcelable {
1426 …field @NonNull public static final android.os.Parcelable.Creator<android.net.CaptivePortalData> CR…
1429 public static class CaptivePortalData.Builder {
1430 ctor public CaptivePortalData.Builder();
1431 ctor public CaptivePortalData.Builder(@Nullable android.net.CaptivePortalData);
1432 method @NonNull public android.net.CaptivePortalData build();
1433 method @NonNull public android.net.CaptivePortalData.Builder setBytesRemaining(long);
1434 method @NonNull public android.net.CaptivePortalData.Builder setCaptive(boolean);
1435 method @NonNull public android.net.CaptivePortalData.Builder setExpiryTime(long);
1436 method @NonNull public android.net.CaptivePortalData.Builder setRefreshTime(long);
[all …]
Dsystem-current.txt4307 public final class CaptivePortalData implements android.os.Parcelable {
4317 …field @NonNull public static final android.os.Parcelable.Creator<android.net.CaptivePortalData> CR…
4320 public static class CaptivePortalData.Builder {
4321 ctor public CaptivePortalData.Builder();
4322 ctor public CaptivePortalData.Builder(@Nullable android.net.CaptivePortalData);
4323 method @NonNull public android.net.CaptivePortalData build();
4324 method @NonNull public android.net.CaptivePortalData.Builder setBytesRemaining(long);
4325 method @NonNull public android.net.CaptivePortalData.Builder setCaptive(boolean);
4326 method @NonNull public android.net.CaptivePortalData.Builder setExpiryTime(long);
4327 method @NonNull public android.net.CaptivePortalData.Builder setRefreshTime(long);
[all …]
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java141 import android.net.CaptivePortalData;
822 void notifyCaptivePortalDataChanged(CaptivePortalData data) { in notifyCaptivePortalDataChanged()
1874 final CaptivePortalData capportData = new CaptivePortalData.Builder() in doNetworkCallbacksSanitizationTest()
1885 final CaptivePortalData expectedCapportData = sanitized ? null : capportData; in doNetworkCallbacksSanitizationTest()
2887 final CaptivePortalData testData = new CaptivePortalData.Builder() in testCaptivePortalApi()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java79 import android.net.CaptivePortalData;
2882 handleCaptivePortalDataUpdate(nai, (CaptivePortalData) msg.obj); in maybeHandleNetworkMonitorMessage()
3058 public void notifyCaptivePortalDataChanged(CaptivePortalData data) { in notifyCaptivePortalDataChanged()
3218 @Nullable final CaptivePortalData data) { in handleCaptivePortalDataUpdate()
/frameworks/base/non-updatable-api/
Dsystem-current.txt4307 public final class CaptivePortalData implements android.os.Parcelable {
4317 …field @NonNull public static final android.os.Parcelable.Creator<android.net.CaptivePortalData> CR…
4320 public static class CaptivePortalData.Builder {
4321 ctor public CaptivePortalData.Builder();
4322 ctor public CaptivePortalData.Builder(@Nullable android.net.CaptivePortalData);
4323 method @NonNull public android.net.CaptivePortalData build();
4324 method @NonNull public android.net.CaptivePortalData.Builder setBytesRemaining(long);
4325 method @NonNull public android.net.CaptivePortalData.Builder setCaptive(boolean);
4326 method @NonNull public android.net.CaptivePortalData.Builder setExpiryTime(long);
4327 method @NonNull public android.net.CaptivePortalData.Builder setRefreshTime(long);
[all …]