Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/hal/
Dsnoop_logger_test.cc115 using bluetooth::hal::SnoopLogger;
119 class TestSnoopLoggerModule : public SnoopLogger {
128 : SnoopLogger( in TestSnoopLoggerModule()
132 SnoopLogger::GetMaxPacketsPerBuffer(), in TestSnoopLoggerModule()
244 SnoopLogger::kBtSnoopLogModeFull, in TEST_F()
247 test_registry->InjectTestModule(&SnoopLogger::Factory, snoop_logger); in TEST_F()
262 SnoopLogger::kBtSnoopLogModeDisabled, in TEST_F()
265 test_registry->InjectTestModule(&SnoopLogger::Factory, snoop_logger); in TEST_F()
280 SnoopLogger::kBtSnoopLogModeFull, in TEST_F()
283 test_registry->InjectTestModule(&SnoopLogger::Factory, snoop_logger); in TEST_F()
[all …]
Dhci_hal_android.cc60 HciCallbacksImpl(SnoopLogger* btsnoop_logger, LinkClocker* link_clocker) in HciCallbacksImpl()
85 packet, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketType::EVT); in hciEventReceived()
95 packet, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketType::ACL); in aclDataReceived()
105 packet, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketType::SCO); in scoDataReceived()
115 packet, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketType::ISO); in isoDataReceived()
127 SnoopLogger* btsnoop_logger_;
142 packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::CMD); in sendHciCommand()
148 packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::ACL); in sendAclData()
154 packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::SCO); in sendScoData()
160 packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::ISO); in sendIsoData()
[all …]
Dsnoop_logger.cc297 kDefaultBtSnoozMaxBytesPerPacket - sizeof(SnoopLogger::PacketHeaderType);
308 std::vector<SnoopLogger::A2dpMediaChannel> a2dpMediaChannels;
371 const HciPacket& packet, SnoopLogger::PacketType type, bool qualcomm_debug_log_enabled) { in delete_old_btsnooz_files()
387 case SnoopLogger::PacketType::CMD: in delete_old_btsnooz_files()
388 case SnoopLogger::PacketType::EVT: in delete_old_btsnooz_files()
392 case SnoopLogger::PacketType::ACL: { in delete_old_btsnooz_files()
421 case SnoopLogger::PacketType::ISO: in delete_old_btsnooz_files()
422 case SnoopLogger::PacketType::SCO: in delete_old_btsnooz_files()
433 const std::string SnoopLogger::kBtSnoopMaxPacketsPerFileProperty = "persist.bluetooth.btsnoopsize";
434 const std::string SnoopLogger::kIsDebuggableProperty = "ro.debuggable";
[all …]
Dhci_hal_host_rootcanal.cc129 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::CMD); in sendHciCommand()
138 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::ACL); in sendAclData()
147 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::SCO); in sendScoData()
156 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::ISO); in sendIsoData()
164 list->add<SnoopLogger>(); in ListDependencies()
177 btsnoop_logger_ = GetDependency<SnoopLogger>(); in Start()
216 SnoopLogger* btsnoop_logger_ = nullptr;
288 …btsnoop_logger_->Capture(receivedHciPacket, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketT… in incoming_packet_received()
314 …btsnoop_logger_->Capture(receivedHciPacket, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketT… in incoming_packet_received()
340 …btsnoop_logger_->Capture(receivedHciPacket, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketT… in incoming_packet_received()
[all …]
Dhci_hal_host.cc254 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::CMD); in sendHciCommand()
263 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::ACL); in sendAclData()
272 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::SCO); in sendScoData()
281 … btsnoop_logger_->Capture(packet, SnoopLogger::Direction::OUTGOING, SnoopLogger::PacketType::ISO); in sendIsoData()
294 list->add<SnoopLogger>(); in ListDependencies()
315 btsnoop_logger_ = GetDependency<SnoopLogger>(); in Start()
354 SnoopLogger* btsnoop_logger_ = nullptr;
424 …btsnoop_logger_->Capture(receivedHciPacket, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketT… in incoming_packet_received()
454 …btsnoop_logger_->Capture(receivedHciPacket, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketT… in incoming_packet_received()
480 …btsnoop_logger_->Capture(receivedHciPacket, SnoopLogger::Direction::INCOMING, SnoopLogger::PacketT… in incoming_packet_received()
[all …]
Dsnoop_logger.h142 class SnoopLogger : public ::bluetooth::Module {
284 SnoopLogger(
/packages/modules/Bluetooth/system/stack/fuzzers/
Dl2cap_fuzzer.cc81 class SnoopLogger;
83 const std::string SnoopLogger::kBtSnoopLogModeFiltered = "filtered";
85 std::string SnoopLogger::GetBtSnoopMode() { return "filtered"; } in GetBtSnoopMode()
86 void SnoopLogger::AcceptlistL2capChannel(uint16_t, uint16_t, uint16_t) {} in AcceptlistL2capChannel()
87 void SnoopLogger::AddA2dpMediaChannel(uint16_t, uint16_t, uint16_t) {} in AddA2dpMediaChannel()
88 void SnoopLogger::AddRfcommL2capChannel(uint16_t, uint16_t, uint16_t) {} in AddRfcommL2capChannel()
89 void SnoopLogger::ClearL2capAcceptlist(uint16_t, uint16_t, uint16_t) {} in ClearL2capAcceptlist()
90 void SnoopLogger::RemoveA2dpMediaChannel(uint16_t, uint16_t) {} in RemoveA2dpMediaChannel()
91 void SnoopLogger::SetL2capChannelClose(uint16_t, uint16_t, uint16_t) {} in SetL2capChannelClose()
92 void SnoopLogger::SetL2capChannelOpen(uint16_t, uint16_t, uint16_t, uint16_t, in SetL2capChannelOpen()
/packages/modules/Bluetooth/system/main/shim/
Dentry.h37 class SnoopLogger; variable
74 hal::SnoopLogger* GetSnoopLogger();
Dentry.cc80 hal::SnoopLogger* GetSnoopLogger() { in GetSnoopLogger()
83 ->GetInstance<hal::SnoopLogger>(); in GetSnoopLogger()
/packages/modules/Bluetooth/system/gd/facade/
Dfacade_main.cc150 ::bluetooth::hal::SnoopLogger::kBtSnoopLogModeProperty, in main()
151 ::bluetooth::hal::SnoopLogger::kBtSnoopLogModeFull), in main()
/packages/modules/Bluetooth/system/test/headless/
Dconfig.cc29 LOG_CONSOLE("Flag: %s", SnoopLogger::kBtSnoopLogPersists.c_str()); in Help()
/packages/modules/Bluetooth/system/test/mock/
Dmock_main_shim_entry.cc64 hal::SnoopLogger* GetSnoopLogger() { return nullptr; } in GetSnoopLogger()
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_api.cc1664 bluetooth::hal::SnoopLogger* snoop_logger = bluetooth::shim::GetSnoopLogger(); in L2CA_SetMediaStreamChannel()