Lines Matching refs:rsp
159 void AndroidKeymaster::GetVersion(const GetVersionRequest&, GetVersionResponse* rsp) { in GetVersion() argument
160 if (rsp == nullptr) return; in GetVersion()
162 rsp->major_ver = 2; in GetVersion()
163 rsp->minor_ver = 0; in GetVersion()
164 rsp->subminor_ver = 0; in GetVersion()
165 rsp->error = KM_ERROR_OK; in GetVersion()
169 GetVersion2Response rsp; in GetVersion2() local
170 rsp.km_version = context_->GetKmVersion(); in GetVersion2()
171 rsp.km_date = kKmDate; in GetVersion2()
172 rsp.max_message_version = MessageVersion(rsp.km_version, rsp.km_date); in GetVersion2()
173 rsp.error = KM_ERROR_OK; in GetVersion2()
176 message_version_ = NegotiateMessageVersion(req, rsp); in GetVersion2()
178 LOG_D("GetVersion2 results: %d, %d, %d, %d", rsp.km_version, rsp.km_date, in GetVersion2()
179 rsp.max_message_version, message_version_); in GetVersion2()
180 return rsp; in GetVersion2()
812 ConfigureVendorPatchlevelResponse rsp(message_version()); in ConfigureVendorPatchlevel() local
813 rsp.error = context_->SetVendorPatchlevel(request.vendor_patchlevel); in ConfigureVendorPatchlevel()
814 return rsp; in ConfigureVendorPatchlevel()
819 ConfigureBootPatchlevelResponse rsp(message_version()); in ConfigureBootPatchlevel() local
820 rsp.error = context_->SetBootPatchlevel(request.boot_patchlevel); in ConfigureBootPatchlevel()
821 return rsp; in ConfigureBootPatchlevel()