Home
last modified time | relevance | path

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

/system/chre/host/common/
Dhost_protocol_host.cc79 const auto *resp = static_cast<const fbs::HubInfoResponse *>( in decodeMessageFromChre() local
82 const char *name = getStringFromByteVector(resp->name()); in decodeMessageFromChre()
83 const char *vendor = getStringFromByteVector(resp->vendor()); in decodeMessageFromChre()
84 const char *toolchain = getStringFromByteVector(resp->toolchain()); in decodeMessageFromChre()
87 name, vendor, toolchain, resp->platform_version(), in decodeMessageFromChre()
88 resp->toolchain_version(), resp->peak_mips(), resp->stopped_power(), in decodeMessageFromChre()
89 resp->sleep_power(), resp->peak_power(), resp->max_msg_len(), in decodeMessageFromChre()
90 resp->platform_id(), resp->chre_platform_version()); in decodeMessageFromChre()
95 const auto *resp = static_cast<const fbs::NanoappListResponse *>( in decodeMessageFromChre() local
98 resp->UnPackTo(&response); in decodeMessageFromChre()
[all …]
/system/core/fastboot/
Dengine.cpp68 int (*func)(Action* a, int status, const char* resp);
92 static int cb_default(Action* a, int status, const char* resp) { in cb_default() argument
94 fprintf(stderr,"FAILED (%s)\n", resp); in cb_default()
210 static int cb_check(Action* a, int status, const char* resp, int invert) in cb_check() argument
218 fprintf(stderr,"FAILED (%s)\n", resp); in cb_check()
232 yes = match(resp, value, count); in cb_check()
243 fprintf(stderr,"Device %s is '%s'.\n", a->cmd + 7, resp); in cb_check()
253 static int cb_require(Action*a, int status, const char* resp) { in cb_require() argument
254 return cb_check(a, status, resp, 0); in cb_require()
257 static int cb_reject(Action* a, int status, const char* resp) { in cb_reject() argument
[all …]
/system/chre/platform/slpi/include/chre/platform/slpi/
Dsmr_helper.h81 UniquePtr<ReqStruct> *req, UniquePtr<RespStruct> *resp,
91 resp->get(), sizeof(RespStruct), timeout, &result);
100 resp->release();
/system/core/trusty/storage/proxy/
Dstorage.c220 struct storage_file_open_resp resp = {0}; in storage_file_open() local
286 resp.handle = insert_fd(open_flags, rc); in storage_file_open()
288 __func__, path, rc, resp.handle); in storage_file_open()
290 return ipc_respond(msg, &resp, sizeof(resp)); in storage_file_open()
411 struct storage_file_get_size_resp resp = {0}; in storage_file_get_size() local
431 resp.size = stat.st_size; in storage_file_get_size()
433 return ipc_respond(msg, &resp, sizeof(resp)); in storage_file_get_size()
/system/bt/stack/bnep/
Dbnep_api.cc216 tBNEP_RESULT BNEP_ConnectResp(uint16_t handle, tBNEP_RESULT resp) { in BNEP_ConnectResp() argument
229 resp); in BNEP_ConnectResp()
232 if (resp == BNEP_CONN_FAILED_SRC_UUID) in BNEP_ConnectResp()
234 else if (resp == BNEP_CONN_FAILED_DST_UUID) in BNEP_ConnectResp()
236 else if (resp == BNEP_CONN_FAILED_UUID_SIZE) in BNEP_ConnectResp()
238 else if (resp == BNEP_SUCCESS) in BNEP_ConnectResp()
246 if (resp == BNEP_SUCCESS) in BNEP_ConnectResp()
Dbnep_utils.cc622 tBNEP_RESULT resp; in bnep_process_setup_conn_responce() local
644 resp = BNEP_CONN_FAILED_SRC_UUID; in bnep_process_setup_conn_responce()
648 resp = BNEP_CONN_FAILED_DST_UUID; in bnep_process_setup_conn_responce()
652 resp = BNEP_CONN_FAILED_UUID_SIZE; in bnep_process_setup_conn_responce()
657 resp = BNEP_CONN_FAILED; in bnep_process_setup_conn_responce()
680 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, resp, true); in bnep_process_setup_conn_responce()
690 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, resp, false); in bnep_process_setup_conn_responce()
/system/bt/bta/hf_client/
Dbta_hf_client_sco.cc105 enh_esco_params_t resp; in bta_hf_client_sco_conn_rsp() local
112 resp = esco_parameters_for_codec(ESCO_CODEC_CVSD); in bta_hf_client_sco_conn_rsp()
115 resp = esco_parameters_for_codec(ESCO_CODEC_MSBC_T1); in bta_hf_client_sco_conn_rsp()
118 resp = esco_parameters_for_codec(ESCO_CODEC_CVSD); in bta_hf_client_sco_conn_rsp()
128 BTM_EScoConnRsp(p_data->sco_inx, hci_status, &resp); in bta_hf_client_sco_conn_rsp()
/system/bt/stack/include/
Dbnep_api.h267 extern tBNEP_RESULT BNEP_ConnectResp(uint16_t handle, tBNEP_RESULT resp);
/system/chre/platform/slpi/
Dplatform_sensor.cc800 } else if (infoResponse->resp.sns_result_t != SNS_RESULT_SUCCESS_V01) { in onStatusChange()
802 infoResponse->resp.sns_err_t, infoRequest->sensor_id); in onStatusChange()
970 } else if (monitorResponse->resp.sns_result_t != SNS_RESULT_SUCCESS_V01) { in setSensorMonitorRequest()
973 monitorResponse->resp.sns_err_t, sensorId, enable); in setSensorMonitorRequest()
/system/bt/bta/ag/
Dbta_ag_sco.cc1338 BTM_ConfigScoPath(resp.input_data_path, bta_ag_sco_read_cback, NULL, TRUE); in bta_ag_sco_conn_rsp()