Searched refs:ifaceStats (Results 1 – 6 of 6) sorted by relevance
/frameworks/libs/net/common/devicetests/com/android/testutils/ |
D | TestableNetworkStatsProviderCbBinder.kt | 32 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/ |
D | NetworkStatsProvider.java | 127 public void notifyStatsUpdated(int token, @NonNull NetworkStats ifaceStats, in notifyStatsUpdated() argument 130 getProviderCallbackBinderOrThrow().notifyStatsUpdated(token, ifaceStats, uidStats); in notifyStatsUpdated()
|
D | INetworkStatsProviderCallback.aidl | 27 void notifyStatsUpdated(int token, in NetworkStats ifaceStats, in NetworkStats uidStats); in notifyStatsUpdated() argument
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | OffloadControllerTest.java | 461 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/ |
D | NetworkStatsService.java | 2065 public void notifyStatsUpdated(int token, @Nullable NetworkStats ifaceStats, 2070 if (ifaceStats != null) mIfaceStats.combineAllValues(ifaceStats);
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 1008 final NetworkStats ifaceStats = new NetworkStats(getElapsedRealtime(), 1) 1022 expectNetworkStatsSummary(ifaceStats, tetherStatsHardware);
|