Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLocaleUtils.java261 public String getBucketLabel(int bucketIndex) { in getBucketLabel() argument
262 if (bucketIndex < 0 || bucketIndex >= getBucketCount()) { in getBucketLabel()
264 } else if (bucketIndex == mNumberBucketIndex) { in getBucketLabel()
266 } else if (bucketIndex > mNumberBucketIndex) { in getBucketLabel()
267 --bucketIndex; in getBucketLabel()
269 return mAlphabeticIndex.getBucket(bucketIndex).getLabel(); in getBucketLabel()
350 final int bucketIndex = super.getBucketIndex(name); in getBucketIndex() local
351 if ((bucketIndex == mMiscBucketIndex && in getBucketIndex()
353 bucketIndex > mMiscBucketIndex) { in getBucketIndex()
354 return bucketIndex + 1; in getBucketIndex()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DIntHistogram.java119 public Bucket getBucketByIndex(int bucketIndex) { in getBucketByIndex() argument
120 int bucketKey = mBuckets.keyAt(bucketIndex); in getBucketByIndex()
125 int count = mBuckets.valueAt(bucketIndex); in getBucketByIndex()
207 for (int bucketIndex = 0; bucketIndex < mBuckets.size(); ++bucketIndex) { in toString()
208 if (bucketIndex > 0) { in toString()
211 int bucketKey = mBuckets.keyAt(bucketIndex); in toString()
224 sb.append('=').append(mBuckets.valueAt(bucketIndex)); in toString()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DLocalSource.java81 int bucketIndex = cursor.getColumnIndex(MediaStore.Images.Media.BUCKET_ID); in findAlbums() local
85 if (bucketIndex < 0) { in findAlbums()
89 String id = constructId(internal, cursor.getString(bucketIndex)); in findAlbums()
166 int bucketIndex = cursor.getColumnIndex(MediaStore.Images.Media.BUCKET_ID); in unpackImageData() local
169 data.albumId = cursor.getString(bucketIndex); in unpackImageData()
DPicasaSource.java148 int bucketIndex = cursor.getColumnIndex(PICASA_ALBUM_ID); in unpackImageData() local
151 if (bucketIndex >= 0) { in unpackImageData()
152 data.albumId = cursor.getString(bucketIndex); in unpackImageData()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/noising/
DSourceNoiseHandler.java135 int bucketIndex = -1; in assignAttributionModeAndGenerateFakeReports() local
145 bucketIndex = 0; in assignAttributionModeAndGenerateFakeReports()
150 bucketIndex += 1; in assignAttributionModeAndGenerateFakeReports()
154 TriggerSpecs.getSummaryBucketFromIndex(bucketIndex, buckets); in assignAttributionModeAndGenerateFakeReports()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DBackgroundScanScheduler.java201 int bucketIndex = 0; in createBucketSettings() local
224 bucketIndex = findBestRegularBucketIndex(setting.periodInMs, in createBucketSettings()
226 period = PREDEFINED_BUCKET_PERIODS[bucketIndex]; in createBucketSettings()
493 int bucketIndex; in addScanToBuckets() local
497 bucketIndex = EXPONENTIAL_BACK_OFF_BUCKET_IDX; in addScanToBuckets()
499 bucketIndex = findBestRegularBucketIndex(settings.periodInMs, NUM_OF_REGULAR_BUCKETS); in addScanToBuckets()
502 mBuckets.getOrCreate(bucketIndex).addSettings(settings); in addScanToBuckets()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DTriggerSpecs.java317 int bucketIndex = triggerDataToBucketIndexMap.get(triggerData) - 1; in prepareFlexAttribution() local
318 long prevBucket = bucketIndex == 0 ? 0L : buckets.get(bucketIndex - 1); in prepareFlexAttribution()
319 long bucketSize = buckets.get(bucketIndex) - prevBucket; in prepareFlexAttribution()
/packages/modules/StatsD/statsd/src/anomaly/
DAnomalyTracker.cpp100 const int bucketIndex = index(bucketNum); in addPastBucket() local
101 if (bucketNum <= mMostRecentBucketNum && (mPastBuckets[bucketIndex] != nullptr)) { in addPastBucket()
103 std::shared_ptr<DimToValMap>& bucket = mPastBuckets[bucketIndex]; in addPastBucket()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactLocaleUtilsTest.java118 int bucketIndex = mTargetUtils.getBucketIndex(name); in getLabel() local
119 return mTargetUtils.getBucketLabel(bucketIndex); in getLabel()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/
DAttributionJobHandler.java1173 int bucketIndex = triggerDataToBucketIndexMap.get(triggerData); in updateFlexAttributionStateAndGetNumReports() local
1178 if (bucketIndex == buckets.size()) { in updateFlexAttributionStateAndGetNumReports()
1191 long prevBucket = bucketIndex == 0 ? 0L : buckets.get(bucketIndex - 1); in updateFlexAttributionStateAndGetNumReports()
1194 for (int i = bucketIndex; i < buckets.size(); i++) { in updateFlexAttributionStateAndGetNumReports()
/packages/apps/Car/DebuggingRestrictionController/libs/
Djackson-core-2.11.1.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/LICENSE META-INF ...