Searched refs:database_ (Results 1 – 3 of 3) sorted by relevance
44 database_.reset(new DatabaseImpl(&mock_crypto_utility_)); in SetUp()45 database_->set_io(this); in SetUp()47 database_->Initialize(); in SetUp()84 std::unique_ptr<DatabaseImpl> database_; member in attestation::DatabaseImplTest88 database_->GetMutableProtobuf()->Clear(); in TEST_F()89 EXPECT_TRUE(database_->Reload()); in TEST_F()91 database_->GetProtobuf().credentials().conformance_credential()); in TEST_F()96 database_->GetMutableProtobuf()->Clear(); in TEST_F()97 EXPECT_FALSE(database_->Reload()); in TEST_F()98 EXPECT_FALSE(database_->GetProtobuf().has_credentials()); in TEST_F()[all …]
65 if (!database_) { in Initialize()70 database_ = default_database_.get(); in Initialize()217 auto database_pb = database_->GetProtobuf(); in GetEndorsementInfoTask()264 auto database_pb = database_->GetProtobuf(); in GetAttestationKeyInfoTask()318 auto database_pb = database_->GetProtobuf(); in ActivateAttestationKeyTask()329 database_->GetMutableProtobuf() in ActivateAttestationKeyTask()332 if (!database_->SaveChanges()) { in ActivateAttestationKeyTask()473 auto database_pb = database_->GetProtobuf(); in IsPreparedForEnrollment()483 auto database_pb = database_->GetProtobuf(); in IsEnrolled()494 auto database_pb = database_->GetProtobuf(); in CreateEnrollRequest()[all …]
99 void set_database(Database* database) { database_ = database; } in set_database()275 Database* database_{nullptr};