/system/bt/gd/l2cap/classic/internal/ |
D | fixed_channel_impl.cc | 33 ASSERT_LOG(cid_ >= kFirstFixedChannel && cid_ <= kLastFixedChannel, "Invalid cid: %d", cid_); in FixedChannelImpl() 40 ASSERT_LOG(user_handler_ == nullptr, "OnCloseCallback can only be registered once"); in RegisterOnCloseCallback() 51 …ASSERT_LOG(!closed_, "Device %s Cid 0x%x closed twice, old status 0x%x, new status 0x%x", device_.… in OnClosed() 68 ASSERT_LOG(user_handler_ != nullptr, "Must register OnCloseCallback before calling any methods"); in Acquire() 83 ASSERT_LOG(user_handler_ != nullptr, "Must register OnCloseCallback before calling any methods"); in Release()
|
/system/bt/gd/l2cap/le/internal/ |
D | fixed_channel_impl.cc | 41 ASSERT_LOG(cid_ >= kFirstFixedChannel && cid_ <= kLastFixedChannel, "Invalid cid: %d", cid_); in FixedChannelImpl() 48 ASSERT_LOG(user_handler_ == nullptr, "OnCloseCallback can only be registered once"); in RegisterOnCloseCallback() 59 …ASSERT_LOG(!closed_, "Device %s Cid 0x%x closed twice, old status 0x%x, new status 0x%x", device_.… in OnClosed() 76 ASSERT_LOG(user_handler_ != nullptr, "Must register OnCloseCallback before calling any methods"); in Acquire() 91 ASSERT_LOG(user_handler_ != nullptr, "Must register OnCloseCallback before calling any methods"); in Release()
|
/system/bt/gd/l2cap/internal/ |
D | fixed_channel_allocator.h | 47 …ASSERT_LOG(!IsChannelAllocated((cid)), "Cid 0x%x for link %s is already in use", cid, link_->ToStr… in AllocateChannel() 48 ASSERT_LOG(cid >= kFirstFixedChannel && cid <= kLastFixedChannel, "Cid %d out of bound", cid); in AllocateChannel() 50 …ASSERT_LOG(elem.second, "Failed to create channel for cid 0x%x link %s", cid, link_->ToString().c_… in AllocateChannel() 57 …ASSERT_LOG(IsChannelAllocated(cid), "Channel is not in use: cid %d, link %s", cid, link_->ToString… in FreeChannel() 66 …ASSERT_LOG(IsChannelAllocated(cid), "Channel is not in use: cid %d, link %s", cid, link_->ToString… in FindChannel()
|
D | dynamic_channel_allocator.cc | 32 ASSERT_LOG(IsPsmValid(psm), "Psm 0x%x is invalid", psm); in AllocateChannel() 48 ASSERT_LOG(elem.second, "Failed to create channel for psm 0x%x device %s", psm, in AllocateChannel() 59 ASSERT_LOG(IsPsmValid(psm), "Psm 0x%x is invalid", psm); in AllocateReservedChannel() 67 ASSERT_LOG(elem.second, "Failed to create channel for psm 0x%x device %s", psm, in AllocateReservedChannel()
|
D | dynamic_channel_impl.cc | 49 ASSERT_LOG(user_handler_ == nullptr, "OnCloseCallback can only be registered once"); in RegisterOnCloseCallback() 64 …ASSERT_LOG(!closed_, "Device %s Cid 0x%x closed twice, old status 0x%x, new status 0x%x", device_.… in OnClosed()
|
/system/bt/gd/os/linux_generic/ |
D | reactive_semaphore.cc | 37 ASSERT_LOG(close_status != -1, "close failed: %s", strerror(errno)); in ~ReactiveSemaphore() 43 ASSERT_LOG(read_result != -1, "decrease failed: %s", strerror(errno)); in Decrease() 49 ASSERT_LOG(write_result != -1, "increase failed: %s", strerror(errno)); in Increase()
|
D | handler.cc | 46 ASSERT_LOG(was_cleared(), "Handlers must be cleared before they are destroyed"); in ~Handler() 71 ASSERT_LOG(!was_cleared(), "Handlers must only be cleared once"); in Clear() 99 ASSERT_LOG(read_result != -1, "eventfd read error %d %s", errno, strerror(errno)); in handle_next_event()
|
/system/bt/gd/hal/ |
D | hci_hal_host_rootcanal.cc | 231 ASSERT_LOG(received_size != -1, "Can't receive from socket: %s", strerror(errno)); in incoming_packet_received() 240 ASSERT_LOG(received_size != -1, "Can't receive from socket: %s", strerror(errno)); in incoming_packet_received() 241 ASSERT_LOG(received_size == kHciEvtHeaderSize, "malformed HCI event header received"); in incoming_packet_received() 247 ASSERT_LOG(payload_size != -1, "Can't receive from socket: %s", strerror(errno)); in incoming_packet_received() 248 ASSERT_LOG(payload_size == hci_evt_parameter_total_length, in incoming_packet_received() 267 ASSERT_LOG(received_size != -1, "Can't receive from socket: %s", strerror(errno)); in incoming_packet_received() 268 ASSERT_LOG(received_size == kHciAclHeaderSize, "malformed ACL header received"); in incoming_packet_received() 273 ASSERT_LOG(payload_size != -1, "Can't receive from socket: %s", strerror(errno)); in incoming_packet_received() 274 …ASSERT_LOG(payload_size == hci_acl_data_total_length, "malformed ACL length received: %d != %d", p… in incoming_packet_received() 276 …ASSERT_LOG(hci_acl_data_total_length <= kBufSize - kH4HeaderSize - kHciAclHeaderSize, "packet too … in incoming_packet_received() [all …]
|
/system/bt/gd/hci/ |
D | device_database.cc | 73 ASSERT_LOG(WriteToDisk(), "Failed to write data to disk!"); in RemoveDevice() 90 ASSERT_LOG(WriteToDisk(), "Failed to write data to disk!"); in RemoveDevice() 112 ASSERT_LOG(WriteToDisk(), "Failed to write data to disk!"); in RemoveDevice() 156 ASSERT_LOG(RemoveDevice(device), "Failed to remove the device!"); in UpdateDeviceAddress() 163 ASSERT_LOG(RemoveDevice(device), "Failed to remove the device!"); in UpdateDeviceAddress() 170 ASSERT_LOG(RemoveDevice(device), "Failed to remove the device!"); in UpdateDeviceAddress() 199 ASSERT_LOG(WriteToDisk(), "Failed to write data to disk!"); in AddDeviceToMap() 225 ASSERT_LOG(WriteToDisk(), "Failed to write data to disk!"); in AddDeviceToMap() 251 ASSERT_LOG(WriteToDisk(), "Failed to write data to disk!"); in AddDeviceToMap()
|
D | hci_layer.cc | 96 ASSERT_LOG(false, "Timed out waiting for 0x%02hx (%s)", op_code, OpCodeText(op_code).c_str()); in on_hci_timeout() 246 ASSERT_LOG(!command_queue_.empty(), "Unexpected status event with OpCode 0x%02hx (%s)", op_code, in command_status_callback() 248 …ASSERT_LOG(waiting_command_ == op_code, "Waiting for 0x%02hx (%s), got 0x%02hx (%s)", waiting_comm… in command_status_callback() 250 ASSERT_LOG(command_queue_.front().waiting_for_status_, in command_status_callback() 270 …ASSERT_LOG(command_queue_.size() > 0, "Unexpected command complete with OpCode 0x%02hx (%s)", op_c… in command_complete_callback() 272 …ASSERT_LOG(waiting_command_ == op_code, "Waiting for 0x%02hx (%s), got 0x%02hx (%s)", waiting_comm… in command_complete_callback() 274 ASSERT_LOG(!command_queue_.front().waiting_for_status_, in command_complete_callback() 289 ASSERT_LOG(subevent_handlers_.find(subevent_code) != subevent_handlers_.end(), in le_meta_event_callback() 305 …ASSERT_LOG(event_handlers_.find(event_code) != event_handlers_.end(), "Unhandled event of type 0x%… in hci_event_received_handler() 383 …ASSERT_LOG(event_handlers_.count(event_code) == 0, "Can not register a second handler for event_co… in handle_register_event_handler() [all …]
|
D | controller.cc | 149 …ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in read_local_name_complete_handler() 161 …ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in read_local_version_information_complete_handler() 170 …ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in read_local_supported_commands_complete_handler() 178 …ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in read_local_supported_features_complete_handler() 186 …ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in read_local_extended_features_complete_handler() 207 …ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in read_buffer_size_complete_handler() 219 …ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in read_controller_mac_address_handler() 228 …ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in le_read_buffer_size_handler() 236 …ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in le_read_local_supported_features_handler() 244 …ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in le_read_supported_states_handler() [all …]
|
/system/bt/gd/security/pairing/ |
D | classic_pairing_handler.cc | 147 …ASSERT_LOG(GetRecord()->GetPseudoAddress().GetAddress() == packet.GetBdAddr(), "Address mismatch"); in OnReceive() 154 …ASSERT_LOG(GetRecord()->GetPseudoAddress().GetAddress() == packet.GetBdAddr(), "Address mismatch"); in OnReceive() 168 …ASSERT_LOG(GetRecord()->GetPseudoAddress().GetAddress() == packet.GetBdAddr(), "Address mismatch"); in OnReceive() 176 …ASSERT_LOG(GetRecord()->GetPseudoAddress().GetAddress() == packet.GetBdAddr(), "Address mismatch"); in OnReceive() 188 …ASSERT_LOG(GetRecord()->GetPseudoAddress().GetAddress() == packet.GetBdAddr(), "Address mismatch"); in OnReceive() 197 …ASSERT_LOG(GetRecord()->GetPseudoAddress().GetAddress() == packet.GetBdAddr(), "Address mismatch"); in OnReceive() 223 …ASSERT_LOG(GetRecord()->GetPseudoAddress().GetAddress() == packet.GetBdAddr(), "Address mismatch"); in OnReceive() 229 …ASSERT_LOG(GetRecord()->GetPseudoAddress().GetAddress() == packet.GetBdAddr(), "Address mismatch"); in OnReceive() 263 …ASSERT_LOG(GetRecord()->GetPseudoAddress().GetAddress() == packet.GetBdAddr(), "Address mismatch"); in OnReceive() 394 …ASSERT_LOG(GetRecord()->GetPseudoAddress().GetAddress() == packet.GetBdAddr(), "Address mismatch"); in OnReceive()
|
/system/bt/vendor_libs/test_vendor_lib/model/controller/ |
D | security_manager.cc | 58 ASSERT_LOG(ReadKey(addr), "No such key"); in GetKey() 106 …ASSERT_LOG(io_capability <= static_cast<uint8_t>(IoCapabilityType::NO_INPUT_NO_OUTPUT), "io_capabi… in SetLocalIoCapability() 108 ASSERT_LOG(oob_present_flag <= 1, "oob_present_flag = %hhx ", oob_present_flag); in SetLocalIoCapability() 109 …ASSERT_LOG(authentication_requirements <= static_cast<uint8_t>(AuthenticationType::GENERAL_BONDING… in SetLocalIoCapability()
|
/system/bt/gd/ |
D | stack_manager.cc | 45 ASSERT_LOG(init_status == std::future_status::ready, "Can't start stack"); in StartUp() 61 ASSERT_LOG(stop_status == std::future_status::ready, "Can't stop stack"); in ShutDown()
|
D | module.cc | 34 ASSERT_LOG(handler_ != nullptr, "Can't get handler when it's not started"); in GetHandler() 49 ASSERT_LOG(false, "Module was not listed as a dependency in ListDependencies"); in GetDependency()
|
/system/bt/vendor_libs/test_vendor_lib/desktop/ |
D | test_environment.cc | 84 ASSERT_LOG(ret != -1, "Error setting O_NONBLOCK %s", strerror(errno)); in SetUpHciServer() 109 ASSERT_LOG(ret != -1, "Error setting O_NONBLOCK %s", strerror(errno)); in SetUpLinkLayerServer() 143 ASSERT_LOG(ret != -1, "Error setting O_NONBLOCK %s", strerror(errno)); in ConnectToRemoteServer()
|
/system/bt/gd/l2cap/le/ |
D | fixed_channel_service.cc | 25 ASSERT_LOG(manager_ != nullptr, "this service is invalid"); in Unregister()
|
D | dynamic_channel_service.cc | 28 ASSERT_LOG(manager_ != nullptr, "this service is invalid"); in Unregister()
|
/system/bt/gd/l2cap/classic/ |
D | fixed_channel_service.cc | 26 ASSERT_LOG(manager_ != nullptr, "this service is invalid"); in Unregister()
|
D | dynamic_channel_service.cc | 26 ASSERT_LOG(manager_ != nullptr, "this service is invalid"); in Unregister()
|
/system/bt/gd/packet/ |
D | packet_view.cc | 55 ASSERT_LOG(index < length_, "Index %zu out of bounds", index); in at() 62 ASSERT_LOG(false, "Out of fragments searching for index %zu", index); in at()
|
D | iterator.cc | 136 …ASSERT_LOG(index_ < end_ && !(begin_ > index_), "Index %zu out of bounds: [%zu,%zu)", index_, begi… in operator *() 145 ASSERT_LOG(false, "Out of fragments searching for index %zu", index_); in operator *()
|
/system/bt/gd/security/channel/ |
D | security_manager_channel.cc | 38 ASSERT_LOG(listener_ != nullptr, "No listener set!"); in OnHciEventReceived()
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | server_port_factory.cc | 136 ASSERT_LOG(written == 4, "What happened? written = %d errno = %d", written, errno); in SendResponse() 138 …ASSERT_LOG(written == static_cast<int>(size), "What happened? written = %d errno = %d", written, e… in SendResponse()
|
/system/bt/vendor_libs/test_vendor_lib/model/setup/ |
D | test_channel_transport.cc | 151 ASSERT_LOG(written == 4, "What happened? written = %d errno = %d", written, errno); in SendResponse() 153 …ASSERT_LOG(written == static_cast<int>(size), "What happened? written = %d errno = %d", written, e… in SendResponse()
|