Home
last modified time | relevance | path

Searched refs:error_code (Results 1 – 25 of 76) sorted by relevance

1234

/packages/apps/Test/connectivity/sl4n/facades/test/
Dtest_facade.cpp71 int error_code; in test_bool_true_return_wrapper() local
72 std::tie(result, error_code) = facade.TestBoolTrueReturn(); in test_bool_true_return_wrapper()
73 if (error_code == sl4n_error_codes::kFailInt) { in test_bool_true_return_wrapper()
88 int error_code; in test_bool_false_return_wrapper() local
89 std::tie(result, error_code) = facade.TestBoolFalseReturn(); in test_bool_false_return_wrapper()
90 if (error_code == sl4n_error_codes::kFailInt) { in test_bool_false_return_wrapper()
105 int error_code; in test_null_return_wrapper() local
106 std::tie(result, error_code) = facade.TestNullReturn(); in test_null_return_wrapper()
107 if (error_code == sl4n_error_codes::kFailInt) { in test_null_return_wrapper()
122 int error_code; in test_string_empty_return_wrapper() local
[all …]
/packages/apps/Test/connectivity/sl4n/facades/bluetooth/
Dbt_binder_facade.cpp214 int error_code; in bt_binder_get_local_name_wrapper() local
215 std::tie(name, error_code) = facade.BtBinderGetName(); in bt_binder_get_local_name_wrapper()
216 if (error_code == sl4n_error_codes::kFailInt) { in bt_binder_get_local_name_wrapper()
234 int error_code; in bt_binder_init_interface_wapper() local
235 std::tie(init_result, error_code) = facade.BtBinderInitInterface(); in bt_binder_init_interface_wapper()
236 if (error_code == sl4n_error_codes::kFailInt) { in bt_binder_init_interface_wapper()
260 int error_code; in bt_binder_set_local_name_wrapper() local
261 std::tie(set_result, error_code) = facade.BtBinderSetName(name); in bt_binder_set_local_name_wrapper()
262 if (error_code == sl4n_error_codes::kFailInt) { in bt_binder_set_local_name_wrapper()
279 int error_code; in bt_binder_get_local_address_wrapper() local
[all …]
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dclassic_acl_connection.cc168 std::string error_code = ErrorCodeText(status); in on_role_discovery_complete() local
169 LOG_ERROR("Received on_role_discovery_complete with error code %s", error_code.c_str()); in on_role_discovery_complete()
182 std::string error_code = ErrorCodeText(status); in on_read_link_policy_settings_complete() local
183 …LOG_ERROR("Received on_read_link_policy_settings_complete with error code %s", error_code.c_str()); in on_read_link_policy_settings_complete()
196 std::string error_code = ErrorCodeText(status); in on_read_automatic_flush_timeout_complete() local
197 …LOG_ERROR("Received on_read_automatic_flush_timeout_complete with error code %s", error_code.c_str… in on_read_automatic_flush_timeout_complete()
210 std::string error_code = ErrorCodeText(status); in on_read_transmit_power_level_complete() local
211 …LOG_ERROR("Received on_read_transmit_power_level_complete with error code %s", error_code.c_str()); in on_read_transmit_power_level_complete()
224 std::string error_code = ErrorCodeText(status); in on_read_link_supervision_timeout_complete() local
225 …LOG_ERROR("Received on_read_link_supervision_timeout_complete with error code %s", error_code.c_st… in on_read_link_supervision_timeout_complete()
[all …]
Devent_checkers.h34 std::string error_code = ErrorCodeText(status); in check_command_complete() local
35 …LOG_ERROR("Received command complete with error code %s, opcode 0x%02hx", error_code.c_str(), op_c… in check_command_complete()
51 std::string error_code = ErrorCodeText(status); in check_command_status() local
52 …LOG_ERROR("Received command status with error code %s, opcode 0x%02hx", error_code.c_str(), op_cod… in check_command_status()
Dclassic_impl.h447 std::string error_code = ErrorCodeText(status); in on_connection_packet_type_changed() local
448 … LOG_ERROR("Received on_connection_packet_type_changed with error code %s", error_code.c_str()); in on_connection_packet_type_changed()
464 std::string error_code = ErrorCodeText(status); in on_central_link_key_complete() local
465 LOG_ERROR("Received on_central_link_key_complete with error code %s", error_code.c_str()); in on_central_link_key_complete()
494 std::string error_code = ErrorCodeText(status); in on_change_connection_link_key_complete() local
495 …LOG_ERROR("Received on_change_connection_link_key_complete with error code %s", error_code.c_str()… in on_change_connection_link_key_complete()
510 std::string error_code = ErrorCodeText(status); in on_read_clock_offset_complete() local
511 LOG_ERROR("Received on_read_clock_offset_complete with error code %s", error_code.c_str()); in on_read_clock_offset_complete()
558 std::string error_code = ErrorCodeText(status); in on_qos_setup_complete() local
559 LOG_ERROR("Received on_qos_setup_complete with error code %s", error_code.c_str()); in on_qos_setup_complete()
[all …]
Dclassic_acl_connection_test.cc325 for (const auto& error_code : error_code_vector) { in TEST_F() local
326 connection_management_callbacks_->OnDisconnection(error_code); in TEST_F()
332 for (const auto& error_code : error_code_vector) { in TEST_F() local
333 ASSERT_EQ(error_code, callbacks_.on_disconnection_error_code_queue_.front()); in TEST_F()
Dle_acl_connection.cc141 auto error_code = disconnect_status.GetStatus(); in Disconnect() local
142 if (error_code != ErrorCode::SUCCESS) { in Disconnect()
143 LOG_INFO("Disconnect status %s", ErrorCodeText(error_code).c_str()); in Disconnect()
Dle_impl.h352 std::string error_code = ErrorCodeText(status); in on_le_connection_complete() local
353 LOG_WARN("Received on_le_connection_complete with error code %s", error_code.c_str()); in on_le_connection_complete()
476 std::string error_code = ErrorCodeText(status); in on_le_enhanced_connection_complete() local
477 … LOG_WARN("Received on_le_enhanced_connection_complete with error code %s", error_code.c_str()); in on_le_enhanced_connection_complete()
1101 std::string error_code = ErrorCodeText(status); in on_create_connection_cancel_complete() local
1102 … LOG_WARN("Received on_create_connection_cancel_complete with error code %s", error_code.c_str()); in on_create_connection_cancel_complete()
/packages/modules/Bluetooth/system/stack/include/
Dhci_error_code.h74 inline std::string hci_error_code_text(const tHCI_ERROR_CODE& error_code) { in hci_error_code_text() argument
75 switch (error_code) { in hci_error_code_text()
151 return base::StringPrintf("Unknown Error[%02hx]", error_code); in hci_error_code_text()
167 inline tHCI_ERROR_CODE to_hci_error_code(const uint8_t& error_code) { in to_hci_error_code() argument
168 if (error_code > _HCI_ERR_MAX_ERR) return HCI_ERR_UNDEFINED; in to_hci_error_code()
169 return static_cast<tHCI_ERROR_CODE>(error_code); in to_hci_error_code()
/packages/providers/MediaProvider/jni/
DFuseDaemon.cpp537 const std::string& path, const std::string& name, fuse_req_t req, int* error_code, in validate_node_path() argument
545 *error_code = errno; in validate_node_path()
555 *error_code = ENONET; in validate_node_path()
561 *error_code = ENOENT; in validate_node_path()
584 *error_code = EFAULT; in validate_node_path()
591 *error_code = errno; in validate_node_path()
599 struct fuse_entry_param* e, int* error_code, const FuseOp op) { in make_node_entry() argument
607 validate_node_path(path, name, req, error_code, e, op); in make_node_entry()
844 struct fuse_entry_param* e, int* error_code, const FuseOp op, in do_lookup() argument
849 *error_code = ENOENT; in do_lookup()
[all …]
/packages/apps/Test/connectivity/sl4n/facades/wifi/
Dwifi_facade.cpp163 int error_code; in wifi_init_wrapper() local
164 std::tie(result, error_code) = facade.WifiInit(); in wifi_init_wrapper()
165 if (error_code == sl4n_error_codes::kFailInt) { in wifi_init_wrapper()
180 int error_code; in wifi_get_supported_feature_set_wrapper() local
181 std::tie(result, error_code) = facade.WifiGetSupportedFeatureSet(); in wifi_get_supported_feature_set_wrapper()
182 if (error_code == sl4n_error_codes::kFailInt) { in wifi_get_supported_feature_set_wrapper()
/packages/modules/adb/client/
Dmdnsresponder_client.cpp59 uint32_t interface_index, DNSServiceErrorType error_code,
372 uint32_t /*interface_index*/, DNSServiceErrorType error_code, in register_service_ip() argument
375 D("%s: sdref=%p flags=0x%08x error_code=%u ttl=%u", __func__, sdref, flags, error_code, ttl); in register_service_ip()
381 if (error_code != kDNSServiceErr_NoError) { in register_service_ip()
382 D("Got error while looking up ip_addr [%u]", error_code); in register_service_ip()
396 DNSServiceErrorType error_code, const char* fullname,
479 DNSServiceErrorType error_code, const char* fullname, in register_resolved_mdns_service() argument
486 if (error_code != kDNSServiceErr_NoError) { in register_resolved_mdns_service()
487 D("Got error %d resolving service.", error_code); in register_resolved_mdns_service()
512 uint32_t interface_index, DNSServiceErrorType error_code, in on_service_browsed() argument
[all …]
/packages/modules/Bluetooth/tools/rootcanal/net/posix/
Dposix_async_socket.cc129 int error_code = 0; in Close() local
130 socklen_t error_code_size = sizeof(error_code); in Close()
131 getsockopt(fd_, SOL_SOCKET, SO_ERROR, reinterpret_cast<void*>(&error_code), in Close()
137 error_code = ::close(fd_); in Close()
138 if (error_code == -1) { in Close()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_hap_client.cpp158 ErrorCode error_code) override { in OnActivePresetSelectError() argument
177 (jint)error_code); in OnActivePresetSelectError()
181 std::get<int>(addr_or_group_id), (jint)error_code); in OnActivePresetSelectError()
244 ErrorCode error_code) override { in OnPresetInfoError() argument
263 (jint)error_code); in OnPresetInfoError()
267 (jint)preset_index, (jint)error_code); in OnPresetInfoError()
273 ErrorCode error_code) override { in OnSetPresetNameError() argument
292 (jint)error_code); in OnSetPresetNameError()
297 (jint)preset_index, (jint)error_code); in OnSetPresetNameError()
/packages/modules/Bluetooth/system/include/hardware/
Dbt_has.h98 std::variant<RawAddress, int> addr_or_group_id, ErrorCode error_code) = 0;
108 ErrorCode error_code) = 0;
113 ErrorCode error_code) = 0;
/packages/modules/Bluetooth/system/stack/avdt/
Davdt_api.cc506 uint16_t AVDT_ConfigRsp(uint8_t handle, uint8_t label, uint8_t error_code, in AVDT_ConfigRsp() argument
514 __func__, handle, label, error_code, category); in AVDT_ConfigRsp()
529 evt.msg.hdr.err_code = error_code; in AVDT_ConfigRsp()
532 if (error_code == 0) { in AVDT_ConfigRsp()
798 uint16_t AVDT_SecurityRsp(uint8_t handle, uint8_t label, uint8_t error_code, in AVDT_SecurityRsp() argument
805 __func__, handle, label, error_code, len); in AVDT_SecurityRsp()
814 evt.msg.security_rsp.hdr.err_code = error_code; in AVDT_SecurityRsp()
/packages/modules/Bluetooth/system/main/shim/
Dl2c_api.cc161 bluetooth::hci::ErrorCode error_code) { in on_channel_close()
404 void OnReadRemoteVersionInformation(hci::ErrorCode error_code, in OnReadRemoteVersionInformation()
442 void OnRoleChange(hci::ErrorCode error_code, hci::Address remote, in OnRoleChange()
445 ToLegacyHciErrorCode(error_code)); in OnRoleChange()
446 btm_acl_role_changed(ToLegacyHciErrorCode(error_code), ToRawAddress(remote), in OnRoleChange()
454 void OnModeChange(hci::ErrorCode error_code, hci::Address remote, in OnModeChange()
456 btm_sco_chk_pend_unpark(ToLegacyHciErrorCode(error_code), in OnModeChange()
458 btm_pm_proc_mode_change(ToLegacyHciErrorCode(error_code), in OnModeChange()
463 void OnSniffSubrating(hci::ErrorCode error_code, hci::Address remote, in OnSniffSubrating()
467 process_ssr_event(ToLegacyHciErrorCode(error_code), in OnSniffSubrating()
[all …]
/packages/modules/Bluetooth/system/test/headless/sdp/
Dsdp.cc45 uint16_t error_code; member
75 if (sdp_error_code[i].error_code == code) { in SdpErrorCodeToString()
/packages/modules/Bluetooth/system/gd/hci/
Dhci_layer_test.cc405 ErrorCode error_code = ErrorCode::SUCCESS; in SetUp() local
406 …callbacks->hciEventReceived(GetPacketBytes(ResetCompleteBuilder::Create(num_packets, error_code))); in SetUp()
506 ErrorCode error_code = ErrorCode::SUCCESS; in TEST_F() local
514 …ReadLocalVersionInformationCompleteBuilder::Create(num_packets, error_code, local_version_informat… in TEST_F()
553 ErrorCode error_code = ErrorCode::SUCCESS; in TEST_F() local
561 …ReadLocalVersionInformationCompleteBuilder::Create(num_packets, error_code, local_version_informat… in TEST_F()
591 …GetPacketBytes(ReadLocalSupportedCommandsCompleteBuilder::Create(num_packets, error_code, supporte… in TEST_F()
615 …GetPacketBytes(ReadLocalSupportedFeaturesCompleteBuilder::Create(num_packets, error_code, lmp_feat… in TEST_F()
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_avdt_api.cc51 uint16_t AVDT_ConfigRsp(uint8_t handle, uint8_t label, uint8_t error_code, in AVDT_ConfigRsp() argument
109 uint16_t AVDT_SecurityRsp(uint8_t handle, uint8_t label, uint8_t error_code, in AVDT_SecurityRsp() argument
/packages/modules/Bluetooth/tools/rootcanal/lmp/
Dlmp_packets.pdl117 error_code: 8,
126 error_code: 8,
/packages/modules/adb/client/openscreen/platform/
Dudp_socket.cpp594 void OnError(Error::Code error_code) { in JoinMulticastGroup() argument
596 if (error_code != Error::Code::kNone && error_code != Error::Code::kAgain) { in JoinMulticastGroup()
605 client_->OnError(this, Error(error_code, stream.str())); in JoinMulticastGroup()
/packages/modules/Bluetooth/system/bta/av/
Dbta_av_api.cc373 void BTA_AvProtectRsp(tBTA_AV_HNDL hndl, uint8_t error_code, uint8_t* p_data, in BTA_AvProtectRsp() argument
381 p_buf->error_code = error_code; in BTA_AvProtectRsp()
/packages/modules/Bluetooth/system/gd/os/android/
Dmetrics.cc414 uint32_t error_code, in LogMetricBluetoothHalCrashReason() argument
417 …stats_write(BLUETOOTH_HAL_CRASH_REASON_REPORTED, 0 /* metric_id */, byteField, error_code, vendor_… in LogMetricBluetoothHalCrashReason()
422 common::ToHexString(error_code).c_str(), in LogMetricBluetoothHalCrashReason()
/packages/modules/Bluetooth/tools/rootcanal/lmp/test/SP/
DBV-04-C.in12 error_code: 0x37,

1234