Home
last modified time | relevance | path

Searched refs:wizard (Results 1 – 25 of 44) sorted by relevance

12

/packages/modules/StatsD/statsd/tests/metrics/
DOringDurationTracker_test.cpp55 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 …]
DCountMetricProducer_test.cpp76 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 …]
DDurationMetricProducer_test.cpp67 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 …]
DEventMetricProducer_test.cpp78 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 …]
DMaxDurationTracker_test.cpp58 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 …]
DGaugeMetricProducer_test.cpp95 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/
Dmetrics_manager_util.cpp360 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 …]
Dconfig_update_utils.cpp628 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 …]
Dmetrics_manager_util.h105 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/
DDurationTracker.h72 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()
DMaxDurationTracker.cpp29 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/
DEventMetricProducer.cpp61 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()
DMetricProducer.cpp50 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()
DEventMetricProducer.h39 const vector<ConditionState>& initialConditionCache, const sp<ConditionWizard>& wizard,
81 const sp<ConditionWizard>& wizard,
DCountMetricProducer.cpp72 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()
DMetricProducer.h150 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,
DCountMetricProducer.h46 const vector<ConditionState>& initialConditionCache, const sp<ConditionWizard>& wizard,
108 const sp<ConditionWizard>& wizard,
DDurationMetricProducer.cpp72 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()
DDurationMetricProducer.h45 const sp<ConditionWizard>& wizard, const uint64_t protoHash,
134 const sp<ConditionWizard>& wizard,
DGaugeMetricProducer.cpp77 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/
DAndroid.bp36 "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/
Dmetrics_manager_util_test.cpp822 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/
DREADME.txt47 …- Setup wizard opts user into allowing scanning for improved location. We show no further dialogs …
/packages/services/Car/packages/CarManagedProvisioning/
DAndroid.bp46 "car-setup-wizard-lib",
/packages/apps/Car/Provision/
DAndroid.bp27 "car-setup-wizard-lib",

12