/system/bt/gd/storage/ |
D | mutation_entry.cc | 37 ASSERT_LOG(!section.empty(), "section cannot be empty for EntryType::SET"); in MutationEntry() 38 ASSERT_LOG(!property.empty(), "property cannot be empty for EntryType::SET"); in MutationEntry() 39 ASSERT_LOG(!value.empty(), "value cannot be empty for EntryType::SET"); in MutationEntry() 42 ASSERT_LOG(!section.empty(), "section cannot be empty for EntryType::REMOVE_PROPERTY"); in MutationEntry() 43 ASSERT_LOG(!property.empty(), "property cannot be empty for EntryType::REMOVE_PROPERTY"); in MutationEntry() 46 ASSERT_LOG(!section.empty(), "section cannot be empty for EntryType::REMOVE_SECTION"); in MutationEntry()
|
D | device.cc | 39 ASSERT_LOG(config != nullptr, "config cannot be null"); in GetConfigSection() 40 ASSERT_LOG(!key_address.IsEmpty(), "key_address cannot be empty"); in GetConfigSection()
|
/system/bt/gd/l2cap/classic/internal/ |
D | fixed_channel_impl.cc | 32 ASSERT_LOG(cid_ >= kFirstFixedChannel && cid_ <= kLastFixedChannel, "Invalid cid: %d", cid_); in FixedChannelImpl() 39 ASSERT_LOG(user_handler_ == nullptr, "OnCloseCallback can only be registered once"); in RegisterOnCloseCallback() 50 …ASSERT_LOG(!closed_, "Device %s Cid 0x%x closed twice, old status 0x%x, new status 0x%x", device_.… in OnClosed() 67 ASSERT_LOG(user_handler_ != nullptr, "Must register OnCloseCallback before calling any methods"); in Acquire() 82 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/os/linux_generic/ |
D | reactive_semaphore.cc | 39 ASSERT_LOG(close_status != -1, "close failed: %s", strerror(errno)); in ~ReactiveSemaphore() 45 ASSERT_LOG(read_result != -1, "decrease failed: %s", strerror(errno)); in Decrease() 51 ASSERT_LOG(write_result != -1, "increase failed: %s", strerror(errno)); in Increase()
|
D | handler.cc | 48 ASSERT_LOG(was_cleared(), "Handlers must be cleared before they are destroyed"); in ~Handler() 74 ASSERT_LOG(!was_cleared(), "Handlers must only be cleared once"); in Clear() 102 ASSERT_LOG(read_result != -1, "eventfd read error %d %s", errno, strerror(errno)); in handle_next_event()
|
/system/bt/gd/l2cap/internal/ |
D | fixed_channel_allocator.h | 53 …ASSERT_LOG(!IsChannelAllocated((cid)), "Cid 0x%x for link %s is already in use", cid, link_->ToStr… in AllocateChannel() 54 ASSERT_LOG(cid >= kFirstFixedChannel && cid <= kLastFixedChannel, "Cid %d out of bound", cid); in AllocateChannel() 56 …ASSERT_LOG(elem.second, "Failed to create channel for cid 0x%x link %s", cid, link_->ToString().c_… in AllocateChannel() 63 …ASSERT_LOG(IsChannelAllocated(cid), "Channel is not in use: cid %d, link %s", cid, link_->ToString… in FreeChannel() 72 …ASSERT_LOG(IsChannelAllocated(cid), "Channel is not in use: cid %d, link %s", cid, link_->ToString… in FindChannel()
|
D | dynamic_channel_impl.cc | 47 ASSERT_LOG(on_close_callback_.IsEmpty(), "OnCloseCallback can only be registered once"); in RegisterOnCloseCallback() 65 …ASSERT_LOG(!closed_, "Device %s Cid 0x%x closed twice, old status 0x%x, new status 0x%x", device_.… in OnClosed()
|
/system/bt/test/common/ |
D | main_handler.cc | 39 ASSERT_LOG(main_thread.DoInThread(from_here, std::move(task)), in do_in_main_thread() 47 ASSERT_LOG(!main_thread.DoInThreadDelayed(from_here, std::move(task), delay), in do_in_main_thread_delayed() 59 ASSERT_LOG(main_thread.IsRunning(), in main_thread_start_up()
|
/system/bt/gd/hal/ |
D | hci_hal_host.cc | 400 ASSERT_LOG(received_size != -1, "Can't receive from socket: %s", strerror(errno)); in incoming_packet_received() 409 ASSERT_LOG(received_size != -1, "Can't receive from socket: %s", strerror(errno)); in incoming_packet_received() 410 ASSERT_LOG(received_size == kHciEvtHeaderSize, "malformed HCI event header received"); in incoming_packet_received() 416 ASSERT_LOG(payload_size != -1, "Can't receive from socket: %s", strerror(errno)); in incoming_packet_received() 417 ASSERT_LOG( in incoming_packet_received() 438 ASSERT_LOG(received_size != -1, "Can't receive from socket: %s", strerror(errno)); in incoming_packet_received() 439 ASSERT_LOG(received_size == kHciAclHeaderSize, "malformed ACL header received"); in incoming_packet_received() 444 ASSERT_LOG(payload_size != -1, "Can't receive from socket: %s", strerror(errno)); in incoming_packet_received() 445 ASSERT_LOG( in incoming_packet_received() 450 …ASSERT_LOG(hci_acl_data_total_length <= kBufSize - kH4HeaderSize - kHciAclHeaderSize, "packet too … in incoming_packet_received() [all …]
|
/system/bt/gd/security/channel/ |
D | security_manager_channel.cc | 43 ASSERT_LOG(l2cap_security_interface_ != nullptr, "L2cap Security Interface is null!"); in Connect() 75 ASSERT_LOG(packet.IsValid(), "Bad command response"); in OnCommandComplete() 89 ASSERT_LOG(listener_ != nullptr, "No listener set!"); in OnHciEventReceived() 113 ASSERT_LOG(listener_ != nullptr, "Set listener!"); in OnLinkDisconnected() 118 ASSERT_LOG(l2cap_security_interface_ != nullptr, "L2cap Security Interface is null!"); in OnAuthenticationComplete()
|
/system/bt/main/shim/ |
D | stack.cc | 65 ASSERT_LOG(!is_running_, "%s Gd stack already running", __func__); in StartIdleMode() 94 ASSERT_LOG(!is_running_, "%s Gd stack already running", __func__); in StartEverything() 174 ASSERT_LOG(!is_running_, "%s Gd stack already running", __func__); in Start() 206 ASSERT_LOG(is_running_, "%s Gd stack not running", __func__); in Stop() 246 ASSERT_LOG(acl_ != nullptr, "Acl shim layer has not been created"); in GetAcl() 253 ASSERT_LOG(acl_ != nullptr, "Acl shim layer has not been created"); in LinkPolicy()
|
D | acl.cc | 218 ASSERT_LOG(acl_interface.on_send_data_upwards != nullptr, in ValidateAclInterface() 220 ASSERT_LOG(acl_interface.on_packets_completed != nullptr, in ValidateAclInterface() 223 ASSERT_LOG(acl_interface.connection.classic.on_connected != nullptr, in ValidateAclInterface() 225 ASSERT_LOG(acl_interface.connection.classic.on_failed != nullptr, in ValidateAclInterface() 227 ASSERT_LOG( in ValidateAclInterface() 231 ASSERT_LOG(acl_interface.connection.le.on_connected != nullptr, in ValidateAclInterface() 233 ASSERT_LOG(acl_interface.connection.le.on_failed != nullptr, in ValidateAclInterface() 235 ASSERT_LOG(acl_interface.connection.le.on_disconnected != nullptr, in ValidateAclInterface() 273 ASSERT_LOG(is_disconnected_, in ~ShimAclConnection() 301 ASSERT_LOG(p_buf != nullptr, in data_ready_callback() [all …]
|
/system/bt/vendor_libs/test_vendor_lib/model/controller/ |
D | security_manager.cc | 58 ASSERT_LOG(ReadKey(addr), "No such key"); in GetKey() 109 …ASSERT_LOG(io_capability <= static_cast<uint8_t>(IoCapabilityType::NO_INPUT_NO_OUTPUT), "io_capabi… in SetLocalIoCapability() 111 ASSERT_LOG(oob_present_flag <= 3, "oob_present_flag = %hhx ", in SetLocalIoCapability() 113 …ASSERT_LOG(authentication_requirements <= static_cast<uint8_t>(AuthenticationType::GENERAL_BONDING… in SetLocalIoCapability()
|
/system/bt/test/headless/ |
D | main.cc | 46 ASSERT_LOG(WIFEXITED(status), "Unable to clear logcat"); in clear_logcat() 54 ASSERT_LOG(false, "Should not return from exec process"); in clear_logcat()
|
/system/bt/gd/hci/ |
D | hci_layer.cc | 58 …ASSERT_LOG(false, "Done waiting for debug information after HCI timeout (%s)", OpCodeText(op_code)… in abort_after_time_out() 168 …ASSERT_LOG(!command_queue_.empty(), "Unexpected %s event with OpCode 0x%02hx (%s)", logging_id.c_s… in handle_command_response() 170 …ASSERT_LOG(waiting_command_ == op_code, "Waiting for 0x%02hx (%s), got 0x%02hx (%s)", waiting_comm… in handle_command_response() 172 …ASSERT_LOG(command_queue_.front().waiting_for_status_ == is_status, "0x%02hx (%s) was not expectin… in handle_command_response() 241 ASSERT_LOG( in register_event() 246 …ASSERT_LOG(event_handlers_.count(event) == 0, "Can not register a second handler for %02hhx (%s)",… in register_event() 256 ASSERT_LOG( in register_le_meta_event() 269 …ASSERT_LOG(subevent_handlers_.count(event) == 0, "Can not register a second handler for %02hhx (%s… in register_le_event() 279 ASSERT_LOG(false, "Root inflammation with reason 0x%02hhx", vse_error); in abort_after_root_inflammation() 449 ASSERT_LOG(view.IsValid(), "Read remote version information packet invalid"); in on_read_remote_version_complete()
|
D | controller.cc | 199 …ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in write_secure_connections_host_support_complete_handler() 206 …ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in read_local_name_complete_handler() 218 …ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in read_local_version_information_complete_handler() 227 …ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in read_local_supported_commands_complete_handler() 235 …ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in read_local_extended_features_complete_handler() 256 …ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in read_buffer_size_complete_handler() 268 …ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in read_controller_mac_address_handler() 277 …ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in le_read_buffer_size_handler() 293 …ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in le_read_buffer_size_v2_handler() 310 …ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in le_read_local_supported_features_handler() [all …]
|
/system/bt/gd/security/pairing/ |
D | classic_pairing_handler.cc | 179 …ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive() 192 …ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive() 209 …ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive() 224 …ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive() 240 …ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive() 305 …ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive() 332 …ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive() 383 …ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive() 425 …ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive() 631 …ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive()
|
/system/bt/vendor_libs/test_vendor_lib/desktop/ |
D | test_environment.cc | 91 ASSERT_LOG(ret != -1, "Error setting O_NONBLOCK %s", strerror(errno)); in SetUpHciServer() 116 ASSERT_LOG(ret != -1, "Error setting O_NONBLOCK %s", strerror(errno)); in SetUpLinkLayerServer() 150 ASSERT_LOG(ret != -1, "Error setting O_NONBLOCK %s", strerror(errno)); in ConnectToRemoteServer()
|
/system/bt/gd/ |
D | stack_manager.cc | 55 ASSERT_LOG( in StartUp() 84 ASSERT_LOG( in ShutDown()
|
/system/bt/gd/l2cap/classic/ |
D | dynamic_channel_service.cc | 26 ASSERT_LOG(manager_ != nullptr, "this service is invalid"); in Unregister()
|
D | fixed_channel_service.cc | 26 ASSERT_LOG(manager_ != nullptr, "this service is invalid"); in Unregister()
|
/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/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()
|