Lines Matching refs:response
57 EnrollResponse response; in enroll() local
58 impl_->Enroll(request, &response); in enroll()
60 if (response.error == ERROR_RETRY) { in enroll()
61 _hidl_cb({GatekeeperStatusCode::ERROR_RETRY_TIMEOUT, response.retry_timeout, {}}); in enroll()
62 } else if (response.error != ERROR_NONE) { in enroll()
65 hidl_vec<uint8_t> new_handle(response.enrolled_password_handle.Data<uint8_t>(), in enroll()
66 response.enrolled_password_handle.Data<uint8_t>() + in enroll()
67 response.enrolled_password_handle.size()); in enroll()
68 _hidl_cb({GatekeeperStatusCode::STATUS_OK, response.retry_timeout, new_handle}); in enroll()
84 VerifyResponse response; in verify() local
86 impl_->Verify(request, &response); in verify()
88 if (response.error == ERROR_RETRY) { in verify()
89 _hidl_cb({GatekeeperStatusCode::ERROR_RETRY_TIMEOUT, response.retry_timeout, {}}); in verify()
90 } else if (response.error != ERROR_NONE) { in verify()
94 response.auth_token.Data<uint8_t>(), in verify()
95 response.auth_token.Data<uint8_t>() + response.auth_token.size()); in verify()
97 _hidl_cb({response.request_reenroll ? GatekeeperStatusCode::STATUS_REENROLL in verify()
99 response.retry_timeout, auth_token}); in verify()