Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/hal/
Dsnoop_logger.cc528 if (btsnoop_ostream_.is_open()) { in CloseCurrentSnoopLogFile()
529 btsnoop_ostream_.flush(); in CloseCurrentSnoopLogFile()
530 btsnoop_ostream_.close(); in CloseCurrentSnoopLogFile()
554 btsnoop_ostream_.open(snoop_log_path_, std::ios::binary | std::ios::out); in OpenNextSnoopLogFile()
558 if (!btsnoop_ostream_.good()) { in OpenNextSnoopLogFile()
563 if (!btsnoop_ostream_.write( in OpenNextSnoopLogFile()
569 if (!btsnoop_ostream_.flush()) { in OpenNextSnoopLogFile()
1251 if (!btsnoop_ostream_.write(reinterpret_cast<const char*>(&header), sizeof(PacketHeaderType))) { in Capture()
1254 if (!btsnoop_ostream_.write(reinterpret_cast<const char*>(packet.data()), length - 1)) { in Capture()
1267 if (!btsnoop_ostream_.flush()) { in Capture()
Dsnoop_logger.h342 std::ofstream btsnoop_ostream_; variable