Home | History | Annotate | Download | only in usage

Lines Matching refs:Bucket

130     public static class Bucket {
179 * <p>Any cellular usage in this bucket was incurred while the device was connected to a
190 * <p>Any cellular usage in this bucket as incurred while the device was roaming on another
244 public Bucket() {
248 * Key of the bucket. Usually an app uid or one of the following special values:<p />
254 * @return Bucket key.
261 * Tag of the bucket.<p />
262 * @return Bucket tag.
294 * Start timestamp of the bucket's time interval. Defined in terms of "Unix time", see
303 * End timestamp of the bucket's time interval. Defined in terms of "Unix time", see
312 * Number of bytes received during the bucket's time interval. Statistics are measured at
321 * Number of bytes transmitted during the bucket's time interval. Statistics are measured at
330 * Number of packets received during the bucket's time interval. Statistics are measured at
339 * Number of packets transmitted during the bucket's time interval. Statistics are measured
349 * Fills the recycled bucket with data of the next bin in the enumeration.
350 * @param bucketOut Bucket to be filled with data.
351 * @return true if successfully filled the bucket, false otherwise.
353 public boolean getNextBucket(Bucket bucketOut) {
362 * Check if it is possible to ask for a next bucket in the enumeration.
363 * @return true if there is at least one more bucket.
397 * Collects device summary results into a Bucket.
400 Bucket getDeviceSummaryForNetwork() throws RemoteException {
490 private void fillBucketFromSummaryEntry(Bucket bucketOut) {
491 bucketOut.mUid = Bucket.convertUid(mRecycledSummaryEntry.uid);
492 bucketOut.mTag = Bucket.convertTag(mRecycledSummaryEntry.tag);
493 bucketOut.mState = Bucket.convertState(mRecycledSummaryEntry.set);
494 bucketOut.mRoaming = Bucket.convertRoaming(mRecycledSummaryEntry.roaming);
508 private boolean getNextSummaryBucket(Bucket bucketOut) {
517 Bucket getSummaryAggregate() {
521 Bucket bucket = new Bucket();
526 fillBucketFromSummaryEntry(bucket);
527 return bucket;
534 private boolean getNextHistoryBucket(Bucket bucketOut) {
539 bucketOut.mUid = Bucket.convertUid(getUid());
540 bucketOut.mTag = Bucket.convertTag(mTag);
541 bucketOut.mState = Bucket.STATE_ALL;
542 bucketOut.mRoaming = Bucket.ROAMING_ALL;