Searched refs:NetworkStatsHistory (Results 1 - 9 of 9) sorted by relevance
/frameworks/base/core/java/android/net/ |
H A D | NetworkStatsHistory.aidl | 19 parcelable NetworkStatsHistory;
|
H A D | INetworkStatsSession.aidl | 20 import android.net.NetworkStatsHistory; 29 NetworkStatsHistory getHistoryForNetwork(in NetworkTemplate template, int fields); 34 NetworkStatsHistory getHistoryForUid(in NetworkTemplate template, int uid, int set, int tag, int fields);
|
H A D | INetworkStatsService.aidl | 21 import android.net.NetworkStatsHistory;
|
H A D | NetworkStatsHistory.java | 23 import static android.net.NetworkStatsHistory.DataStreamUtils.readFullLongArray; 24 import static android.net.NetworkStatsHistory.DataStreamUtils.readVarLongArray; 25 import static android.net.NetworkStatsHistory.DataStreamUtils.writeVarLongArray; 26 import static android.net.NetworkStatsHistory.Entry.UNKNOWN; 27 import static android.net.NetworkStatsHistory.ParcelUtils.readLongArray; 28 import static android.net.NetworkStatsHistory.ParcelUtils.writeLongArray; 56 public class NetworkStatsHistory implements Parcelable { class in inherits:Parcelable 94 public NetworkStatsHistory(long bucketDuration) { method in class:NetworkStatsHistory 98 public NetworkStatsHistory(long bucketDuration, int initialSize) { method in class:NetworkStatsHistory 102 public NetworkStatsHistory(lon method in class:NetworkStatsHistory 115 public NetworkStatsHistory(NetworkStatsHistory existing, long bucketDuration) { method in class:NetworkStatsHistory 120 public NetworkStatsHistory(Parcel in) { method in class:NetworkStatsHistory 146 public NetworkStatsHistory(DataInputStream in) throws IOException { method in class:NetworkStatsHistory [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | NetworkStatsHistoryTest.java | 19 import static android.net.NetworkStatsHistory.FIELD_ALL; 20 import static android.net.NetworkStatsHistory.FIELD_OPERATIONS; 21 import static android.net.NetworkStatsHistory.FIELD_RX_BYTES; 22 import static android.net.NetworkStatsHistory.FIELD_RX_PACKETS; 23 import static android.net.NetworkStatsHistory.FIELD_TX_BYTES; 24 import static android.net.NetworkStatsHistory.DataStreamUtils.readVarLong; 25 import static android.net.NetworkStatsHistory.DataStreamUtils.writeVarLong; 26 import static android.net.NetworkStatsHistory.Entry.UNKNOWN; 55 private NetworkStatsHistory stats; 69 NetworkStatsHistory [all...] |
/frameworks/base/services/java/com/android/server/net/ |
H A D | NetworkStatsCollection.java | 28 import android.net.NetworkStatsHistory; 56 * Collection of {@link NetworkStatsHistory}, stored based on combined key of 72 private HashMap<Key, NetworkStatsHistory> mStats = Maps.newHashMap(); 131 * Combine all {@link NetworkStatsHistory} in this collection which match 134 public NetworkStatsHistory getHistory( 140 * Combine all {@link NetworkStatsHistory} in this collection which match 143 public NetworkStatsHistory getHistory( 145 final NetworkStatsHistory combined = new NetworkStatsHistory( 147 for (Map.Entry<Key, NetworkStatsHistory> entr [all...] |
H A D | NetworkStatsService.java | 89 import android.net.NetworkStatsHistory; 482 public NetworkStatsHistory getHistoryForNetwork(NetworkTemplate template, int fields) { 499 public NetworkStatsHistory getHistoryForUid( 543 private NetworkStatsHistory internalGetHistoryForNetwork(NetworkTemplate template, int fields) { 552 final NetworkStatsHistory dev = mDevStatsCached.getHistory( 554 final NetworkStatsHistory xt = mXtStatsCached.getHistory( 826 * iface} to {@link NetworkStatsHistory}. When multiple {@link NetworkInfo} 926 * {@link NetworkStatsHistory}.
|
H A D | NetworkStatsRecorder.java | 26 import android.net.NetworkStatsHistory; 52 * {@link NetworkStatsHistory} that belong to {@link NetworkStatsCollection}. 291 * Rewriter that will remove any {@link NetworkStatsHistory} attributed to
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | NetworkStatsServiceTest.java | 31 import static android.net.NetworkStatsHistory.FIELD_ALL; 63 import android.net.NetworkStatsHistory; 325 NetworkStatsHistory history = null; 848 final NetworkStatsHistory history = mSession.getHistoryForNetwork(template, FIELD_ALL); 865 final NetworkStatsHistory history = mSession.getHistoryForUid( 995 private static void assertValues(NetworkStatsHistory stats, long start, long end, long rxBytes, 997 final NetworkStatsHistory.Entry entry = stats.getValues(start, end, null);
|
Completed in 107 milliseconds