Searched refs:trainVersionCode (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/cmds/statsd/tests/storage/ |
D | StorageManager_test.cpp | 35 trainInfo.trainVersionCode = 12345; in TEST() 51 EXPECT_EQ(trainInfo.trainVersionCode, trainInfoResult.trainVersionCode); in TEST() 61 trainInfo.trainVersionCode = 12345; in TEST() 77 EXPECT_EQ(trainInfo.trainVersionCode, trainInfoResult.trainVersionCode); in TEST()
|
/frameworks/base/apex/statsd/framework/java/android/util/ |
D | StatsLog.java | 116 long trainVersionCode, int options, int state, in logBinaryPushStateChanged() argument 128 trainVersionCode, in logBinaryPushStateChanged()
|
/frameworks/base/cmds/statsd/src/logd/ |
D | LogEvent.h | 32 int64_t trainVersionCode; member 66 explicit LogEvent(const std::string& trainName, int64_t trainVersionCode, bool requiresStaging,
|
D | LogEvent.cpp | 73 LogEvent::LogEvent(const string& trainName, int64_t trainVersionCode, bool requiresStaging, in LogEvent() argument 83 mValues.push_back(FieldValue(Field(mTagId, getSimpleField(2)), Value(trainVersionCode))); in LogEvent() 100 FieldValue(Field(mTagId, getSimpleField(1)), Value(trainInfo.trainVersionCode))); in LogEvent()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsLogProcessor.cpp | 190 trainInfo.trainVersionCode = event->GetLong(2 /*train version field id*/, &err); in onBinaryPushStateChangedEventLocked() 220 event->updateValue(2 /*train version field id*/, trainInfo.trainVersionCode, LONG); in onBinaryPushStateChangedEventLocked() 251 if (trainInfo->trainVersionCode == -1) { in getAndUpdateTrainInfoOnDisk() 252 trainInfo->trainVersionCode = trainInfoOnDisk.trainVersionCode; in getAndUpdateTrainInfoOnDisk() 253 } else if (trainInfo->trainVersionCode != trainInfoOnDisk.trainVersionCode) { in getAndUpdateTrainInfoOnDisk()
|
/frameworks/base/cmds/statsd/src/storage/ |
D | StorageManager.cpp | 177 const size_t trainVersionCodeByteCount = sizeof(trainInfo.trainVersionCode); in writeTrainInfo() 178 result = write(fd, &trainInfo.trainVersionCode, trainVersionCodeByteCount); in writeTrainInfo() 296 const size_t trainVersionCodeByteCount(sizeof(trainInfo.trainVersionCode)); in readTrainInfoLocked() 297 result = read(fd, &trainInfo.trainVersionCode, trainVersionCodeByteCount); in readTrainInfoLocked()
|