Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/storage/
DStorageManager_test.cpp35 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/
DStatsLog.java116 long trainVersionCode, int options, int state, in logBinaryPushStateChanged() argument
128 trainVersionCode, in logBinaryPushStateChanged()
/frameworks/base/cmds/statsd/src/logd/
DLogEvent.h32 int64_t trainVersionCode; member
66 explicit LogEvent(const std::string& trainName, int64_t trainVersionCode, bool requiresStaging,
DLogEvent.cpp73 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/
DStatsLogProcessor.cpp190 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/
DStorageManager.cpp177 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()