/system/core/fastboot/fuzzy_fastboot/ |
D | fixtures.cpp | 237 std::string resp; in SetLockState() local 240 ASSERT_EQ(fb->RawCommand("flashing get_unlock_ability", &resp, &info), SUCCESS) in SetLockState() 244 if (!resp.empty()) { // must be in the info response in SetLockState() 245 ASSERT_EQ(resp.back(), '1') in SetLockState() 256 EXPECT_EQ(fb->GetVar("unlocked", &resp), SUCCESS) << "getvar:unlocked failed"; in SetLockState() 257 ASSERT_TRUE(resp == "no" || resp == "yes") in SetLockState() 258 << "getvar:unlocked response was not 'no' or 'yes': " + resp; in SetLockState() 260 if ((unlock && resp == "no") || (!unlock && resp == "yes")) { in SetLockState() 262 ASSERT_EQ(fb->RawCommand("flashing " + cmd, &resp), SUCCESS) in SetLockState() 267 ASSERT_EQ(fb->GetVar("unlocked", &resp), SUCCESS) << "getvar:unlocked failed"; in SetLockState() [all …]
|
D | main.cpp | 104 std::string resp; in PartitionHash() local 108 if ((ret = fb->RawCommand(cmd, &resp, &info)) != SUCCESS) { in PartitionHash() 120 prog_args.push_back(resp); // Pass in the full command in PartitionHash() 381 std::string resp; in TEST_F() local 389 EXPECT_EQ(fb->RawCommand("flashing get_unlock_ability", &resp, &info), SUCCESS) in TEST_F() 393 if (!resp.empty()) { // must be in the response in TEST_F() 394 last = resp.back(); in TEST_F() 413 std::string resp; in TEST_F() local 414 EXPECT_EQ(fb->GetVar("partition-type:" + part, &resp), SUCCESS); in TEST_F() 415 EXPECT_NE(allowed.find(resp), allowed.end()) << "getvar:partition-type:" + part << " was '" in TEST_F() [all …]
|
D | README.md | 306 resp
|
/system/chre/platform/slpi/see/ |
D | sns_qmi_client.c | 122 sns_client_resp_msg_v01 *resp = resp_c_struct; in client_resp_cb() local 125 if (NULL != resp && resp->result_valid) { in client_resp_cb() 126 err = resp->result; in client_resp_cb() 127 SNS_LOG(VERBOSE, "Response from client %" PRIu64, resp->client_id); in client_resp_cb() 231 void *resp; in sns_client_send() local 233 resp = sns_malloc(resp_len); in sns_client_send() 234 SNS_ASSERT(NULL != resp); in sns_client_send() 239 client->qmi_handle, SNS_CLIENT_REQ_V01, req_msg, sizeof(*req_msg), resp, in sns_client_send() 244 sns_free(resp); in sns_client_send()
|
/system/chre/platform/slpi/include/chre/platform/slpi/smgr/ |
D | smr_helper.h | 46 using SmrReqCallback = void (*)(UniquePtr<RespStruct> resp, void *callbackData, 85 UniquePtr<ReqStruct> *req, UniquePtr<RespStruct> *resp, in sendReqAsync() argument 100 reqData->respCStruct = std::move(*resp); in sendReqAsync() 137 UniquePtr<ReqStruct> *req, UniquePtr<RespStruct> *resp, 147 resp->get(), sizeof(RespStruct), timeout, &result); 157 resp->release();
|
/system/netd/server/ |
D | OffloadUtils.cpp | 122 } resp = {}; in sendAndProcessNetlinkResponse() local 124 rv = recv(fd, &resp, sizeof(resp), MSG_TRUNC); in sendAndProcessNetlinkResponse() 137 if (resp.h.nlmsg_len != (unsigned)rv) { in sendAndProcessNetlinkResponse() 138 ALOGE("recv() returned invalid header length: %d != %d", resp.h.nlmsg_len, rv); in sendAndProcessNetlinkResponse() 142 if (resp.h.nlmsg_type != NLMSG_ERROR) { in sendAndProcessNetlinkResponse() 143 ALOGE("recv() did not return NLMSG_ERROR message: %d", resp.h.nlmsg_type); in sendAndProcessNetlinkResponse() 147 return resp.e.error; // returns 0 on success in sendAndProcessNetlinkResponse()
|
/system/bt/gd/cert/ |
D | logging_client_interceptor.py | 45 resp = self.server_stream_call.__next__() 46 print("%s %s" % (self.logTag, pretty_print(resp))) 47 return resp
|
/system/bt/btif/src/ |
D | btif_a2dp_audio_interface.cc | 72 static Status mapToStatus(uint8_t resp); 175 static Status mapToStatus(uint8_t resp) { in mapToStatus() argument 176 switch (resp) { in mapToStatus() 188 APPL_TRACE_WARNING("%s: unknown status recevied :%d", __func__, resp); in mapToStatus() 382 uint8_t resp; in btif_a2dp_audio_send_start_req() local 383 resp = btif_a2dp_audio_process_request(A2DP_CTRL_CMD_START); in btif_a2dp_audio_send_start_req() 385 auto status = mapToStatus(resp); in btif_a2dp_audio_send_start_req() 395 uint8_t resp; in btif_a2dp_audio_send_suspend_req() local 396 resp = btif_a2dp_audio_process_request(A2DP_CTRL_CMD_SUSPEND); in btif_a2dp_audio_send_suspend_req() 398 auto status = mapToStatus(resp); in btif_a2dp_audio_send_suspend_req()
|
/system/core/trusty/storage/proxy/ |
D | storage.c | 220 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/ |
D | bnep_api.cc | 212 tBNEP_RESULT BNEP_ConnectResp(uint16_t handle, tBNEP_RESULT resp) { in BNEP_ConnectResp() argument 225 resp); in BNEP_ConnectResp() 228 if (resp == BNEP_CONN_FAILED_SRC_UUID) in BNEP_ConnectResp() 230 else if (resp == BNEP_CONN_FAILED_DST_UUID) in BNEP_ConnectResp() 232 else if (resp == BNEP_CONN_FAILED_UUID_SIZE) in BNEP_ConnectResp() 234 else if (resp == BNEP_SUCCESS) in BNEP_ConnectResp() 242 if (resp == BNEP_SUCCESS) in BNEP_ConnectResp()
|
D | bnep_utils.cc | 634 tBNEP_RESULT resp; in bnep_process_setup_conn_responce() local 656 resp = BNEP_CONN_FAILED_SRC_UUID; in bnep_process_setup_conn_responce() 660 resp = BNEP_CONN_FAILED_DST_UUID; in bnep_process_setup_conn_responce() 664 resp = BNEP_CONN_FAILED_UUID_SIZE; in bnep_process_setup_conn_responce() 669 resp = BNEP_CONN_FAILED; in bnep_process_setup_conn_responce() 690 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, resp, true); in bnep_process_setup_conn_responce() 700 (*bnep_cb.p_conn_state_cb)(p_bcb->handle, p_bcb->rem_bda, resp, false); in bnep_process_setup_conn_responce()
|
/system/extras/simpleperf/ |
D | ETMDecoder.cpp | 56 static bool IsRespError(ocsd_datapath_resp_t resp) { return resp >= OCSD_RESP_ERR_CONT; } in IsRespError() argument 153 auto resp = callback->ProcessPacket(trace_id_, op, index_sop, pkt); in PacketDataIn() local 154 if (IsRespError(resp)) { in PacketDataIn() 155 return resp; in PacketDataIn() 349 auto resp = in TraceElemIn() local 351 if (IsRespError(resp)) { in TraceElemIn() 352 return resp; in TraceElemIn() 676 auto resp = in ProcessData() local 678 if (IsRespError(resp)) { in ProcessData() 679 LOG(ERROR) << "failed to reset decoder, resp " << resp; in ProcessData() [all …]
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_sco.cc | 105 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_T2); 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/core/trusty/utils/rpmb_dev/ |
D | rpmb_dev.c | 245 uint16_t resp; member 260 .resp = RPMB_RESP_PROGRAM_KEY, 267 .resp = RPMB_RESP_GET_COUNTER, 274 .resp = RPMB_RESP_DATA_WRITE, 285 .resp = RPMB_RESP_DATA_READ, 413 s->res[i].req_resp = rpmb_u16(cmd->resp); in rpmb_dev_process_cmd()
|
/system/chre/platform/slpi/smgr/ |
D | platform_sensor.cc | 762 const sns_smgr_client_request_info_resp_msg_v01& resp, in onClientRequestInfoResponse() argument 768 } else if (resp.resp.sns_result_t != SNS_RESULT_SUCCESS_V01) { in onClientRequestInfoResponse() 770 resp.resp.sns_err_t, sensorId); in onClientRequestInfoResponse() 774 bool otherClientPresent = resp.other_client_present; in onClientRequestInfoResponse() 821 [](UniquePtr<sns_smgr_client_request_info_resp_msg_v01> resp, in onStatusChange() 826 onClientRequestInfoResponse(*resp.get(), in onStatusChange() 1007 } else if (monitorResponse->resp.sns_result_t != SNS_RESULT_SUCCESS_V01) { in setSensorMonitorRequest() 1010 monitorResponse->resp.sns_err_t, sensorId, enable); in setSensorMonitorRequest()
|
/system/bt/stack/include/ |
D | bnep_api.h | 269 extern tBNEP_RESULT BNEP_ConnectResp(uint16_t handle, tBNEP_RESULT resp);
|