/frameworks/native/services/stats/ |
D | StatsHal.cpp | 58 std::vector<int32_t> buckets = chargeCycles.cycleBucket; in reportChargeCycles() local 59 int initialSize = buckets.size(); in reportChargeCycles() 61 buckets.push_back(0); // Push 0 for buckets that do not exist. in reportChargeCycles() 63 android::util::stats_write(android::util::CHARGE_CYCLES_REPORTED, buckets[0], buckets[1], in reportChargeCycles() 64 buckets[2], buckets[3], buckets[4], buckets[5], buckets[6], buckets[7], buckets[8], in reportChargeCycles() 65 buckets[9]); in reportChargeCycles()
|
/frameworks/ex/common/tools/ |
D | make-iana-tld-pattern.py | 127 def getBucket(buckets, line): argument 129 bucket = buckets.get(letter) 133 buckets[letter] = bucket 137 def makePattern(prefix, suffix, buckets, isWebUrl=False): argument 140 output += getBucket(buckets, 'a').dump(isFirst=True, isWebUrl=isWebUrl) 143 output += getBucket(buckets, chr(letter)).dump(isWebUrl=isWebUrl) 145 output += getBucket(buckets, 'z').dump(isLast=True, isWebUrl=isWebUrl) 161 buckets = {} variable 167 getBucket(buckets, domain[0]).add(domain.strip()) 173 getBucket(buckets, 'xn--').add(result[2:-1]) [all …]
|
/frameworks/base/core/proto/android/internal/ |
D | binder_latency.proto | 74 // buckets at the start of the bucket list and thus save on data size. 76 // Stores the count of samples for each bucket. The number of buckets and 78 repeated int32 buckets = 3; field 80 // Params for histogram buckets. 81 // The number of buckets in the histogram. Store this value separately 82 // as the tail of empty buckets is truncated when stored in the proto to 87 // excessive amount of small buckets). E.g. for first_bucket_size of 5, the
|
/frameworks/base/core/java/android/window/ |
D | SizeConfigurationBuckets.java | 109 @NonNull Configuration newConfig, @Nullable SizeConfigurationBuckets buckets) { in filterDiff() argument 110 if (buckets == null) { in filterDiff() 117 final boolean crosses = buckets.crossesHorizontalSizeThreshold(oldConfig.screenWidthDp, in filterDiff() 119 || buckets.crossesVerticalSizeThreshold(oldConfig.screenHeightDp, in filterDiff() 128 if (!buckets.crossesSmallestSizeThreshold(oldSmallest, newSmallest)) { in filterDiff() 133 if (!buckets.crossesScreenLayoutSizeThreshold(oldConfig, newConfig) in filterDiff() 134 && !buckets.crossesScreenLayoutLongThreshold(oldConfig.screenLayout, in filterDiff()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | NetworkCycleChartData.java | 40 public Builder setUsageBuckets(List<NetworkCycleData> buckets) { in setUsageBuckets() argument 41 getObject().mUsageBuckets = buckets; in setUsageBuckets()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelCpuThreadReader.java | 428 int[] buckets = new int[mNumBuckets]; in bucketValues() local 434 buckets[bucketIdx] += values[valuesIdx]; in bucketValues() 437 return buckets; in bucketValues() 444 int[] buckets = new int[mNumBuckets]; in bucketFrequencies() local 445 for (int i = 0; i < buckets.length; i++) { in bucketFrequencies() 446 buckets[i] = (int) frequencies[mBucketStartIndices[i]]; in bucketFrequencies() 448 return buckets; in bucketFrequencies()
|
D | BinderLatencyObserver.java | 217 int[] buckets = mLatencyHistograms.get(dims); in callEnded() local 218 if (buckets == null) { in callEnded() 219 buckets = new int[mBucketCount]; in callEnded() 220 mLatencyHistograms.put(dims, buckets); in callEnded() 224 if (buckets[bucketIdx] < Integer.MAX_VALUE) { in callEnded() 225 buckets[bucketIdx] += 1; in callEnded()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryExternalStatsWorker.java | 878 final boolean[] buckets = new boolean[MeasuredEnergyStats.NUMBER_STANDARD_POWER_BUCKETS]; 884 buckets[MeasuredEnergyStats.POWER_BUCKET_BLUETOOTH] = true; 887 buckets[MeasuredEnergyStats.POWER_BUCKET_CPU] = true; 890 buckets[MeasuredEnergyStats.POWER_BUCKET_GNSS] = true; 893 buckets[MeasuredEnergyStats.POWER_BUCKET_MOBILE_RADIO] = true; 894 buckets[MeasuredEnergyStats.POWER_BUCKET_PHONE] = true; 897 buckets[MeasuredEnergyStats.POWER_BUCKET_SCREEN_ON] = true; 898 buckets[MeasuredEnergyStats.POWER_BUCKET_SCREEN_DOZE] = true; 899 buckets[MeasuredEnergyStats.POWER_BUCKET_SCREEN_OTHER] = true; 902 buckets[MeasuredEnergyStats.POWER_BUCKET_WIFI] = true; [all …]
|
D | ActivityManagerShellCommand.java | 2662 ParceledListSlice<AppStandbyInfo> buckets = usm.getAppStandbyBuckets( 2664 for (AppStandbyInfo bucketInfo : buckets.getList()) {
|
/frameworks/proto_logging/stats/enums/uwb/ |
D | enums.proto | 51 // UWB session duration buckets 62 // UWB count buckets
|
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/ |
D | ActivityThreadClientTest.java | 214 final SizeConfigurationBuckets buckets = new SizeConfigurationBuckets( in testShouldReportChange() local 224 shouldReportChange(currentConfig, newConfig, buckets, in testShouldReportChange() 228 shouldReportChange(currentConfig, newConfig, buckets, in testShouldReportChange() 235 shouldReportChange(currentConfig, newConfig, buckets, in testShouldReportChange() 241 shouldReportChange(currentConfig, newConfig, buckets, in testShouldReportChange()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/synthetic/ |
D | TestInterface.java | 64 int buckets = runtimeSeconds * 1000; in TestInterface() local 65 mLinesLow = new float[buckets * 4]; in TestInterface() 66 mLinesHigh = new float[buckets * 4]; in TestInterface() 67 mLinesValue = new float[buckets * 4]; in TestInterface()
|
/frameworks/av/media/libnblog/ |
D | PerformanceAnalysis.cpp | 355 std::map<double, int> buckets; in reportPerformance() local 359 buckets[logRound(ms, mBufferPeriod.mMean)] += countPair.second; in reportPerformance() 373 audio_utils_plot_histogram(buckets, title, kLabel, maxHeight).c_str()); in reportPerformance()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessTracker.java | 631 StringBuilder buckets = new StringBuilder(); in writeEventsLocked() local 634 buckets.append(','); in writeEventsLocked() 636 buckets.append(Long.toString(toWrite[i].colorValueBuckets[j])); in writeEventsLocked() 638 out.attribute(null, ATTR_COLOR_VALUE_BUCKETS, buckets.toString()); in writeEventsLocked() 727 String[] buckets = colorValueBucketsString.split(","); in readEventsLocked() local 728 long[] bucketValues = new long[buckets.length]; in readEventsLocked() 730 bucketValues[i] = Long.parseLong(buckets[i]); in readEventsLocked()
|
/frameworks/native/services/surfaceflinger/TimeStats/timestatsatomsproto/ |
D | timestats_atoms.proto | 42 // Aggregated refresh rate buckets that layers were presenting at. Buckets 48 // Aggregated render rate buckets that layers were overridden to run at. 296 * Because of size limitations, we hard-cap the number of buckets, with 297 * buckets for corresponding to larger milliseconds being less precise. 300 // Timings in milliseconds that describes a set of histogram buckets
|
/frameworks/hardware/interfaces/stats/1.0/ |
D | IStats.hal | 54 * @param chargeCycles A struct with battery charge cycle buckets.
|
D | types.hal | 95 * Each list of buckets represents the number of times
|
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/ |
D | timestats.proto | 77 // Histogram of the delta time. There should be at most 85 buckets ranging
|
/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.cpp | 43 auto buckets = std::vector<std::pair<int32_t, int32_t>>(histogram.begin(), histogram.end()); in histogramToProto() local 44 std::sort(buckets.begin(), buckets.end(), in histogramToProto() 51 for (const auto& bucket : buckets) { in histogramToProto()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/ |
D | AppIdleHistory.java | 567 ArrayList<AppStandbyInfo> buckets = new ArrayList<>(size); in getAppStandbyBuckets() local 569 buckets.add(new AppStandbyInfo(userHistory.keyAt(i), in getAppStandbyBuckets() 572 return buckets; in getAppStandbyBuckets()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 2026 final SyncAdapterStateFetcher buckets = new SyncAdapterStateFetcher(); in dump() local 2028 dumpSyncState(ipw, buckets); in dump() 2090 protected void dumpPendingSyncs(PrintWriter pw, SyncAdapterStateFetcher buckets) { in dumpPendingSyncs() argument 2100 pw.println(op.dump(null, false, buckets, /*logSafe=*/ false)); in dumpPendingSyncs() 2107 protected void dumpPeriodicSyncs(PrintWriter pw, SyncAdapterStateFetcher buckets) { in dumpPeriodicSyncs() argument 2117 pw.println(op.dump(null, false, buckets, /*logSafe=*/ false)); in dumpPeriodicSyncs() 2175 protected void dumpSyncState(PrintWriter pw, SyncAdapterStateFetcher buckets) { in dumpSyncState() argument 2252 pw.print(activeSyncContext.mSyncOperation.dump(pm, false, buckets, /*logSafe=*/ false)); in dumpSyncState() 2257 dumpPendingSyncs(pw, buckets); in dumpSyncState() 2258 dumpPeriodicSyncs(pw, buckets); in dumpSyncState()
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 422 final int[] buckets = new int[maxHrs + 3]; in generateMinuteBuckets() local 423 buckets[0] = 15; in generateMinuteBuckets() 424 buckets[1] = 30; in generateMinuteBuckets() 425 buckets[2] = 45; in generateMinuteBuckets() 427 buckets[2 + i] = 60 * i; in generateMinuteBuckets() 429 return buckets; in generateMinuteBuckets()
|
/frameworks/compile/mclinker/lib/Target/ |
D | GNULDBackend.cpp | 2594 static const unsigned int buckets[] = { in getHashBucketCount() local 2598 const unsigned buckets_count = sizeof buckets / sizeof buckets[0]; in getHashBucketCount() 2602 if (pNumOfSymbols < buckets[i]) in getHashBucketCount() 2604 result = buckets[i]; in getHashBucketCount()
|
/frameworks/proto_logging/stats/enums/telephony/ |
D | enums.proto | 45 // Call setup duration buckets.
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppStandbyControllerTests.java | 852 List<AppStandbyInfo> buckets = mController.getAppStandbyBuckets(USER_ID); in testAppStandbyBucketOnInstallAndUninstall() local 853 for(AppStandbyInfo bucket : buckets) { in testAppStandbyBucketOnInstallAndUninstall()
|