Home
last modified time | relevance | path

Searched refs:experimentIds (Results 1 – 7 of 7) sorted by relevance

/packages/modules/StatsD/statsd/tests/storage/
DStorageManager_test.cpp46 trainInfo.experimentIds.assign(expIds, expIds + strlen(expIds)); in TEST()
62 ASSERT_EQ(trainInfo.experimentIds.size(), trainInfoResult.experimentIds.size()); in TEST()
63 EXPECT_EQ(trainInfo.experimentIds, trainInfoResult.experimentIds); in TEST()
72 trainInfo.experimentIds.assign(expIds, expIds + strlen(expIds)); in TEST()
88 ASSERT_EQ(trainInfo.experimentIds.size(), trainInfoResult.experimentIds.size()); in TEST()
89 EXPECT_EQ(trainInfo.experimentIds, trainInfoResult.experimentIds); in TEST()
212 trainInfo.experimentIds.assign(expIds, expIds + strlen(expIds)); in TEST()
250 const int32_t experimentIdsCount = trainInfo.experimentIds.size(); in TEST()
257 const int64_t experimentId = trainInfo.experimentIds[i]; in TEST()
280 ASSERT_EQ(trainInfo.experimentIds.size(), trainInfoResult.experimentIds.size()); in TEST()
[all …]
/packages/modules/StatsD/statsd/src/
DStatsLogProcessor.cpp218 trainInfo.experimentIds = {trainExperimentIds.experiment_id().begin(), in onBinaryPushStateChangedEventLocked()
225 writeExperimentIdsToProto(trainInfo.experimentIds, &trainExperimentIdProto); in onBinaryPushStateChangedEventLocked()
267 if (!trainInfo->experimentIds.empty() && in getAndUpdateTrainInfoOnDisk()
268 (trainInfoOnDisk.experimentIds.empty() || in getAndUpdateTrainInfoOnDisk()
269 trainInfo->experimentIds.at(0) != trainInfoOnDisk.experimentIds[0])) { in getAndUpdateTrainInfoOnDisk()
276 trainInfo->experimentIds = trainInfoOnDisk.experimentIds; in getAndUpdateTrainInfoOnDisk()
279 if (!trainInfo->experimentIds.empty()) { in getAndUpdateTrainInfoOnDisk()
280 int64_t firstId = trainInfo->experimentIds.at(0); in getAndUpdateTrainInfoOnDisk()
281 auto& ids = trainInfo->experimentIds; in getAndUpdateTrainInfoOnDisk()
331 vector<int64_t> experimentIds = in onWatchdogRollbackOccurredLocked() local
[all …]
DStatsService.cpp874 vector<int64_t> experimentIds; in cmd_log_binary_push() local
879 experimentIds.push_back(experimentId); in cmd_log_binary_push()
884 writeExperimentIdsToProto(experimentIds, &experimentIdBytes); in cmd_log_binary_push()
1428 trainInfo.experimentIds.begin(), in getRegisteredExperimentIds()
1429 trainInfo.experimentIds.end()); in getRegisteredExperimentIds()
/packages/modules/StatsD/statsd/src/logd/
DLogEvent.h67 std::vector<int64_t> experimentIds; member
121 const std::vector<uint8_t>& experimentIds, int32_t userId);
386 void writeExperimentIdsToProto(const std::vector<int64_t>& experimentIds, std::vector<uint8_t>* pro…
DLogEvent.cpp62 const std::vector<uint8_t>& experimentIds, int32_t userId) { in LogEvent() argument
76 mValues.push_back(FieldValue(Field(mTagId, getSimpleField(7)), Value(experimentIds))); in LogEvent()
89 writeExperimentIdsToProto(trainInfo.experimentIds, &experimentIdsProto); in LogEvent()
788 void writeExperimentIdsToProto(const std::vector<int64_t>& experimentIds, in writeExperimentIdsToProto() argument
791 for (const auto& expId : experimentIds) { in writeExperimentIdsToProto()
/packages/modules/StatsD/framework/java/android/util/
DStatsLog.java410 @NonNull long[] experimentIds) { in logBinaryPushStateChanged() argument
412 for (long id : experimentIds) { in logBinaryPushStateChanged()
/packages/modules/StatsD/statsd/src/storage/
DStorageManager.cpp222 const size_t experimentIdsCount = trainInfo.experimentIds.size(); in writeTrainInfo()
233 const int64_t experimentId = trainInfo.experimentIds[i]; in writeTrainInfo()
395 trainInfo.experimentIds.push_back(experimentId); in readTrainInfoLocked()