/**@class android.net.NetworkStatsHistory
 implements android.os.Parcelable

@extends java.lang.Object

 Collection of historical network statistics, recorded into equally-sized
 "buckets" in time. Internally it stores data in {@code long} series for more
 efficient persistence.
 <p>
 Each bucket is defined by a {@link #bucketStart} timestamp, and lasts for
 {@link #bucketDuration}. Internally assumes that {@link #bucketStart} is
 sorted at all times.

 @hide
*/
var NetworkStatsHistory = {

/***/
FIELD_ACTIVE_TIME : "1",
/***/
FIELD_RX_BYTES : "2",
/***/
FIELD_RX_PACKETS : "4",
/***/
FIELD_TX_BYTES : "8",
/***/
FIELD_TX_PACKETS : "16",
/***/
FIELD_OPERATIONS : "32",
/***/
FIELD_ALL : "-1",
/***/
CREATOR : "null",
/**
*/
writeToParcel : function(  ) {},

/**
*/
writeToStream : function(  ) {},

/**
*/
describeContents : function(  ) {},

/**
*/
size : function(  ) {},

/**
*/
getBucketDuration : function(  ) {},

/**
*/
getStart : function(  ) {},

/**
*/
getEnd : function(  ) {},

/**Return total bytes represented by this history.
*/
getTotalBytes : function(  ) {},

/**Return index of bucket that contains or is immediately before the
 requested time.
*/
getIndexBefore : function(  ) {},

/**Return index of bucket that contains or is immediately after the
 requested time.
*/
getIndexAfter : function(  ) {},

/**Return specific stats entry.
*/
getValues : function(  ) {},

/**Record that data traffic occurred in the given time range. Will
 distribute across internal buckets, creating new buckets as needed.
*/
recordData : function(  ) {},

/**Record that data traffic occurred in the given time range. Will
 distribute across internal buckets, creating new buckets as needed.
*/
recordData : function(  ) {},

/**Record an entire {@link android.net.NetworkStatsHistory} into this history. Usually
 for combining together stats for external reporting.
*/
recordEntireHistory : function(  ) {},

/**Record given {@link android.net.NetworkStatsHistory} into this history, copying only
 buckets that atomically occur in the inclusive time range. Doesn't
 interpolate across partial buckets.
*/
recordHistory : function(  ) {},

/**Remove buckets older than requested cutoff.
*/
removeBucketsBefore : function(  ) {},

/**Return interpolated data usage across the requested range. Interpolates
 across buckets, so values may be rounded slightly.
*/
getValues : function(  ) {},

/**Return interpolated data usage across the requested range. Interpolates
 across buckets, so values may be rounded slightly.
*/
getValues : function(  ) {},

/**
@deprecated only for temporary testing
*/
generateRandom : function(  ) {},

/**
@deprecated only for temporary testing
*/
generateRandom : function(  ) {},

/**
*/
randomLong : function(  ) {},

/**Quickly determine if this history intersects with given window.
*/
intersects : function(  ) {},

/**
*/
dump : function(  ) {},

/**
*/
dumpCheckin : function(  ) {},

/**
*/
toString : function(  ) {},

/**
*/
estimateResizeBuckets : function(  ) {},


};