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()
123 EXPECT_FALSE(database_->SaveChanges()); in TEST_F()
131 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.h59 bool SaveChanges() override;
Dattestation_service_test.cc338 EXPECT_CALL(mock_database_, SaveChanges()).WillRepeatedly(Return(false)); in TEST_F()
351 EXPECT_CALL(mock_database_, SaveChanges()).WillRepeatedly(Return(false)); in TEST_F()
654 EXPECT_CALL(mock_database_, SaveChanges()).Times(1); in TEST_F()
676 EXPECT_CALL(mock_database_, SaveChanges()).Times(0); in TEST_F()
697 EXPECT_CALL(mock_database_, SaveChanges()).WillRepeatedly(Return(false)); in TEST_F()
770 EXPECT_CALL(mock_database_, SaveChanges()).Times(1); in TEST_F()
845 EXPECT_CALL(mock_database_, SaveChanges()).WillRepeatedly(Return(false)); in TEST_F()
Dattestation_service.cc366 if (!database_->SaveChanges()) { in ActivateAttestationKeyTask()
593 if (!database_->SaveChanges()) { in FinishEnroll()
811 return database_->SaveChanges(); in AddDeviceKey()
829 if (!database_->SaveChanges()) { in RemoveDeviceKey()
902 database_->SaveChanges(); in ChooseTemporalIndex()
Ddatabase_impl.cc79 bool DatabaseImpl::SaveChanges() { in SaveChanges() function in attestation::DatabaseImpl