Home
last modified time | relevance | path

Searched defs:metricId (Results 1 – 25 of 52) sorted by relevance

123

/packages/modules/StatsD/statsd/benchmark/
Ddb_benchmark.cpp30 int64_t metricId = 0; in BM_insertAtomsIntoDbTablesNewConnection() local
41 for (int metricId = 0; metricId < state.range(0); ++metricId) { in BM_insertAtomsIntoDbTablesNewConnection() local
62 int64_t metricId = 0; in BM_insertAtomsIntoDbTablesReuseConnection() local
74 for (int metricId = 0; metricId < state.range(0); ++metricId) { in BM_insertAtomsIntoDbTablesReuseConnection() local
96 int64_t metricId = 0; in BM_createDbTables() local
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/data/
DDaoBuildingBlocks.java191 long metricId, in updateAggregateValue()
223 long metricId, in updateSystemProfileHash()
257 long metricId, in updateSystemProfileHashAndAggregateValue()
332 long metricId, in queryOneSystemProfileAndAggregateValue()
395 long metricId, in queryStringListIndex()
447 long customerId, long projectId, long metricId, long reportId, int dayIndex); in queryStringHashList()
491 long metricId, in queryCountEventVectors()
539 long customerId, long projectId, long metricId, long reportId, int dayIndex); in queryEventRecordsForDay()
584 long customerId, long projectId, long metricId, long reportId); in queryLastSentDayIndex()
DReportKey.java49 public abstract long metricId(); in metricId() method in ReportKey
63 public static ReportKey create(long customerId, long projectId, long metricId, long reportId) { in create()
DTestOnlyDao.java222 long customerId, long projectId, long metricId, long reportId); in queryLastSentDayIndex()
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/
DCobaltLogger.java33 ListenableFuture<Void> logOccurrence(long metricId, long count, List<Integer> eventVector); in logOccurrence()
43 ListenableFuture<Void> logString(long metricId, String stringValue, List<Integer> eventVector); in logString()
/packages/modules/StatsD/statsd/src/utils/
DDbUtils.cpp99 static string getCreateSqlString(const int64_t metricId, const LogEvent& event) { in getCreateSqlString()
132 string reformatMetricId(const int64_t metricId) { in reformatMetricId()
137 bool createTableIfNeeded(const ConfigKey& key, const int64_t metricId, const LogEvent& event) { in createTableIfNeeded()
156 bool isEventCompatible(const ConfigKey& key, const int64_t metricId, const LogEvent& event) { in isEventCompatible()
190 bool deleteTable(const ConfigKey& key, const int64_t metricId) { in deleteTable()
226 static bool getInsertSqlStmt(sqlite3* db, sqlite3_stmt** stmt, const int64_t metricId, in getInsertSqlStmt()
283 bool insert(const ConfigKey& key, const int64_t metricId, const vector<LogEvent>& events, in insert()
297 bool insert(sqlite3* db, const int64_t metricId, const vector<LogEvent>& events, string& error) { in insert()
364 bool flushTtl(sqlite3* db, const int64_t metricId, const int64_t ttlWallClockNs) { in flushTtl()
/packages/modules/StatsD/statsd/tests/metrics/
DMaxDurationTracker_test.cpp43 const int64_t metricId = 123; variable
66 int64_t metricId = 1; in TEST() local
103 int64_t metricId = 1; in TEST() local
139 int64_t metricId = 1; in TEST() local
179 int64_t metricId = 1; in TEST() local
226 int64_t metricId = 1; in TEST() local
265 int64_t metricId = 1; in TEST() local
325 int64_t metricId = 1; in TEST() local
411 int64_t metricId = 1; in TEST() local
486 int64_t metricId = 1; in TEST() local
/packages/services/Car/service/src/com/android/car/logging/
DSystemHistogramFactory.java26 public Histogram newUniformHistogram(String metricId, int binCount, in newUniformHistogram()
33 public Histogram newScaledRangeHistogram(String metricId, int binCount, in newScaledRangeHistogram()
DHistogramFactoryInterface.java43 Histogram newUniformHistogram(String metricId, @IntRange(from = 1) int binCount, in newUniformHistogram()
59 Histogram newScaledRangeHistogram(String metricId, @IntRange(from = 1) int binCount, in newScaledRangeHistogram()
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/impl/
DCobaltLoggerImpl.java80 long metricId, long count, List<Integer> eventCodes) { in logOccurrence()
107 long metricId, String stringValue, List<Integer> eventCodes) { in logString()
167 private Void recordFailureAndRethrow(long metricId, RuntimeException x) { in recordFailureAndRethrow()
263 MetricType metricType, long metricId, List<Integer> eventCodes) { in validateEventAndGetMetric()
/packages/modules/StatsD/statsd/tests/e2e/
DCountMetric_e2e_test.cpp132 int64_t metricId = StringToId("CountSyncStartWhileScreenOn"); in TEST() local
293 int64_t metricId = 123456; in TEST() local
443 int64_t metricId = 123456; in TEST() local
620 int64_t metricId = 123456; in TEST() local
828 int64_t metricId = 123456; in TEST() local
1096 int64_t metricId = 123456; in TEST() local
1163 int64_t metricId = 123456; in TEST() local
1230 int64_t metricId = 123456; in TEST() local
1295 int64_t metricId = 123456; in TEST() local
1382 int64_t metricId = 123456; in TEST() local
[all …]
DValueMetric_pull_e2e_test.cpp34 const int64_t metricId = 123456; variable
663 int64_t metricId = 123456; in TEST() local
716 int64_t metricId = 123456; in TEST() local
775 int64_t metricId = 123456; in TEST() local
814 int64_t metricId = 123456; in TEST() local
843 int64_t metricId = 123456; in TEST() local
890 int64_t metricId = 123456; in TEST() local
DMetricActivation_e2e_test.cpp41 int64_t metricId = 123456; in CreateStatsdConfig() local
74 int64_t metricId = 123456; in CreateStatsdConfigWithOneDeactivation() local
111 int64_t metricId = 123456; in CreateStatsdConfigWithTwoDeactivations() local
146 int64_t metricId = 123456; in CreateStatsdConfigWithSameDeactivations() local
186 int64_t metricId = 123456; in CreateStatsdConfigWithTwoMetricsTwoDeactivations() local
DDurationMetric_e2e_test.cpp41 int64_t metricId = 123456; in TEST() local
124 int64_t metricId = 123456; in TEST() local
211 int64_t metricId = 123456; in TEST() local
1490 int64_t metricId = 123456; in TEST() local
1580 int64_t metricId = 123456; in TEST() local
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.cpp815 void StatsdStats::noteHardDimensionLimitReached(int64_t metricId) { in noteHardDimensionLimitReached()
820 void StatsdStats::noteLateLogEventSkipped(int64_t metricId) { in noteLateLogEventSkipped()
825 void StatsdStats::noteSkippedForwardBuckets(int64_t metricId) { in noteSkippedForwardBuckets()
830 void StatsdStats::noteBadValueType(int64_t metricId) { in noteBadValueType()
835 void StatsdStats::noteBucketDropped(int64_t metricId) { in noteBucketDropped()
840 void StatsdStats::noteBucketUnknownCondition(int64_t metricId) { in noteBucketUnknownCondition()
845 void StatsdStats::noteConditionChangeInNextBucket(int64_t metricId) { in noteConditionChangeInNextBucket()
850 void StatsdStats::noteInvalidatedBucket(int64_t metricId) { in noteInvalidatedBucket()
855 void StatsdStats::noteBucketCount(int64_t metricId) { in noteBucketCount()
860 void StatsdStats::noteBucketBoundaryDelayNs(int64_t metricId, int64_t timeDelayNs) { in noteBucketBoundaryDelayNs()
[all …]
/packages/modules/StatsD/statsd/src/subscriber/
DIncidentdReporter.cpp57 void getProtoData(const int64_t& rule_id, int64_t metricId, const MetricDimensionKey& dimensionKey, in getProtoData()
126 bool GenerateIncidentReport(const IncidentdDetails& config, int64_t rule_id, int64_t metricId, in GenerateIncidentReport()
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dmetrics_manager_util_test.cpp504 int64_t metricId = 1; in TEST_F() local
518 int64_t metricId = 1; in TEST_F() local
543 int64_t metricId = 1; in TEST_F() local
570 int64_t metricId = 1; in TEST_F() local
596 int64_t metricId = 1; in TEST_F() local
786 int64_t metricId = 1; in TEST_F() local
893 int64_t metricId = 1; in TEST_F() local
1061 int64_t metricId = 1; in TEST_F() local
1109 int64_t metricId = 1; in TEST_F() local
1121 int64_t metricId = 1; in TEST_F() local
[all …]
/packages/modules/StatsD/statsd/src/anomaly/
Dsubscriber_util.cpp31 void triggerSubscribers(const int64_t ruleId, const int64_t metricId, in triggerSubscribers()
DAnomalyTracker.cpp205 void AnomalyTracker::declareAnomaly(const int64_t timestampNs, int64_t metricId, in declareAnomaly()
246 int64_t metricId, const MetricDimensionKey& key, in detectAndDeclareAnomaly()
/packages/services/Car/service/src/com/android/car/telemetry/publisher/statsconverters/
DConfigMetricsReportListConverter.java95 Long metricId = statsReport.getMetricId(); in convert() local
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DMetricsLogger.java399 int metricId, String deviceName, boolean logRestrictedNames) { in logAllowlistedDeviceNameHash()
414 protected void statslogBluetoothDeviceNames(int metricId, String matchedString) { in statslogBluetoothDeviceNames()
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/observations/
DNonPrivateObservationGenerator.java65 int metricId, in NonPrivateObservationGenerator()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DMetricsLoggerTest.java109 protected void statslogBluetoothDeviceNames(int metricId, String matchedString) { in statslogBluetoothDeviceNames()
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dmetrics_manager_util.cpp221 const int64_t matcherId, const int64_t metricId, const int metricIndex, in handleMetricWithAtomMatchingTrackers()
246 const int64_t condition, const int64_t metricId, const int metricIndex, in handleMetricWithConditions()
287 const StatsdConfig& config, const int64_t metricId, in handleMetricWithStates()
311 optional<InvalidConfigReason> handleMetricWithStateLink(const int64_t metricId, in handleMetricWithStateLink()
324 const int64_t metricId, const DimensionalSamplingInfo& dimSamplingInfo, in handleMetricWithDimensionalSampling()
366 const StatsdConfig& config, const int64_t metricId, const int metricIndex, in handleMetricActivation()
426 const StatsdConfig& config, const int64_t metricId, const int metricIndex, in handleMetricActivationOnConfigUpdate()
1611 int64_t metricId = metricActivation.metric_id(); in initMetrics() local
/packages/modules/StatsD/apex/tests/libstatspull/src/com/android/internal/os/statsd/libstats/
DLibStatsPullTests.java281 long metricId = sConfigId + 100; in createAndAddConfigToStatsd() local

123