Loading api/system-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -3058,6 +3058,7 @@ package android.net { public class CaptivePortal implements android.os.Parcelable { ctor public CaptivePortal(android.os.IBinder); method public void logEvent(int, String); method public void useNetwork(); field public static final int APP_RETURN_DISMISSED = 0; // 0x0 field public static final int APP_RETURN_UNWANTED = 1; // 0x1 Loading api/test-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -600,6 +600,7 @@ package android.net { public class CaptivePortal implements android.os.Parcelable { ctor public CaptivePortal(android.os.IBinder); method public void logEvent(int, String); method public void useNetwork(); field public static final int APP_RETURN_DISMISSED = 0; // 0x0 field public static final int APP_RETURN_UNWANTED = 1; // 0x1 Loading core/java/android/net/CaptivePortal.java +13 −0 Original line number Diff line number Diff line Loading @@ -117,4 +117,17 @@ public class CaptivePortal implements Parcelable { } catch (RemoteException e) { } } /** * Log a captive portal login event. * @hide */ @SystemApi @TestApi public void logEvent(int eventId, String packageName) { try { ICaptivePortal.Stub.asInterface(mBinder).logEvent(eventId, packageName); } catch (RemoteException e) { } } } core/java/android/net/ICaptivePortal.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -22,4 +22,5 @@ package android.net; */ oneway interface ICaptivePortal { void appResponse(int response); void logEvent(int eventId, String packageName); } core/java/android/net/INetworkMonitorCallbacks.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -26,4 +26,5 @@ oneway interface INetworkMonitorCallbacks { void notifyPrivateDnsConfigResolved(in PrivateDnsConfigParcel config); void showProvisioningNotification(String action); void hideProvisioningNotification(); void logCaptivePortalLoginEvent(int eventId, String packageName); } No newline at end of file Loading
api/system-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -3058,6 +3058,7 @@ package android.net { public class CaptivePortal implements android.os.Parcelable { ctor public CaptivePortal(android.os.IBinder); method public void logEvent(int, String); method public void useNetwork(); field public static final int APP_RETURN_DISMISSED = 0; // 0x0 field public static final int APP_RETURN_UNWANTED = 1; // 0x1 Loading
api/test-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -600,6 +600,7 @@ package android.net { public class CaptivePortal implements android.os.Parcelable { ctor public CaptivePortal(android.os.IBinder); method public void logEvent(int, String); method public void useNetwork(); field public static final int APP_RETURN_DISMISSED = 0; // 0x0 field public static final int APP_RETURN_UNWANTED = 1; // 0x1 Loading
core/java/android/net/CaptivePortal.java +13 −0 Original line number Diff line number Diff line Loading @@ -117,4 +117,17 @@ public class CaptivePortal implements Parcelable { } catch (RemoteException e) { } } /** * Log a captive portal login event. * @hide */ @SystemApi @TestApi public void logEvent(int eventId, String packageName) { try { ICaptivePortal.Stub.asInterface(mBinder).logEvent(eventId, packageName); } catch (RemoteException e) { } } }
core/java/android/net/ICaptivePortal.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -22,4 +22,5 @@ package android.net; */ oneway interface ICaptivePortal { void appResponse(int response); void logEvent(int eventId, String packageName); }
core/java/android/net/INetworkMonitorCallbacks.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -26,4 +26,5 @@ oneway interface INetworkMonitorCallbacks { void notifyPrivateDnsConfigResolved(in PrivateDnsConfigParcel config); void showProvisioningNotification(String action); void hideProvisioningNotification(); void logCaptivePortalLoginEvent(int eventId, String packageName); } No newline at end of file