/packages/modules/StatsD/statsd/tests/metrics/ |
D | OringDurationTracker_test.cpp | 55 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 65 OringDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, 1, false, in TEST() 87 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 96 OringDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, 1, true, bucketStartTimeNs, in TEST() 118 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 127 OringDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, 1, true, bucketStartTimeNs, in TEST() 146 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 156 OringDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, 1, true, bucketStartTimeNs, in TEST() 183 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 188 EXPECT_CALL(*wizard, query(_, key1, _)) // #4 in TEST() [all …]
|
D | CountMetricProducer_test.cpp | 76 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 79 wizard, protoHash, 5, 600 * NS_PER_SEC + NS_PER_SEC / 2); in TEST() 96 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 99 wizard, protoHash, bucketStartTimeNs, bucketStartTimeNs); in TEST() 159 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 161 CountMetricProducer countProducer(kConfigKey, metric, 0, {ConditionState::kUnknown}, wizard, in TEST() 223 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 225 EXPECT_CALL(*wizard, query(_, key1, _)).WillOnce(Return(ConditionState::kFalse)); in TEST() 227 EXPECT_CALL(*wizard, query(_, key2, _)).WillOnce(Return(ConditionState::kTrue)); in TEST() 230 {ConditionState::kUnknown}, wizard, protoHash, in TEST() [all …]
|
D | DurationMetricProducer_test.cpp | 67 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 78 wizard, protoHash, dimensions, 5, 600 * NS_PER_SEC + NS_PER_SEC / 2); in TEST() 86 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 106 wizard, protoHash, dimensions, bucketStartTimeNs, bucketStartTimeNs); in TEST() 125 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 149 3 /* stop_all index */, false /*nesting*/, wizard, protoHash, dimensions, in TEST() 176 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 200 3 /* stop_all index */, false /*nesting*/, wizard, protoHash, dimensions, in TEST() 242 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST_P() local 248 wizard, protoHash, dimensions, bucketStartTimeNs, bucketStartTimeNs); in TEST_P() [all …]
|
D | EventMetricProducer_test.cpp | 78 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST_F() local 81 wizard, protoHash, bucketStartTimeNs); in TEST_F() 115 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST_F() local 118 {ConditionState::kUnknown}, wizard, protoHash, in TEST_F() 168 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST_F() local 170 EXPECT_CALL(*wizard, query(_, key1, _)).WillOnce(Return(ConditionState::kFalse)); in TEST_F() 172 EXPECT_CALL(*wizard, query(_, key2, _)).WillOnce(Return(ConditionState::kTrue)); in TEST_F() 175 {ConditionState::kUnknown}, wizard, protoHash, in TEST_F() 211 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST_F() local 213 wizard, protoHash, bucketStartTimeNs); in TEST_F() [all …]
|
D | MaxDurationTracker_test.cpp | 58 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 67 MaxDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, -1, false, bucketStartTimeNs, in TEST() 91 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 101 MaxDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, -1, false, bucketStartTimeNs, in TEST() 125 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 135 MaxDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, -1, false, bucketStartTimeNs, in TEST() 164 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 174 MaxDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, -1, true, bucketStartTimeNs, in TEST() 199 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 219 MaxDurationTracker tracker(kConfigKey, metricId, eventKey, wizard, 1, false, bucketStartTimeNs, in TEST() [all …]
|
D | GaugeMetricProducer_test.cpp | 95 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 105 wizard, protoHash, logEventMatcherIndex, eventMatcherWizard, in TEST() 126 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 144 wizard, protoHash, logEventMatcherIndex, eventMatcherWizard, in TEST() 225 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST_P() local 232 wizard, protoHash, logEventMatcherIndex, eventMatcherWizard, in TEST_P() 308 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST_P() local 327 wizard, protoHash, logEventMatcherIndex, eventMatcherWizard, in TEST_P() 383 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 395 wizard, protoHash, logEventMatcherIndex, eventMatcherWizard, in TEST() [all …]
|
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/ |
D | metrics_manager_util.cpp | 360 const vector<ConditionState>& initialConditionCache, const sp<ConditionWizard>& wizard, in createCountMetricProducerAndUpdateMetadata() argument 430 return {new CountMetricProducer(key, metric, conditionIndex, initialConditionCache, wizard, in createCountMetricProducerAndUpdateMetadata() 442 const vector<ConditionState>& initialConditionCache, const sp<ConditionWizard>& wizard, in createDurationMetricProducerAndUpdateMetadata() argument 566 stopAllIndex, nesting, wizard, metricHash, internalDimensions, timeBaseNs, in createDurationMetricProducerAndUpdateMetadata() 582 const vector<ConditionState>& initialConditionCache, const sp<ConditionWizard>& wizard, in createEventMetricProducerAndUpdateMetadata() argument 627 return {new EventMetricProducer(key, metric, conditionIndex, initialConditionCache, wizard, in createEventMetricProducerAndUpdateMetadata() 640 const vector<ConditionState>& initialConditionCache, const sp<ConditionWizard>& wizard, in createNumericValueMetricProducerAndUpdateMetadata() argument 753 {conditionIndex, metric.links(), initialConditionCache, wizard}, in createNumericValueMetricProducerAndUpdateMetadata() 766 const vector<ConditionState>& initialConditionCache, const sp<ConditionWizard>& wizard, in createKllMetricProducerAndUpdateMetadata() argument 871 {conditionIndex, metric.links(), initialConditionCache, wizard}, in createKllMetricProducerAndUpdateMetadata() [all …]
|
D | config_update_utils.cpp | 628 const unordered_map<int64_t, int>& conditionTrackerMap, const sp<ConditionWizard>& wizard, in updateMetric() argument 648 matcherWizard, allConditionTrackers, conditionTrackerMap, wizard, in updateMetric() 680 sp<ConditionWizard> wizard = new ConditionWizard(allConditionTrackers); in updateMetrics() local 718 allConditionTrackers, conditionTrackerMap, wizard, oldMetricProducerMap, in updateMetrics() 731 conditionTrackerMap, initialConditionCache, wizard, stateAtomIdMap, in updateMetrics() 757 allConditionTrackers, conditionTrackerMap, wizard, oldMetricProducerMap, in updateMetrics() 770 conditionTrackerMap, initialConditionCache, wizard, stateAtomIdMap, in updateMetrics() 796 allConditionTrackers, conditionTrackerMap, wizard, oldMetricProducerMap, in updateMetrics() 809 initialConditionCache, wizard, metricToActivationMap, trackerToMetricMap, in updateMetrics() 835 allConditionTrackers, conditionTrackerMap, wizard, oldMetricProducerMap, in updateMetrics() [all …]
|
D | metrics_manager_util.h | 105 const std::vector<ConditionState>& initialConditionCache, const sp<ConditionWizard>& wizard, 124 const std::vector<ConditionState>& initialConditionCache, const sp<ConditionWizard>& wizard, 143 const std::vector<ConditionState>& initialConditionCache, const sp<ConditionWizard>& wizard, 161 const std::vector<ConditionState>& initialConditionCache, const sp<ConditionWizard>& wizard, 182 const std::vector<ConditionState>& initialConditionCache, const sp<ConditionWizard>& wizard, 201 const vector<ConditionState>& initialConditionCache, const sp<ConditionWizard>& wizard,
|
/packages/modules/StatsD/statsd/src/metrics/duration_helper/ |
D | DurationTracker.h | 72 sp<ConditionWizard> wizard, int conditionIndex, bool nesting, in DurationTracker() argument 79 mWizard(wizard), in DurationTracker() 93 void onConfigUpdated(const sp<ConditionWizard>& wizard, const int conditionTrackerIndex) { in onConfigUpdated() argument 95 mWizard = wizard; in onConfigUpdated()
|
D | MaxDurationTracker.cpp | 29 sp<ConditionWizard> wizard, int conditionIndex, bool nesting, in MaxDurationTracker() argument 34 : DurationTracker(key, id, eventKey, wizard, conditionIndex, nesting, currentBucketStartNs, in MaxDurationTracker()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | EventMetricProducer.cpp | 61 const vector<ConditionState>& initialConditionCache, const sp<ConditionWizard>& wizard, in EventMetricProducer() argument 67 : MetricProducer(metric.id(), key, startTimeNs, conditionIndex, initialConditionCache, wizard, in EventMetricProducer() 96 const unordered_map<int64_t, int>& conditionTrackerMap, const sp<ConditionWizard>& wizard, in onConfigUpdatedLocked() argument 106 allConditionTrackers, conditionTrackerMap, wizard, metricToActivationMap, in onConfigUpdatedLocked()
|
D | MetricProducer.cpp | 50 const sp<ConditionWizard>& wizard, const uint64_t protoHash, in MetricProducer() argument 67 mWizard(wizard), in MetricProducer() 86 const unordered_map<int64_t, int>& conditionTrackerMap, const sp<ConditionWizard>& wizard, in onConfigUpdatedLocked() argument 94 mWizard = wizard; in onConfigUpdatedLocked()
|
D | EventMetricProducer.h | 39 const vector<ConditionState>& initialConditionCache, const sp<ConditionWizard>& wizard, 81 const sp<ConditionWizard>& wizard,
|
D | CountMetricProducer.cpp | 72 const vector<ConditionState>& initialConditionCache, const sp<ConditionWizard>& wizard, in CountMetricProducer() argument 78 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, initialConditionCache, wizard, in CountMetricProducer() 137 const unordered_map<int64_t, int>& conditionTrackerMap, const sp<ConditionWizard>& wizard, in onConfigUpdatedLocked() argument 147 allConditionTrackers, conditionTrackerMap, wizard, metricToActivationMap, in onConfigUpdatedLocked()
|
D | MetricProducer.h | 150 const sp<ConditionWizard>& wizard, const uint64_t protoHash, 177 const sp<ConditionWizard>& wizard, in onConfigUpdated() argument 188 wizard, metricToActivationMap, trackerToMetricMap, in onConfigUpdated() 264 const sp<ConditionWizard>& wizard,
|
D | CountMetricProducer.h | 46 const vector<ConditionState>& initialConditionCache, const sp<ConditionWizard>& wizard, 108 const sp<ConditionWizard>& wizard,
|
D | DurationMetricProducer.cpp | 72 const sp<ConditionWizard>& wizard, const uint64_t protoHash, in DurationMetricProducer() argument 78 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, initialConditionCache, wizard, in DurationMetricProducer() 176 const unordered_map<int64_t, int>& conditionTrackerMap, const sp<ConditionWizard>& wizard, in onConfigUpdatedLocked() argument 186 allConditionTrackers, conditionTrackerMap, wizard, metricToActivationMap, in onConfigUpdatedLocked() 241 it.second->onConfigUpdated(wizard, mConditionTrackerIndex); in onConfigUpdatedLocked()
|
D | DurationMetricProducer.h | 45 const sp<ConditionWizard>& wizard, const uint64_t protoHash, 134 const sp<ConditionWizard>& wizard,
|
D | GaugeMetricProducer.cpp | 77 const vector<ConditionState>& initialConditionCache, const sp<ConditionWizard>& wizard, in GaugeMetricProducer() argument 85 : MetricProducer(metric.id(), key, timeBaseNs, conditionIndex, initialConditionCache, wizard, in GaugeMetricProducer() 162 const unordered_map<int64_t, int>& conditionTrackerMap, const sp<ConditionWizard>& wizard, in onConfigUpdatedLocked() argument 172 allConditionTrackers, conditionTrackerMap, wizard, metricToActivationMap, in onConfigUpdatedLocked()
|
/packages/apps/Car/Settings/ |
D | Android.bp | 36 "car-setup-wizard-lib-utils", 114 "car-setup-wizard-lib-utils", 175 "car-setup-wizard-lib-utils",
|
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/ |
D | metrics_manager_util_test.cpp | 822 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 824 kConfigKey, metric, 0, {ConditionState::kUnknown}, wizard, 0x0123456789, 0, 0)}); in TEST() 841 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 843 kConfigKey, metric, 0, {ConditionState::kUnknown}, wizard, 0x0123456789, 0, 0)}); in TEST() 861 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 863 kConfigKey, metric, 0, {ConditionState::kUnknown}, wizard, 0x0123456789, 0, 0)}); in TEST() 884 sp<MockConditionWizard> wizard = new NaggyMock<MockConditionWizard>(); in TEST() local 888 wizard, 0x0123456789, dimensions, 0, 0)}); in TEST()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | README.txt | 47 …- Setup wizard opts user into allowing scanning for improved location. We show no further dialogs …
|
/packages/services/Car/packages/CarManagedProvisioning/ |
D | Android.bp | 46 "car-setup-wizard-lib",
|
/packages/apps/Car/Provision/ |
D | Android.bp | 27 "car-setup-wizard-lib",
|