Home
last modified time | relevance | path

Searched refs:resp (Results 1 – 6 of 6) sorted by relevance

/system/core/fastboot/
Dengine.c76 int (*func)(Action *a, int status, char *resp);
124 static int cb_default(Action *a, int status, char *resp) in cb_default() argument
127 fprintf(stderr,"FAILED (%s)\n", resp); in cb_default()
225 static int cb_check(Action *a, int status, char *resp, int invert) in cb_check() argument
233 fprintf(stderr,"FAILED (%s)\n", resp); in cb_check()
247 yes = match(resp, value, count); in cb_check()
258 fprintf(stderr,"Device %s is '%s'.\n", a->cmd + 7, resp); in cb_check()
268 static int cb_require(Action *a, int status, char *resp) in cb_require() argument
270 return cb_check(a, status, resp, 0); in cb_require()
273 static int cb_reject(Action *a, int status, char *resp) in cb_reject() argument
[all …]
/system/bt/stack/bnep/
Dbnep_api.c234 tBNEP_RESULT BNEP_ConnectResp (UINT16 handle, tBNEP_RESULT resp) in BNEP_ConnectResp() argument
248 BNEP_TRACE_API ("BNEP_ConnectResp() for handle %d, responce %d", handle, resp); in BNEP_ConnectResp()
251 if (resp == BNEP_CONN_FAILED_SRC_UUID) resp_code = BNEP_SETUP_INVALID_SRC_UUID; in BNEP_ConnectResp()
252 else if (resp == BNEP_CONN_FAILED_DST_UUID) resp_code = BNEP_SETUP_INVALID_DEST_UUID; in BNEP_ConnectResp()
253 else if (resp == BNEP_CONN_FAILED_UUID_SIZE) resp_code = BNEP_SETUP_INVALID_UUID_SIZE; in BNEP_ConnectResp()
254 else if (resp == BNEP_SUCCESS) resp_code = BNEP_SETUP_CONN_OK; in BNEP_ConnectResp()
260 if (resp == BNEP_SUCCESS) in BNEP_ConnectResp()
Dbnep_utils.c689 tBNEP_RESULT resp; in bnep_process_setup_conn_responce() local
713 resp = BNEP_CONN_FAILED_SRC_UUID; in bnep_process_setup_conn_responce()
717 resp = BNEP_CONN_FAILED_DST_UUID; in bnep_process_setup_conn_responce()
721 resp = BNEP_CONN_FAILED_UUID_SIZE; in bnep_process_setup_conn_responce()
726 resp = BNEP_CONN_FAILED; in bnep_process_setup_conn_responce()
749 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, resp, TRUE); in bnep_process_setup_conn_responce()
761 (*bnep_cb.p_conn_state_cb) (p_bcb->handle, p_bcb->rem_bda, resp, FALSE); in bnep_process_setup_conn_responce()
/system/bt/bta/ag/
Dbta_ag_sco.c1572 tBTM_ESCO_PARAMS resp; in bta_ag_sco_conn_rsp() local
1586 resp = bta_ag_cb.sco.params; in bta_ag_sco_conn_rsp()
1590 resp.rx_bw = BTM_64KBITS_RATE; in bta_ag_sco_conn_rsp()
1591 resp.tx_bw = BTM_64KBITS_RATE; in bta_ag_sco_conn_rsp()
1592 resp.max_latency = 10; in bta_ag_sco_conn_rsp()
1593 resp.voice_contfmt = 0x60; in bta_ag_sco_conn_rsp()
1594 resp.retrans_effort = BTM_ESCO_RETRANS_POWER; in bta_ag_sco_conn_rsp()
1598 resp.packet_types = (BTM_SCO_LINK_ONLY_MASK | in bta_ag_sco_conn_rsp()
1606 resp.packet_types = (BTM_SCO_LINK_ALL_PKT_MASK | in bta_ag_sco_conn_rsp()
1641 BTM_EScoConnRsp(p_data->sco_inx, hci_status, &resp); in bta_ag_sco_conn_rsp()
/system/bt/bta/hf_client/
Dbta_hf_client_sco.c149 tBTM_ESCO_PARAMS resp; in bta_hf_client_sco_conn_rsp() local
158 resp = bta_hf_client_esco_params[0]; in bta_hf_client_sco_conn_rsp()
162 resp = bta_hf_client_esco_params[bta_hf_client_cb.scb.negotiated_codec]; in bta_hf_client_sco_conn_rsp()
173 BTM_EScoConnRsp(p_data->sco_inx, hci_status, &resp); in bta_hf_client_sco_conn_rsp()
/system/bt/stack/include/
Dbnep_api.h299 extern tBNEP_RESULT BNEP_ConnectResp (UINT16 handle, tBNEP_RESULT resp);