Searched refs:btsnoop_ostream_ (Results 1 – 2 of 2) sorted by relevance
528 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()
342 std::ofstream btsnoop_ostream_; variable