Home
last modified time | relevance | path

Searched refs:trainName (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/cmds/statsd/tests/storage/
DStorageManager_test.cpp35 trainInfo.trainName = "This is a train name #)$(&&$"; in TEST()
42 result = StorageManager::writeTrainInfo(trainInfo.trainVersionCode, trainInfo.trainName, in TEST()
52 EXPECT_EQ(trainInfo.trainName.size(), trainInfoResult.trainName.size()); in TEST()
53 EXPECT_EQ(trainInfo.trainName, trainInfoResult.trainName); in TEST()
62 trainInfo.trainName = ""; in TEST()
69 result = StorageManager::writeTrainInfo(trainInfo.trainVersionCode, trainInfo.trainName, in TEST()
79 EXPECT_EQ(trainInfo.trainName.size(), trainInfoResult.trainName.size()); in TEST()
80 EXPECT_EQ(trainInfo.trainName, trainInfoResult.trainName); in TEST()
89 trainInfo.trainName = "{"; in TEST()
96 result = StorageManager::writeTrainInfo(trainInfo.trainVersionCode, trainInfo.trainName, in TEST()
[all …]
/frameworks/base/core/java/android/util/
DStatsLog.java149 public static boolean logBinaryPushStateChanged(@NonNull String trainName, in logBinaryPushStateChanged() argument
162 trainName, trainVersionCode, options, state, experimentIds); in logBinaryPushStateChanged()
/frameworks/base/cmds/statsd/src/logd/
DLogEvent.h56 std::string trainName; member
104 explicit LogEvent(const std::string& trainName, int64_t trainVersionCode, bool requiresStaging,
DLogEvent.cpp190 LogEvent::LogEvent(const string& trainName, int64_t trainVersionCode, bool requiresStaging, in LogEvent() argument
198 mValues.push_back(FieldValue(Field(mTagId, getSimpleField(1)), Value(trainName))); in LogEvent()
220 mValues.push_back(FieldValue(Field(mTagId, getSimpleField(3)), Value(trainInfo.trainName))); in LogEvent()
/frameworks/base/cmds/statsd/src/storage/
DStorageManager.cpp126 bool StorageManager::writeTrainInfo(int64_t trainVersionCode, const std::string& trainName, in writeTrainInfo() argument
158 const size_t trainNameSize = trainName.size(); in writeTrainInfo()
168 result = write(fd, trainName.c_str(), trainNameSize); in writeTrainInfo()
262 trainInfo.trainName.resize(trainNameSize); in readTrainInfo()
263 result = read(fd, trainInfo.trainName.data(), trainNameSize); in readTrainInfo()
DStorageManager.h55 static bool writeTrainInfo(int64_t trainVersionCode, const std::string& trainName,
/frameworks/base/core/java/android/os/
DIStatsManager.aidl220 oneway void sendBinaryPushStateChangedAtom(in String trainName, in long trainVersionCode, in sendBinaryPushStateChangedAtom() argument
/frameworks/base/cmds/statsd/src/
DStatsService.cpp855 android::String16 trainName = android::String16(args[1].c_str()); in cmd_log_binary_push() local
877 sendBinaryPushStateChangedAtom(trainName, trainVersion, options, state, experimentIds); in cmd_log_binary_push()
1338 trainNameUtf8 = trainInfoOnDisk.trainName; in sendBinaryPushStateChangedAtom()
1339 } else if (trainNameUtf8 != trainInfoOnDisk.trainName) { in sendBinaryPushStateChangedAtom()
1446 StorageManager::writeTrainInfo(trainInfoOnDisk.trainVersionCode, trainInfoOnDisk.trainName, in sendWatchdogRollbackOccurredAtom()