Home
last modified time | relevance | path

Searched refs:StatsLogValue (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/services/src/os/
DStatsLogEventWrapper.cpp100 case StatsLogValue::INT: in readFromParcel()
101 mElements.push_back(StatsLogValue(in->readInt32())); in readFromParcel()
103 case StatsLogValue::LONG: in readFromParcel()
104 mElements.push_back(StatsLogValue(in->readInt64())); in readFromParcel()
106 case StatsLogValue::STRING: in readFromParcel()
108 StatsLogValue(std::string(String8(in->readString16()).string()))); in readFromParcel()
110 case StatsLogValue::FLOAT: in readFromParcel()
111 mElements.push_back(StatsLogValue(in->readFloat())); in readFromParcel()
113 case StatsLogValue::STORAGE: in readFromParcel()
114 mElements.push_back(StatsLogValue()); in readFromParcel()
[all …]
/frameworks/base/libs/services/include/android/os/
DStatsLogEventWrapper.h32 struct StatsLogValue { struct
44 StatsLogValue() : type(UNKNOWN) {} in StatsLogValue() argument
46 StatsLogValue(int32_t v) { in StatsLogValue() function
51 StatsLogValue(int64_t v) { in StatsLogValue() function
56 StatsLogValue(float v) { in StatsLogValue() argument
61 StatsLogValue(double v) { in StatsLogValue() function
66 StatsLogValue(const std::string& v) { in StatsLogValue() argument
107 const std::vector<StatsLogValue>& getElements() const { return mElements; } in getElements()
118 std::vector<StatsLogValue> mElements;
/frameworks/base/cmds/statsd/src/logd/
DLogEvent.cpp81 case android::os::StatsLogValue::STATS_LOG_VALUE_TYPE::INT: in LogEvent()
85 case android::os::StatsLogValue::STATS_LOG_VALUE_TYPE::LONG: in LogEvent()
89 case android::os::StatsLogValue::STATS_LOG_VALUE_TYPE::FLOAT: in LogEvent()
93 case android::os::StatsLogValue::STATS_LOG_VALUE_TYPE::DOUBLE: in LogEvent()
97 case android::os::StatsLogValue::STATS_LOG_VALUE_TYPE::STRING: in LogEvent()
101 case android::os::StatsLogValue::STATS_LOG_VALUE_TYPE::STORAGE: in LogEvent()