Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0e58ddcd authored by Ling Ma's avatar Ling Ma
Browse files

Add satellite log

Bug: 337737436
Test: basic voice + data browsing
Test: reporter verifid in 337737436#comment29
Test: atest
Change-Id: Ic001d610486fdf936fe4c219cd887e1fd019d786
parent 1a48ffee
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
@@ -716,6 +716,31 @@ public class Annotation {
    })
    public @interface NetCapability { }


    /**
     * Representing the transport type.  Apps should generally not care about transport.  A
     * request for a fast internet connection could be satisfied by a number of different
     * transports.  If any are specified here it will be satisfied a Network that matches
     * any of them.  If a caller doesn't care about the transport it should not specify any.
     * Must update here when new capabilities are added in {@link NetworkCapabilities}.
     */
    @Retention(RetentionPolicy.SOURCE)
    @IntDef(prefix = { "TRANSPORT_" }, value = {
            NetworkCapabilities.TRANSPORT_CELLULAR,
            NetworkCapabilities.TRANSPORT_WIFI,
            NetworkCapabilities.TRANSPORT_BLUETOOTH,
            NetworkCapabilities.TRANSPORT_ETHERNET,
            NetworkCapabilities.TRANSPORT_VPN,
            NetworkCapabilities.TRANSPORT_WIFI_AWARE,
            NetworkCapabilities.TRANSPORT_LOWPAN,
            NetworkCapabilities.TRANSPORT_TEST,
            NetworkCapabilities.TRANSPORT_USB,
            NetworkCapabilities.TRANSPORT_THREAD,
            NetworkCapabilities.TRANSPORT_SATELLITE,
    })
    public @interface ConnectivityTransport { }


    /**
     * Per Android API guideline 8.15, annotation can't be public APIs. So duplicate
     * android.net.NetworkAgent.ValidationStatus here. Must update here when new validation status