Add satellite log
Bug: 337737436
Test: basic voice + data browsing
Test: reporter verifid in 337737436#comment29
Test: atest
Change-Id: Ic001d610486fdf936fe4c219cd887e1fd019d786
diff --git a/telephony/java/android/telephony/Annotation.java b/telephony/java/android/telephony/Annotation.java
index 2435243..8fe107c 100644
--- a/telephony/java/android/telephony/Annotation.java
+++ b/telephony/java/android/telephony/Annotation.java
@@ -716,6 +716,31 @@
})
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