Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/storage/
DStorageManager_test.cpp38 trainInfo.experimentIds.assign(expIds, expIds + strlen(expIds)); in TEST()
43 trainInfo.status, trainInfo.experimentIds); in TEST()
55 EXPECT_EQ(trainInfo.experimentIds.size(), trainInfoResult.experimentIds.size()); in TEST()
56 EXPECT_EQ(trainInfo.experimentIds, trainInfoResult.experimentIds); in TEST()
65 trainInfo.experimentIds.assign(expIds, expIds + strlen(expIds)); in TEST()
70 trainInfo.status, trainInfo.experimentIds); in TEST()
82 EXPECT_EQ(trainInfo.experimentIds.size(), trainInfoResult.experimentIds.size()); in TEST()
83 EXPECT_EQ(trainInfo.experimentIds, trainInfoResult.experimentIds); in TEST()
92 trainInfo.experimentIds.assign(expIds, expIds + strlen(expIds)); in TEST()
97 trainInfo.status, trainInfo.experimentIds); in TEST()
[all …]
/frameworks/base/cmds/statsd/src/
DStatsService.cpp868 vector<int64_t> experimentIds; in cmd_log_binary_push() local
873 experimentIds.push_back(experimentId); in cmd_log_binary_push()
877 sendBinaryPushStateChangedAtom(trainName, trainVersion, options, state, experimentIds); in cmd_log_binary_push()
1346 (trainInfoOnDisk.experimentIds.empty() || in sendBinaryPushStateChangedAtom()
1347 experimentIdsIn[0] != trainInfoOnDisk.experimentIds[0])) { in sendBinaryPushStateChangedAtom()
1353 std::vector<int64_t> experimentIds; in sendBinaryPushStateChangedAtom() local
1355 experimentIds = experimentIdsIn; in sendBinaryPushStateChangedAtom()
1357 experimentIds = trainInfoOnDisk.experimentIds; in sendBinaryPushStateChangedAtom()
1360 if (!experimentIds.empty()) { in sendBinaryPushStateChangedAtom()
1361 int64_t firstId = experimentIds[0]; in sendBinaryPushStateChangedAtom()
[all …]
/frameworks/base/cmds/statsd/src/logd/
DLogEvent.h58 std::vector<int64_t> experimentIds; member
106 const std::vector<uint8_t>& experimentIds, int32_t userId);
235 void writeExperimentIdsToProto(const std::vector<int64_t>& experimentIds, std::vector<uint8_t>* pro…
DLogEvent.cpp192 const std::vector<uint8_t>& experimentIds, int32_t userId) { in LogEvent() argument
205 mValues.push_back(FieldValue(Field(mTagId, getSimpleField(7)), Value(experimentIds))); in LogEvent()
218 writeExperimentIdsToProto(trainInfo.experimentIds, &experimentIdsProto); in LogEvent()
650 void writeExperimentIdsToProto(const std::vector<int64_t>& experimentIds, in writeExperimentIdsToProto() argument
653 for (const auto& expId : experimentIds) { in writeExperimentIdsToProto()
/frameworks/base/core/java/android/util/
DStatsLog.java151 @NonNull long[] experimentIds) { in logBinaryPushStateChanged() argument
162 trainName, trainVersionCode, options, state, experimentIds); in logBinaryPushStateChanged()
/frameworks/base/cmds/statsd/src/storage/
DStorageManager.h56 int32_t status, const std::vector<int64_t>& experimentIds);
DStorageManager.cpp127 int32_t status, const std::vector<int64_t>& experimentIds) { in writeTrainInfo() argument
185 const size_t experimentIdsCount = experimentIds.size(); in writeTrainInfo()
196 const int64_t experimentId = experimentIds[i]; in writeTrainInfo()
297 trainInfo.experimentIds.push_back(experimentId); in readTrainInfo()