Lines Matching refs:code
106 if (rsp.code != GatekeeperStatusCode::ERROR_RETRY_TIMEOUT) break; in doEnroll()
118 if (rsp.code != GatekeeperStatusCode::ERROR_RETRY_TIMEOUT) break; in doVerify()
129 if (rsp.code != GatekeeperStatusCode::ERROR_RETRY_TIMEOUT) break; in doDeleteUser()
140 if (rsp.code != GatekeeperStatusCode::ERROR_RETRY_TIMEOUT) break; in doDeleteAllUsers()
153 EXPECT_EQ(GatekeeperStatusCode::STATUS_OK, rsp.code); in checkEnroll()
157 EXPECT_EQ(GatekeeperStatusCode::ERROR_GENERAL_FAILURE, rsp.code); in checkEnroll()
165 EXPECT_GE(rsp.code, GatekeeperStatusCode::STATUS_OK); in checkVerify()
166 EXPECT_LE(rsp.code, GatekeeperStatusCode::STATUS_REENROLL); in checkVerify()
172 EXPECT_EQ(GatekeeperStatusCode::ERROR_GENERAL_FAILURE, rsp.code); in checkVerify()
337 EXPECT_EQ(GatekeeperStatusCode::ERROR_GENERAL_FAILURE, verifyRsp.code); in TEST_F()
357 EXPECT_TRUE(delRsp.code == GatekeeperStatusCode::ERROR_NOT_IMPLEMENTED || in TEST_F()
358 delRsp.code == GatekeeperStatusCode::STATUS_OK); in TEST_F()
360 if (delRsp.code == GatekeeperStatusCode::STATUS_OK) { in TEST_F()
362 EXPECT_EQ(GatekeeperStatusCode::ERROR_GENERAL_FAILURE, verifyRsp.code); in TEST_F()
365 ALOGI("Testing deleteUser done: rsp=%" PRIi32, delRsp.code); in TEST_F()
387 EXPECT_TRUE(delRsp1.code == GatekeeperStatusCode::ERROR_NOT_IMPLEMENTED || in TEST_F()
388 delRsp1.code == GatekeeperStatusCode::STATUS_OK); in TEST_F()
393 EXPECT_TRUE(delRsp2.code == GatekeeperStatusCode::ERROR_NOT_IMPLEMENTED || in TEST_F()
394 delRsp2.code == GatekeeperStatusCode::ERROR_GENERAL_FAILURE); in TEST_F()
396 ALOGI("Testing deleteUser done: rsp=%" PRIi32, delRsp2.code); in TEST_F()
432 EXPECT_TRUE(delAllRsp.code == GatekeeperStatusCode::ERROR_NOT_IMPLEMENTED || in TEST_F()
433 delAllRsp.code == GatekeeperStatusCode::STATUS_OK); in TEST_F()
436 if (delAllRsp.code == GatekeeperStatusCode::STATUS_OK) { in TEST_F()
443 users[i].verifyRsp.code); in TEST_F()
448 ALOGI("Testing deleteAllUsers done: rsp=%" PRIi32, delAllRsp.code); in TEST_F()