HomeSort by relevance Sort by last modified time
    Searched refs:NetworkStatsHistory (Results 1 - 14 of 14) sorted by null

  /frameworks/base/core/java/android/net/
NetworkStatsHistory.aidl 19 parcelable NetworkStatsHistory;
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);
INetworkStatsService.aidl 21 import android.net.NetworkStatsHistory;
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 {
94 public NetworkStatsHistory(long bucketDuration) {
98 public NetworkStatsHistory(long bucketDuration, int initialSize) {
102 public NetworkStatsHistory(long bucketDuration, int initialSize, int fields)
    [all...]
  /packages/apps/Settings/src/com/android/settings/net/
ChartData.java 19 import android.net.NetworkStatsHistory;
22 public NetworkStatsHistory network;
24 public NetworkStatsHistory detail;
25 public NetworkStatsHistory detailDefault;
26 public NetworkStatsHistory detailForeground;
ChartDataLoader.java 22 import static android.net.NetworkStatsHistory.FIELD_RX_BYTES;
23 import static android.net.NetworkStatsHistory.FIELD_TX_BYTES;
29 import android.net.NetworkStatsHistory;
103 data.detail = new NetworkStatsHistory(data.detailForeground.getBucketDuration());
107 data.detailDefault = new NetworkStatsHistory(HOUR_IN_MILLIS);
108 data.detailForeground = new NetworkStatsHistory(HOUR_IN_MILLIS);
109 data.detail = new NetworkStatsHistory(HOUR_IN_MILLIS);
129 * Collect {@link NetworkStatsHistory} for the requested UID, combining with
130 * an existing {@link NetworkStatsHistory} if provided.
132 private NetworkStatsHistory collectHistoryForUid
    [all...]
  /frameworks/base/core/tests/coretests/src/android/net/
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.Entry entry = null
    [all...]
  /frameworks/base/services/java/com/android/server/net/
NetworkStatsCollection.java 28 import android.net.NetworkStatsHistory;
57 * Collection of {@link NetworkStatsHistory}, stored based on combined key of
73 private HashMap<Key, NetworkStatsHistory> mStats = Maps.newHashMap();
132 * Combine all {@link NetworkStatsHistory} in this collection which match
135 public NetworkStatsHistory getHistory(
141 * Combine all {@link NetworkStatsHistory} in this collection which match
144 public NetworkStatsHistory getHistory(
146 final NetworkStatsHistory combined = new NetworkStatsHistory(
148 for (Map.Entry<Key, NetworkStatsHistory> entry : mStats.entrySet())
    [all...]
NetworkStatsService.java 92 import android.net.NetworkStatsHistory;
491 public NetworkStatsHistory getHistoryForNetwork(NetworkTemplate template, int fields) {
508 public NetworkStatsHistory getHistoryForUid(
552 private NetworkStatsHistory internalGetHistoryForNetwork(NetworkTemplate template, int fields) {
561 final NetworkStatsHistory dev = mDevStatsCached.getHistory(
563 final NetworkStatsHistory xt = mXtStatsCached.getHistory(
    [all...]
NetworkStatsRecorder.java 26 import android.net.NetworkStatsHistory;
53 * {@link NetworkStatsHistory} that belong to {@link NetworkStatsCollection}.
305 * Rewriter that will remove any {@link NetworkStatsHistory} attributed to
  /packages/apps/Settings/src/com/android/settings/widget/
ChartNetworkSeriesView.java 31 import android.net.NetworkStatsHistory;
40 * {@link NetworkStatsHistory} series to render inside a {@link ChartView},
57 private NetworkStatsHistory mStats;
137 public void bindNetworkStats(NetworkStatsHistory stats) {
166 * currently bound {@link NetworkStatsHistory} data.
199 NetworkStatsHistory.Entry entry = null;
310 final NetworkStatsHistory.Entry entry = mStats.getValues(mStart, mEnd, null);
ChartDataUsageView.java 25 import android.net.NetworkStatsHistory;
59 private NetworkStatsHistory mHistory;
162 public void bindNetworkStats(NetworkStatsHistory stats) {
171 public void bindDetailNetworkStats(NetworkStatsHistory stats) {
216 * Update {@link #mVert} to both show data from {@link NetworkStatsHistory}
  /frameworks/base/services/tests/servicestests/src/com/android/server/
NetworkStatsServiceTest.java 31 import static android.net.NetworkStatsHistory.FIELD_ALL;
62 import android.net.NetworkStatsHistory;
325 NetworkStatsHistory history = null;
    [all...]
  /packages/apps/Settings/src/com/android/settings/
DataUsageSummary.java 77 import android.net.NetworkStatsHistory;
683 * {@link NetworkStatsHistory} and {@link NetworkPolicy} from system, and
    [all...]

Completed in 117 milliseconds