Home
last modified time | relevance | path

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

/hardware/ril/mock-ril/src/python/
Dtcs.py208 resp = Msg()
209 resp.recvMsg(s)
211 response.ParseFromString(resp.protobuf)
213 print "cmd=%d" % (resp.cmd)
214 print "token=%d" % (resp.token)
215 print "status=%d" % (resp.status)
216 print "len(protobuf)=%d" % (len(resp.protobuf))
218 if ((resp.cmd == 0) & (resp.token == 1234567890123) &
219 (resp.status == 0) & (response.state == 1)):
226 resp = Msg()
[all …]
/hardware/qcom/keymaster/
Dkeymaster_qcom.cpp336 keymaster_gen_keypair_resp_t *resp = NULL; in qcom_km_generate_keypair() local
343 resp = (keymaster_gen_keypair_resp_t *)(handle->ion_sbuffer + in qcom_km_generate_keypair()
349 resp->status = KEYMASTER_FAILURE; in qcom_km_generate_keypair()
350 resp->key_blob_len = sizeof(qcom_km_key_blob_t); in qcom_km_generate_keypair()
353 QSEECOM_ALIGN(sizeof(keymaster_gen_keypair_cmd_t)), resp, in qcom_km_generate_keypair()
356 if ( (ret < 0) || (resp->status < 0)) { in qcom_km_generate_keypair()
357 ALOGE("Generate key command failed resp->status = %d ret =%d", resp->status, ret); in qcom_km_generate_keypair()
360 UniquePtr<unsigned char[]> keydata(new unsigned char[resp->key_blob_len]); in qcom_km_generate_keypair()
366 memcpy(p, (unsigned char *)(&resp->key_blob), resp->key_blob_len); in qcom_km_generate_keypair()
368 *keyBlobLength = resp->key_blob_len; in qcom_km_generate_keypair()
[all …]
/hardware/samsung_slsi/exynos5/libsecurepath/
Dcontent_protect.cpp109 if ((RSP_ID(CMD_WV_DRM_ENABLE_PATH_PROTECTION) != tci->resp.id)) { in CP_Enable_Path_Protection()
110 LOG_E("Trustlet did not send a response: %d", tci->resp.id); in CP_Enable_Path_Protection()
117 if (tci->resp.return_code != RET_TL_WV_DRM_OK) { in CP_Enable_Path_Protection()
118 LOG_E("Trustlet did not send a valid return code: %d", tci->resp.return_code); in CP_Enable_Path_Protection()
173 if ((RSP_ID(CMD_WV_DRM_DISABLE_PATH_PROTECTION) != tci->resp.id)) { in CP_Disable_Path_Protection()
174 LOG_E("Trustlet did not send a response: %d", tci->resp.id); in CP_Disable_Path_Protection()
181 if (tci->resp.return_code != RET_TL_WV_DRM_OK) { in CP_Disable_Path_Protection()
182 LOG_E("Trustlet did not send a valid return code: %d", tci->resp.return_code); in CP_Disable_Path_Protection()
Dtlwvdrm_api.h68 tci_resp_t resp; /**< Response message structure */ member
/hardware/qcom/gps/loc_api/libloc_api/
Dloc_eng_ni.cpp87 static const char* respond_from_enum(rpc_loc_ni_user_resp_e_type resp) in respond_from_enum() argument
89 switch (resp) in respond_from_enum()
118 static void loc_ni_respond(rpc_loc_ni_user_resp_e_type resp, in loc_ni_respond() argument
122 LOGD("Sending NI response: %s\n", respond_from_enum(resp)); in loc_ni_respond()
129 data.rpc_loc_ioctl_data_u_type_u.user_verify_resp.user_resp = resp; in loc_ni_respond()
445 rpc_loc_ni_user_resp_e_type resp; in loc_ni_process_user_response() local
449 resp = RPC_LOC_NI_LCS_NOTIFY_VERIFY_ACCEPT; in loc_ni_process_user_response()
452 resp = RPC_LOC_NI_LCS_NOTIFY_VERIFY_DENY; in loc_ni_process_user_response()
455 resp = RPC_LOC_NI_LCS_NOTIFY_VERIFY_NORESP; in loc_ni_process_user_response()
461 loc_ni_respond(resp, &loc_eng_ni_data.loc_ni_request); in loc_ni_process_user_response()
/hardware/ti/wpan/ti_st/uim-sysfs/
Duim.c204 command_complete_t resp; in read_command_complete() local
209 if (read_hci_event(fd, (unsigned char *)&resp, sizeof(resp)) < 0) { in read_command_complete()
215 if (resp.uart_prefix != HCI_EVENT_PKT) { in read_command_complete()
218 resp.uart_prefix); in read_command_complete()
223 if (resp.hci_hdr.evt != EVT_CMD_COMPLETE) { in read_command_complete()
227 resp.hci_hdr.evt); in read_command_complete()
231 if (resp.hci_hdr.plen < 4) { in read_command_complete()
234 resp.hci_hdr.plen); in read_command_complete()
238 if (resp.cmd_complete.opcode != (unsigned short)opcode) { in read_command_complete()
240 resp.cmd_complete.opcode, opcode); in read_command_complete()
[all …]
/hardware/ti/wlan/mac80211/ti-utils/uim_rfkill/
Duim.c266 command_complete_t resp; in read_command_complete() local
271 if (read_hci_event(fd, (unsigned char *)&resp, sizeof(resp)) < 0) { in read_command_complete()
277 if (resp.uart_prefix != HCI_EVENT_PKT) { in read_command_complete()
280 resp.uart_prefix); in read_command_complete()
285 if (resp.hci_hdr.evt != EVT_CMD_COMPLETE) { in read_command_complete()
289 resp.hci_hdr.evt); in read_command_complete()
293 if (resp.hci_hdr.plen < 4) { in read_command_complete()
296 resp.hci_hdr.plen); in read_command_complete()
300 if (resp.cmd_complete.opcode != (unsigned short)opcode) { in read_command_complete()
302 resp.cmd_complete.opcode, opcode); in read_command_complete()
[all …]
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng_ni.cpp172 loc_eng_ni_data_p->resp = GPS_NI_RESPONSE_NORESP; in ni_thread_proc()
189 loc_eng_ni_data_p->resp, in ni_thread_proc()
302 loc_eng_ni_data_p->resp = user_response; in loc_eng_ni_respond()
Dloc_eng_ni.h44 GpsUserResponseType resp; member
Dloc_eng_msg.h365 GpsUserResponseType resp, in loc_eng_msg_inform_ni_response()
368 response(resp), passThroughData(data) in loc_eng_msg_inform_ni_response()
/hardware/qcom/gps/loc_api/loc_api_v02/
Dloc_api_v02_client.c471 if(pResponse->resp.result == QMI_RESULT_SUCCESS ) in convertQmiResponseToLocStatus()
477 switch(pResponse->resp.error) in convertQmiResponseToLocStatus()
493 __func__, __LINE__, pResponse->resp.result, in convertQmiResponseToLocStatus()
494 pResponse->resp.error, status); in convertQmiResponseToLocStatus()
1803 qmiLocGenRespMsgT_v02 resp; in locClientSendReq() local
1844 &resp, in locClientSendReq()
1845 sizeof(resp), in locClientSendReq()
1858 status = convertQmiResponseToLocStatus(&resp); in locClientSendReq()
Dlocation_service_v02.h175 qmi_response_type_v01 resp; member
Dlocation_service_v02.c479 QMI_IDL_OFFSET8(qmiLocGenRespMsgT_v02, resp),
/hardware/ril/reference-ril/
Dreference-ril.c1171 int *resp = NULL; local
1207 resp = (int *)calloc(commas + 1, sizeof(int));
1208 if (!resp) goto error;
1211 err = at_tok_nextint(&line, &resp[0]);
1213 resp[1] = -1;
1214 resp[2] = -1;
1220 err = at_tok_nextint(&line, &resp[0]);
1222 resp[1] = -1;
1223 resp[2] = -1;
1228 err = at_tok_nextint(&line, &resp[0]);
[all …]
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpcAdapter.cpp459 rpc_loc_ni_user_resp_e_type resp; in informNiResponse() local
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dwlioctl.h815 struct dot11_assoc_resp resp; member