Freeze netd AIDL interfaces as v4.
This adds BPF tethering offload APIs that are necessary to ensure
that BPF tethering respects data limits. Specifically:
interface INetd {
...
+ android.net.TetherStatsParcel[] tetherOffloadGetStats();
+ void tetherOffloadSetInterfaceQuota(int ifIndex, long quotaBytes);
+ android.net.TetherStatsParcel tetherOffloadGetAndClearStats(int ifIndex);
...
}
parcelable TetherOffloadRuleParcel {
...
+ int pmtu = 1500;
}
parcelable TetherStatsParcel {
...
+ int ifIndex = 0;
}
Generated via:
m netd_aidl_interface-freeze-api
git add server/aidl_api/netd_aidl_interface/4/
Test: m, builds, atest
Bug: 150736748
Change-Id: I0b0c67d43ddf2936df57fd1df8ededec51dc6189
Merged-In: I0b0c67d43ddf2936df57fd1df8ededec51dc6189
diff --git a/server/Android.bp b/server/Android.bp
index 0d5c5eb..db9ae82 100644
--- a/server/Android.bp
+++ b/server/Android.bp
@@ -32,6 +32,7 @@
"1",
"2",
"3",
+ "4",
],
}