Home
last modified time | relevance | path

Searched refs:bucketIndex (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/include/androidfw/
DByteBucketArray.h59 uint8_t bucketIndex = static_cast<uint8_t>(index) >> 4; variable
60 T* bucket = mBuckets[bucketIndex];
71 uint8_t bucketIndex = static_cast<uint8_t>(index) >> 4; in editItemAt() local
72 T* bucket = mBuckets[bucketIndex]; in editItemAt()
74 bucket = mBuckets[bucketIndex] = new T[BUCKET_SIZE](); in editItemAt()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/
DFlagSet.java66 public boolean intersect(FlagSet other, int bucketIndex) { in intersect() argument
67 return (buckets[bucketIndex] & other.buckets[bucketIndex]) != 0; in intersect()
125 private long getBucket(int bucketIndex) { in getBucket() argument
126 if (bucketIndex >= buckets.length) { in getBucket()
129 return buckets[bucketIndex]; in getBucket()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DBackgroundScanScheduler.java202 int bucketIndex = 0; in createBucketSettings() local
225 bucketIndex = findBestRegularBucketIndex(setting.periodInMs, in createBucketSettings()
227 period = PREDEFINED_BUCKET_PERIODS[bucketIndex]; in createBucketSettings()
508 int bucketIndex; in addScanToBuckets() local
512 bucketIndex = EXPONENTIAL_BACK_OFF_BUCKET_IDX; in addScanToBuckets()
514 bucketIndex = findBestRegularBucketIndex(settings.periodInMs, NUM_OF_REGULAR_BUCKETS); in addScanToBuckets()
517 mBuckets.getOrCreate(bucketIndex).addSettings(settings); in addScanToBuckets()
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
DLayoutBinderWriter.kt235 fun FlagSet.localValue(bucketIndex : Int) = in FlagSet()
236 if (localName == null) binaryCode(bucketIndex) in FlagSet()
239 fun FlagSet.binaryCode(bucketIndex : Int) = longToBinary(buckets[bucketIndex]) in FlagSet()