Home
last modified time | relevance | path

Searched refs:APPL_TRACE_ERROR (Results 1 – 25 of 46) sorted by relevance

12

/system/bt/btif/src/
Dbtif_sock_thread.c57 #define asrt(s) if(!(s)) APPL_TRACE_ERROR("## %s assert %s failed at line:%d ##",__FUNCTION__, #s, …
120 APPL_TRACE_ERROR("pthread_create : %s", strerror(errno)); in create_thread()
147 APPL_TRACE_ERROR("execeeded max thread count"); in alloc_thread_slot()
157 else APPL_TRACE_ERROR("invalid thread handle:%d", h); in free_thread_slot()
193 APPL_TRACE_ERROR("create_thread failed: %s", strerror(status)); in btsock_thread_create()
212 APPL_TRACE_ERROR("socketpair failed: %s", strerror(errno)); in init_cmd_fd()
244 APPL_TRACE_ERROR("invalid bt thread handle:%d", h); in btsock_thread_add_fd()
249 APPL_TRACE_ERROR("cmd socket is not created. socket thread may not initialized"); in btsock_thread_add_fd()
277 APPL_TRACE_ERROR("%s invalid thread handle: %d", __func__, thread_handle); in btsock_thread_remove_fd_and_close()
282 APPL_TRACE_ERROR("%s invalid file descriptor.", __func__); in btsock_thread_remove_fd_and_close()
[all …]
Dbtif_sock_sdp.c154 APPL_TRACE_ERROR("create_base_record: failed to create base service " in create_base_record()
169 APPL_TRACE_ERROR("add_sdp_by_uuid: failed to create sdp record, " in add_sdp_by_uuid()
207 APPL_TRACE_ERROR("add_sdp_by_uuid: failed to register service " in add_sdp_by_uuid()
219 APPL_TRACE_ERROR("add_pbap_sdp: failed to create sdp record, " in add_pbap_sdp()
257 APPL_TRACE_ERROR("add_pbap_sdp: failed to register PBAP service, stage: %s, " in add_pbap_sdp()
268 APPL_TRACE_ERROR("add_ops_sdp: failed to create sdp record, " in add_ops_sdp()
325 APPL_TRACE_ERROR("add_ops_sdp: failed to register OPS service, " in add_ops_sdp()
337 APPL_TRACE_ERROR("add_spp_sdp: failed to create sdp record, " in add_spp_sdp()
359 APPL_TRACE_ERROR("add_spp_sdp: failed to register SPP service, " in add_spp_sdp()
Dbtif_sdp_server.c207 APPL_TRACE_ERROR("%s() failed - no more free slots!", __func__); in alloc_sdp_slot()
219 APPL_TRACE_ERROR("%s() failed - id %d is invalid", __func__, id); in free_sdp_slot()
249 APPL_TRACE_ERROR("%s() failed - id %d is invalid", __func__, id); in start_create_sdp()
261 APPL_TRACE_ERROR("%s() failed - state for id %d is " in start_create_sdp()
392 APPL_TRACE_ERROR("%s() - Unable to register MAPS Service", __func__); in add_maps_sdp()
450 APPL_TRACE_ERROR("%s() FAILED", __func__); in add_maps_sdp()
479 APPL_TRACE_ERROR("%s(): Unable to register MAP Notification Service", __func__); in add_mapc_sdp()
529 APPL_TRACE_ERROR("%s() FAILED", __func__); in add_mapc_sdp()
559 APPL_TRACE_ERROR("%s(): Unable to register PBAP Server Service", __func__); in add_pbaps_sdp()
613 APPL_TRACE_ERROR("%s() FAILED", __func__); in add_pbaps_sdp()
[all …]
Dbtif_media_task.c556 APPL_TRACE_ERROR("warning : no command pending, ignore ack"); in a2dp_cmd_acknowledge()
707 APPL_TRACE_ERROR("UNSUPPORTED CMD (%d)", cmd); in btif_recv_ctrl_data()
738 APPL_TRACE_ERROR("### A2DP-CTRL-CHANNEL EVENT %d NOT HANDLED ###", event); in btif_a2dp_ctrl_cb()
778 APPL_TRACE_ERROR("### A2DP-DATA EVENT %d NOT HANDLED ###", event); in btif_a2dp_data_cb()
853APPL_TRACE_ERROR("btif_a2dp_encoder_update: ERROR btif_a2dp_encoder_update min_bitpool > max_bitpo… in btif_a2dp_encoder_update()
893 APPL_TRACE_ERROR("warning : media task already running"); in btif_a2dp_start_media_task()
917 APPL_TRACE_ERROR("%s unable to start up media thread", __func__); in btif_a2dp_start_media_task()
1280 APPL_TRACE_ERROR("%s FAILED UNSUPPORTED", __func__); in btif_a2dp_on_offload_started()
1284 APPL_TRACE_ERROR("%s FAILED: status = %d", __func__, status); in btif_a2dp_on_offload_started()
1381 APPL_TRACE_ERROR("Insufficient data in que "); in btif_media_task_avk_handle_timer()
[all …]
Dbtif_sock_l2cap.c55 #define asrt(s) if (!(s)) APPL_TRACE_ERROR("## %s assert %s failed at line:%d ##",__FUNCTION__, \
259 APPL_TRACE_ERROR("SOCK_LIST: free(id = %d) - NO app_fd!", sock->id); in btsock_l2cap_free_l()
314 APPL_TRACE_ERROR("socketpair failed, errno:%d", errno); in btsock_l2cap_alloc_l()
406 else APPL_TRACE_ERROR("sock_send_fd failed, fd:%d, send_fd:%d", fd, send_fd); in send_app_connect_signal()
421 APPL_TRACE_ERROR("Error starting l2cap_listen - status: 0x%04x", p_start->status); in on_srv_l2cap_listen_started()
546 APPL_TRACE_ERROR("send_app_psm_or_chan_l failed"); in on_cl_l2cap_psm_connect_l()
557 else APPL_TRACE_ERROR("send_app_connect_signal failed"); in on_cl_l2cap_psm_connect_l()
565 APPL_TRACE_ERROR("send_app_psm_or_chan_l failed"); in on_cl_l2cap_le_connect_l()
576 else APPL_TRACE_ERROR("send_app_connect_signal failed"); in on_cl_l2cap_le_connect_l()
588 APPL_TRACE_ERROR("on_l2cap_connect on unknown socket"); in on_l2cap_connect()
[all …]
/system/bt/btif/co/
Dbta_av_co.c258 APPL_TRACE_ERROR("bta_av_co_get_peer peer index out of bounds:%d", index); in bta_av_co_get_peer()
356 APPL_TRACE_ERROR("bta_av_co_audio_disc_res could not find peer entry"); in bta_av_co_audio_disc_res()
363 APPL_TRACE_ERROR("bta_av_co_audio_disc_res peer already opened"); in bta_av_co_audio_disc_res()
480 APPL_TRACE_ERROR("bta_av_audio_sink_getconfig could not find peer entry"); in bta_av_audio_sink_getconfig()
521 APPL_TRACE_ERROR("bta_av_audio_sink_getconfig no more room for SRC info"); in bta_av_audio_sink_getconfig()
599 APPL_TRACE_ERROR("bta_av_co_audio_getconfig could not find peer entry"); in bta_av_co_audio_getconfig()
651 APPL_TRACE_ERROR("bta_av_co_audio_getconfig no more room for SNK info"); in bta_av_co_audio_getconfig()
764 APPL_TRACE_ERROR("bta_av_co_audio_setconfig could not find peer entry"); in bta_av_co_audio_setconfig()
776 APPL_TRACE_ERROR("bta_av_co_audio_setconfig peer already in use"); in bta_av_co_audio_setconfig()
786 APPL_TRACE_ERROR("bta_av_co_audio_setconfig wrong CP configuration"); in bta_av_co_audio_setconfig()
[all …]
Dbta_hh_co.c51 APPL_TRACE_ERROR("%s() Getting flags failed (%s)", __func__, strerror(errno)); in uhid_set_non_blocking()
67 APPL_TRACE_ERROR("%s: Cannot write to uhid:%s", in uhid_write()
71 APPL_TRACE_ERROR("%s: Wrong size written to uhid: %zd != %zu", in uhid_write()
91 APPL_TRACE_ERROR("%s: Read HUP on uhid-cdev %s", __FUNCTION__, in uhid_read_event()
95 APPL_TRACE_ERROR("%s: Cannot read uhid-cdev: %s", __FUNCTION__, in uhid_read_event()
102 APPL_TRACE_ERROR("%s: Invalid size read from uhid-dev: %ld != %lu", in uhid_read_event()
127 APPL_TRACE_ERROR("%s: Invalid size read from uhid-dev: %zd < %zu", in uhid_read_event()
181 APPL_TRACE_ERROR("pthread_create : %s", strerror(errno)); in create_thread()
213 APPL_TRACE_ERROR("%s: Cannot poll for fds: %s\n", __func__, strerror(errno)); in btif_hh_poll_event_thread()
306 APPL_TRACE_ERROR("%s: Error: failed to open uhid, err:%s", in bta_hh_co_open()
[all …]
/system/bt/bta/gatt/
Dbta_gatts_act.c139 APPL_TRACE_ERROR("BTA GATTS NV register failed."); in bta_gatts_enable()
170 APPL_TRACE_ERROR("GATTS not enabled"); in bta_gatts_api_disable()
200 APPL_TRACE_ERROR("application already registered."); in bta_gatts_register()
222 APPL_TRACE_ERROR("register application first_unuse rcb_idx = %d", first_unuse); in bta_gatts_register()
270 APPL_TRACE_ERROR("Unable to start app.: Unknown interface =%d", in bta_gatts_start_if()
316 APPL_TRACE_ERROR("application not registered."); in bta_gatts_deregister()
339 APPL_TRACE_ERROR("create service rcb_idx = %d", rcb_idx); in bta_gatts_create_srvc()
369 APPL_TRACE_ERROR("service creation failed."); in bta_gatts_create_srvc()
379 APPL_TRACE_ERROR("Application not registered"); in bta_gatts_create_srvc()
574 APPL_TRACE_ERROR("bta_gatts_stop_service service_id= %d", p_srvc_cb->service_id); in bta_gatts_stop_service()
[all …]
Dbta_gattc_cache.c87 APPL_TRACE_ERROR("\t Attr handle[%d] uuid[0x%04x] type[%s] prop[0x%1x]", in display_cache_attribute()
95 APPL_TRACE_ERROR("Service: handle[%d ~ %d] %s[0x%04x] inst[%d]", in display_cache_service()
119 APPL_TRACE_ERROR("<================Start Server Cache =============>"); in bta_gattc_display_cache_server()
121 APPL_TRACE_ERROR("<================End Server Cache =============>"); in bta_gattc_display_cache_server()
122 APPL_TRACE_ERROR(" "); in bta_gattc_display_cache_server()
139 APPL_TRACE_ERROR("<================Start Explore Queue =============>"); in bta_gattc_display_explore_record()
142 APPL_TRACE_ERROR("\t rec[%d] uuid[0x%04x] s_handle[%d] e_handle[%d] is_primary[%d]", in bta_gattc_display_explore_record()
145 APPL_TRACE_ERROR("<================ End Explore Queue =============>"); in bta_gattc_display_explore_record()
146 APPL_TRACE_ERROR(" "); in bta_gattc_display_explore_record()
242 APPL_TRACE_ERROR("Illegal action to add char/descr/incl srvc for non-existing service!"); in bta_gattc_add_char_to_cache()
[all …]
Dbta_gattc_act.c147 APPL_TRACE_ERROR("not enabled or disable in pogress"); in bta_gattc_disable()
208 APPL_TRACE_ERROR("Register with GATT stack failed."); in bta_gattc_register()
261APPL_TRACE_ERROR("Unable to start app.: Unknown interface =%d",p_msg->int_start_if.client_if ); in bta_gattc_start_if()
317 APPL_TRACE_ERROR("bta_gattc_deregister Deregister Failedm unknown client cif"); in bta_gattc_deregister()
348 APPL_TRACE_ERROR("No resources to open a new connection."); in bta_gattc_process_api_open()
364 APPL_TRACE_ERROR("bta_gattc_process_api_open Failed, unknown client_if: %d", in bta_gattc_process_api_open()
395 APPL_TRACE_ERROR("No such connection need to be cancelled"); in bta_gattc_process_api_open_cancel()
474 APPL_TRACE_ERROR("Connection already opened. wrong state"); in bta_gattc_open_error()
523 APPL_TRACE_ERROR("Connection open failure"); in bta_gattc_open()
565 APPL_TRACE_ERROR("%s unable to connect to remote bd_addr:%02x:%02x:%02x:%02x:%02x:%02x", in bta_gattc_init_bk_conn()
[all …]
Dbta_gattc_api.c602 APPL_TRACE_ERROR("deregistration failed, handle is 0"); in BTA_GATTC_RegisterForNotifications()
638 APPL_TRACE_ERROR("Max Notification Reached, registration failed."); in BTA_GATTC_RegisterForNotifications()
644 APPL_TRACE_ERROR("Client_if: %d Not Registered", client_if); in BTA_GATTC_RegisterForNotifications()
667 APPL_TRACE_ERROR("%s: deregistration failed, handle is 0", __func__); in BTA_GATTC_DeregisterForNotifications()
673 APPL_TRACE_ERROR("%s client_if: %d not registered bd_addr:%02x:%02x:%02x:%02x:%02x:%02x", in BTA_GATTC_DeregisterForNotifications()
689 APPL_TRACE_ERROR("%s registration not found bd_addr:%02x:%02x:%02x:%02x:%02x:%02x", in BTA_GATTC_DeregisterForNotifications()
Dbta_gattc_utils.c310 APPL_TRACE_ERROR("bta_gattc_clcb_dealloc p_clcb=NULL"); in bta_gattc_clcb_dealloc()
441 APPL_TRACE_ERROR ("%s: already has a pending command!!", __func__); in bta_gattc_enqueue()
510 APPL_TRACE_ERROR("can not clear indication/notif registration for unknown app"); in bta_gattc_clear_notif_registration()
563 APPL_TRACE_ERROR("%s unable to find the bg connection mask for: %s", __func__, in bta_gattc_mark_bg_conn()
587 APPL_TRACE_ERROR("no available space to mark the bg connection status"); in bta_gattc_mark_bg_conn()
Dbta_gatts_main.c131 APPL_TRACE_ERROR("service not created"); in bta_gatts_hdl_event()
/system/bt/bta/hf_client/
Dbta_hf_client_at.c150 APPL_TRACE_ERROR("HFPClient: AT response timeout, disconnecting"); in bta_hf_client_at_resp_timer_cback()
706 APPL_TRACE_ERROR("%s: Format Error %s", __func__, buffer); in bta_hf_client_parse_cind_list()
829 APPL_TRACE_ERROR("%s: Format Error %s", __func__, buffer); in bta_hf_client_parse_ciev()
916 APPL_TRACE_ERROR("%s: Format Error %s", __func__, buffer); in bta_hf_client_parse_clip()
950 APPL_TRACE_ERROR("%s: Format Error %s", __func__, buffer); in bta_hf_client_parse_ccwa()
983 APPL_TRACE_ERROR("%s: Format Error %s", __func__, buffer); in bta_hf_client_parse_cops()
1022 APPL_TRACE_ERROR("%s: Format Error %s", __func__, buffer); in bta_hf_client_parse_binp()
1064 APPL_TRACE_ERROR("%s: Format Error %s", __func__, buffer); in bta_hf_client_parse_clcc()
1095 APPL_TRACE_ERROR("%s: Format Error %s", __func__, buffer); in bta_hf_client_parse_clcc()
1163 APPL_TRACE_ERROR("%s: Format Error %s", __func__, buffer); in bta_hf_client_parse_cnum()
[all …]
Dbta_hf_client_cmd.c80 APPL_TRACE_ERROR("Default case"); in bta_hf_client_send_at_cmd()
85 APPL_TRACE_ERROR("%s ", buf); in bta_hf_client_send_at_cmd()
Dbta_hf_client_main.c421 APPL_TRACE_ERROR("BTA HF Client is already disabled, ignoring ..."); in bta_hf_client_api_disable()
501 APPL_TRACE_ERROR("HF Client evt out of range, ignoring..."); in bta_hf_client_sm_execute()
563 APPL_TRACE_ERROR("HFPClient: Failed to create SLC due to AT error, disconnecting (%u)", in bta_hf_client_slc_seq()
622APPL_TRACE_ERROR("HFPClient: Failed to create SLCdue to unexpected AT command, disconnecting (%u)", in bta_hf_client_slc_seq()
Dbta_hf_client_api.c63 APPL_TRACE_ERROR("BTA HF Client is already enabled, ignoring ..."); in BTA_HfClientEnable()
Dbta_hf_client_rfc.c94APPL_TRACE_ERROR ("bta_hf_client_mgmt_cback: PORT_SUCCESS, ignoring handle = %d", port_handle); in bta_hf_client_mgmt_cback()
/system/bt/bta/hl/
Dbta_hl_main.c539 APPL_TRACE_ERROR("HL is already enabled"); in bta_hl_api_enable()
784 APPL_TRACE_ERROR("Invalid app_handle=%d", p_data->api_dereg.app_handle); in bta_hl_api_deregister()
843 APPL_TRACE_ERROR("bta_hl_api_cch_open Null Callback"); in bta_hl_api_cch_open()
878 APPL_TRACE_ERROR("bta_hl_api_cch_open Null Callback"); in bta_hl_api_cch_open()
882 APPL_TRACE_ERROR("status code=%d", status); in bta_hl_api_cch_open()
938 APPL_TRACE_ERROR("bta_hl_api_cch_close Null Callback"); in bta_hl_api_cch_close()
942 APPL_TRACE_ERROR("status code=%d", status); in bta_hl_api_cch_close()
1091 APPL_TRACE_ERROR("bta_hl_api_dch_open Null Callback"); in bta_hl_api_dch_open()
1096 APPL_TRACE_ERROR("Status code=%d", status); in bta_hl_api_dch_open()
1161 APPL_TRACE_ERROR("bta_hl_api_dch_close Null Callback"); in bta_hl_api_dch_close()
[all …]
Dbta_hl_act.c171 APPL_TRACE_ERROR("SDP INIT failed"); in bta_hl_dch_sdp_init()
178 APPL_TRACE_ERROR("SDP in use"); in bta_hl_dch_sdp_init()
268 APPL_TRACE_ERROR("Unknonw echo_oper=%d",p_dcb->echo_oper); in bta_hl_dch_mca_rcv_data()
655APPL_TRACE_ERROR("DCH operation not found oper=%s", bta_hl_dch_oper_code(p_dcb->dch_oper)); in bta_hl_dch_close_cmpl()
657 APPL_TRACE_ERROR("DCH operation not found oper=%d", p_dcb->dch_oper); in bta_hl_dch_close_cmpl()
686 APPL_TRACE_ERROR("Invalid echo_oper=%d", p_dcb->echo_oper); in bta_hl_dch_close_cmpl()
805APPL_TRACE_ERROR("Invalid dch_oper=%s for close cfm", bta_hl_dch_oper_code(p_dcb->dch_oper) ); in bta_hl_dch_mca_close_cfm()
807 APPL_TRACE_ERROR("Invalid dch_oper=%d for close cfm", p_dcb->dch_oper); in bta_hl_dch_mca_close_cfm()
959 APPL_TRACE_ERROR("Unabel to close DCH for reconnect cfg mismatch"); in bta_hl_dch_mca_open_ind()
1036 APPL_TRACE_ERROR("Error dch oper =%d", p_dcb->dch_oper); in bta_hl_dch_mca_open_cfm()
[all …]
Dbta_hl_utils.c195 APPL_TRACE_ERROR("The MPS is zero"); in bta_hl_set_tx_win_size()
401 APPL_TRACE_ERROR("Inavlid echo cfg value"); in bta_hl_find_echo_cfg_rsp()
437 APPL_TRACE_ERROR("the first DCH should be a reliable channel"); in bta_hl_validate_cfg()
1898 APPL_TRACE_ERROR("BTA_HL_STATUS_INVALID_DCH_CFG"); in bta_hl_chk_local_cfg()
1974 APPL_TRACE_ERROR("mdl_id=%d is curreltly in use",p_reconnect->mdl_id); in bta_hl_validate_reconnect_params()
2182 APPL_TRACE_ERROR("bta_hl_app_update: Out of MDEP IDs"); in bta_hl_app_update()
2212 APPL_TRACE_ERROR("bta_hl_app_registration: Invalid Role %d", in bta_hl_app_update()
2220 APPL_TRACE_ERROR("bta_hl_app_registration: Cfg callout failed"); in bta_hl_app_update()
2227 APPL_TRACE_ERROR("bta_hl_app_registration: MCA_CreateDep failed"); in bta_hl_app_update()
2272 APPL_TRACE_ERROR("Error deregistering"); in bta_hl_app_update()
[all …]
/system/bt/bta/hh/
Dbta_hh_le.c991 APPL_TRACE_ERROR("Set Boot Mode failed!! No PROTO_MODE Char!"); in bta_hh_le_set_protocol_mode()
1059 APPL_TRACE_ERROR("received unexpected/error DIS callback"); in bta_hh_le_dis_cback()
1101 APPL_TRACE_ERROR("read DIS failed"); in bta_hh_le_pri_service_discovery()
1134 APPL_TRACE_ERROR("unexpected encryption callback, ignore"); in bta_hh_le_encrypt_cback()
1192 APPL_TRACE_ERROR("%s() - encryption failed; status=0x%04x, reason=0x%04x", in bta_hh_security_cmpl()
1410 APPL_TRACE_ERROR("%s: Remote device does not have battery level", __func__); in process_included()
1434 APPL_TRACE_ERROR("Add battery report entry failed !!!"); in process_included()
1443 APPL_TRACE_ERROR("%s: Remote device does not have battery level", __func__); in process_included()
1490 APPL_TRACE_ERROR("%s: Add report entry failed !!!", __func__); in bta_hh_le_search_hid_chars()
1508 APPL_TRACE_ERROR("%s: Add report entry failed !!!", __func__); in bta_hh_le_search_hid_chars()
[all …]
/system/bt/bta/av/
Dbta_av_sbc.c444 APPL_TRACE_ERROR("bta_av_sbc_cfg_for_cap: ch_mode(0x%02X) not supported", p_pref->ch_mode); in bta_av_sbc_cfg_for_cap()
455APPL_TRACE_ERROR("bta_av_sbc_cfg_for_cap: samp_freq(0x%02X) not supported", p_pref->samp_freq); in bta_av_sbc_cfg_for_cap()
466APPL_TRACE_ERROR("bta_av_sbc_cfg_for_cap: block_len(0x%02X) not supported", p_pref->block_len); in bta_av_sbc_cfg_for_cap()
477APPL_TRACE_ERROR("bta_av_sbc_cfg_for_cap: num_subbands(0x%02X) not supported", p_pref->num_subband… in bta_av_sbc_cfg_for_cap()
488APPL_TRACE_ERROR("bta_av_sbc_cfg_for_cap: alloc_mthd(0x%02X) not supported", p_pref->alloc_mthd); in bta_av_sbc_cfg_for_cap()
530 APPL_TRACE_ERROR(" bta_av_sbc_cfg_matches_cap Parsing Failed %d", status); in bta_av_sbc_cfg_matches_cap()
/system/bt/bta/jv/
Dbta_jv_act.c139 APPL_TRACE_ERROR("get_sec_id_used, sec id exceeds the limit:%d", in get_sec_id_used()
153 APPL_TRACE_ERROR("get_sec_id_used, rfc ctrl block exceeds the limit:%d", in get_rfc_cb_used()
218 APPL_TRACE_ERROR( "bta_jv_alloc_rfc_cb: port_handle:%d, ctrl block exceeds " in bta_jv_alloc_rfc_cb()
285 APPL_TRACE_ERROR("bta_jv_free_sr_rfc_cb, p_cb or p_pcb cannot be null"); in bta_jv_free_rfc_cb()
683 APPL_TRACE_ERROR("%s",__func__); in bta_jv_disable()
720 APPL_TRACE_ERROR("%s unable to free psm 0x%x no more free slots",__func__, psm); in bta_jv_set_free_psm()
746 APPL_TRACE_ERROR("rfc channel:%d already in use or invalid", channel); in bta_jv_get_channel_id()
750 APPL_TRACE_ERROR("run out of rfc channels"); in bta_jv_get_channel_id()
1392 APPL_TRACE_ERROR("%s() ls->p_cb->p_cback == NULL", __func__); in bta_jv_l2cap_write()
1453 APPL_TRACE_ERROR("unknown callout type:%d", type); in bta_jv_port_data_co_cback()
[all …]
/system/bt/main/
Dbte_main.c266 APPL_TRACE_ERROR("Invalid Controller ID. Discarding message."); in bte_main_hci_send()

12