Home | History | Annotate | Download | only in server

Lines Matching refs:Return

27 using testing::Return;
51 .WillRepeatedly(Return(TPM_RC_SUCCESS));
52 EXPECT_CALL(mock_tpm_state_, IsEnabled()).WillRepeatedly(Return(true));
57 EXPECT_CALL(mock_tpm_state_, IsEnabled()).WillRepeatedly(Return(false));
62 EXPECT_CALL(mock_tpm_state_, Initialize()).WillOnce(Return(TPM_RC_SUCCESS));
69 .WillRepeatedly(Return(TPM_RC_SUCCESS));
70 EXPECT_CALL(mock_tpm_state_, IsOwned()).WillRepeatedly(Return(true));
75 EXPECT_CALL(mock_tpm_state_, IsOwned()).WillRepeatedly(Return(false));
82 .WillRepeatedly(Return(TPM_RC_SUCCESS));
83 EXPECT_CALL(mock_tpm_state_, IsOwned()).WillOnce(Return(false));
85 EXPECT_CALL(mock_tpm_state_, IsOwned()).WillRepeatedly(Return(true));
90 EXPECT_CALL(mock_tpm_state_, Initialize()).WillOnce(Return(TPM_RC_SUCCESS));
91 EXPECT_CALL(mock_tpm_state_, IsOwned()).WillRepeatedly(Return(true));
98 .WillRepeatedly(Return(TPM_RC_FAILURE));
113 .WillRepeatedly(Return(lockout_count));
115 .WillRepeatedly(Return(lockout_threshold));
116 EXPECT_CALL(mock_tpm_state_, IsInLockout()).WillRepeatedly(Return(is_locked));
118 .WillRepeatedly(Return(lockout_interval));
133 .WillRepeatedly(Return(TPM_RC_SUCCESS));