Home
last modified time | relevance | path

Searched refs:ASSERT_LOG (Results 1 – 25 of 88) sorted by relevance

1234

/system/bt/gd/storage/
Dmutation_entry.cc37 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()
Ddevice.cc39 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/
Dfixed_channel_impl.cc32 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()
50ASSERT_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/
Dfixed_channel_impl.cc41 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()
59ASSERT_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/
Dreactive_semaphore.cc39 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()
Dhandler.cc48 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/
Dfixed_channel_allocator.h53ASSERT_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()
56ASSERT_LOG(elem.second, "Failed to create channel for cid 0x%x link %s", cid, link_->ToString().c_… in AllocateChannel()
63ASSERT_LOG(IsChannelAllocated(cid), "Channel is not in use: cid %d, link %s", cid, link_->ToString… in FreeChannel()
72ASSERT_LOG(IsChannelAllocated(cid), "Channel is not in use: cid %d, link %s", cid, link_->ToString… in FindChannel()
Ddynamic_channel_impl.cc47 ASSERT_LOG(on_close_callback_.IsEmpty(), "OnCloseCallback can only be registered once"); in RegisterOnCloseCallback()
65ASSERT_LOG(!closed_, "Device %s Cid 0x%x closed twice, old status 0x%x, new status 0x%x", device_.… in OnClosed()
/system/bt/test/common/
Dmain_handler.cc39 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/
Dhci_hal_host.cc400 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()
450ASSERT_LOG(hci_acl_data_total_length <= kBufSize - kH4HeaderSize - kHciAclHeaderSize, "packet too … in incoming_packet_received()
[all …]
/system/bt/gd/security/channel/
Dsecurity_manager_channel.cc43 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/
Dstack.cc65 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()
Dacl.cc218 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/
Dsecurity_manager.cc58 ASSERT_LOG(ReadKey(addr), "No such key"); in GetKey()
109ASSERT_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()
113ASSERT_LOG(authentication_requirements <= static_cast<uint8_t>(AuthenticationType::GENERAL_BONDING… in SetLocalIoCapability()
/system/bt/test/headless/
Dmain.cc46 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/
Dhci_layer.cc58ASSERT_LOG(false, "Done waiting for debug information after HCI timeout (%s)", OpCodeText(op_code)… in abort_after_time_out()
168ASSERT_LOG(!command_queue_.empty(), "Unexpected %s event with OpCode 0x%02hx (%s)", logging_id.c_s… in handle_command_response()
170ASSERT_LOG(waiting_command_ == op_code, "Waiting for 0x%02hx (%s), got 0x%02hx (%s)", waiting_comm… in handle_command_response()
172ASSERT_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()
246ASSERT_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()
269ASSERT_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()
Dcontroller.cc199ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in write_secure_connections_host_support_complete_handler()
206ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in read_local_name_complete_handler()
218ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in read_local_version_information_complete_handler()
227ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in read_local_supported_commands_complete_handler()
235ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in read_local_extended_features_complete_handler()
256ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in read_buffer_size_complete_handler()
268ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in read_controller_mac_address_handler()
277ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in le_read_buffer_size_handler()
293ASSERT_LOG(status == ErrorCode::SUCCESS, "Status 0x%02hhx, %s", status, ErrorCodeText(status).c_st… in le_read_buffer_size_v2_handler()
310ASSERT_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/
Dclassic_pairing_handler.cc179ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive()
192ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive()
209ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive()
224ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive()
240ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive()
305ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive()
332ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive()
383ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive()
425ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive()
631ASSERT_LOG(GetRecord()->GetPseudoAddress()->GetAddress() == packet.GetBdAddr(), "Address mismatch"… in OnReceive()
/system/bt/vendor_libs/test_vendor_lib/desktop/
Dtest_environment.cc91 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/
Dstack_manager.cc55 ASSERT_LOG( in StartUp()
84 ASSERT_LOG( in ShutDown()
/system/bt/gd/l2cap/classic/
Ddynamic_channel_service.cc26 ASSERT_LOG(manager_ != nullptr, "this service is invalid"); in Unregister()
Dfixed_channel_service.cc26 ASSERT_LOG(manager_ != nullptr, "this service is invalid"); in Unregister()
/system/bt/gd/l2cap/le/
Dfixed_channel_service.cc25 ASSERT_LOG(manager_ != nullptr, "this service is invalid"); in Unregister()
Ddynamic_channel_service.cc28 ASSERT_LOG(manager_ != nullptr, "this service is invalid"); in Unregister()
/system/bt/gd/packet/
Dpacket_view.cc55 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()

1234