/system/tpm/trunks/ |
D | session_manager_test.cc | 48 factory_.set_tpm(&mock_tpm_); in SetUp() 76 NiceMock<MockTpm> mock_tpm_; member in trunks::SessionManagerTest 84 EXPECT_CALL(mock_tpm_, FlushContextSync(handle, nullptr)) in TEST_F() 92 EXPECT_CALL(mock_tpm_, FlushContextSync(handle, nullptr)) in TEST_F() 109 EXPECT_CALL(mock_tpm_, ReadPublicSync(kSaltingKey, _, _, _, _, nullptr)) in TEST_F() 115 EXPECT_CALL(mock_tpm_, StartAuthSessionSyncShort(_, handle, in TEST_F() 128 EXPECT_CALL(mock_tpm_, ReadPublicSync(kSaltingKey, _, _, _, _, nullptr)) in TEST_F() 139 EXPECT_CALL(mock_tpm_, ReadPublicSync(kSaltingKey, _, _, _, _, nullptr)) in TEST_F() 142 EXPECT_CALL(mock_tpm_, StartAuthSessionSyncShort(_, in TEST_F() 155 EXPECT_CALL(mock_tpm_, ReadPublicSync(kSaltingKey, _, _, _, _, nullptr)) in TEST_F() [all …]
|
D | tpm_utility_test.cc | 52 factory_.set_tpm(&mock_tpm_); in SetUp() 94 EXPECT_CALL(mock_tpm_, in SetExistingKeyHandleExpectation() 133 EXPECT_CALL(mock_tpm_, in SetExistingPCRSExpectation() 143 NiceMock<MockTpm> mock_tpm_; member in trunks::TpmUtilityTest 155 EXPECT_CALL(mock_tpm_, StartupSync(_, _)) in TEST_F() 161 EXPECT_CALL(mock_tpm_, StartupSync(_, _)) in TEST_F() 167 EXPECT_CALL(mock_tpm_, SelfTestSync(_, _)) in TEST_F() 177 EXPECT_CALL(mock_tpm_, ClearSync(_, _, _)) in TEST_F() 184 EXPECT_CALL(mock_tpm_, ClearSync(_, _, _)) in TEST_F() 190 EXPECT_CALL(mock_tpm_, ShutdownSync(TPM_SU_CLEAR, _)); in TEST_F() [all …]
|
D | scoped_key_handle_test.cc | 43 factory_.set_tpm(&mock_tpm_); in SetUp() 48 NiceMock<MockTpm> mock_tpm_; member in trunks::ScopedKeyHandleTest 54 EXPECT_CALL(mock_tpm_, FlushContextSync(handle, _)) in TEST_F() 76 EXPECT_CALL(mock_tpm_, FlushContextSync(old_handle, _)) in TEST_F() 80 EXPECT_CALL(mock_tpm_, FlushContextSync(new_handle, _)) in TEST_F() 88 EXPECT_CALL(mock_tpm_, FlushContextSync(handle, _)) in TEST_F()
|
D | policy_session_test.cc | 44 factory_.set_tpm(&mock_tpm_); in SetUp() 54 NiceMock<MockTpm> mock_tpm_; member in trunks::PolicySessionTest 108 EXPECT_CALL(mock_tpm_, PolicyGetDigestSync(_, _, _, _)) in TEST_F() 118 EXPECT_CALL(mock_tpm_, PolicyGetDigestSync(_, _, _, _)) in TEST_F() 130 EXPECT_CALL(mock_tpm_, PolicyORSync(_, _, _, _)) in TEST_F() 152 EXPECT_CALL(mock_tpm_, PolicyORSync(_, _, _, _)) in TEST_F() 163 EXPECT_CALL(mock_tpm_, PolicyPCRSync(_, _, _, _, _)) in TEST_F() 181 EXPECT_CALL(mock_tpm_, PolicyPCRSync(_, _, _, _, _)) in TEST_F() 194 EXPECT_CALL(mock_tpm_, PolicyCommandCodeSync(_, _, command_code, _)) in TEST_F() 201 EXPECT_CALL(mock_tpm_, PolicyCommandCodeSync(_, _, _, _)) in TEST_F() [all …]
|
D | tpm_state_test.cc | 45 factory_.set_tpm(&mock_tpm_); in SetUp() 54 EXPECT_CALL(mock_tpm_, GetCapabilitySync(TPM_CAP_TPM_PROPERTIES, in SetUp() 58 EXPECT_CALL(mock_tpm_, GetCapabilitySync(TPM_CAP_TPM_PROPERTIES, in SetUp() 62 EXPECT_CALL(mock_tpm_, GetCapabilitySync(TPM_CAP_ALGS, in SetUp() 66 EXPECT_CALL(mock_tpm_, GetCapabilitySync(TPM_CAP_ALGS, in SetUp() 70 EXPECT_CALL(mock_tpm_, GetCapabilitySync(TPM_CAP_TPM_PROPERTIES, in SetUp() 75 EXPECT_CALL(mock_tpm_, GetCapabilitySync(TPM_CAP_TPM_PROPERTIES, in SetUp() 80 EXPECT_CALL(mock_tpm_, GetCapabilitySync(TPM_CAP_TPM_PROPERTIES, in SetUp() 85 EXPECT_CALL(mock_tpm_, GetCapabilitySync(TPM_CAP_TPM_PROPERTIES, in SetUp() 147 NiceMock<MockTpm> mock_tpm_; member in trunks::TpmStateTest
|
D | hmac_session_test.cc | 43 factory_.set_tpm(&mock_tpm_); in SetUp() 53 NiceMock<MockTpm> mock_tpm_; member in trunks::HmacSessionTest
|