Home
last modified time | relevance | path

Searched refs:mActiveIfaces (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsObserversTest.java117 private ArrayMap<String, NetworkIdentitySet> mActiveIfaces; field in NetworkStatsObserversTest
138 mActiveIfaces = new ArrayMap<>(); in setUp()
320 mActiveIfaces.put(TEST_IFACE, identSet); in testUpdateStats_initialSample_doesNotNotify()
328 xtSnapshot, uidSnapshot, mActiveIfaces, mActiveUidIfaces, TEST_START); in testUpdateStats_initialSample_doesNotNotify()
344 mActiveIfaces.put(TEST_IFACE, identSet); in testUpdateStats_belowThreshold_doesNotNotify()
351 xtSnapshot, uidSnapshot, mActiveIfaces, mActiveUidIfaces, TEST_START); in testUpdateStats_belowThreshold_doesNotNotify()
357 xtSnapshot, uidSnapshot, mActiveIfaces, mActiveUidIfaces, TEST_START); in testUpdateStats_belowThreshold_doesNotNotify()
374 mActiveIfaces.put(TEST_IFACE, identSet); in testUpdateStats_deviceAccess_notifies()
381 xtSnapshot, uidSnapshot, mActiveIfaces, mActiveUidIfaces, TEST_START); in testUpdateStats_deviceAccess_notifies()
388 xtSnapshot, uidSnapshot, mActiveIfaces, mActiveUidIfaces, TEST_START); in testUpdateStats_deviceAccess_notifies()
[all …]
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsObservers.java393 mRecorder.recordSnapshotLocked(statsContext.mXtSnapshot, statsContext.mActiveIfaces, in recordSample()
466 ArrayMap<String, NetworkIdentitySet> mActiveIfaces; field in NetworkStatsObservers.StatsContext
476 mActiveIfaces = activeIfaces; in StatsContext()
DNetworkStatsService.java394 private final ArrayMap<String, NetworkIdentitySet> mActiveIfaces = new ArrayMap<>(); field in NetworkStatsService
2355 mActiveIfaces.clear();
2391 findOrCreateNetworkIdentitySet(mActiveIfaces, baseIface).add(ident);
2413 findOrCreateNetworkIdentitySet(mActiveIfaces, ifaceVt).add(vtIdent);
2463 findOrCreateNetworkIdentitySet(mActiveIfaces, iface).add(ident);
2547 mXtRecorder.recordSnapshotLocked(xtSnapshot, mActiveIfaces, currentTime);
2560 mStatsObservers.updateStats(xtSnapshot, uidSnapshot, new ArrayMap<>(mActiveIfaces),
2974 for (int i = 0; i < mActiveIfaces.size(); i++) {
2975 pw.print("iface", mActiveIfaces.keyAt(i));
2976 pw.print("ident", mActiveIfaces.valueAt(i));
[all …]
/packages/modules/Connectivity/framework/proto/
Dnetstats.proto42 // Corresponds to NetworkStatsService.mActiveIfaces/mActiveUidIfaces.