Bluetooth: Clean up some messages am: 8ffcbc7797
am: 257a7d9874
am: ce7ca8910c
am: 19e8699702
Change-Id: I813d65e4686f4dede53bb2ff5fdbeda0c0fd35bf
This commit is contained in:
commit
0e1627a30e
1 changed files with 3 additions and 3 deletions
|
@ -139,7 +139,7 @@ class FirmwareStartupTimer {
|
||||||
std::chrono::steady_clock::now() - start_time_;
|
std::chrono::steady_clock::now() - start_time_;
|
||||||
double s = duration.count();
|
double s = duration.count();
|
||||||
if (s == 0) return;
|
if (s == 0) return;
|
||||||
ALOGD("Firmware configured in %.3fs", s);
|
ALOGI("Firmware configured in %.3fs", s);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -221,7 +221,7 @@ bool VendorInterface::Open(InitializeCompleteCallback initialize_complete_cb,
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
ALOGD("%s UART fd: %d", __func__, uart_fd_);
|
ALOGI("%s UART fd: %d", __func__, uart_fd_);
|
||||||
|
|
||||||
fd_watcher_.WatchFdForNonBlockingReads(uart_fd_,
|
fd_watcher_.WatchFdForNonBlockingReads(uart_fd_,
|
||||||
[this](int fd) { OnDataReady(fd); });
|
[this](int fd) { OnDataReady(fd); });
|
||||||
|
@ -305,7 +305,7 @@ void VendorInterface::OnDataReady(int fd) {
|
||||||
// TODO(eisenbach): Check for workaround(s)
|
// TODO(eisenbach): Check for workaround(s)
|
||||||
CHECK(hci_packet_type_ >= HCI_PACKET_TYPE_ACL_DATA &&
|
CHECK(hci_packet_type_ >= HCI_PACKET_TYPE_ACL_DATA &&
|
||||||
hci_packet_type_ <= HCI_PACKET_TYPE_EVENT)
|
hci_packet_type_ <= HCI_PACKET_TYPE_EVENT)
|
||||||
<< "buffer[0] = " << buffer[0];
|
<< "buffer[0] = " << static_cast<unsigned int>(buffer[0]);
|
||||||
hci_parser_state_ = HCI_TYPE_READY;
|
hci_parser_state_ = HCI_TYPE_READY;
|
||||||
hci_packet_.resize(HCI_PREAMBLE_SIZE_MAX);
|
hci_packet_.resize(HCI_PREAMBLE_SIZE_MAX);
|
||||||
hci_packet_bytes_remaining_ = preamble_size_for_type[hci_packet_type_];
|
hci_packet_bytes_remaining_ = preamble_size_for_type[hci_packet_type_];
|
||||||
|
|
Loading…
Reference in a new issue