Home
last modified time | relevance | path

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

12

/system/core/gatekeeperd/
Dgatekeeperd.cpp203 (const GatekeeperResponse &rsp) { in enroll() argument
204 ret = static_cast<int>(rsp.code); // propagate errors in enroll()
205 if (rsp.code >= GatekeeperStatusCode::STATUS_OK) { in enroll()
208 *enrolled_password_handle = new uint8_t[rsp.data.size()]; in enroll()
209 *enrolled_password_handle_length = rsp.data.size(); in enroll()
210 memcpy(*enrolled_password_handle, rsp.data.data(), in enroll()
214 … } else if (rsp.code == GatekeeperStatusCode::ERROR_RETRY_TIMEOUT && rsp.timeout > 0) { in enroll()
215 ret = rsp.timeout; in enroll()
296 (const GatekeeperResponse &rsp) { in verifyChallenge() argument
297 ret = static_cast<int>(rsp.code); // propagate errors in verifyChallenge()
[all …]
/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/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.cpp112 (*regs)[X86_64_REG_RSP] = user->rsp; in Read()
130 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/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/bt/stack/mcap/
Dmca_cact.cc453 sizeof(evt_data.rsp.rsp_code) + in mca_ccb_hdl_rsp()
463 sizeof(evt_data.hdr.op_code) + sizeof(evt_data.rsp.rsp_code) + in mca_ccb_hdl_rsp()
469 evt_data.rsp.rsp_code = *p++; in mca_ccb_hdl_rsp()
480 if (evt_data.rsp.rsp_code == MCA_RSP_SUCCESS) { in mca_ccb_hdl_rsp()
485 if (evt_data.rsp.rsp_code == MCA_RSP_SUCCESS) { in mca_ccb_hdl_rsp()
486 evt_data.rsp.rsp_code = MCA_RSP_BAD_MDL; in mca_ccb_hdl_rsp()
/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/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()
527 p_result->rsp.status = *p; in avrc_ctrl_pars_vendor_rsp()
528 return p_result->rsp.status; in avrc_ctrl_pars_vendor_rsp()
817 BE_STREAM_TO_UINT8(p_result->rsp.status, p); in avrc_ctrl_pars_vendor_rsp()
861 p_result->rsp.opcode = p_msg->hdr.opcode; in AVRC_Ctrl_ParsResponse()
862 p_result->rsp.status = status; in AVRC_Ctrl_ParsResponse()
902 p_result->rsp.opcode = p_msg->hdr.opcode; in AVRC_ParsResponse()
903 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()
1350 p_rsp->rsp.opcode = opcode; in avrc_bld_init_rsp_buffer()
1398 AVRC_TRACE_API("%s pdu=%x status=%x", __func__, p_rsp->rsp.pdu, in AVRC_BldResponse()
1399 p_rsp->rsp.status); in AVRC_BldResponse()
1400 if (p_rsp->rsp.status != AVRC_STS_NO_ERROR) { in AVRC_BldResponse()
1401 return (avrc_bld_rejected_rsp(&p_rsp->rsp, p_pkt)); in AVRC_BldResponse()
/system/bt/stack/gatt/
Dgatt_main.cc935 tGATTS_SRV_CHG_RSP rsp; in gatt_init_srv_chg() local
945 GATTS_SRV_CHG_CMD_READ_NUM_CLENTS, NULL, &rsp); in gatt_init_srv_chg()
947 if (!(status && rsp.num_clients)) return; in gatt_init_srv_chg()
949 VLOG(1) << "num_srv_chg_clt_clients=" << +rsp.num_clients; in gatt_init_srv_chg()
950 uint8_t num_clients = rsp.num_clients; in gatt_init_srv_chg()
955 &req, &rsp); in gatt_init_srv_chg()
957 memcpy(&srv_chg_clt, &rsp.srv_chg, sizeof(tGATTS_SRV_CHG)); in gatt_init_srv_chg()
/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/core/trusty/keymaster/legacy/
Dtrusty_keymaster_device_test.cpp73 Rsp rsp; in fake_call() local
74 (device->*method)(req, &rsp); in fake_call()
76 *out_size = rsp.SerializedSize(); in fake_call()
78 rsp.Serialize(out, out + *out_size); in fake_call()
/system/bt/bta/av/
Dbta_av_act.cc771 p_rc_rsp->rsp.status = AVRC_STS_BAD_PARAM; in bta_av_proc_meta_cmd()
784 p_rc_rsp->rsp.status = AVRC_STS_BAD_PARAM; in bta_av_proc_meta_cmd()
790 p_rc_rsp->rsp.status = AVRC_STS_BAD_CMD; in bta_av_proc_meta_cmd()
830 p_rc_rsp->rsp.status = bta_av_chk_notif_evt_id(p_vendor); in bta_av_proc_meta_cmd()
831 if (p_rc_rsp->rsp.status != BTA_AV_STS_NO_RSP) evt = 0; in bta_av_proc_meta_cmd()
858 rc_rsp.rsp.status = BTA_AV_STS_NO_RSP; in bta_av_rc_msg()
954 rc_rsp.rsp.status = BTA_AV_STS_NO_RSP; in bta_av_rc_msg()
994 if (evt == 0 && rc_rsp.rsp.status != BTA_AV_STS_NO_RSP) { in bta_av_rc_msg()
996 rc_rsp.rsp.opcode = p_data->rc_msg.opcode; in bta_av_rc_msg()

12