Home
last modified time | relevance | path

Searched refs:SaveChanges (Results 1 – 8 of 8) sorted by relevance

/system/tpm/attestation/server/
Ddatabase_impl_test.cc115 EXPECT_TRUE(database_->SaveChanges()); in TEST_F()
124 EXPECT_FALSE(database_->SaveChanges()); in TEST_F()
133 EXPECT_FALSE(database_->SaveChanges()); in TEST_F()
Ddatabase.h38 virtual bool SaveChanges() = 0;
Dmock_database.h33 MOCK_METHOD0(SaveChanges, bool());
Dmock_database.cc27 ON_CALL(*this, SaveChanges()).WillByDefault(Return(true)); in MockDatabase()
Ddatabase_impl.h58 bool SaveChanges() override;
Dattestation_service_test.cc331 EXPECT_CALL(mock_database_, SaveChanges()).WillRepeatedly(Return(false)); in TEST_F()
344 EXPECT_CALL(mock_database_, SaveChanges()).WillRepeatedly(Return(false)); in TEST_F()
645 EXPECT_CALL(mock_database_, SaveChanges()).Times(1); in TEST_F()
667 EXPECT_CALL(mock_database_, SaveChanges()).Times(0); in TEST_F()
688 EXPECT_CALL(mock_database_, SaveChanges()).WillRepeatedly(Return(false)); in TEST_F()
761 EXPECT_CALL(mock_database_, SaveChanges()).Times(1); in TEST_F()
836 EXPECT_CALL(mock_database_, SaveChanges()).WillRepeatedly(Return(false)); in TEST_F()
Dattestation_service.cc332 if (!database_->SaveChanges()) { in ActivateAttestationKeyTask()
539 if (!database_->SaveChanges()) { in FinishEnroll()
748 return database_->SaveChanges(); in AddDeviceKey()
766 if (!database_->SaveChanges()) { in RemoveDeviceKey()
838 database_->SaveChanges(); in ChooseTemporalIndex()
Ddatabase_impl.cc79 bool DatabaseImpl::SaveChanges() { in SaveChanges() function in attestation::DatabaseImpl