Home
last modified time | relevance | path

Searched refs:DatabaseImpl (Results 1 – 5 of 5) sorted by relevance

/system/tpm/attestation/server/
Ddatabase_impl.cc50 DatabaseImpl::DatabaseImpl(CryptoUtility* crypto) in DatabaseImpl() function in attestation::DatabaseImpl
53 DatabaseImpl::~DatabaseImpl() { in ~DatabaseImpl()
58 void DatabaseImpl::Initialize() { in Initialize()
62 io_->Watch(base::Bind(base::IgnoreResult(&DatabaseImpl::Reload), in Initialize()
69 const AttestationDatabase& DatabaseImpl::GetProtobuf() const { in GetProtobuf()
74 AttestationDatabase* DatabaseImpl::GetMutableProtobuf() { in GetMutableProtobuf()
79 bool DatabaseImpl::SaveChanges() { in SaveChanges()
88 bool DatabaseImpl::Reload() { in Reload()
98 bool DatabaseImpl::Read(std::string* data) { in Read()
114 bool DatabaseImpl::Write(const std::string& data) { in Write()
[all …]
Ddatabase_impl.h45 class DatabaseImpl : public Database, public DatabaseIO {
48 explicit DatabaseImpl(CryptoUtility* crypto);
49 ~DatabaseImpl() override;
Ddatabase_impl_test.cc44 database_.reset(new DatabaseImpl(&mock_crypto_utility_)); in SetUp()
84 std::unique_ptr<DatabaseImpl> database_;
Dattestation_service.h284 std::unique_ptr<DatabaseImpl> default_database_;
Dattestation_service.cc66 default_database_.reset(new DatabaseImpl(crypto_utility_)); in Initialize()
68 FROM_HERE, base::Bind(&DatabaseImpl::Initialize, in Initialize()