Home
last modified time | relevance | path

Searched refs:histogram (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/av/media/libaaudio/tests/
Dtest_histogram.cpp33 Histogram histogram(kNumBins, kBinWidth); in TEST() local
34 ASSERT_EQ(kNumBins, histogram.getNumBinsInRange()); in TEST()
38 ASSERT_EQ(0, histogram.getCount(i)); in TEST()
40 ASSERT_EQ(0, histogram.getCountBelowRange()); in TEST()
41 ASSERT_EQ(0, histogram.getCountAboveRange()); in TEST()
42 ASSERT_EQ(0, histogram.getCount()); in TEST()
45 histogram.add(27); in TEST()
46 histogram.add(53); in TEST()
47 histogram.add(171); in TEST()
48 histogram.add(23); in TEST()
[all …]
/frameworks/proto_logging/stats/express/catalog/
Dtex_test.cfg19 display_name: "Test express fixed_range counter histogram metric"
20 description: "Longer test express counter histogram metric description"
36 display_name: "Test express scaled_factor counter histogram metric"
37 description: "Longer test express counter histogram metric description"
54 display_name: "Test express fixed_range counter histogram with UID metric"
55 description: "Longer test express counter histogram with UID metric description"
81 display_name: "Test express scaled_range counter histogram with UID metric"
82 description: "Longer test express counter histogram with UID metric description"
Dwear_notifications.cfg5 …description: "Latency of opening an image asset for bridged notifications. Logged as histogram val…
/frameworks/base/services/tests/servicestests/src/com/android/server/
DGestureLauncherServiceTest.java262 verify(mMetricsLogger).histogram("power_consecutive_short_tap_count", 1); in testInterceptPowerKeyDown_firstPowerDownCameraPowerGestureOnInteractive()
263 verify(mMetricsLogger).histogram("power_double_tap_interval", (int) eventTime); in testInterceptPowerKeyDown_firstPowerDownCameraPowerGestureOnInteractive()
282 verify(mMetricsLogger).histogram("power_double_tap_interval", (int) eventTime); in testInterceptPowerKeyDown_firstPowerDown_emergencyGestureNotLaunched()
316 verify(mMetricsLogger, times(2)).histogram( in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive()
323 verify(mMetricsLogger, times(2)).histogram( in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive()
361 verify(mMetricsLogger, times(2)).histogram( in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive()
368 verify(mMetricsLogger, times(2)).histogram( in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive()
408 verify(mMetricsLogger, times(2)).histogram( in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive()
415 verify(mMetricsLogger, times(2)).histogram( in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive()
458 verify(mMetricsLogger, times(2)).histogram( in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupComplete()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DOtaDexoptService.java489 metricsLogger.histogram("ota_dexopt_available_space_before_mb", in performMetricsLogging()
491 metricsLogger.histogram("ota_dexopt_available_space_after_bulk_delete_mb", in performMetricsLogging()
493 metricsLogger.histogram("ota_dexopt_available_space_after_dexopt_mb", in performMetricsLogging()
496 metricsLogger.histogram("ota_dexopt_num_important_packages", importantPackageCount); in performMetricsLogging()
497 metricsLogger.histogram("ota_dexopt_num_other_packages", otherPackageCount); in performMetricsLogging()
499 metricsLogger.histogram("ota_dexopt_num_commands", dexoptCommandCountTotal); in performMetricsLogging()
500 metricsLogger.histogram("ota_dexopt_num_commands_executed", dexoptCommandCountExecuted); in performMetricsLogging()
504 metricsLogger.histogram("ota_dexopt_time_s", elapsedTimeSeconds); in performMetricsLogging()
DDexOptHelper.java160 MetricsLogger.histogram(mPm.mContext, "opt_dialog_num_dexopted", numDexopted); in reportBootDexopt()
161 MetricsLogger.histogram(mPm.mContext, "opt_dialog_num_skipped", numSkipped); in reportBootDexopt()
162 MetricsLogger.histogram(mPm.mContext, "opt_dialog_num_failed", numFailed); in reportBootDexopt()
165 MetricsLogger.histogram(mPm.mContext, "opt_dialog_num_total", in reportBootDexopt()
167 MetricsLogger.histogram(mPm.mContext, "opt_dialog_time_s", elapsedTimeSeconds); in reportBootDexopt()
/frameworks/base/libs/hwui/tests/unit/
DGraphicsStatsServiceTests.cpp104 EXPECT_EQ(expectedCount, loadedProto.histogram().Get(i).frame_count()); in TEST()
105 EXPECT_EQ(expectedBucket, loadedProto.histogram().Get(i).render_millis()); in TEST()
162 EXPECT_EQ(expectedCount, loadedProto.histogram().Get(i).frame_count()); in TEST()
163 EXPECT_EQ(expectedBucket, loadedProto.histogram().Get(i).render_millis()); in TEST()
/frameworks/base/core/java/com/android/internal/logging/
DMetricsLogger.java79 public void histogram(String name, int bucket) { in histogram() method in MetricsLogger
229 public static void histogram(Context context, String name, int bucket) { in histogram() method in MetricsLogger
230 getLogger().histogram(name, bucket); in histogram()
/frameworks/base/proto/src/
Dcamera.proto52 // Type of stream histogram
59 // The boundary values between histogram bins
62 // The frame counts for each histogram bins
/frameworks/base/services/tests/powerstatstests/src/com/android/server/powerstats/
DIntervalRandomNoiseGeneratorTest.java57 int[] histogram = buildHistogram(() -> { in assertDistribution() local
64 .that((double) histogram[i] / sampleCount) in assertDistribution()
/frameworks/base/libs/hwui/protos/
Dgraphicsstats.proto53 // The frame time histogram for the package
54 repeated GraphicsStatsHistogramBucketProto histogram = 6; field
56 // The gpu frame time histogram for the package
/frameworks/base/core/java/com/android/internal/os/
DBinderLatencyObserver.java119 ProtoOutputStream proto, LatencyDims dims, String transactionName, int[] histogram) { in fillApiStatsProto() argument
123 if (histogram[i] != 0) { in fillApiStatsProto()
130 if (histogram[i] != 0) { in fillApiStatsProto()
149 proto.write(ApiStats.BUCKETS, histogram[i]); in fillApiStatsProto()
/frameworks/base/core/proto/android/service/
Dgraphicsstats.proto57 // The frame time histogram for the package.
58 repeated GraphicsStatsHistogramBucketProto histogram = 6; field
60 // The gpu frame time histogram for the package
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_reduce_backward.java244 private long[] histogram(RenderScript RS, final byte[] inputArray) { in histogram() method in UT_reduce_backward
263 private boolean histogram(RenderScript RS, ScriptC_reduce_backward s) { in histogram() method in UT_reduce_backward
266 final long[] javaRslt = histogram(RS, inputArray); in histogram()
286 long[] hsg = histogram(RS, inputArray); in mode()
318 pass &= histogram(pRS, s); in run()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_reduce_backward.java246 private long[] histogram(RenderScript RS, final byte[] inputArray) { in histogram() method in UT_reduce_backward
265 private boolean histogram(RenderScript RS, ScriptC_reduce_backward s) { in histogram() method in UT_reduce_backward
268 final long[] javaRslt = histogram(RS, inputArray); in histogram()
288 long[] hsg = histogram(RS, inputArray); in mode()
320 pass &= histogram(pRS, s); in run()
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/
Dtimestats.proto44 // Present to present histogram.
46 // Frame CPU duration histogram.
48 // Frame GPU duration histogram.
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DTronUtils.java31 MetricsLogger.histogram(context, "settings_wifi_speed_labels", speedEnum); in logWifiSettingsSpeed()
/frameworks/proto_logging/stats/atoms/media/
Dmedia_codec_extension_atoms.proto270 // The histogram of freeze durations.
272 // The histogram bucket limits for freeze durations.
274 // The histogram of durations between freezes.
276 // The histogram bucket limits for durations between freezes.
286 // The histogram of judder scores for each frame.
288 // The histogram bucket limits for judder scores.
/frameworks/av/services/camera/libcameraservice/tests/
DDistortionMapperTest.cpp270 std::array<int, maxAllowedPixelError * bucketsPerPixel> histogram = {0}; in RandomTransformTest() local
292 histogram[histBucket]++; in RandomTransformTest()
300 for (size_t i = 0; i < histogram.size(); i++) { in RandomTransformTest()
303 test->RecordProperty(label, histogram[i]); in RandomTransformTest()
/frameworks/base/libs/hwui/service/
DGraphicsStatsService.cpp257 for (auto it = proto->histogram().rbegin(); it != proto->histogram().rend(); ++it) { in findPercentile()
308 for (const auto& it : proto->histogram()) { in dumpAsTextToFd()
417 stat.histogram(bucketIndex).frame_count()); in mergeStat()
497 auto& bucket = stat.histogram(bucketIndex); in writeCpuHistogram()
503 auto& bucket = stat.histogram(bucketIndex); in writeCpuHistogram()
/frameworks/base/core/proto/android/internal/
Dbinder_latency.proto80 // Params for histogram buckets.
81 // The number of buckets in the histogram. Store this value separately
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DEvents.java390 sLegacyLogger.histogram("volume_from_keyguard", keyguard ? 1 : 0); in logEvent()
484 sLegacyLogger.histogram("show_usb_overheat_alarm", keyguard ? 1 : 0); in logEvent()
494 sLegacyLogger.histogram("dismiss_usb_overheat_alarm", keyguard ? 1 : 0); in logEvent()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
DAndroid.bp33 "histogram.cpp",
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DNewChromaHistogramFilter.java19 package androidx.media.filterpacks.histogram;
/frameworks/base/core/java/com/android/internal/policy/
DTransitionAnimation.java1358 final int[] histogram = new int[256]; in getBorderLuma() local
1365 histogram[topLm]++; in getBorderLuma()
1366 histogram[bottomLm]++; in getBorderLuma()
1373 histogram[leftLm]++; in getBorderLuma()
1374 histogram[rightLm]++; in getBorderLuma()
1383 for (i = 0; i < histogram.length; i++) { in getBorderLuma()
1384 sum += histogram[i]; in getBorderLuma()

123