/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | ByteBucketArray.h | 55 T* bucket = buckets_[bucket_index]; local 56 if (bucket == NULL) { 59 return bucket[0x0f & static_cast<uint8_t>(index)]; 67 T* bucket = buckets_[bucket_index]; 68 if (bucket == NULL) { 69 bucket = buckets_[bucket_index] = new T[kBucketSize](); 71 return bucket[0x0f & static_cast<uint8_t>(index)];
|
/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/core/java/com/android/internal/logging/ |
H A D | MetricsLogger.java | 134 /** Increment the bucket with the integer label on the histogram with the given name. */ 135 public void histogram(String name, int bucket) { argument 137 EventLogTags.writeSysuiHistogram(name, bucket); 140 .setCounterBucket(bucket) 211 * Increment the bucket with the integer label on the histogram with the given name. 215 public static void histogram(Context context, String name, int bucket) { argument 216 getLogger().histogram(name, bucket);
|
/frameworks/base/core/java/android/metrics/ |
H A D | LogMaker.java | 205 * The bucket label, expressed as an integer. 207 * @param bucket to replace the existing setting. 210 public LogMaker setCounterBucket(int bucket) { argument 211 entries.put(MetricsEvent.RESERVED_FOR_LOGBUILDER_BUCKET, bucket); 216 * The bucket label, expressed as a long integer. 218 * @param bucket to replace the existing setting. 221 public LogMaker setCounterBucket(long bucket) { argument 222 entries.put(MetricsEvent.RESERVED_FOR_LOGBUILDER_BUCKET, bucket); 227 * The value to increment the counter or bucket by. 363 /** @return the bucket labe [all...] |
/frameworks/base/libs/hwui/service/ |
H A D | GraphicsStatsService.cpp | 117 service::GraphicsStatsHistogramBucketProto* bucket; local 120 bucket = proto->add_histogram(); 121 bucket->set_render_millis(renderTime); 123 bucket = proto->mutable_histogram(i); 124 LOG_ALWAYS_FATAL_IF(bucket->render_millis() != renderTime, 125 "Frame time mistmatch %d vs. %d", bucket->render_millis(), renderTime); 127 bucket->set_frame_count(bucket->frame_count() + data->frameCounts[i]); 130 service::GraphicsStatsHistogramBucketProto* bucket; local 133 bucket [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
H A D | PowerUI.java | 131 * the bucket going up when the battery level was going down. --joeo 183 int bucket = findBatteryLevelBucket(mBatteryLevel); 193 Slog.d(TAG, "bucket " + oldBucket + " --> " + bucket); 197 mWarnings.update(mBatteryLevel, bucket, mScreenOffTime); 212 && (bucket < oldBucket || oldPlugged) 214 && bucket < 0) { 215 // only play SFX when the dialog comes up or the bucket changes 216 final boolean playSound = bucket != oldBucket || oldPlugged; 218 } else if (isPowerSaver || plugged || (bucket > oldBucke 377 update(int batteryLevel, int bucket, long screenOffTime) argument [all...] |
H A D | PowerNotificationWarnings.java | 129 public void update(int batteryLevel, int bucket, long screenOffTime) { argument 131 if (bucket >= 0) { 133 } else if (bucket < mBucket) { 136 mBucket = bucket; 179 // 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 | 222 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 | 129 WifiNative.BucketSettings bucket = new WifiNative.BucketSettings(); 130 bucket.bucket = mSettings.num_buckets; 131 bucket.band = band; 132 bucket.period_ms = period; 133 bucket.report_events = reportEvents; 134 return addBucket(bucket); 148 WifiNative.BucketSettings bucket = new WifiNative.BucketSettings(); 149 bucket.bucket 158 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/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/java/com/android/server/wifi/ |
H A D | WifiNative.java | 878 public int bucket; field in class:WifiNative.BucketSettings
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 2616 public SamplingTimer getKernelMemoryTimerLocked(long bucket) { argument 2617 SamplingTimer kmt = mKernelMemoryStats.get(bucket); 2620 mKernelMemoryStats.put(bucket, kmt); 12291 Long bucket = in.readLong(); 12293 mKernelMemoryStats.put(bucket, kmt);
|
/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. ... |