Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/storage/
DStorageManager_test.cpp34 trainInfo.trainVersionCode = 12345; in TEST()
42 result = StorageManager::writeTrainInfo(trainInfo.trainVersionCode, trainInfo.trainName, in TEST()
51 EXPECT_EQ(trainInfo.trainVersionCode, trainInfoResult.trainVersionCode); in TEST()
61 trainInfo.trainVersionCode = 12345; in TEST()
69 result = StorageManager::writeTrainInfo(trainInfo.trainVersionCode, trainInfo.trainName, in TEST()
78 EXPECT_EQ(trainInfo.trainVersionCode, trainInfoResult.trainVersionCode); in TEST()
88 trainInfo.trainVersionCode = 12345; in TEST()
96 result = StorageManager::writeTrainInfo(trainInfo.trainVersionCode, trainInfo.trainName, in TEST()
105 EXPECT_EQ(trainInfo.trainVersionCode, trainInfoResult.trainVersionCode); in TEST()
/frameworks/base/core/java/android/util/
DStatsLog.java150 long trainVersionCode, int options, int state, in logBinaryPushStateChanged() argument
162 trainName, trainVersionCode, options, state, experimentIds); in logBinaryPushStateChanged()
/frameworks/base/cmds/statsd/src/logd/
DLogEvent.h60 int64_t trainVersionCode; member
109 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
199 mValues.push_back(FieldValue(Field(mTagId, getSimpleField(2)), Value(trainVersionCode))); in LogEvent()
247 FieldValue(Field(mTagId, getSimpleField(1)), Value(trainInfo.trainVersionCode))); in LogEvent()
/frameworks/base/cmds/statsd/src/storage/
DStorageManager.cpp128 bool StorageManager::writeTrainInfo(int64_t trainVersionCode, const std::string& trainName, in writeTrainInfo() argument
151 const size_t trainVersionCodeByteCount = sizeof(trainVersionCode); in writeTrainInfo()
152 result = write(fd, &trainVersionCode, trainVersionCodeByteCount); in writeTrainInfo()
246 const size_t trainVersionCodeByteCount(sizeof(trainInfo.trainVersionCode)); in readTrainInfo()
247 result = read(fd, &trainInfo.trainVersionCode, trainVersionCodeByteCount); 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.cpp1321 int64_t trainVersionCode = trainVersionCodeIn; in sendBinaryPushStateChangedAtom() local
1326 trainVersionCode = trainInfoOnDisk.trainVersionCode; in sendBinaryPushStateChangedAtom()
1327 } else if (trainVersionCodeIn != trainInfoOnDisk.trainVersionCode) { in sendBinaryPushStateChangedAtom()
1374 StorageManager::writeTrainInfo(trainVersionCode, trainNameUtf8, state, experimentIds); in sendBinaryPushStateChangedAtom()
1380 LogEvent event(trainNameUtf8, trainVersionCode, requiresStaging, rollbackEnabled, in sendBinaryPushStateChangedAtom()
1438 StorageManager::writeTrainInfo(trainInfoOnDisk.trainVersionCode, trainInfoOnDisk.trainName, in sendWatchdogRollbackOccurredAtom()