Home
last modified time | relevance | path

Searched refs:CaptivePortal (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Connectivity/framework/src/android/net/
DCaptivePortal.java32 public class CaptivePortal implements Parcelable { class
75 public CaptivePortal(@NonNull IBinder binder) { in CaptivePortal() method in CaptivePortal
89 public static final @android.annotation.NonNull Parcelable.Creator<CaptivePortal> CREATOR
90 = new Parcelable.Creator<CaptivePortal>() {
92 public CaptivePortal createFromParcel(Parcel in) {
93 return new CaptivePortal(in.readStrongBinder());
97 public CaptivePortal[] newArray(int size) {
98 return new CaptivePortal[size];
/packages/modules/Connectivity/tests/common/java/android/net/
DCaptivePortalTest.java66 void useCaptivePortal(CaptivePortal o); in useCaptivePortal()
71 f.useCaptivePortal(new CaptivePortal(cp.asBinder())); in runCaptivePortalTest()
79 assertEquals(result.mCode, CaptivePortal.APP_RETURN_DISMISSED); in testReportCaptivePortalDismissed()
85 assertEquals(result.mCode, CaptivePortal.APP_RETURN_UNWANTED); in testIgnoreNetwork()
91 assertEquals(result.mCode, CaptivePortal.APP_RETURN_WANTED_AS_IS); in testUseNetwork()
98 assertEquals(result.mCode, CaptivePortal.APP_REQUEST_REEVALUATION_REQUIRED); in testReevaluateNetwork()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSCaptivePortalAppTest.kt23 import android.net.CaptivePortal
104 val captivePortal: CaptivePortal? = signInIntent.getParcelableExtra(EXTRA_CAPTIVE_PORTAL) in testCaptivePortalApp_Reevaluate_Nopermission()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java35 import android.net.CaptivePortal;
141 protected CaptivePortal mCaptivePortal;
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DCaptivePortalLoginActivityTest.java70 import android.net.CaptivePortal;
233 public static class MockCaptivePortal extends CaptivePortal {
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
Dstats.proto48 // The CaptivePortal API info
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1 Landroid/net/CaptivePortal;-><init>(Landroid/os/IBinder;)V
2 Landroid/net/CaptivePortal;->APP_RETURN_DISMISSED:I
3 Landroid/net/CaptivePortal;->APP_RETURN_UNWANTED:I
4 Landroid/net/CaptivePortal;->APP_RETURN_WANTED_AS_IS:I
5 Landroid/net/CaptivePortal;->mBinder:Landroid/os/IBinder;
6 Landroid/net/CaptivePortal;->useNetwork()V
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java20 import static android.net.CaptivePortal.APP_RETURN_DISMISSED;
21 import static android.net.CaptivePortal.APP_RETURN_UNWANTED;
22 import static android.net.CaptivePortal.APP_RETURN_WANTED_AS_IS;
/packages/modules/Connectivity/framework/api/
Dcurrent.txt4 public class CaptivePortal implements android.os.Parcelable {
9 …field @NonNull public static final android.os.Parcelable.Creator<android.net.CaptivePortal> CREATO…
Dsystem-current.txt4 public class CaptivePortal implements android.os.Parcelable {
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java20 import static android.net.CaptivePortal.APP_RETURN_DISMISSED;
21 import static android.net.CaptivePortal.APP_RETURN_WANTED_AS_IS;
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java167 import android.net.CaptivePortal;
6254 new CaptivePortal(new CaptivePortalImpl(network).asBinder()));
6274 if (response == CaptivePortal.APP_RETURN_WANTED_AS_IS) {
6276 } else if (response == CaptivePortal.APP_RETURN_UNWANTED) {
6292 if (request == CaptivePortal.APP_REQUEST_REEVALUATION_REQUIRED) {
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java278 import android.net.CaptivePortal;
4897 final CaptivePortal captivePortal = signInIntent
4905 .notifyCaptivePortalAppFinished(CaptivePortal.APP_RETURN_UNWANTED);