Home
last modified time | relevance | path

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

1234

/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dclassic_acl_connection.cc173 std::string error_code = ErrorCodeText(status); in on_role_discovery_complete() local
174 log::error("Received on_role_discovery_complete with error code {}", error_code); in on_role_discovery_complete()
187 std::string error_code = ErrorCodeText(status); in on_read_link_policy_settings_complete() local
188 log::error("Received on_read_link_policy_settings_complete with error code {}", error_code); in on_read_link_policy_settings_complete()
201 std::string error_code = ErrorCodeText(status); in on_read_automatic_flush_timeout_complete() local
203 "Received on_read_automatic_flush_timeout_complete with error code {}", error_code); in on_read_automatic_flush_timeout_complete()
216 std::string error_code = ErrorCodeText(status); in on_read_transmit_power_level_complete() local
217 log::error("Received on_read_transmit_power_level_complete with error code {}", error_code); in on_read_transmit_power_level_complete()
230 std::string error_code = ErrorCodeText(status); in on_read_link_supervision_timeout_complete() local
232 "Received on_read_link_supervision_timeout_complete with error code {}", error_code); in on_read_link_supervision_timeout_complete()
[all …]
Dclassic_impl.h453 std::string error_code = ErrorCodeText(status); in on_connection_packet_type_changed() local
454 log::error("Received on_connection_packet_type_changed with error code {}", error_code); in on_connection_packet_type_changed()
470 std::string error_code = ErrorCodeText(status); in on_central_link_key_complete() local
471 log::error("Received on_central_link_key_complete with error code {}", error_code); in on_central_link_key_complete()
500 std::string error_code = ErrorCodeText(status); in on_change_connection_link_key_complete() local
501 log::error("Received on_change_connection_link_key_complete with error code {}", error_code); in on_change_connection_link_key_complete()
516 std::string error_code = ErrorCodeText(status); in on_read_clock_offset_complete() local
517 log::error("Received on_read_clock_offset_complete with error code {}", error_code); in on_read_clock_offset_complete()
564 std::string error_code = ErrorCodeText(status); in on_qos_setup_complete() local
565 log::error("Received on_qos_setup_complete with error code {}", error_code); in on_qos_setup_complete()
[all …]
Dclassic_impl_test.cc96 hci::OpCode op_code, hci::ErrorCode error_code) { in ReturnCommandComplete() argument
97 std::vector<uint8_t> success_vector{static_cast<uint8_t>(error_code)}; in ReturnCommandComplete()
106 hci::OpCode op_code, hci::ErrorCode error_code) { in ReturnCommandStatus() argument
107 std::vector<uint8_t> success_vector{static_cast<uint8_t>(error_code)}; in ReturnCommandStatus()
Dclassic_acl_connection_test.cc329 for (const auto& error_code : error_code_vector) { in TEST_F() local
330 connection_management_callbacks_->OnDisconnection(error_code); in TEST_F()
336 for (const auto& error_code : error_code_vector) { in TEST_F() local
337 ASSERT_EQ(error_code, callbacks_.on_disconnection_error_code_queue_.front()); in TEST_F()
/packages/modules/Bluetooth/system/stack/include/
Dhci_error_code.h78 inline std::string hci_error_code_text(const tHCI_ERROR_CODE& error_code) { in hci_error_code_text() argument
79 switch (error_code) { in hci_error_code_text()
121 return base::StringPrintf("UNKNOWN[0x%02hx]", error_code); in hci_error_code_text()
137 inline tHCI_ERROR_CODE to_hci_error_code(const uint8_t& error_code) { in to_hci_error_code() argument
138 if (error_code > _HCI_ERR_MAX_ERR) return HCI_ERR_UNDEFINED; in to_hci_error_code()
139 return static_cast<tHCI_ERROR_CODE>(error_code); in to_hci_error_code()
/packages/modules/Connectivity/remoteauth/service/jni/src/
Dremoteauth_jni_android_platform.rs82 fn on_error(&mut self, error_code: i32); in on_error()
207 fn on_send_request_error(&self, error_code: i32, response_handle: i64) { in on_send_request_error()
211 error_code, in on_send_request_error()
216 callback.on_error(error_code); in on_send_request_error()
265 error_code: jint, in Java_com_android_server_remoteauth_jni_NativeRemoteAuthJavaPlatform_native_on_send_request_error()
270 native_on_send_request_error(env, error_code, platform_handle, response_handle); in Java_com_android_server_remoteauth_jni_NativeRemoteAuthJavaPlatform_native_on_send_request_error()
275 error_code: jint, in native_on_send_request_error()
281 platform.on_send_request_error(error_code, response_handle); in native_on_send_request_error()
/packages/modules/Bluetooth/tools/rootcanal/net/posix/
Dposix_async_socket.cc126 int error_code = 0; in Close() local
127 socklen_t error_code_size = sizeof(error_code); in Close()
128 getsockopt(fd_, SOL_SOCKET, SO_ERROR, reinterpret_cast<void*>(&error_code), in Close()
134 error_code = ::close(fd_); in Close()
135 if (error_code == -1) { in Close()
/packages/modules/adb/client/
Dmdnsresponder_client.cpp59 uint32_t interface_index, DNSServiceErrorType error_code,
369 uint32_t /*interface_index*/, DNSServiceErrorType error_code, in register_service_ip() argument
372 D("%s: sdref=%p flags=0x%08x error_code=%u ttl=%u", __func__, sdref, flags, error_code, ttl); in register_service_ip()
378 if (error_code != kDNSServiceErr_NoError) { in register_service_ip()
379 D("Got error while looking up ip_addr [%u]", error_code); in register_service_ip()
393 DNSServiceErrorType error_code, const char* fullname,
482 DNSServiceErrorType error_code, const char* fullname, in register_resolved_mdns_service() argument
489 if (error_code != kDNSServiceErr_NoError) { in register_resolved_mdns_service()
490 D("Got error %d resolving service.", error_code); in register_resolved_mdns_service()
515 uint32_t interface_index, DNSServiceErrorType error_code, in on_service_browsed() argument
[all …]
/packages/modules/Virtualization/vmclient/src/
Derror_code.rs38 fn from(error_code: AidlErrorCode) -> Self { in from()
39 match error_code { in from()
44 _ => Self::Unrecognised(error_code), in from()
Dlib.rs18 mod error_code; module
23 pub use crate::error_code::ErrorCode;
151 fn on_error(&self, cid: i32, error_code: ErrorCode, message: &str) {} in on_error()
347 fn onError(&self, cid: i32, error_code: AidlErrorCode, message: &str) -> BinderResult<()> { in onError()
350 let error_code = error_code.into(); in onError() localVariable
351 callback.on_error(cid, error_code, message); in onError()
/packages/modules/Bluetooth/system/rust/src/gatt/server/transactions/
Dread_by_group_type_request.rs43 error_code: AttErrorCode::ATTRIBUTE_NOT_FOUND, in handle_read_by_group_type_request()
51 failure_response.error_code = AttErrorCode::INVALID_HANDLE; in handle_read_by_group_type_request()
60 failure_response.error_code = AttErrorCode::UNSUPPORTED_GROUP_TYPE; in handle_read_by_group_type_request()
84 failure_response.error_code = err; in handle_read_by_group_type_request()
199 error_code: AttErrorCode::UNSUPPORTED_GROUP_TYPE, in test_invalid_group_type()
226 error_code: AttErrorCode::INVALID_HANDLE, in test_range_validation()
409 error_code: AttErrorCode::ATTRIBUTE_NOT_FOUND, in test_no_results()
Dread_request.rs27 Err(error_code) => AttErrorResponseBuilder { in handle_read_request()
30 error_code, in handle_read_request()
114 error_code: AttErrorCode::INVALID_HANDLE, in test_missed_read()
143 error_code: AttErrorCode::READ_NOT_PERMITTED, in test_not_readable()
Dread_by_type_request.rs36 error_code: AttErrorCode::ATTRIBUTE_NOT_FOUND, in handle_read_by_type_request()
44 failure_response.error_code = AttErrorCode::INVALID_HANDLE; in handle_read_by_type_request()
64 failure_response.error_code = err; in handle_read_by_type_request()
280 error_code: AttErrorCode::ATTRIBUTE_NOT_FOUND, in test_no_results()
306 error_code: AttErrorCode::INVALID_HANDLE, in test_range_validation()
Dwrite_request.rs16 Err(error_code) => AttErrorResponseBuilder { in handle_write_request()
19 error_code, in handle_write_request()
99 error_code: AttErrorCode::WRITE_NOT_PERMITTED in test_failed_write()
Dfind_information_request.rs30 error_code: AttErrorCode::INVALID_HANDLE, in handle_find_information_request()
51 error_code: AttErrorCode::ATTRIBUTE_NOT_FOUND, in handle_find_information_request()
265 error_code: AttErrorCode::INVALID_HANDLE, in test_handle_validation()
347 error_code: AttErrorCode::ATTRIBUTE_NOT_FOUND, in test_empty_output()
Dfind_by_type_value.rs33 error_code: AttErrorCode::INVALID_HANDLE, in handle_find_by_type_value_request()
67 error_code: AttErrorCode::ATTRIBUTE_NOT_FOUND, in handle_find_by_type_value_request()
245 error_code: AttErrorCode::INVALID_HANDLE, in test_range_check()
279 error_code: AttErrorCode::ATTRIBUTE_NOT_FOUND, in test_empty_response()
/packages/providers/MediaProvider/jni/
DFuseDaemon.cpp546 const std::string& path, const std::string& name, fuse_req_t req, int* error_code, in validate_node_path() argument
554 *error_code = errno; in validate_node_path()
564 *error_code = ENONET; in validate_node_path()
570 *error_code = ENOENT; in validate_node_path()
593 *error_code = EFAULT; in validate_node_path()
600 *error_code = errno; in validate_node_path()
609 struct fuse_entry_param* e, int* error_code, const FuseOp op) { in make_node_entry() argument
617 validate_node_path(path, name, req, error_code, e, op); in make_node_entry()
906 struct fuse_entry_param* e, int* error_code, const FuseOp op, in do_lookup() argument
911 *error_code = ENOENT; in do_lookup()
[all …]
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_hap_client.cpp157 ErrorCode error_code) override { in OnActivePresetSelectError() argument
175 (jint)error_code); in OnActivePresetSelectError()
179 std::get<int>(addr_or_group_id), (jint)error_code); in OnActivePresetSelectError()
242 ErrorCode error_code) override { in OnPresetInfoError() argument
261 (jint)error_code); in OnPresetInfoError()
265 (jint)preset_index, (jint)error_code); in OnPresetInfoError()
271 ErrorCode error_code) override { in OnSetPresetNameError() argument
290 (jint)error_code); in OnSetPresetNameError()
295 (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/tools/rootcanal/rust/
Dllcp_packets.pdl68 error_code: 8,
114 error_code: 16,
153 error_code: 8,
276 error_code: 8,
/packages/modules/Bluetooth/system/gd/hci/
Ddistance_measurement_manager.cc579 std::string error_code = ErrorCodeText(complete_view.GetStatus()); in on_cs_read_local_supported_capabilities() local
581 "Received LeCsReadLocalSupportedCapabilitiesComplete with error code {}", error_code); in on_cs_read_local_supported_capabilities()
593 std::string error_code = ErrorCodeText(event_view.GetStatus()); in on_cs_read_remote_supported_capabilities_complete() local
596 error_code); in on_cs_read_remote_supported_capabilities_complete()
629 std::string error_code = ErrorCodeText(complete_view.GetStatus()); in on_cs_set_default_settings_complete() local
630 log::warn("Received LeCsSetDefaultSettingsComplete with error code {}", error_code); in on_cs_set_default_settings_complete()
640 std::string error_code = ErrorCodeText(event_view.GetStatus()); in on_cs_security_enable_complete() local
641 log::warn("Received LeCsSecurityEnableCompleteView with error code {}", error_code); in on_cs_security_enable_complete()
664 std::string error_code = ErrorCodeText(event_view.GetStatus()); in on_cs_config_complete() local
665 log::warn("Received LeCsConfigCompleteView with error code {}", error_code); in on_cs_config_complete()
[all …]
Dhci_layer_test.cc237 ErrorCode error_code = ErrorCode::SUCCESS; in SetUp() local
238 …callbacks->hciEventReceived(GetPacketBytes(ResetCompleteBuilder::Create(num_packets, error_code))); in SetUp()
358 ErrorCode error_code = ErrorCode::SUCCESS; in TEST_F() local
366 …ReadLocalVersionInformationCompleteBuilder::Create(num_packets, error_code, local_version_informat… in TEST_F()
397 ErrorCode error_code = ErrorCode::SUCCESS; in TEST_F() local
405 …ReadLocalVersionInformationCompleteBuilder::Create(num_packets, error_code, local_version_informat… in TEST_F()
431 num_packets, error_code, supported_commands))); in TEST_F()
452 …GetPacketBytes(ReadLocalSupportedFeaturesCompleteBuilder::Create(num_packets, error_code, lmp_feat… in TEST_F()
/packages/modules/Bluetooth/system/stack/avdt/
Davdt_api.cc504 uint16_t AVDT_ConfigRsp(uint8_t handle, uint8_t label, uint8_t error_code, in AVDT_ConfigRsp() argument
512 label, error_code, category); in AVDT_ConfigRsp()
527 evt.msg.hdr.err_code = error_code; in AVDT_ConfigRsp()
530 if (error_code == 0) { in AVDT_ConfigRsp()
792 uint16_t AVDT_SecurityRsp(uint8_t handle, uint8_t label, uint8_t error_code, in AVDT_SecurityRsp() argument
799 label, error_code, len); in AVDT_SecurityRsp()
808 evt.msg.security_rsp.hdr.err_code = error_code; in AVDT_SecurityRsp()
/packages/modules/Bluetooth/system/gd/rust/topshim/btav_sink/
Dbtav_sink_shim.cc37 .error_code = error.error_code, in to_rust_error()
/packages/modules/Bluetooth/pandora/server/bumble_experimental/
Dgatt.py107 status = e.error_code # type: ignore
216 status = e.error_code # type: ignore
244 … characteristics_read=[ReadCharacteristicResponse(status=e.error_code)] # type: ignore
263 status = e.error_code # type: ignore

1234