Home
last modified time | relevance | path

Searched refs:rsp (Results 1 – 25 of 30) sorted by relevance

12

/system/chre/host/common/test/
Dchre_test_client.cc95 void handleHubInfoResponse(const fbs::HubInfoResponseT& rsp) in handleHubInfoResponse() argument
98 LOGI(" Name: '%s'", getStringFromByteVector(rsp.name)); in handleHubInfoResponse()
99 LOGI(" Vendor: '%s'", getStringFromByteVector(rsp.vendor)); in handleHubInfoResponse()
100 LOGI(" Toolchain: '%s'", getStringFromByteVector(rsp.toolchain)); in handleHubInfoResponse()
102 rsp.platform_version, rsp.toolchain_version); in handleHubInfoResponse()
104 rsp.peak_mips, rsp.stopped_power, rsp.sleep_power, rsp.peak_power); in handleHubInfoResponse()
105 LOGI(" Max message len: %" PRIu32, rsp.max_msg_len); in handleHubInfoResponse()
107 rsp.platform_id, rsp.chre_platform_version); in handleHubInfoResponse()
/system/core/trusty/storage/lib/
Dstorage.c149 struct storage_file_open_resp rsp = { 0 }; in storage_open_file() local
150 struct iovec rx[2] = {{&msg, sizeof(msg)}, {&rsp, sizeof(rsp)}}; in storage_open_file()
157 if ((size_t)rc != sizeof(rsp)) { in storage_open_file()
158 ALOGE("%s: invalid response length (%zd != %zd)\n", __func__, rc, sizeof(rsp)); in storage_open_file()
162 *handle_p = make_file_handle(session, rsp.handle); in storage_open_file()
284 struct storage_file_get_size_resp rsp; in storage_get_file_size() local
285 struct iovec rx[2] = {{&msg, sizeof(msg)}, {&rsp, sizeof(rsp)}}; in storage_get_file_size()
292 if ((size_t)rc != sizeof(rsp)) { in storage_get_file_size()
293 ALOGE("%s: invalid response length (%zd != %zd)\n", __func__, rc, sizeof(rsp)); in storage_get_file_size()
297 *size_p = rsp.size; in storage_get_file_size()
/system/core/trusty/keymaster/ipc/
Dtrusty_keymaster_ipc.cpp146 keymaster::KeymasterResponse* rsp) { in trusty_keymaster_send() argument
174 if (!rsp->Deserialize(&p, p + rsp_size)) { in trusty_keymaster_send()
177 } else if (rsp->error != KM_ERROR_OK) { in trusty_keymaster_send()
178 ALOGE("Response of size %d contained error code %d\n", (int)rsp_size, (int)rsp->error); in trusty_keymaster_send()
179 return rsp->error; in trusty_keymaster_send()
181 return rsp->error; in trusty_keymaster_send()
/system/core/gatekeeperd/
Dgatekeeperd.cpp203 hw_uid, curPwdHandle, curPwd, newPwd, [&gkResponse](const GatekeeperResponse& rsp) { in enroll() argument
204 if (rsp.code >= GatekeeperStatusCode::STATUS_OK) { in enroll()
205 *gkResponse = GKResponse::ok({rsp.data.begin(), rsp.data.end()}); in enroll()
206 } else if (rsp.code == GatekeeperStatusCode::ERROR_RETRY_TIMEOUT && in enroll()
207 rsp.timeout > 0) { in enroll()
208 *gkResponse = GKResponse::retry(rsp.timeout); in enroll()
282 [&gkResponse](const GatekeeperResponse& rsp) { in verifyChallenge() argument
283 if (rsp.code >= GatekeeperStatusCode::STATUS_OK) { in verifyChallenge()
285 {rsp.data.begin(), rsp.data.end()}, in verifyChallenge()
286 rsp.code == GatekeeperStatusCode::STATUS_REENROLL /* reenroll */); in verifyChallenge()
[all …]
/system/core/trusty/keymaster/
DTrustyKeymaster.cpp38 ConfigureResponse rsp; in Initialize() local
39 Configure(req, &rsp); in Initialize()
41 if (rsp.error != KM_ERROR_OK) { in Initialize()
42 ALOGE("Failed to configure keymaster %d", rsp.error); in Initialize()
56 KeymasterResponse* rsp) { in ForwardCommand() argument
58 err = trusty_keymaster_send(command, req, rsp); in ForwardCommand()
61 rsp->error = err; in ForwardCommand()
/system/keymaster/tests/
Dandroid_keymaster_messages_test.cpp108 SupportedResponse<keymaster_digest_t> rsp(ver); in TEST() local
110 rsp.error = KM_ERROR_OK; in TEST()
111 rsp.SetResults(digests); in TEST()
113 UniquePtr<SupportedResponse<keymaster_digest_t>> deserialized(round_trip(ver, rsp, 20)); in TEST()
141 GenerateKeyResponse rsp(ver); in TEST() local
142 rsp.error = KM_ERROR_OK; in TEST()
143 rsp.key_blob.key_material = dup_array(TEST_DATA); in TEST()
144 rsp.key_blob.key_material_size = array_length(TEST_DATA); in TEST()
145 rsp.enforced.Reinitialize(params, array_length(params)); in TEST()
147 UniquePtr<GenerateKeyResponse> deserialized(round_trip(ver, rsp, 109)); in TEST()
[all …]
/system/core/libunwindstack/
DAsmGetRegsX86_64.S44 lea 8(%rsp), %rax
57 movq (%rsp), %rax
DRegsX86_64.cpp105 (*regs)[X86_64_REG_RSP] = user->rsp; in Read()
123 regs_[X86_64_REG_RSP] = ucontext->uc_mcontext.rsp; in SetFromUcontext()
/system/bt/build/toolchain/gcc/
DBUILD.gn41 rspfile = "{{output}}.rsp"
55 rspfile = soname + ".rsp"
79 rspfile = "$outfile.rsp"
/system/core/libunwindstack/tests/files/offline/eh_frame_hdr_begin_x86_64/
Dregs.txt10 rsp: 7ffcc8596ce8
/system/bt/build/toolchain/clang/
DBUILD.gn60 rspfile = "{{output}}.rsp"
74 rspfile = soname + ".rsp"
98 rspfile = "$outfile.rsp"
/system/core/libunwindstack/tests/files/offline/load_bias_ro_rx_x86_64/
Dregs.txt16 rsp: 7ffd224153c8
/system/core/trusty/keymaster/include/trusty_keymaster/ipc/
Dtrusty_keymaster_ipc.h36 keymaster::KeymasterResponse* rsp);
/system/nfc/src/nfa/ee/
Dnfa_ee_main.cc161 tNFC_NFCEE_MODE_SET_REVT rsp; in nfa_ee_restore_one_ecb() local
200 rsp.mode = NFA_EE_MD_ACTIVATE; in nfa_ee_restore_one_ecb()
201 rsp.nfcee_id = p_cb->nfcee_id; in nfa_ee_restore_one_ecb()
202 rsp.status = NFA_STATUS_OK; in nfa_ee_restore_one_ecb()
203 ee_msg.p_data = &rsp; in nfa_ee_restore_one_ecb()
/system/bt/profile/avrcp/tests/
Davrcp_device_test.cc1367 auto rsp = RejectBuilder::MakeBuilder(static_cast<CommandPdu>(0), Status::INVALID_COMMAND); in TEST_F() local
1368 EXPECT_CALL(response_cb, Call(1, false, matchPacket(std::move(rsp)))).Times(1); in TEST_F()
1379 auto rsp = RejectBuilder::MakeBuilder(CommandPdu::GET_CAPABILITIES, Status::INVALID_PARAMETER); in TEST_F() local
1380 EXPECT_CALL(response_cb, Call(1, false, matchPacket(std::move(rsp)))).Times(1); in TEST_F()
1391 …auto rsp = RejectBuilder::MakeBuilder(CommandPdu::GET_ELEMENT_ATTRIBUTES, Status::INVALID_PARAMETE… in TEST_F() local
1392 EXPECT_CALL(response_cb, Call(1, false, matchPacket(std::move(rsp)))).Times(1); in TEST_F()
1403 auto rsp = RejectBuilder::MakeBuilder(CommandPdu::PLAY_ITEM, Status::INVALID_PARAMETER); in TEST_F() local
1404 EXPECT_CALL(response_cb, Call(1, false, matchPacket(std::move(rsp)))).Times(1); in TEST_F()
1415 …auto rsp = RejectBuilder::MakeBuilder(CommandPdu::SET_ADDRESSED_PLAYER, Status::INVALID_PARAMETER); in TEST_F() local
1416 EXPECT_CALL(response_cb, Call(1, false, matchPacket(std::move(rsp)))).Times(1); in TEST_F()
[all …]
/system/core/libunwindstack/include/unwindstack/
DUserX86_64.h54 uint64_t rsp; member
DUcontextX86_64.h61 uint64_t rsp; member
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp87 void AndroidKeymaster::GetVersion(const GetVersionRequest&, GetVersionResponse* rsp) { in GetVersion() argument
88 if (rsp == nullptr) in GetVersion()
91 rsp->major_ver = MAJOR_VER; in GetVersion()
92 rsp->minor_ver = MINOR_VER; in GetVersion()
93 rsp->subminor_ver = SUBMINOR_VER; in GetVersion()
94 rsp->error = KM_ERROR_OK; in GetVersion()
/system/bt/stack/gatt/
Dgatt_main.cc931 tGATTS_SRV_CHG_RSP rsp; in gatt_init_srv_chg() local
941 GATTS_SRV_CHG_CMD_READ_NUM_CLENTS, NULL, &rsp); in gatt_init_srv_chg()
943 if (!(status && rsp.num_clients)) return; in gatt_init_srv_chg()
945 VLOG(1) << "num_srv_chg_clt_clients=" << +rsp.num_clients; in gatt_init_srv_chg()
946 uint8_t num_clients = rsp.num_clients; in gatt_init_srv_chg()
951 &req, &rsp); in gatt_init_srv_chg()
953 memcpy(&srv_chg_clt, &rsp.srv_chg, sizeof(tGATTS_SRV_CHG)); in gatt_init_srv_chg()
/system/bt/stack/avrc/
Davrc_pars_ct.cc86 p_result->rsp.status = *p; in avrc_pars_vendor_rsp()
87 return p_result->rsp.status; in avrc_pars_vendor_rsp()
551 p_result->rsp.status = *p; in avrc_ctrl_pars_vendor_rsp()
552 return p_result->rsp.status; in avrc_ctrl_pars_vendor_rsp()
841 BE_STREAM_TO_UINT8(p_result->rsp.status, p); in avrc_ctrl_pars_vendor_rsp()
885 p_result->rsp.opcode = p_msg->hdr.opcode; in AVRC_Ctrl_ParsResponse()
886 p_result->rsp.status = status; in AVRC_Ctrl_ParsResponse()
926 p_result->rsp.opcode = p_msg->hdr.opcode; in AVRC_ParsResponse()
927 p_result->rsp.status = status; in AVRC_ParsResponse()
Davrc_bld_tg.cc1302 p_rsp->rsp.opcode); in avrc_bld_init_rsp_buffer()
1303 if (opcode != p_rsp->rsp.opcode && p_rsp->rsp.status != AVRC_STS_NO_ERROR && in avrc_bld_init_rsp_buffer()
1304 avrc_is_valid_opcode(p_rsp->rsp.opcode)) { in avrc_bld_init_rsp_buffer()
1305 opcode = p_rsp->rsp.opcode; in avrc_bld_init_rsp_buffer()
1349 p_rsp->rsp.opcode = opcode; in avrc_bld_init_rsp_buffer()
1397 AVRC_TRACE_API("%s pdu=%x status=%x", __func__, p_rsp->rsp.pdu, in AVRC_BldResponse()
1398 p_rsp->rsp.status); in AVRC_BldResponse()
1399 if (p_rsp->rsp.status != AVRC_STS_NO_ERROR) { in AVRC_BldResponse()
1400 return (avrc_bld_rejected_rsp(&p_rsp->rsp, p_pkt)); in AVRC_BldResponse()
/system/bt/include/hardware/
Dbluetooth_headset_interface.h151 virtual bt_status_t FormattedAtResponse(const char* rsp,
/system/keymaster/include/keymaster/
Dsoft_keymaster_device.h76 void GetVersion(const GetVersionRequest& req, GetVersionResponse* rsp) { in GetVersion() argument
77 impl_->GetVersion(req, rsp); in GetVersion()
/system/bt/bta/av/
Dbta_av_act.cc774 p_rc_rsp->rsp.status = AVRC_STS_BAD_PARAM; in bta_av_proc_meta_cmd()
787 p_rc_rsp->rsp.status = AVRC_STS_BAD_PARAM; in bta_av_proc_meta_cmd()
793 p_rc_rsp->rsp.status = AVRC_STS_BAD_CMD; in bta_av_proc_meta_cmd()
833 p_rc_rsp->rsp.status = bta_av_chk_notif_evt_id(p_vendor); in bta_av_proc_meta_cmd()
834 if (p_rc_rsp->rsp.status != BTA_AV_STS_NO_RSP) evt = 0; in bta_av_proc_meta_cmd()
861 rc_rsp.rsp.status = BTA_AV_STS_NO_RSP; in bta_av_rc_msg()
957 rc_rsp.rsp.status = BTA_AV_STS_NO_RSP; in bta_av_rc_msg()
997 if (evt == 0 && rc_rsp.rsp.status != BTA_AV_STS_NO_RSP) { in bta_av_rc_msg()
999 rc_rsp.rsp.opcode = p_data->rc_msg.opcode; in bta_av_rc_msg()
/system/bt/btif/src/
Dbtif_rc.cc1256 avrc_rsp.rsp.opcode = opcode; in send_reject_response()
1257 avrc_rsp.rsp.pdu = pdu; in send_reject_response()
1258 avrc_rsp.rsp.status = status; in send_reject_response()
1329 dump_rc_pdu(pmetamsg_resp->rsp.pdu)); in send_metamsg_rsp()
1336 ctype = get_rsp_type_code(pmetamsg_resp->rsp.status, code); in send_metamsg_rsp()
1340 if ((pmetamsg_resp->rsp.pdu == AVRC_PDU_REGISTER_NOTIFICATION) && in send_metamsg_rsp()
2193 avrc_rsp.rsp.status); in get_folder_items_list_rsp()
2725 if (AVRC_PDU_REGISTER_NOTIFICATION == avrc_response.rsp.pdu && in handle_rc_metamsg_rsp()
2730 } else if (AVRC_PDU_SET_ABSOLUTE_VOLUME == avrc_response.rsp.pdu) { in handle_rc_metamsg_rsp()
2736 if (AVRC_PDU_REGISTER_NOTIFICATION == avrc_response.rsp.pdu && in handle_rc_metamsg_rsp()
[all …]

12