Home
last modified time | relevance | path

Searched refs:logfile_fd (Results 1 – 3 of 3) sorted by relevance

/system/bt/hci/src/
Dbtsnoop.cc95 static int logfile_fd = INVALID_FD; variable
240 if (logfile_fd != INVALID_FD) close(logfile_fd); in shut_down()
241 logfile_fd = INVALID_FD; in shut_down()
269 if (logfile_fd == INVALID_FD) return; in capture()
379 if (logfile_fd != INVALID_FD) { in open_next_snoop_file()
380 close(logfile_fd); in open_next_snoop_file()
381 logfile_fd = INVALID_FD; in open_next_snoop_file()
392 logfile_fd = open(log_path.c_str(), O_WRONLY | O_CREAT | O_TRUNC, in open_next_snoop_file()
395 if (logfile_fd == INVALID_FD) { in open_next_snoop_file()
401 write(logfile_fd, "btsnoop\0\0\0\0\1\0\0\x3\xea", 16); in open_next_snoop_file()
[all …]
Dhci_layer_android.cc217 int logfile_fd = open(LOG_PATH, O_WRONLY | O_CREAT | O_TRUNC, in hci_open_firmware_log_file() local
220 if (logfile_fd == INVALID_FD) { in hci_open_firmware_log_file()
225 return logfile_fd; in hci_open_firmware_log_file()
/system/bt/btif/src/
Dbtif_bqr.cc436 int logfile_fd = in OpenLmpLlTraceLogFile() local
440 if (logfile_fd == INVALID_FD) { in OpenLmpLlTraceLogFile()
446 return logfile_fd; in OpenLmpLlTraceLogFile()
471 int logfile_fd = in OpenBtSchedulingTraceLogFile() local
475 if (logfile_fd == INVALID_FD) { in OpenBtSchedulingTraceLogFile()
481 return logfile_fd; in OpenBtSchedulingTraceLogFile()