Searched refs:uidSnapshot (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsObserversTest.java | 244 NetworkStats uidSnapshot = null; in testUpdateStats_initialSample_doesNotNotify() local 247 xtSnapshot, uidSnapshot, mActiveIfaces, mActiveUidIfaces, TEST_START); in testUpdateStats_initialSample_doesNotNotify() 268 NetworkStats uidSnapshot = null; in testUpdateStats_belowThreshold_doesNotNotify() local 270 xtSnapshot, uidSnapshot, mActiveIfaces, mActiveUidIfaces, TEST_START); in testUpdateStats_belowThreshold_doesNotNotify() 276 xtSnapshot, uidSnapshot, mActiveIfaces, mActiveUidIfaces, TEST_START); in testUpdateStats_belowThreshold_doesNotNotify() 298 NetworkStats uidSnapshot = null; in testUpdateStats_deviceAccess_notifies() local 300 xtSnapshot, uidSnapshot, mActiveIfaces, mActiveUidIfaces, TEST_START); in testUpdateStats_deviceAccess_notifies() 307 xtSnapshot, uidSnapshot, mActiveIfaces, mActiveUidIfaces, TEST_START); in testUpdateStats_deviceAccess_notifies() 328 NetworkStats uidSnapshot = new NetworkStats(TEST_START, 2 /* initialSize */) in testUpdateStats_defaultAccess_notifiesSameUid() local 332 xtSnapshot, uidSnapshot, mActiveIfaces, mActiveUidIfaces, TEST_START); in testUpdateStats_defaultAccess_notifiesSameUid() [all …]
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsObservers.java | 103 public void updateStats(NetworkStats xtSnapshot, NetworkStats uidSnapshot, in updateStats() argument 107 StatsContext statsContext = new StatsContext(xtSnapshot, uidSnapshot, activeIfaces, in updateStats() 431 StatsContext(NetworkStats xtSnapshot, NetworkStats uidSnapshot, in StatsContext() argument 436 mUidSnapshot = uidSnapshot; in StatsContext()
|
D | NetworkStatsService.java | 1389 final NetworkStats uidSnapshot = getNetworkStatsUidDetail(INTERFACES_ALL); in recordSnapshotLocked() local 1425 mUidRecorder.recordSnapshotLocked(uidSnapshot, mActiveUidIfaces, currentTime); in recordSnapshotLocked() 1428 mUidTagRecorder.recordSnapshotLocked(uidSnapshot, mActiveUidIfaces, currentTime); in recordSnapshotLocked() 1433 mStatsObservers.updateStats(xtSnapshot, uidSnapshot, new ArrayMap<>(mActiveIfaces), in recordSnapshotLocked() 1880 final NetworkStats uidSnapshot = readNetworkStatsUidDetail(UID_ALL, ifaces, TAG_ALL); in getNetworkStatsUidDetail() local 1885 mStatsFactory.apply464xlatAdjustments(uidSnapshot, tetherSnapshot); in getNetworkStatsUidDetail() 1886 uidSnapshot.combineAllValues(tetherSnapshot); in getNetworkStatsUidDetail() 1891 mStatsFactory.apply464xlatAdjustments(uidSnapshot, providerStats); in getNetworkStatsUidDetail() 1892 uidSnapshot.combineAllValues(providerStats); in getNetworkStatsUidDetail() 1894 uidSnapshot.combineAllValues(mUidOperations); in getNetworkStatsUidDetail() [all …]
|