Home
last modified time | relevance | path

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

/system/bt/gd/packet/
Dbyte_observer.cc22 ByteObserver::ByteObserver(const std::function<void(uint8_t)>& on_byte, const std::function<uint64_… in ByteObserver() function in bluetooth::packet::ByteObserver
25 void ByteObserver::OnByte(uint8_t byte) { in OnByte()
29 uint64_t ByteObserver::GetValue() { in GetValue()
Dbyte_inserter.h36 void RegisterObserver(const ByteObserver& observer);
38 ByteObserver UnregisterObserver();
44 std::vector<ByteObserver> registered_observers_;
Dbyte_inserter.cc30 void ByteInserter::RegisterObserver(const ByteObserver& observer) { in RegisterObserver()
34 ByteObserver ByteInserter::UnregisterObserver() { in UnregisterObserver()
35 ByteObserver observer = registered_observers_.back(); in UnregisterObserver()
Dbyte_observer.h25 class ByteObserver {
27ByteObserver(const std::function<void(uint8_t)>& on_byte_, const std::function<uint64_t()>& get_va…
Dbit_inserter_unittest.cc53 …it.RegisterObserver(ByteObserver([&copy](uint8_t byte) { copy.push_back(byte); }, [checksum]() { r… in TEST()
72 ByteObserver observer = it.UnregisterObserver(); in TEST()
Dfragmenting_inserter_unittest.cc66 …it.RegisterObserver(ByteObserver([&copy](uint8_t byte) { copy.push_back(byte); }, [checksum]() { r… in TEST()
90 ByteObserver observer = it.UnregisterObserver(); in TEST()