/packages/modules/Bluetooth/system/gd/hci/ |
D | hci_metrics_logging.cc | 31 log::assert_that(event_view.IsValid(), "assert failed: event_view.IsValid()"); in log_hci_event() 36 log::assert_that(complete_view.IsValid(), "assert failed: complete_view.IsValid()"); in log_hci_event() 40 log::assert_that(command_view->IsValid(), "assert failed: command_view->IsValid()"); in log_hci_event() 47 log::assert_that(response_view.IsValid(), "assert failed: response_view.IsValid()"); in log_hci_event() 51 log::assert_that(command_view->IsValid(), "assert failed: command_view->IsValid()"); in log_hci_event() 58 log::assert_that(le_meta_event_view.IsValid(), "assert failed: le_meta_event_view.IsValid()"); in log_hci_event() 70 log::assert_that(command_view->IsValid(), "assert failed: command_view->IsValid()"); in log_link_layer_connection_command() 87 connection_management_command_view.IsValid(), in log_link_layer_connection_command() 93 create_connection_view.IsValid(), "assert failed: create_connection_view.IsValid()"); in log_link_layer_connection_command() 103 create_connection_cancel_view.IsValid(), in log_link_layer_connection_command() [all …]
|
D | hci_packets_test.cc | 73 ASSERT_TRUE(view.IsValid()); in TEST() 109 ASSERT_TRUE(view.IsValid()); in TEST() 124 ASSERT_TRUE(view.IsValid()); in TEST() 138 ASSERT_TRUE(view.IsValid()); in TEST() 150 ASSERT_TRUE(view.IsValid()); in TEST() 170 ASSERT_TRUE(view.IsValid()); in TEST() 189 ASSERT_TRUE(view.IsValid()); in TEST() 207 ASSERT_TRUE(view.IsValid()); in TEST() 224 ASSERT_TRUE(view.IsValid()); in TEST() 242 ASSERT_TRUE(view.IsValid()); in TEST() [all …]
|
D | class_of_device_unittest.cc | 79 TEST(ClassOfDeviceTest, IsValid) { in TEST() argument 80 ASSERT_FALSE(ClassOfDevice::IsValid("")); in TEST() 81 ASSERT_FALSE(ClassOfDevice::IsValid("000000")); in TEST() 82 ASSERT_FALSE(ClassOfDevice::IsValid("00-00-00")); in TEST() 83 ASSERT_FALSE(ClassOfDevice::IsValid("000-0-0")); in TEST() 84 ASSERT_TRUE(ClassOfDevice::IsValid("000-0-00")); in TEST() 85 ASSERT_TRUE(ClassOfDevice::IsValid("ABc-d-00")); in TEST() 86 ASSERT_TRUE(ClassOfDevice::IsValid("aBc-D-eF")); in TEST()
|
D | hci_layer_test.cc | 117 log::assert_that(event.IsValid(), "assert failed: event.IsValid()"); in GetReceivedEvent() 127 log::assert_that(acl.IsValid(), "assert failed: acl.IsValid()"); in GetReceivedAcl() 137 log::assert_that(iso.IsValid(), "assert failed: iso.IsValid()"); in GetReceivedIso() 233 ASSERT_TRUE(reset_view.IsValid()); in SetUp() 287 .IsValid()); in TEST_F() 307 ASSERT_TRUE(command.IsValid()); in TEST_F() 321 .IsValid()); in TEST_F() 329 ASSERT_TRUE(reset.IsValid()); in TEST_F() 337 ASSERT_TRUE(debug.IsValid()); in TEST_F() 373 .IsValid()); in TEST_F() [all …]
|
D | acl_manager_test.cc | 144 ASSERT_TRUE(set_random_address_packet.IsValid()); in SetUp() 224 EXPECT_TRUE(command.IsValid()); in GetConnectionManagementCommand() 257 while (!last_command.IsValid()) { in SetUp() 299 while (!last_command.IsValid()) { in TEST_F() 320 while (!last_command.IsValid()) { in TEST_F() 369 ASSERT_TRUE(command_view.IsValid()); in SetUp() 460 ASSERT_TRUE(command_view.IsValid()); in TEST_F() 488 ASSERT_TRUE(remove_command_view.IsValid()); in TEST_F() 505 ASSERT_TRUE(command_view.IsValid()); in TEST_F() 522 ASSERT_TRUE(remove_command_view.IsValid()); in TEST_F() [all …]
|
D | msft.cc | 83 log::assert_that(view.IsValid(), "assert failed: view.IsValid()"); in handle_le_monitor_device_event() 110 log::assert_that(msft_view.IsValid(), "assert failed: msft_view.IsValid()"); in handle_msft_events() 231 log::assert_that(view.IsValid(), "assert failed: view.IsValid()"); in on_msft_read_supported_features_complete() 233 log::assert_that(status_view.IsValid(), "assert failed: status_view.IsValid()"); in on_msft_read_supported_features_complete() 269 log::assert_that(view.IsValid(), "assert failed: view.IsValid()"); in on_msft_adv_monitor_add_complete() 272 log::assert_that(status_view.IsValid(), "assert failed: status_view.IsValid()"); in on_msft_adv_monitor_add_complete() 284 log::assert_that(view.IsValid(), "assert failed: view.IsValid()"); in on_msft_adv_monitor_remove_complete() 287 log::assert_that(status_view.IsValid(), "assert failed: status_view.IsValid()"); in on_msft_adv_monitor_remove_complete() 299 log::assert_that(view.IsValid(), "assert failed: view.IsValid()"); in on_msft_adv_monitor_enable_complete() 302 log::assert_that(status_view.IsValid(), "assert failed: status_view.IsValid()"); in on_msft_adv_monitor_enable_complete()
|
D | le_periodic_sync_manager_test.cc | 106 EXPECT_TRUE(command_packet_view.IsValid()); in GetCommand() 114 ASSERT_TRUE(complete_view.IsValid()); in CommandCompleteCallback() 123 ASSERT_TRUE(status_view.IsValid()); in CommandStatusCallback() 243 ASSERT_TRUE(packet_view.IsValid()); in TEST_F() 272 ASSERT_TRUE(temp_view.IsValid()); in TEST_F() 314 ASSERT_TRUE(temp_view.IsValid()); in TEST_F() 357 ASSERT_TRUE(temp_view.IsValid()); in TEST_F() 384 ASSERT_TRUE(packet_view.IsValid()); in TEST_F() 408 ASSERT_TRUE(temp_view.IsValid()); in TEST_F() 419 ASSERT_TRUE(packet_view.IsValid()); in TEST_F() [all …]
|
D | event_checkers.h | 29 log::assert_that(view.IsValid(), "assert failed: view.IsValid()"); in check_complete() 31 if (!status_view.IsValid()) { in check_complete() 45 log::assert_that(view.IsValid(), "assert failed: view.IsValid()"); in check_status() 47 if (!status_view.IsValid()) { in check_status()
|
D | hci_layer.cc | 62 log::assert_that(reset_complete.IsValid(), "assert failed: reset_complete.IsValid()"); in fail_if_reset_complete_not_success() 166 log::assert_that(response_view.IsValid(), "assert failed: response_view.IsValid()"); in on_command_status() 185 log::assert_that(response_view.IsValid(), "assert failed: response_view.IsValid()"); in handle_command_response() 213 (status_view.IsValid() && status_view.GetStatus() == ErrorCode::UNKNOWN_HCI_COMMAND)) { in handle_command_response() 230 command_complete_view.IsValid(), "assert failed: command_complete_view.IsValid()"); in handle_command_response() 248 if (op_code == OpCode::LE_READ_REMOTE_FEATURES && is_status && status_view.IsValid() && in handle_command_response() 253 if (le_read_features_view.IsValid()) { in handle_command_response() 311 log::assert_that(cmd_view.IsValid(), "assert failed: cmd_view.IsValid()"); in send_next_command() 396 log::assert_that(event.IsValid(), "assert failed: event.IsValid()"); in on_hci_event() 403 log::assert_that(view.IsValid(), "assert failed: view.IsValid()"); in on_hci_event() [all …]
|
D | controller.cc | 254 ASSERT(complete_view.IsValid()); in NumberOfCompletedPackets() 297 ASSERT(complete_view.IsValid()); in write_secure_connections_host_support_complete_handler() 304 ASSERT(complete_view.IsValid()); in read_local_name_complete_handler() 316 ASSERT(complete_view.IsValid()); in read_local_version_information_complete_handler() 331 ASSERT(complete_view.IsValid()); in read_local_supported_commands_complete_handler() 339 ASSERT(complete_view.IsValid()); in read_local_extended_features_complete_handler() 359 ASSERT(complete_view.IsValid()); in read_buffer_size_complete_handler() 371 ASSERT(complete_view.IsValid()); in read_controller_mac_address_handler() 380 ASSERT(complete_view.IsValid()); in le_read_buffer_size_handler() 396 ASSERT(complete_view.IsValid()); in read_local_supported_codecs_v1_handler() [all …]
|
D | le_scanning_manager.cc | 350 if (!event_view.IsValid()) { in handle_advertising_report() 413 if (!event_view.IsValid()) { in handle_extended_advertising_report() 1405 log::assert_that(status_view.IsValid(), "assert failed: status_view.IsValid()"); in on_set_scan_parameter_complete() 1414 log::assert_that(status_view.IsValid(), "assert failed: status_view.IsValid()"); in on_set_scan_parameter_complete() 1423 log::assert_that(status_view.IsValid(), "assert failed: status_view.IsValid()"); in on_set_scan_parameter_complete() 1436 log::assert_that(view.IsValid(), "assert failed: view.IsValid()"); in on_advertising_filter_complete() 1438 log::assert_that(status_view.IsValid(), "assert failed: status_view.IsValid()"); in on_advertising_filter_complete() 1450 log::assert_that(complete_view.IsValid(), "assert failed: complete_view.IsValid()"); in on_advertising_filter_complete() 1455 log::assert_that(complete_view.IsValid(), "assert failed: complete_view.IsValid()"); in on_advertising_filter_complete() 1461 log::assert_that(complete_view.IsValid(), "assert failed: complete_view.IsValid()"); in on_advertising_filter_complete() [all …]
|
/packages/modules/Bluetooth/system/stack/test/ |
D | ad_parser_unittest.cc | 24 EXPECT_TRUE(AdvertiseDataParser::IsValid(data0)); in TEST() 28 EXPECT_TRUE(AdvertiseDataParser::IsValid(data1)); in TEST() 34 EXPECT_FALSE(AdvertiseDataParser::IsValid(data0)); in TEST() 38 EXPECT_FALSE(AdvertiseDataParser::IsValid(data1)); in TEST() 42 EXPECT_FALSE(AdvertiseDataParser::IsValid(data2)); in TEST() 46 EXPECT_FALSE(AdvertiseDataParser::IsValid(data3)); in TEST() 51 EXPECT_FALSE(AdvertiseDataParser::IsValid(data1)); in TEST() 56 EXPECT_FALSE(AdvertiseDataParser::IsValid(data1)); in TEST() 62 EXPECT_TRUE(AdvertiseDataParser::IsValid(data0)); in TEST() 66 EXPECT_TRUE(AdvertiseDataParser::IsValid(data1)); in TEST() [all …]
|
/packages/modules/Bluetooth/system/gd/l2cap/ |
D | signal_id_test.cc | 30 if (signal_id.IsValid()) { in TEST() 39 ASSERT_FALSE(signal_id.IsValid()); in TEST() 44 ASSERT_FALSE(signal_id.IsValid()); in TEST() 53 ASSERT_FALSE(signal_id.IsValid()); in TEST() 62 ASSERT_FALSE(signal_id.IsValid()); in TEST() 72 ASSERT_FALSE(signal_id.IsValid()); in TEST() 82 ASSERT_FALSE(signal_id.IsValid()); in TEST() 91 ASSERT_FALSE(signal_id.IsValid()); in TEST() 100 ASSERT_FALSE(signal_id.IsValid()); in TEST() 110 ASSERT_FALSE(signal_id.IsValid()); in TEST()
|
D | l2cap_packet_test.cc | 82 ASSERT_TRUE(view.IsValid()); in TEST() 92 ASSERT_TRUE(view.IsValid()); in TEST() 102 ASSERT_TRUE(view.IsValid()); in TEST() 112 ASSERT_TRUE(view.IsValid()); in TEST() 122 ASSERT_TRUE(view.IsValid()); in TEST() 161 ASSERT_FALSE(bfwf.IsValid()); in TEST() 163 ASSERT_FALSE(sfwf.IsValid()); in TEST() 165 ASSERT_FALSE(sif.IsValid()); in TEST()
|
/packages/modules/Bluetooth/system/gd/security/channel/ |
D | security_manager_channel_unittest.cc | 89 ASSERT_TRUE(packet.IsValid()); in OnReceive() 93 ASSERT_TRUE(packet.IsValid()); in OnReceive() 97 ASSERT_TRUE(packet.IsValid()); in OnReceive() 101 ASSERT_TRUE(packet.IsValid()); in OnReceive() 105 ASSERT_TRUE(packet.IsValid()); in OnReceive() 109 ASSERT_TRUE(packet.IsValid()); in OnReceive() 113 ASSERT_TRUE(packet.IsValid()); in OnReceive() 117 ASSERT_TRUE(packet.IsValid()); in OnReceive() 121 ASSERT_TRUE(packet.IsValid()); in OnReceive() 125 ASSERT_TRUE(packet.IsValid()); in OnReceive() [all …]
|
/packages/modules/Bluetooth/tools/rootcanal/lib/hci/ |
D | pcap_filter.cc | 73 ASSERT(command.IsValid()); in FilterHciCommand() 98 ASSERT(event.IsValid()); in FilterHciEvent() 102 ASSERT(le_meta_event.IsValid()); in FilterHciEvent() 115 ASSERT(command_complete.IsValid()); in FilterHciEvent() 140 ASSERT(acl.IsValid()); in FilterHciAcl() 150 ASSERT(sco.IsValid()); in FilterHciSco() 159 ASSERT(iso.IsValid()); in FilterHciIso() 213 ASSERT(parameters.IsValid()); in FilterWriteLocalName() 224 ASSERT(parameters.IsValid()); in FilterWriteExtendedInquiryResponse() 239 ASSERT(parameters.IsValid()); in FilterLeSetAdvertisingData() [all …]
|
/packages/modules/Bluetooth/system/gd/security/pairing/ |
D | classic_pairing_handler_unittest.cc | 92 log::assert_that(event.IsValid(), "Received invalid packet"); in OnHciEventReceived() 280 if (!security_command_view.IsValid()) { in GetLastCommand() 299 ASSERT_TRUE(link_key_neg_reply.IsValid()); in TEST_F() 305 ASSERT_TRUE(io_cap_request_reply.IsValid()); in TEST_F() 316 ASSERT_TRUE(user_conf_request_reply.IsValid()); in TEST_F() 337 ASSERT_TRUE(link_key_neg_reply.IsValid()); in TEST_F() 343 ASSERT_TRUE(io_cap_request_reply.IsValid()); in TEST_F() 354 ASSERT_TRUE(user_conf_request_reply.IsValid()); in TEST_F() 375 ASSERT_TRUE(link_key_neg_reply.IsValid()); in TEST_F() 381 ASSERT_TRUE(io_cap_request_reply.IsValid()); in TEST_F() [all …]
|
D | classic_pairing_handler.cc | 126 bool has192 = remote_p192_oob_data.IsValid(); in Initiate() 127 bool has256 = remote_p256_oob_data.IsValid(); in Initiate() 180 log::assert_that(packet.IsValid(), "assert failed: packet.IsValid()"); in OnReceive() 185 log::assert_that(packet.IsValid(), "assert failed: packet.IsValid()"); in OnReceive() 190 log::assert_that(packet.IsValid(), "assert failed: packet.IsValid()"); in OnReceive() 202 log::assert_that(packet.IsValid(), "assert failed: packet.IsValid()"); in OnReceive() 225 log::assert_that(packet.IsValid(), "assert failed: packet.IsValid()"); in OnReceive() 241 log::assert_that(packet.IsValid(), "assert failed: packet.IsValid()"); in OnReceive() 258 log::assert_that(packet.IsValid(), "assert failed: packet.IsValid()"); in OnReceive() 324 log::assert_that(packet.IsValid(), "assert failed: packet.IsValid()"); in OnReceive() [all …]
|
/packages/modules/Bluetooth/system/gd/hal/fuzz/ |
D | fuzz_hci_hal.cc | 55 if (!command.IsValid()) { in sendHciCommand() 66 if (!event.IsValid()) { in injectHciEvent() 71 if (complete.IsValid()) { in injectHciEvent() 79 if (status.IsValid()) { in injectHciEvent() 91 if (!aclPacket.IsValid()) { in injectAclData() 100 if (!scoPacket.IsValid()) { in injectScoData() 109 if (!isoPacket.IsValid()) { in injectIsoData()
|
/packages/modules/Bluetooth/system/gd/packet/parser/test/ |
D | generated_packet_test.cc | 83 ASSERT_FALSE(wrong_view.IsValid()); in TEST() 86 ASSERT_TRUE(parent_view.IsValid()); in TEST() 90 ASSERT_TRUE(child_view.IsValid()); in TEST() 94 ASSERT_TRUE(grandchild_view.IsValid()); in TEST() 115 ASSERT_TRUE(parent_view.IsValid()); in TEST() 124 ASSERT_TRUE(child_view.IsValid()); in TEST() 134 ASSERT_FALSE(invalid_parent.IsValid()); in TEST() 137 ASSERT_FALSE(invalid.IsValid()); in TEST() 145 ASSERT_TRUE(valid_parent.IsValid()); in TEST() 148 ASSERT_FALSE(invalid.IsValid()); in TEST() [all …]
|
/packages/modules/Bluetooth/system/packet/tests/avrcp/ |
D | register_notification_packet_test.cc | 43 ASSERT_TRUE(test_packet->IsValid()); in TEST() 50 ASSERT_FALSE(test_packet->IsValid()); in TEST() 54 ASSERT_FALSE(test_packet->IsValid()); in TEST() 80 ASSERT_TRUE(test_packet->IsValid()); in TEST() 87 ASSERT_FALSE(test_packet->IsValid()); in TEST() 91 ASSERT_FALSE(test_packet->IsValid()); in TEST() 96 ASSERT_FALSE(test_packet->IsValid()); in TEST()
|
D | set_absolute_volume_packet_test.cc | 54 ASSERT_TRUE(test_packet->IsValid()); in TEST() 61 ASSERT_FALSE(test_packet->IsValid()); in TEST() 65 ASSERT_FALSE(test_packet->IsValid()); in TEST() 70 ASSERT_FALSE(test_packet->IsValid()); in TEST()
|
D | pass_through_packet_test.cc | 56 ASSERT_TRUE(test_packet->IsValid()); in TEST() 59 ASSERT_TRUE(test_packet->IsValid()); in TEST() 66 ASSERT_FALSE(test_packet->IsValid()); in TEST() 70 ASSERT_FALSE(test_packet->IsValid()); in TEST()
|
/packages/modules/Bluetooth/system/gd/l2cap/le/internal/ |
D | signalling_manager.cc | 369 if (!control_packet_view.IsValid()) { in on_incoming_packet() 377 if (!command_reject_view.IsValid()) { in on_incoming_packet() 387 if (!parameter_update_req_view.IsValid()) { in on_incoming_packet() 401 if (!parameter_update_rsp_view.IsValid()) { in on_incoming_packet() 411 if (!connection_request_view.IsValid()) { in on_incoming_packet() 422 if (!connection_response_view.IsValid()) { in on_incoming_packet() 432 if (!credit_view.IsValid()) { in on_incoming_packet() 440 if (!disconnection_request_view.IsValid()) { in on_incoming_packet() 450 if (!disconnection_response_view.IsValid()) { in on_incoming_packet() 461 if (!request_view.IsValid()) { in on_incoming_packet() [all …]
|
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/ |
D | signalling_manager.cc | 44 if (!control.IsValid()) { in GetCommandsFromPacketView() 716 if (!view.IsValid()) { in OnInformationResponse() 725 if (!view.IsValid()) { in OnInformationResponse() 735 if (!view.IsValid()) { in OnInformationResponse() 757 if (!control_packet_view.IsValid()) { in handle_one_command() 765 if (!command_reject_view.IsValid()) { in handle_one_command() 773 if (!connection_request_view.IsValid()) { in handle_one_command() 782 if (!connection_response_view.IsValid()) { in handle_one_command() 792 if (!configuration_request_view.IsValid()) { in handle_one_command() 801 if (!configuration_response_view.IsValid()) { in handle_one_command() [all …]
|