Home
last modified time | relevance | path

Searched refs:Bucket (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DBackgroundScanScheduler.java130 private class Bucket { class in BackgroundScanScheduler
136 Bucket(int period) { in Bucket() method in BackgroundScanScheduler.Bucket
146 Bucket(Bucket originalBucket) { in Bucket() method in BackgroundScanScheduler.Bucket
250 private final Comparator<Bucket> mTimePeriodSortComparator =
251 new Comparator<Bucket>() {
252 public int compare(Bucket b1, Bucket b2) {
256 private final Bucket[] mBuckets;
260 mBuckets = new Bucket[PREDEFINED_BUCKET_PERIODS.length]; in BucketList()
275 public Bucket getOrCreate(int index) { in getOrCreate()
276 Bucket bucket = mBuckets[index]; in getOrCreate()
[all …]
/frameworks/base/core/java/android/app/usage/
DNetworkStats.java73 private int mState = Bucket.STATE_ALL;
133 public static class Bucket { class in NetworkStats
342 public Bucket() { in Bucket() method in NetworkStats.Bucket
478 public boolean getNextBucket(Bucket bucketOut) { in getNextBucket()
525 Bucket getDeviceSummaryForNetwork() throws RemoteException { in getDeviceSummaryForNetwork()
552 Bucket.convertSet(state), tag, NetworkStatsHistory.FIELD_ALL, in startHistoryEnumeration()
608 private void fillBucketFromSummaryEntry(Bucket bucketOut) { in fillBucketFromSummaryEntry()
609 bucketOut.mUid = Bucket.convertUid(mRecycledSummaryEntry.uid); in fillBucketFromSummaryEntry()
610 bucketOut.mTag = Bucket.convertTag(mRecycledSummaryEntry.tag); in fillBucketFromSummaryEntry()
611 bucketOut.mState = Bucket.convertState(mRecycledSummaryEntry.set); in fillBucketFromSummaryEntry()
[all …]
DNetworkStatsManager.java25 import android.app.usage.NetworkStats.Bucket;
168 public Bucket querySummaryForDevice(NetworkTemplate template, in querySummaryForDevice()
170 Bucket bucket = null; in querySummaryForDevice()
201 public Bucket querySummaryForDevice(int networkType, String subscriberId, in querySummaryForDevice()
234 public Bucket querySummaryForUser(int networkType, String subscriberId, long startTime, in querySummaryForUser()
302 NetworkStats.Bucket.TAG_NONE, NetworkStats.Bucket.STATE_ALL); in queryDetailsForUid()
309 NetworkStats.Bucket.TAG_NONE, NetworkStats.Bucket.STATE_ALL); in queryDetailsForUid()
320 tag, NetworkStats.Bucket.STATE_ALL); in queryDetailsForUidTag()
/frameworks/layoutlib/bridge/tests/src/android/util/imagepool/
DImagePoolHelperTest.java21 import android.util.imagepool.Bucket.BucketCreationMetaData;
38 Bucket bucket = new Bucket(); in testGetBufferedImage()
55 Bucket bucket = new Bucket(); in testGetBufferedImageRecurse()
75 Bucket bucket = new Bucket(); in testRecurseThenHitCacheLimit()
96 Bucket bucket = new Bucket(); in testBucketHasImageToReturn()
DImagePoolImplTest.java152 for (Bucket bucket : ((ImagePoolImpl) pool).mPool.values()) { in testBufferedImageReleased()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DIntHistogram.java34 public class IntHistogram implements Iterable<IntHistogram.Bucket> {
52 public static class Bucket { class in IntHistogram
57 public Bucket(int start, int end, int count) { in Bucket() method in IntHistogram.Bucket
119 public Bucket getBucketByIndex(int bucketIndex) { in getBucketByIndex()
126 return new Bucket(start, end, count); in getBucketByIndex()
193 public Iterator<Bucket> iterator() { in iterator()
194 return new Iterator<Bucket>() { in iterator()
203 public Bucket next() { in iterator()
204 Bucket bucket = getBucketByIndex(mBucketIndex); in iterator()
240 for (Bucket bucket : this) { in toProto()
/frameworks/layoutlib/bridge/src/android/util/imagepool/
DImagePoolHelper.java21 import android.util.imagepool.Bucket.BucketCreationMetaData;
72 Bucket bucket, BucketCreationMetaData metaData, ImagePoolStats stats) { in getBufferedImage()
105 Bucket bucket, BucketCreationMetaData metaData, ImagePoolStats stats) { in populateBucket()
135 …public static Bucket getBucket(Map<String, Bucket> map, BucketCreationMetaData metaData, ImagePool… in getBucket()
137 Bucket bucket = map.get(key); in getBucket()
139 bucket = new Bucket(); in getBucket()
DImagePoolImpl.java22 import android.util.imagepool.Bucket.BucketCreationMetaData;
43 @VisibleForTesting final Map<String, Bucket> mPool = new HashMap<>();
68 final Bucket existingBucket = ImagePoolHelper.getBucket(mPool, metaData, mPolicy); in acquire()
98 @Nullable Bucket existingBucket, in prepareImage()
146 for (Bucket bucket : mPool.values()) { in dispose()
DBucket.java32 /* private package */ class Bucket { class
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/
DDataUsageControllerTest.java107 .thenReturn(mock(NetworkStats.Bucket.class)); in getHistoricalUsageLevel_noUsageData_shouldReturn0()
116 final NetworkStats.Bucket bucket = mock(NetworkStats.Bucket.class); in getHistoricalUsageLevel_hasUsageData_shouldReturnTotalUsage()
132 final NetworkStats.Bucket defaultSubscriberBucket = mock(NetworkStats.Bucket.class); in getDataUsageInfo_hasUsageData_shouldReturnCorrectUsageForExplicitSubId()
141 final NetworkStats.Bucket nonDefaultSubscriberBucket = mock(NetworkStats.Bucket.class); in getDataUsageInfo_hasUsageData_shouldReturnCorrectUsageForExplicitSubId()
DNetworkCycleDataForUidLoaderTest.java19 import static android.app.usage.NetworkStats.Bucket.STATE_FOREGROUND;
/frameworks/base/core/java/com/android/internal/widget/
DChildHelper.java44 final Bucket mBucket;
50 mBucket = new Bucket(); in ChildHelper()
395 static class Bucket { class in ChildHelper
403 Bucket mNext;
416 mNext = new Bucket(); in ensureNext()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DNetworkCycleChartDataLoader.java46 final NetworkStats.Bucket bucket = mNetworkStatsManager.querySummaryForDevice( in recordUsage()
83 final NetworkStats.Bucket bucket = mNetworkStatsManager.querySummaryForDevice(
DDataUsageController.java27 import android.app.usage.NetworkStats.Bucket;
172 final Bucket bucket = mNetworkStatsManager.querySummaryForDevice(template, start, end); in getUsageLevel()
197 private static String statsBucketToString(Bucket bucket) { in statsBucketToString()
DNetworkCycleDataLoader.java163 final NetworkStats.Bucket bucket = new NetworkStats.Bucket();
DNetworkCycleDataForUidLoader.java19 import static android.app.usage.NetworkStats.Bucket.STATE_FOREGROUND;
/frameworks/ex/common/tools/
Dmake-iana-tld-pattern.py52 class Bucket: class
129 bucket = Bucket(letter)
/frameworks/base/tests/net/java/android/app/usage/
DNetworkStatsManagerTest.java135 NetworkStats.Bucket bucket = new NetworkStats.Bucket(); in testQueryDetails()
206 NetworkStats.Bucket actual) { in assertBucketMatches()
/frameworks/opt/gamesdk/test/tuningfork/proto/
Dtuningfork_clearcut_log.proto65 // Bucket counts.
/frameworks/opt/gamesdk/samples/tuningfork/prototest/proto/
Dtuningfork_clearcut_log.proto65 // Bucket counts.
/frameworks/opt/gamesdk/src/tuningfork/proto/
Dtuningfork_clearcut_log.proto65 // Bucket counts.
/frameworks/opt/gamesdk/samples/tuningfork/tftestapp/app/src/main/proto/
Dtuningfork_clearcut_log.proto65 // Bucket counts.
/frameworks/base/core/proto/android/service/
Dnetstats.proto137 // Bucket start time in milliseconds since epoch.
/frameworks/base/core/proto/android/server/
Djobscheduler.proto215 // Bucket assignments as recorded in the JobStatus objects are normalized to
492 optional JobStatusDumpProto.Bucket effective_standby_bucket = 3;
515 optional JobStatusDumpProto.Bucket standby_bucket = 1;
908 enum Bucket { enum
915 optional Bucket standby_bucket = 17;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Ddef.c162 Bucket *temp; in PHP_METHOD()

12