/frameworks/av/drm/libmediadrm/tests/ |
D | EventMetric_test.cpp | 28 EventMetric<int> metric("MyMetricName", "MetricAttributeName"); in TEST() local 32 metric.ExportValues( in TEST() 41 EventMetric<int> metric("MyMetricName", "MetricAttributeName"); in TEST() local 45 metric.Record(4, 7); in TEST() 46 metric.Record(5, 8); in TEST() 47 metric.Record(5, 8); in TEST() 48 metric.Record(5, 8); in TEST() 49 metric.Record(6, 8); in TEST() 50 metric.Record(6, 8); in TEST() 51 metric.Record(6, 8); in TEST() [all …]
|
D | CounterMetric_test.cpp | 30 CounterMetric<int> metric("MyMetricName", "MetricAttributeName"); in TEST_F() local 34 metric.ExportValues( in TEST_F() 43 CounterMetric<int> metric("MyMetricName", "MetricAttributeName"); in TEST_F() local 47 metric.Increment(7); in TEST_F() 48 metric.Increment(8); in TEST_F() 49 metric.Increment(8); in TEST_F() 51 metric.ExportValues( in TEST_F() 62 CounterMetric<std::string> metric("MyMetricName", "MetricAttributeName"); in TEST_F() local 66 metric.Increment("a"); in TEST_F() 67 metric.Increment("b"); in TEST_F() [all …]
|
D | DrmMetrics_test.cpp | 456 PersistableBundle metric; in TEST_F() local 457 ASSERT_TRUE(bundleMetricGroup.getPersistableBundle(String16("open_session_ok"), &metric)); in TEST_F() 459 ASSERT_TRUE(metric.getPersistableBundle(String16("[0]"), &metricInstance)); in TEST_F() 469 &metric)); in TEST_F() 470 ASSERT_TRUE(metric.getPersistableBundle(String16("[0]"), &metricInstance)); in TEST_F()
|
/frameworks/proto_logging/stats/express/catalog/ |
D | tex_test.cfg | 4 # - domain - will be used as metric config file name 5 # - value metric name without bucket size 9 display_name: "Test express counter metric" 10 description: "Longer test express counter metric description" 19 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" [all …]
|
D | health_services.cfg | 4 display_name: "HAL crash counter metric"
|
/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/ |
D | PowerMetricsCollector.java | 189 for (PowerMetrics.Metric metric : finalPowerMetrics) { 190 if (metric.metricName.equals(initialMetric.metricName)) { 191 finalMetric = metric; 265 for (PowerMetrics.Metric metric : metrics) { 266 double proportion = metric.total != 0 ? metric.value * 100 / metric.total : 0; 267 switch (metric.metricKind) { 270 String.format(locale, "%-40s %7.1f mAh %4.1f%%", metric.metricName, 271 metric.value, proportion)); 275 String.format(locale, "%-40s %,7d ms %4.1f%%", metric.metricName, 276 (long) metric.value, proportion)); [all …]
|
D | PowerMetrics.java | 102 Metric metric = new Metric(); in addMetric() local 103 metric.metricName = metricType; in addMetric() 104 metric.metricKind = metricKind; in addMetric() 105 metric.statusKeyPrefix = metricKind.toString().toLowerCase(); in addMetric() 106 metric.value = amount; in addMetric() 107 metric.total = totalAmount; in addMetric() 108 mMetrics.add(metric); in addMetric()
|
/frameworks/base/services/credentials/java/com/android/server/credentials/ |
D | MetricUtilities.java | 158 for (CandidateBrowsingPhaseMetric metric : browsingPhaseMetrics) { in logApiCalledFinalPhase() 159 browsedClickedEntries[index] = metric.getEntryEnum(); in logApiCalledFinalPhase() 160 browsedProviderUid[index] = metric.getProviderUid(); in logApiCalledFinalPhase() 268 var metric = session.getProviderSessionMetric() in logApiCalledCandidateGetMetric() local 272 /* session_id */ metric.getSessionIdProvider(), in logApiCalledCandidateGetMetric() 274 /* candidate_provider_uid */ metric.getCandidateUid(), in logApiCalledCandidateGetMetric() 276 metric.getResponseCollective().getUniqueResponseStrings(), in logApiCalledCandidateGetMetric() 278 metric.getResponseCollective().getUniqueResponseCounts() in logApiCalledCandidateGetMetric() 322 CandidatePhaseMetric metric = session.mProviderSessionMetric in logApiCalledCandidatePhase() local 325 sessionId = metric.getSessionIdProvider(); in logApiCalledCandidatePhase() [all …]
|
/frameworks/av/drm/libmediadrm/ |
D | DrmMetrics.cpp | 151 DrmFrameworkMetrics::DistributionMetric *metric = in GetSerializedMetrics() local 153 metric->set_min(stats.min); in GetSerializedMetrics() 154 metric->set_max(stats.max); in GetSerializedMetrics() 155 metric->set_mean(stats.mean); in GetSerializedMetrics() 156 metric->set_operation_count(stats.count); in GetSerializedMetrics() 157 metric->set_variance(stats.sum_squared_deviation / stats.count); in GetSerializedMetrics() 158 metric->mutable_attributes()->set_error_code(status); in GetSerializedMetrics() 163 DrmFrameworkMetrics::DistributionMetric *metric = in GetSerializedMetrics() local 165 metric->set_min(stats.min); in GetSerializedMetrics() 166 metric->set_max(stats.max); in GetSerializedMetrics() [all …]
|
/frameworks/layoutlib/bridge/tests/src/com/android/tools/idea/validator/ |
D | ValidatorResultTests.java | 74 Metric metric = new Builder().mMetric; in testMetricRecordHierarchyCreationTime() local 76 metric.startHierarchyCreationTimer(); in testMetricRecordHierarchyCreationTime() 86 metric.recordHierarchyCreationTime(); in testMetricRecordHierarchyCreationTime() 88 long diff = Math.abs(expectedElapsed - metric.mHierarchyCreationMs); in testMetricRecordHierarchyCreationTime() 95 Metric metric = new Builder().mMetric; 97 metric.mErrorMessage = "TestError"; 98 metric.mImageMemoryBytes = Long.MAX_VALUE; 102 metric.toString());
|
/frameworks/proto_logging/stats/express/libexpresscatalog/ |
D | catalog.cpp | 74 const ExpressMetric& metric = cfMessage.express_metric(i); in readMetrics() local 76 if (!metric.has_id()) { in readMetrics() 81 LOGD("Metric: %s\n", metric.id().c_str()); in readMetrics() 83 if (!validateMetricId(metric.id())) { in readMetrics() 87 if (metrics.find(metric.id()) != metrics.end()) { in readMetrics() 92 metrics[metric.id()] = metric; in readMetrics()
|
/frameworks/opt/car/services/updatableServices/tests/src/com/android/internal/car/updatable/ |
D | UserMetricsTest.java | 206 UserStartingMetric metric = startArray.get(userId); in assertStartTime() local 207 assertThat(metric.startTime).isEqualTo(timestamp); in assertStartTime() 213 UserStartingMetric metric = startArray.get(userId); in assertSwitchTime() local 214 assertThat(metric.switchFromUserId).isEqualTo(fromUserId); in assertSwitchTime() 215 assertThat(metric.switchTime).isEqualTo(timestamp); in assertSwitchTime() 220 UserStartingMetric metric = startArray.get(userId); in assertUnlockingTime() local 221 assertThat(metric.unlockingTime).isEqualTo(timestamp); in assertUnlockingTime() 231 UserStoppingMetric metric = stopArray.get(userId); in assertStopingTime() local 232 assertThat(metric.stopTime).isEqualTo(timestamp); in assertStopingTime()
|
/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/ |
D | AtfBufferedImage.java | 58 @NotNull Metric metric, in AtfBufferedImage() argument 65 metric, in AtfBufferedImage() 82 @NotNull Metric metric, in AtfBufferedImage() argument 90 mMetric = metric; in AtfBufferedImage()
|
D | ValidatorResult.java | 49 Metric metric) { in ValidatorResult() argument 55 mMetric = metric; in ValidatorResult()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperDisplayHelper.java | 88 for (WindowMetrics metric: metrics) { in WallpaperDisplayHelper() 89 Rect bounds = metric.getBounds(); in WallpaperDisplayHelper() 101 mIsLargeScreen |= (displaySize.x / metric.getDensity() >= LARGE_SCREEN_MIN_DP); in WallpaperDisplayHelper() 106 / (metric.getDensity() * metric.getDensity()); in WallpaperDisplayHelper()
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | GamePerformanceTest.java | 78 for (Map.Entry<String, Double> metric : metrics.entrySet()) { in testGraphicBufferMetrics() 79 status.putDouble(metric.getKey(), metric.getValue()); in testGraphicBufferMetrics()
|
/frameworks/opt/car/services/updatableServices/src/com/android/internal/car/updatable/ |
D | UserMetrics.java | 195 T metric = (T) metrics.get(userId); in getExistingMetricsLocked() local 196 if (metric == null) { in getExistingMetricsLocked() 200 return metric; in getExistingMetricsLocked() 262 BaseUserMetric metric = metrics.valueAt(i); in dump() local 264 metric.dump(pw); in dump()
|
/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer() argument 150 :start_time_(systemTime()), metric_(metric) { in EventTimer()
|
/frameworks/proto_logging/stats/atoms/expresslog/ |
D | expresslog_extension_atoms.proto | 44 // for counter metric it is an incremental amount 54 // for counter metric it is an incremental amount
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/ |
D | BrightnessController.java | 344 final int metric; in onChanged() local 347 metric = mAutomatic in onChanged() 357 MetricsLogger.action(mContext, metric, in onChanged()
|
/frameworks/base/core/java/android/net/vcn/ |
D | flags.aconfig | 22 description: "Feature flag for enabling network metric monitor"
|
/frameworks/proto_logging/stats/atoms/bluetooth/ |
D | bluetooth_extension_atoms.proto | 82 // Default: 0 if the device's metric id is unknown. 101 // Default: 0 if the device's metric id is unknown. 138 // Default: 0 if the device's metric id is unknown. 191 // Contains the metric id associated with the remote device 320 * Logs remote device information with metric ID
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuView.java | 404 void incrementTexMetric(String metric) { in incrementTexMetric() argument 408 Counter.logIncrement(metric); in incrementTexMetric()
|
/frameworks/proto_logging/stats/atoms/art/ |
D | art_extension_atoms.proto | 246 // What kind of thread (UI or background) this metric corresponds to. 289 // What kind of thread (UI or background) this metric corresponds to.
|
/frameworks/av/drm/libmediadrm/protos/ |
D | metrics.proto | 62 // Represents the attributes assocated with this distribution metric
|