Freeze netd_aidl_interface V6

Diff:
+  /**
+   * @deprecated use networkCreate() instead.
+   */
   void networkCreatePhysical(int netId, int permission);
+  /**
+   * @deprecated use networkCreate() instead.
+   */
   void networkCreateVpn(int netId, boolean secure);
...

+  void networkCreate(in android.net.NativeNetworkConfig config);
...

+  const int DUMMY_NET_ID = 51;
+  const int UNREACHABLE_NET_ID = 52;
...

+package android.net;
+@JavaDerive(equals=true, toString=true) @JavaOnlyImmutable
+parcelable NativeNetworkConfig {
+  int netId;
+  android.net.NativeNetworkType networkType = android.net.NativeNetworkType.PHYSICAL;
+  int permission;
+  boolean secure;
+  android.net.NativeVpnType vpnType = android.net.NativeVpnType.PLATFORM;
+}
...

+package android.net;
+@Backing(type="int")
+enum NativeNetworkType {
+  PHYSICAL = 0,
+  VIRTUAL = 1,
+}
...

+package android.net;
+@Backing(type="int")
+enum NativeVpnType {
+  SERVICE = 1,
+  PLATFORM = 2,
+  LEGACY = 3,
+  OEM = 4,
+}

(Auto generated AOSP license are skipped)

Test: m; atest

Change-Id: Ibff436b012b1bb52538eaccf016e5d08ac7ae85a
15 files changed