Home
last modified time | relevance | path

Searched refs:ifaceStats (Results 1 – 6 of 6) sorted by relevance

/frameworks/libs/net/common/devicetests/com/android/testutils/
DTestableNetworkStatsProviderCbBinder.kt32 val ifaceStats: NetworkStats, constant in com.android.testutils.TestableNetworkStatsProviderCbBinder.CallbackType.NotifyStatsUpdated
42 override fun notifyStatsUpdated(token: Int, ifaceStats: NetworkStats, uidStats: NetworkStats) { in notifyStatsUpdated()
43 history.add(CallbackType.NotifyStatsUpdated(token, ifaceStats, uidStats)) in notifyStatsUpdated()
63 fun expectNotifyStatsUpdated(ifaceStats: NetworkStats, uidStats: NetworkStats) { in expectNotifyStatsUpdated()
69 assertNetworkStatsEquals(ifaceStats, event.ifaceStats) in expectNotifyStatsUpdated()
/frameworks/base/core/java/android/net/netstats/provider/
DNetworkStatsProvider.java127 public void notifyStatsUpdated(int token, @NonNull NetworkStats ifaceStats, in notifyStatsUpdated() argument
130 getProviderCallbackBinderOrThrow().notifyStatsUpdated(token, ifaceStats, uidStats); in notifyStatsUpdated()
DINetworkStatsProviderCallback.aidl27 void notifyStatsUpdated(int token, in NetworkStats ifaceStats, in NetworkStats uidStats); in notifyStatsUpdated() argument
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadControllerTest.java461 final NetworkStats ifaceStats = mTetherStatsProvider.getTetherStats(STATS_PER_IFACE); in testGetForwardedStats() local
471 assertNetworkStatsEquals(expectedIfaceStats, ifaceStats); in testGetForwardedStats()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java2065 public void notifyStatsUpdated(int token, @Nullable NetworkStats ifaceStats,
2070 if (ifaceStats != null) mIfaceStats.combineAllValues(ifaceStats);
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java1008 final NetworkStats ifaceStats = new NetworkStats(getElapsedRealtime(), 1)
1022 expectNetworkStatsSummary(ifaceStats, tetherStatsHardware);