Home
last modified time | relevance | path

Searched refs:TetherStatsParcel (Results 1 – 25 of 30) sorted by relevance

12

/aosp12/packages/modules/Connectivity/Tethering/apishim/30/com/android/networkstack/tethering/apishim/api30/
H A DBpfCoordinatorShimImpl.java21 import android.net.TetherStatsParcel;
99 final TetherStatsParcel[] tetherStatsList; in tetherOffloadGetStats()
126 @NonNull final TetherStatsParcel[] parcels) { in toTetherStatsValueSparseArray()
129 for (TetherStatsParcel p : parcels) { in toTetherStatsValueSparseArray()
141 final TetherStatsParcel stats = in tetherOffloadGetAndClearStats()
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
H A DBpfCoordinatorTest.java81 import android.net.TetherStatsParcel;
322 when(mNetd.tetherOffloadGetStats()).thenReturn(new TetherStatsParcel[0]); in setupFunctioningNetdInterface()
352 private static TetherStatsParcel buildTestTetherStatsParcel(@NonNull Integer ifIndex, in buildTestTetherStatsParcel()
354 final TetherStatsParcel parcel = new TetherStatsParcel(); in buildTestTetherStatsParcel()
371 private void updateStatsEntry(@NonNull TetherStatsParcel stats) throws Exception { in updateStatsEntry()
375 when(mNetd.tetherOffloadGetStats()).thenReturn(new TetherStatsParcel[] {stats}); in updateStatsEntry()
386 for (TetherStatsParcel stats : tetherStatsList) { in updateStatsEntriesAndWaitForUpdate()
403 private void updateStatsEntryForTetherOffloadGetAndClearStats(TetherStatsParcel stats) in updateStatsEntryForTetherOffloadGetAndClearStats()
612 updateStatsEntriesAndWaitForUpdate(new TetherStatsParcel[] { in checkTetherOffloadGetStats()
657 updateStatsEntriesAndWaitForUpdate(new TetherStatsParcel[] { in testGetForwardedStats()
[all …]
/aosp12/system/netd/server/binder/android/net/
H A DINetd.aidl26 import android.net.TetherStatsParcel;
204 TetherStatsParcel[] tetherGetStats(); in tetherGetStats()
1314 TetherStatsParcel[] tetherOffloadGetStats(); in tetherOffloadGetStats()
1343 TetherStatsParcel tetherOffloadGetAndClearStats(int ifIndex); in tetherOffloadGetAndClearStats()
H A DTetherStatsParcel.aidl24 parcelable TetherStatsParcel {
/aosp12/packages/modules/Connectivity/Tethering/src/android/net/util/
H A DTetheringUtils.java18 import android.net.TetherStatsParcel;
93 public ForwardedStats(@NonNull TetherStatsParcel tetherStats) { in ForwardedStats()
/aosp12/system/netd/server/aidl_api/netd_aidl_interface/1/android/net/
H A DTetherStatsParcel.aidl2 parcelable TetherStatsParcel {
H A DINetd.aidl16 android.net.TetherStatsParcel[] tetherGetStats(); in tetherGetStats()
/aosp12/system/netd/server/aidl_api/netd_aidl_interface/2/android/net/
H A DTetherStatsParcel.aidl19 parcelable TetherStatsParcel {
H A DINetd.aidl33 android.net.TetherStatsParcel[] tetherGetStats(); in tetherGetStats()
/aosp12/system/netd/server/aidl_api/netd_aidl_interface/3/android/net/
H A DTetherStatsParcel.aidl20 parcelable TetherStatsParcel {
H A DINetd.aidl34 android.net.TetherStatsParcel[] tetherGetStats(); in tetherGetStats()
/aosp12/system/netd/server/aidl_api/netd_aidl_interface/4/android/net/
H A DTetherStatsParcel.aidl20 parcelable TetherStatsParcel {
H A DINetd.aidl34 android.net.TetherStatsParcel[] tetherGetStats(); in tetherGetStats()
122 android.net.TetherStatsParcel[] tetherOffloadGetStats(); in tetherOffloadGetStats()
124 android.net.TetherStatsParcel tetherOffloadGetAndClearStats(int ifIndex); in tetherOffloadGetAndClearStats()
/aosp12/system/netd/server/aidl_api/netd_aidl_interface/5/android/net/
H A DTetherStatsParcel.aidl20 parcelable TetherStatsParcel {
H A DINetd.aidl34 android.net.TetherStatsParcel[] tetherGetStats(); in tetherGetStats()
122 android.net.TetherStatsParcel[] tetherOffloadGetStats(); in tetherOffloadGetStats()
124 android.net.TetherStatsParcel tetherOffloadGetAndClearStats(int ifIndex); in tetherOffloadGetAndClearStats()
/aosp12/system/netd/server/aidl_api/netd_aidl_interface/6/android/net/
H A DTetherStatsParcel.aidl36 parcelable TetherStatsParcel {
H A DINetd.aidl56 android.net.TetherStatsParcel[] tetherGetStats(); in tetherGetStats()
144 android.net.TetherStatsParcel[] tetherOffloadGetStats(); in tetherOffloadGetStats()
146 android.net.TetherStatsParcel tetherOffloadGetAndClearStats(int ifIndex); in tetherOffloadGetAndClearStats()
/aosp12/system/netd/server/aidl_api/netd_aidl_interface/7/android/net/
H A DTetherStatsParcel.aidl36 parcelable TetherStatsParcel {
H A DINetd.aidl56 android.net.TetherStatsParcel[] tetherGetStats(); in tetherGetStats()
144 android.net.TetherStatsParcel[] tetherOffloadGetStats(); in tetherOffloadGetStats()
146 android.net.TetherStatsParcel tetherOffloadGetAndClearStats(int ifIndex); in tetherOffloadGetAndClearStats()
/aosp12/system/netd/server/aidl_api/netd_aidl_interface/current/android/net/
H A DTetherStatsParcel.aidl36 parcelable TetherStatsParcel {
H A DINetd.aidl56 android.net.TetherStatsParcel[] tetherGetStats(); in tetherGetStats()
144 android.net.TetherStatsParcel[] tetherOffloadGetStats(); in tetherOffloadGetStats()
146 android.net.TetherStatsParcel tetherOffloadGetAndClearStats(int ifIndex); in tetherOffloadGetAndClearStats()
/aosp12/system/netd/server/
H A DNetdNativeService.cpp57 using android::net::TetherStatsParcel;
491 TetherStatsParcel toTetherStatsParcel(const TetherController::TetherStats& stats) { in toTetherStatsParcel()
492 TetherStatsParcel result; in toTetherStatsParcel()
502 void setTetherStatsParcelVecByInterface(std::vector<TetherStatsParcel>* tetherStatsVec, in setTetherStatsParcelVecByInterface()
519 std::vector<std::string> tetherStatsParcelVecToStringVec(std::vector<TetherStatsParcel>* tVec) { in tetherStatsParcelVecToStringVec()
532 std::vector<TetherStatsParcel>* tetherStatsParcelVec) { in tetherGetStats()
1311 std::vector<TetherStatsParcel>* /* tetherStatsParcelVec */) { in tetherOffloadGetStats() argument
1327 int /* ifIndex */, android::net::TetherStatsParcel* /* tetherStats */) { in tetherOffloadGetAndClearStats() argument
H A DNetdNativeService.h129 std::vector<android::net::TetherStatsParcel>* tetherStatsVec) override;
131 std::vector<android::net::TetherStatsParcel>* tetherStatsVec) override;
150 int ifIndex, android::net::TetherStatsParcel* tetherStats) override;
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
H A DIpServerTest.java78 import android.net.TetherStatsParcel;
962 private static TetherStatsParcel buildEmptyTetherStatsParcel(int ifIndex) { in buildEmptyTetherStatsParcel()
963 TetherStatsParcel parcel = new TetherStatsParcel(); in buildEmptyTetherStatsParcel()
972 when(mNetd.tetherOffloadGetStats()).thenReturn(new TetherStatsParcel[0]); in resetNetdBpfMapAndCoordinator()
/aosp12/packages/modules/Connectivity/service/
H A Djarjar-rules.txt38 rule android.net.TetherStatsParcel* com.android.connectivity.@0

12