Home
last modified time | relevance | path

Searched refs:Rollback (Results 1 - 25 of 94) sorted by relevance

1234

/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/verifymanagerhostimplrollback_fuzzer/
H A Dverifymanagerhostimplrollback_fuzzer.cpp34 impl.Rollback(Paths); in DoSomethingInterestingWithMyAPI()
35 impl.Rollback(rootDir, names); in DoSomethingInterestingWithMyAPI()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_transaction_testcase.cpp63 EXPECT_TRUE(kvDelegatePtr->Rollback() == OK); in StartTransaction003()
426 * @tc.steps:step1. Test g_kvDelegatePtr->Rollback in RollBack001()
429 EXPECT_TRUE(kvDelegatePtr->Rollback() == DB_ERROR); in RollBack001()
443 EXPECT_TRUE(kvDelegatePtr->Rollback() == OK); in RollBack002()
448 EXPECT_TRUE(kvDelegatePtr->Rollback() == DB_ERROR); in RollBack002()
472 EXPECT_TRUE(kvDelegatePtr->Rollback() == OK); in RollBack003()
509 EXPECT_TRUE(kvDelegatePtr->Rollback() == OK); in RollBack004()
548 EXPECT_TRUE(kvDelegatePtr->Rollback() == OK); in RollBack005()
588 EXPECT_TRUE(kvDelegatePtr->Rollback() == OK); in RollBack006()
639 EXPECT_TRUE(kvDelegatePtr->Rollback() in RollBack007()
[all...]
H A Ddistributeddb_interfaces_nb_transaction_test.cpp207 * @tc.steps:step2. Rollback transaction. in HWTEST_F()
210 EXPECT_EQ(g_kvNbDelegatePtr->Rollback(), OK); in HWTEST_F()
227 * @tc.steps:step6. Rollback transaction. in HWTEST_F()
230 EXPECT_EQ(g_kvNbDelegatePtr->Rollback(), DB_ERROR); in HWTEST_F()
741 EXPECT_EQ(g_kvNbDelegatePtr->Rollback(), DB_ERROR); in HWTEST_F()
768 * @tc.steps:step1. Rollback. in HWTEST_F()
771 EXPECT_EQ(g_kvNbDelegatePtr->Rollback(), OK); in HWTEST_F()
776 EXPECT_EQ(g_kvNbDelegatePtr->Rollback(), DB_ERROR); in HWTEST_F()
809 * @tc.steps:step3. Rollback. in HWTEST_F()
812 EXPECT_EQ(g_kvNbDelegatePtr->Rollback(), O in HWTEST_F()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/verify/
H A Dverify_manager_host_impl.h42 void Rollback(const std::vector<std::string> &paths);
50 void Rollback(const std::string &rootDir, const std::vector<std::string> &names);
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
H A Dsharing_manager.cpp126 void Rollback() in Rollback() function
303 Rollback(); in IpfwdAddInterfaceForward()
311 Rollback(); in IpfwdAddInterfaceForward()
319 Rollback(); in IpfwdAddInterfaceForward()
327 Rollback(); in IpfwdAddInterfaceForward()
335 Rollback(); in IpfwdAddInterfaceForward()
340 Rollback(); in IpfwdAddInterfaceForward()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/verify/
H A Dverify_manager_host_impl.cpp444 Rollback(hasMovePaths); in MoveAbc()
451 Rollback(hasMovePaths); in MoveAbc()
458 Rollback(hasMovePaths); in MoveAbc()
468 void VerifyManagerHostImpl::Rollback( in Rollback() function in OHOS::AppExecFwk::VerifyManagerHostImpl
476 Rollback(paths); in Rollback()
479 void VerifyManagerHostImpl::Rollback(const std::vector<std::string> &paths) in Rollback() function in OHOS::AppExecFwk::VerifyManagerHostImpl
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/verifymanagerhostimplrollbackdir_fuzzer/
H A Dverifymanagerhostimplrollbackdir_fuzzer.cpp35 impl.Rollback(rootDir, names); in DoSomethingInterestingWithMyAPI()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/interface/src/
H A Ddocument_store.cpp80 executor_->Rollback(); in CreateCollection()
126 executor_->Rollback(); in DropCollection()
252 executor_->Rollback(); in UpdateDataIntoDB()
427 executor_->Rollback(); in UpsertDataIntoDB()
592 executor_->Rollback(); in DeleteDataFromDB()
796 executor_->Rollback(); in InitFindResultSet()
890 int DocumentStore::Rollback() in Rollback() function in DocumentDB::DocumentStore
895 return executor_->Rollback(); in Rollback()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_single_relational_storage_engine.cpp290 (void)handle->Rollback(); in CreateDistributedTable()
296 (void)handle->Rollback(); in CreateDistributedTable()
359 (void)handle->Rollback(); in UpgradeDistributedTable()
367 (void)handle->Rollback(); in UpgradeDistributedTable()
420 (void)handle->Rollback(); in CleanDistributedDeviceTable()
426 (void)handle->Rollback(); in CleanDistributedDeviceTable()
471 (void)handle->Rollback(); in SetTrackerTable()
480 (void)handle->Rollback(); in SetTrackerTable()
490 (void)handle->Rollback(); in SetTrackerTable()
724 handle->Rollback(); in UpgradeSharedTable()
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/external/dummy/include/
H A Ddata_access.h122 bool Rollback() in Rollback() function in OHOS::bluetooth::DataAccess
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/oh_adapter/include/
H A Dkv_store_executor.h30 virtual int Rollback() = 0;
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/include/
H A Dnapi_transaction.h40 static napi_value Rollback(napi_env env, napi_callback_info info);
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/
H A Dkvstore.h105 * and will not change the store until #Commit() or #Rollback() is called.
124 * @brief Rollback current transaction.
131 virtual Status Rollback() = 0;
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/
H A Dkv_store_delegate.h85 // Rollback a transaction
86 DB_API virtual DBStatus Rollback() = 0;
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/oh_adapter/src/
H A Dsqlite_store_executor_impl.h38 int Rollback() override;
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/
H A Dkv_store_delegate_impl.h81 // Rollback a transaction
82 DBStatus Rollback() override;
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Dmock_icloud_sync_storage_interface.h32 MOCK_METHOD0(Rollback, int(void));
H A Ddistributeddb_cloud_syncer_download_test.cpp294 EXPECT_CALL(*g_iCloud, Rollback()).WillRepeatedly(Return(E_OK)); in HWTEST_F()
340 EXPECT_CALL(*g_iCloud, Rollback()).WillRepeatedly(Return(E_OK)); in HWTEST_F()
373 EXPECT_CALL(*g_iCloud, Rollback()).WillRepeatedly(Return(E_OK)); in HWTEST_F()
431 EXPECT_CALL(*g_iCloud, Rollback()).WillRepeatedly(Return(E_OK)); in HWTEST_F()
475 EXPECT_CALL(*g_iCloud, Rollback()).WillRepeatedly(Return(E_OK)); in HWTEST_F()
520 EXPECT_CALL(*g_iCloud, Rollback()).WillRepeatedly(Return(E_OK)); in HWTEST_F()
576 EXPECT_CALL(*g_iCloud, Rollback()).WillRepeatedly(Return(E_OK)); in HWTEST_F()
608 EXPECT_CALL(*g_iCloud, Rollback()).WillRepeatedly(Return(E_OK)); in HWTEST_F()
730 EXPECT_CALL(*g_iCloud, Rollback()).WillRepeatedly(Return(E_OK)); in HWTEST_F()
H A Ddistributeddb_cloud_syncer_upload_test.cpp47 EXPECT_CALL(*iCloud, Rollback()).WillRepeatedly(Return(E_OK)); in CommonExpectCall()
171 EXPECT_CALL(*iCloud, Rollback()).WillRepeatedly(Return(E_OK)); in HWTEST_F()
228 EXPECT_CALL(*iCloud, Rollback()).WillRepeatedly(Return(E_OK)); in HWTEST_F()
264 EXPECT_CALL(*iCloud, Rollback()).WillRepeatedly(Return(E_OK)); in HWTEST_F()
302 EXPECT_CALL(*iCloud, Rollback()).WillRepeatedly(Return(E_OK)); in HWTEST_F()
337 EXPECT_CALL(*iCloud, Rollback()).WillRepeatedly(Return(E_OK)); in HWTEST_F()
388 EXPECT_CALL(*iCloud, Rollback()).WillRepeatedly(Return(E_OK)); in HWTEST_F()
509 EXPECT_CALL(*iCloud, Rollback()).WillRepeatedly(Return(E_OK)); in HWTEST_F()
695 EXPECT_CALL(*iCloud, Rollback()).WillRepeatedly(Return(E_OK)); in HWTEST_F()
744 EXPECT_CALL(*iCloud, Rollback()) in HWTEST_F()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/
H A Ddistributeddb_kv_transaction_test.cpp152 DBStatus statusRollback = g_transactionDelegate->Rollback(); in HWTEST_F()
180 status = g_transactionDelegate->Rollback(); in HWTEST_F()
198 EXPECT_EQ(DBStatus::OK, g_transactionDelegate->Rollback()); in HWTEST_F()
218 * @tc.expected: step1. Rollback failed and return DB_ERROR. in HWTEST_F()
220 DBStatus status = g_transactionDelegate->Rollback(); in HWTEST_F()
278 DBStatus statusRollback = g_transactionDelegate->Rollback(); in HWTEST_F()
301 DBStatus statusRollback = g_transactionDelegate->Rollback(); in HWTEST_F()
330 DBStatus statusRollback = g_transactionDelegate->Rollback(); in HWTEST_F()
336 statusRollback = g_transactionDelegate->Rollback(); in HWTEST_F()
363 DBStatus statusRollback = g_transactionDelegate->Rollback(); in HWTEST_F()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_relational_cloud_syncable_storage_test.cpp488 EXPECT_EQ(g_cloudStore->Rollback(), E_OK); in HWTEST_F()
522 EXPECT_EQ(g_storageProxy->Rollback(), E_OK); in HWTEST_F()
541 EXPECT_EQ(g_storageProxy->Rollback(), E_OK); in HWTEST_F()
572 * @tc.steps: Repeated Rollback is not allowed in HWTEST_F()
575 EXPECT_EQ(g_storageProxy->Rollback(), E_OK); in HWTEST_F()
576 EXPECT_EQ(g_storageProxy->Rollback(), -E_INVALID_DB); in HWTEST_F()
595 EXPECT_EQ(g_storageProxy->Rollback(), -E_INVALID_DB); in HWTEST_F()
606 EXPECT_EQ(g_storageProxy->Rollback(), E_OK); in HWTEST_F()
670 EXPECT_EQ(g_storageProxy->Rollback(), E_OK); in HWTEST_F()
819 EXPECT_EQ(g_storageProxy->Rollback(), E_O in HWTEST_F()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_single_ver_natural_store_extend.cpp420 (void)handle->Rollback(); in AddSubscribe()
527 (void)handle->Rollback(); in RemoveDeviceDataInner()
556 (void)handle->Rollback(); in RemoveDeviceDataInner()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/interface/include/
H A Ddocument_store.h63 int Rollback();
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Dtransaction_impl.h33 int32_t Rollback() override;
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Dtransaction.h86 virtual int32_t Rollback() = 0;

Completed in 18 milliseconds

1234