/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | BackgroundScanScheduler.java | 130 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/ |
D | NetworkStats.java | 73 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 …]
|
D | NetworkStatsManager.java | 25 import android.app.usage.NetworkStats.Bucket; 176 public Bucket querySummaryForDevice(NetworkTemplate template, in querySummaryForDevice() 178 Bucket bucket = null; in querySummaryForDevice() 215 public Bucket querySummaryForDevice(int networkType, String subscriberId, in querySummaryForDevice() 254 public Bucket querySummaryForUser(int networkType, String subscriberId, long startTime, in querySummaryForUser() 328 NetworkStats.Bucket.TAG_NONE, NetworkStats.Bucket.STATE_ALL); in queryDetailsForUid() 335 NetworkStats.Bucket.TAG_NONE, NetworkStats.Bucket.STATE_ALL); in queryDetailsForUid() 346 tag, NetworkStats.Bucket.STATE_ALL); in queryDetailsForUidTag()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | IntHistogram.java | 34 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() 161 for (Bucket bucket : this) { in quantileFunction() 166 Bucket hitBucket = null; in quantileFunction() 167 for (Bucket bucket : this) { in quantileFunction() 234 public Iterator<Bucket> iterator() { in iterator() 235 return new Iterator<Bucket>() { in iterator() [all …]
|
/frameworks/layoutlib/bridge/tests/src/android/util/imagepool/ |
D | ImagePoolHelperTest.java | 21 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()
|
D | ImagePoolImplTest.java | 153 for (Bucket bucket : ((ImagePoolImpl) pool).mPool.values()) { in testBufferedImageReleased()
|
/frameworks/layoutlib/bridge/src/android/util/imagepool/ |
D | ImagePoolHelper.java | 21 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()
|
D | ImagePoolImpl.java | 22 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()
|
D | Bucket.java | 32 /* private package */ class Bucket { class
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/ |
D | DataUsageControllerTest.java | 107 .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()
|
D | NetworkCycleDataForUidLoaderTest.java | 19 import static android.app.usage.NetworkStats.Bucket.STATE_FOREGROUND;
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ChildHelper.java | 44 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/ |
D | NetworkCycleChartDataLoader.java | 46 final NetworkStats.Bucket bucket = mNetworkStatsManager.querySummaryForDevice( in recordUsage() 83 final NetworkStats.Bucket bucket = mNetworkStatsManager.querySummaryForDevice(
|
D | DataUsageController.java | 27 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()
|
D | NetworkCycleDataLoader.java | 163 final NetworkStats.Bucket bucket = new NetworkStats.Bucket();
|
D | NetworkCycleDataForUidLoader.java | 19 import static android.app.usage.NetworkStats.Bucket.STATE_FOREGROUND;
|
/frameworks/ex/common/tools/ |
D | make-iana-tld-pattern.py | 52 class Bucket: class 129 bucket = Bucket(letter)
|
/frameworks/base/tests/net/java/android/app/usage/ |
D | NetworkStatsManagerTest.java | 135 NetworkStats.Bucket bucket = new NetworkStats.Bucket(); in testQueryDetails() 205 private void assertBucketMatches(Entry expected, NetworkStats.Bucket actual) { in assertBucketMatches()
|
/frameworks/base/core/proto/android/service/ |
D | netstats.proto | 137 // Bucket start time in milliseconds since epoch.
|
/frameworks/base/core/proto/android/server/ |
D | jobscheduler.proto | 218 // Bucket assignments as recorded in the JobStatus objects are normalized to 555 optional JobStatusDumpProto.Bucket effective_standby_bucket = 3; 578 optional JobStatusDumpProto.Bucket standby_bucket = 1; 1014 enum Bucket { enum 1022 optional Bucket standby_bucket = 17;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiScoreCardTest.java | 516 for (IntHistogram.Bucket bucket : rssiHistogram) { in checkHistogramExample()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiScoreCard.java | 1896 for (IntHistogram.Bucket b : intHistogram) { in toUnivariateStatistic()
|
/frameworks/opt/net/wifi/service/proto/src/ |
D | metrics.proto | 1175 // Bucket covers duration : [duration_sec, duration_sec + bucket_size_sec) 2790 // Bucket covers duration : [range_start_ms, range_end_ms)
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 1078 enum Bucket { enum 1087 optional Bucket standby_bucket = 5 [default = UNKNOWN]; 1342 optional AppStandbyBucketChanged.Bucket app_standby_bucket = 4; 10266 enum Bucket { enum 10276 optional Bucket bucket = 3;
|
/frameworks/base/config/ |
D | preloaded-classes | 1049 android.app.usage.NetworkStats$Bucket 3169 android.icu.text.AlphabeticIndex$Bucket
|