Lines Matching refs:rsp
61 GatekeeperResponse rsp; in enroll() local
71 rsp.data.setToExternal(enrolled_password_handle, in enroll()
74 rsp.code = GatekeeperStatusCode::STATUS_OK; in enroll()
76 rsp.timeout = ret; in enroll()
77 rsp.code = GatekeeperStatusCode::ERROR_RETRY_TIMEOUT; in enroll()
79 rsp.code = GatekeeperStatusCode::ERROR_GENERAL_FAILURE; in enroll()
81 cb(rsp); in enroll()
91 GatekeeperResponse rsp; in verify() local
102 rsp.data.setToExternal(auth_token, auth_token_length, true); in verify()
104 rsp.code = GatekeeperStatusCode::STATUS_REENROLL; in verify()
106 rsp.code = GatekeeperStatusCode::STATUS_OK; in verify()
109 rsp.timeout = ret; in verify()
110 rsp.code = GatekeeperStatusCode::ERROR_RETRY_TIMEOUT; in verify()
112 rsp.code = GatekeeperStatusCode::ERROR_GENERAL_FAILURE; in verify()
114 cb(rsp); in verify()
119 GatekeeperResponse rsp; in deleteUser() local
124 rsp.code = GatekeeperStatusCode::STATUS_OK; in deleteUser()
126 rsp.timeout = ret; in deleteUser()
127 rsp.code = GatekeeperStatusCode::ERROR_RETRY_TIMEOUT; in deleteUser()
129 rsp.code = GatekeeperStatusCode::ERROR_GENERAL_FAILURE; in deleteUser()
132 rsp.code = GatekeeperStatusCode::ERROR_NOT_IMPLEMENTED; in deleteUser()
134 cb(rsp); in deleteUser()
139 GatekeeperResponse rsp; in deleteAllUsers() local
143 rsp.code = GatekeeperStatusCode::STATUS_OK; in deleteAllUsers()
145 rsp.timeout = ret; in deleteAllUsers()
146 rsp.code = GatekeeperStatusCode::ERROR_RETRY_TIMEOUT; in deleteAllUsers()
148 rsp.code = GatekeeperStatusCode::ERROR_GENERAL_FAILURE; in deleteAllUsers()
151 rsp.code = GatekeeperStatusCode::ERROR_NOT_IMPLEMENTED; in deleteAllUsers()
153 cb(rsp); in deleteAllUsers()