/frameworks/base/include/androidfw/ |
H A D | ByteBucketArray.h | 60 T* bucket = mBuckets[bucketIndex]; local 61 if (bucket == NULL) { 64 return bucket[0x0f & static_cast<uint8_t>(index)]; 72 T* bucket = mBuckets[bucketIndex]; 73 if (bucket == NULL) { 74 bucket = mBuckets[bucketIndex] = new T[BUCKET_SIZE](); 76 return bucket[0x0f & static_cast<uint8_t>(index)];
|
/frameworks/base/core/java/com/android/internal/logging/ |
H A D | MetricsLogger.java | 86 /** Increment the bucket with the integer label on the histogram with the given name. */ 87 public static void histogram(Context context, String name, int bucket) { argument 88 EventLogTags.writeSysuiHistogram(name, bucket);
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | SysMemUsageTable.java | 149 final int bucket = ((iscreen + imem) * STATE_COUNT); 150 long count = getValueForId((byte)bucket, SYS_MEM_USAGE_SAMPLE_COUNT); 166 dumpCategory(pw, prefix, " Cached", bucket, SYS_MEM_USAGE_CACHED_MINIMUM); 167 dumpCategory(pw, prefix, " Free", bucket, SYS_MEM_USAGE_FREE_MINIMUM); 168 dumpCategory(pw, prefix, " ZRam", bucket, SYS_MEM_USAGE_ZRAM_MINIMUM); 169 dumpCategory(pw, prefix, " Kernel", bucket, SYS_MEM_USAGE_KERNEL_MINIMUM); 170 dumpCategory(pw, prefix, " Native", bucket, SYS_MEM_USAGE_NATIVE_MINIMUM); 176 private void dumpCategory(PrintWriter pw, String prefix, String label, int bucket, int index) { argument 179 DebugUtils.printSizeValue(pw, getValueForId((byte)bucket, index) * 1024); 181 DebugUtils.printSizeValue(pw, getValueForId((byte)bucket, inde [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
H A D | PowerUI.java | 106 * the bucket going up when the battery level was going down. --joeo 160 int bucket = findBatteryLevelBucket(mBatteryLevel); 170 Slog.d(TAG, "bucket " + oldBucket + " --> " + bucket); 174 mWarnings.update(mBatteryLevel, bucket, mScreenOffTime); 189 && (bucket < oldBucket || oldPlugged) 191 && bucket < 0) { 192 // only play SFX when the dialog comes up or the bucket changes 193 final boolean playSound = bucket != oldBucket || oldPlugged; 195 } else if (isPowerSaver || plugged || (bucket > oldBucke 242 update(int batteryLevel, int bucket, long screenOffTime) argument [all...] |
H A D | PowerNotificationWarnings.java | 109 public void update(int batteryLevel, int bucket, long screenOffTime) { argument 111 if (bucket >= 0) { 113 } else if (bucket < mBucket) { 116 mBucket = bucket; 157 // Bump the notification when the bucket dropped.
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | HashIterator.h | 37 bucket_type& bucket = m_pHashTable->m_Buckets[m_Index]; local 38 if (bucket_type::getTombstone() == bucket.Entry) { 40 } else if (m_HashValue == bucket.FullHashValue) { 41 if (bucket.Entry->compare(pKey)) { 116 bucket_type& bucket = m_pHashTable->m_Buckets[m_Index]; local 118 if (bucket_type::getTombstone() == bucket.Entry || 119 bucket_type::getEmptyBucket() == bucket.Entry) { 121 } else if (m_HashValue == bucket.FullHashValue) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
H A D | ChannelHelper.java | 218 public abstract void fillBucketSettings(WifiNative.BucketSettings bucket, int maxChannels); argument
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | ScanTestUtil.java | 125 WifiNative.BucketSettings bucket = new WifiNative.BucketSettings(); 126 bucket.bucket = mSettings.num_buckets; 127 bucket.band = band; 128 bucket.period_ms = period; 129 bucket.report_events = reportEvents; 130 return addBucket(bucket); 144 WifiNative.BucketSettings bucket = new WifiNative.BucketSettings(); 145 bucket.bucket 154 addBucket(WifiNative.BucketSettings bucket) argument [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
H A D | BackgroundScanSchedulerTest.java | 308 * Ensure that a channel request is placed in the bucket closest to the original 309 * period and not the bucket it is initially placed in. Here the 5 min period is 310 * initially placed in the 240s bucket, but that bucket is eliminated because it 311 * would be a 7th bucket. This test ensures that the request is placed in the 480s 312 * bucket and not the 120s bucket. 454 * common bucket with the lower time period setting. 475 assertEquals("scheduled bucket", 0, mScheduler.getScheduledBucket(requests.get(0))); 476 assertEquals("scheduled bucket", 760 getAllChannels(BucketSettings bucket) argument 923 assertBucketChannels(BucketSettings bucket, Set<Integer> expectedChannelSet) argument [all...] |
/frameworks/rs/ |
H A D | rsMap.h | 40 for (size_t i = 0; i < MAP_NUM_BUCKET; i++) { bucket[i] = nullptr; } 45 LinkNode* p = bucket[i]; 57 LinkNode* node = bucket[index]; 72 bucket[index] = node; 92 next = map->bucket[bucket_index]; 128 LinkNode* node = bucket[i]; 145 LinkNode* node = bucket[index]; 160 LinkNode* bucket[MAP_NUM_BUCKET]; member in class:android::renderscript::Map
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | Metrics.java | 650 * @param bucket The bucket to increment. 652 private static void logHistogram(Context context, String name, @ActionType int bucket) { argument 653 if (DEBUG) Log.d(TAG, name + ": " + bucket); 654 MetricsLogger.histogram(context, name, bucket); 660 * a single ROOT_OTHER bucket. 707 // Log all apps under a single bucket in the roots histogram. 742 // Bucket all other types into one bucket. 760 * @return An opcode, suitable for use as histogram bucket, for the given operation/provider
|
/frameworks/compile/mclinker/lib/Target/ |
H A D | GNULDBackend.cpp | 1117 uint32_t* bucket = (word_array + 2); local 1118 uint32_t* chain = (bucket + nbucket); 1120 // initialize bucket 1121 memset(reinterpret_cast<void*>(bucket), 0, nbucket); 1130 chain[idx] = bucket[bucket_pos]; 1131 bucket[bucket_pos] = idx; 1155 uint32_t* bucket = NULL; local 1171 nbucket = 1; // one empty bucket 1184 bucket = reinterpret_cast<uint32_t*>(bitmask + 1186 *bucket [all...] |
/frameworks/opt/net/wifi/service/jni/ |
H A D | com_android_server_wifi_WifiNative.cpp | 478 JNIObject<jobject> bucket = helper.getObjectArrayField( local 481 params.buckets[i].bucket = helper.getIntField(bucket, "bucket"); 482 params.buckets[i].band = (wifi_band) helper.getIntField(bucket, "band"); 483 params.buckets[i].period = helper.getIntField(bucket, "period_ms"); 484 params.buckets[i].max_period = helper.getIntField(bucket, "max_period_ms"); 490 params.buckets[i].step_count = helper.getIntField(bucket, "step_count"); 492 int report_events = helper.getIntField(bucket, "report_events"); 496 ALOGD("bucket[ [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiNative.java | 1675 public int bucket; field in class:WifiNative.BucketSettings
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |