Home
last modified time | relevance | path

Searched refs:m_buffer (Results 1 – 2 of 2) sorted by relevance

/device/generic/goldfish/gnss/
Dgnss_hw_listener.cpp65 m_buffer.reserve(256); in GnssHwListener()
69 m_buffer.clear(); in reset()
73 if (c == '$' || !m_buffer.empty()) { in consume()
74 m_buffer.push_back(c); in consume()
79 if (parse(m_buffer.data() + 1, m_buffer.data() + m_buffer.size() - 2, ts)) { in consume()
81 hidl_string(m_buffer.data(), m_buffer.size())); in consume()
83 m_buffer.back() = 0; in consume()
85 __PRETTY_FUNCTION__, __LINE__, m_buffer.data()); in consume()
87 m_buffer.clear(); in consume()
88 } else if (m_buffer.size() >= 1024) { in consume()
[all …]
Dgnss_hw_listener.h36 std::vector<char> m_buffer; variable