Searched refs:StatsLogValue (Results 1 – 3 of 3) sorted by relevance
100 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 …]
32 struct StatsLogValue { struct44 StatsLogValue() : type(UNKNOWN) {} in StatsLogValue() argument46 StatsLogValue(int32_t v) { in StatsLogValue() function51 StatsLogValue(int64_t v) { in StatsLogValue() argument56 StatsLogValue(float v) { in StatsLogValue() function61 StatsLogValue(double v) { in StatsLogValue() function66 StatsLogValue(const std::string& v) { in StatsLogValue() argument107 const std::vector<StatsLogValue>& getElements() const { return mElements; } in getElements()118 std::vector<StatsLogValue> mElements;
81 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()