/packages/modules/StatsD/statsd/tests/metrics/ |
D | NumericValueMetricProducer_test.cpp | 313 vector<shared_ptr<LogEvent>> allData; in TEST() local 314 allData.clear(); in TEST() 315 allData.push_back(CreateRepeatedValueLogEvent(tagId, bucket2StartTimeNs + 1, 11)); in TEST() 317 valueProducer->onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucket2StartTimeNs); in TEST() 329 allData.clear(); in TEST() 330 allData.push_back(CreateRepeatedValueLogEvent(tagId, bucket3StartTimeNs + 1, 23)); in TEST() 331 valueProducer->onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucket3StartTimeNs); in TEST() 344 allData.clear(); in TEST() 345 allData.push_back(CreateRepeatedValueLogEvent(tagId, bucket4StartTimeNs + 1, 36)); in TEST() 346 valueProducer->onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucket4StartTimeNs); in TEST() [all …]
|
D | GaugeMetricProducer_test.cpp | 152 vector<shared_ptr<LogEvent>> allData; in TEST() local 153 allData.clear(); in TEST() 154 allData.push_back(makeLogEvent(tagId, bucket2StartTimeNs + 1, 10, "some value", 11)); in TEST() 156 gaugeProducer.onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucket2StartTimeNs); in TEST() 172 allData.clear(); in TEST() 173 allData.push_back(makeLogEvent(tagId, bucket3StartTimeNs + 10, 24, "some value", 25)); in TEST() 174 gaugeProducer.onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucket3StartTimeNs); in TEST() 339 vector<shared_ptr<LogEvent>> allData; in TEST_P() local 340 allData.push_back(CreateRepeatedValueLogEvent(tagId, bucketStartTimeNs + 1, 1)); in TEST_P() 341 gaugeProducer.onDataPulled(allData, PullResult::PULL_RESULT_SUCCESS, bucketStartTimeNs); in TEST_P() [all …]
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | NumericValueMetricProducer.cpp | 172 vector<shared_ptr<LogEvent>> allData; in pullAndMatchEventsLocked() local 173 if (!mPullerManager->Pull(mPullAtomId, mConfigKey, timestampNs, &allData)) { in pullAndMatchEventsLocked() 179 accumulateEvents(allData, timestampNs, timestampNs); in pullAndMatchEventsLocked() 189 void NumericValueMetricProducer::onDataPulled(const std::vector<std::shared_ptr<LogEvent>>& allData, in onDataPulled() argument 201 accumulateEvents(allData, originalPullTimeNs, originalPullTimeNs); in onDataPulled() 215 accumulateEvents(allData, originalPullTimeNs, bucketEndTimeNs); in onDataPulled() 243 void NumericValueMetricProducer::accumulateEvents(const vector<shared_ptr<LogEvent>>& allData, in accumulateEvents() argument 272 for (const auto& data : allData) { in accumulateEvents() 304 for (const auto& data : allData) { in accumulateEvents()
|
D | GaugeMetricProducer.cpp | 409 vector<std::shared_ptr<LogEvent>> allData; in pullAndMatchEventsLocked() local 410 if (!mPullerManager->Pull(mPullTagId, mConfigKey, timestampNs, &allData)) { in pullAndMatchEventsLocked() 421 for (const auto& data : allData) { in pullAndMatchEventsLocked() 501 void GaugeMetricProducer::onDataPulled(const std::vector<std::shared_ptr<LogEvent>>& allData, in onDataPulled() argument 504 if (pullResult != PullResult::PULL_RESULT_SUCCESS || allData.size() == 0) { in onDataPulled() 514 for (const auto& data : allData) { in onDataPulled()
|
D | NumericValueMetricProducer.h | 43 void onDataPulled(const std::vector<std::shared_ptr<LogEvent>>& allData, PullResult pullResult, 102 void accumulateEvents(const std::vector<std::shared_ptr<LogEvent>>& allData,
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/alldata/ |
D | AllDataViewModelTest.kt | 95 viewModel.allData.observeForever(testObserver) in <lambda>() 137 viewModel.allData.observeForever(testObserver) in <lambda>()
|
/packages/modules/AdServices/sdksandbox/framework/java/android/app/sdksandbox/ |
D | SharedPreferencesSyncManager.java | 183 final Map<String, ?> allData = pref.getAll(); in bulkSyncData() local 188 final Object value = allData.get(key); in bulkSyncData()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/alldata/ |
D | AllDataViewModel.kt | 51 val allData: LiveData<AllDataState> constant in com.android.healthconnect.controller.data.alldata.AllDataViewModel
|
D | AllDataFragment.kt | 137 viewModel.allData.observe(viewLifecycleOwner) { state -> in <lambda>()
|