Home
last modified time | relevance | path

Searched refs:SnoopLogger (Results 1 – 5 of 5) sorted by relevance

/system/bt/gd/hal/
Dhci_hal_android_hidl.cc52 InternalHciCallbacks(SnoopLogger* btsnoop_logger) : btsnoop_logger_(btsnoop_logger) { in InternalHciCallbacks()
77 …btsnoop_logger_->capture(received_hci_packet, SnoopLogger::Direction::INCOMING, SnoopLogger::Packe… in hciEventReceived()
86 …btsnoop_logger_->capture(received_hci_packet, SnoopLogger::Direction::INCOMING, SnoopLogger::Packe… in aclDataReceived()
95 …btsnoop_logger_->capture(received_hci_packet, SnoopLogger::Direction::INCOMING, SnoopLogger::Packe… in scoDataReceived()
105 SnoopLogger* btsnoop_logger_ = nullptr;
110 const std::string SnoopLogger::DefaultFilePath = "/data/misc/bluetooth/logs/btsnoop_hci.log";
111 const bool SnoopLogger::AlwaysFlush = false;
124 … btsnoop_logger_->capture(command, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::CMD); in sendHciCommand()
129 … btsnoop_logger_->capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::ACL); in sendAclData()
134 … btsnoop_logger_->capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::SCO); in sendScoData()
[all …]
Dsnoop_logger.cc71 SnoopLogger::SnoopLogger() { in SnoopLogger() function in bluetooth::hal::SnoopLogger
86 void SnoopLogger::SetFilePath(const std::string& filename) { in SetFilePath()
90 void SnoopLogger::capture(const HciPacket& packet, Direction direction, PacketType type) { in capture()
126 void SnoopLogger::ListDependencies(ModuleList* list) { in ListDependencies()
130 void SnoopLogger::Start() {} in Start()
132 void SnoopLogger::Stop() {} in Stop()
134 std::string SnoopLogger::file_path = SnoopLogger::DefaultFilePath;
136 const ModuleFactory SnoopLogger::Factory = ModuleFactory([]() { return new SnoopLogger(); }); in __anon726fad980402()
Dhci_hal_host_rootcanal.cc91 const std::string SnoopLogger::DefaultFilePath = "/tmp/btsnoop_hci.log";
92 const bool SnoopLogger::AlwaysFlush = true;
121 … btsnoop_logger_->capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::CMD); in sendHciCommand()
130 … btsnoop_logger_->capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::ACL); in sendAclData()
139 … btsnoop_logger_->capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::SCO); in sendScoData()
146 list->add<SnoopLogger>(); in ListDependencies()
158 btsnoop_logger_ = GetDependency<SnoopLogger>(); in Start()
194 SnoopLogger* btsnoop_logger_ = nullptr;
260 …btsnoop_logger_->capture(receivedHciPacket, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketT… in incoming_packet_received()
289 …btsnoop_logger_->capture(receivedHciPacket, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketT… in incoming_packet_received()
[all …]
Dsnoop_logger.h30 class SnoopLogger : public ::bluetooth::Module {
61 SnoopLogger();
/system/bt/gd/facade/
Dfacade_main.cc118 ::bluetooth::hal::SnoopLogger::SetFilePath(btsnoop_path); in main()