Home
last modified time | relevance | path

Searched refs:PutMetaData (Results 1 – 25 of 36) sorted by relevance

12

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Ddistributeddb_cloud_syncer_download_test.cpp243 EXPECT_CALL(*g_iCloud, PutMetaData(_, _)).WillRepeatedly(Return(E_OK));
296 EXPECT_CALL(*g_iCloud, PutMetaData(_, _)).WillRepeatedly(Return(E_OK));
342 EXPECT_CALL(*g_iCloud, PutMetaData(_, _)).WillRepeatedly(Return(E_OK));
375 EXPECT_CALL(*g_iCloud, PutMetaData(_, _)).WillRepeatedly(Return(E_OK));
433 EXPECT_CALL(*g_iCloud, PutMetaData(_, _)).WillRepeatedly(Return(E_OK));
477 EXPECT_CALL(*g_iCloud, PutMetaData(_, _)).WillRepeatedly(Return(E_OK));
522 EXPECT_CALL(*g_iCloud, PutMetaData(_, _)).WillRepeatedly(Return(E_OK));
578 EXPECT_CALL(*g_iCloud, PutMetaData(_, _)).WillRepeatedly(Return(E_OK));
610 EXPECT_CALL(*g_iCloud, PutMetaData(_, _)).WillRepeatedly(Return(E_OK));
732 EXPECT_CALL(*g_iCloud, PutMetaData(_, _)).WillRepeatedly(Return(E_OK));
H A Ddistributeddb_cloud_syncer_upload_test.cpp53 EXPECT_CALL(*iCloud, PutMetaData(_, _)).WillRepeatedly(Return(E_OK)); in CommonExpectCall()
59 EXPECT_CALL(*iCloud, PutMetaData(_, _)).WillRepeatedly(Return(E_OK)); in BatchExpectCall()
399 EXPECT_CALL(*iCloud, PutMetaData(_, _)).WillRepeatedly(Return(E_OK));
520 EXPECT_CALL(*iCloud, PutMetaData(_, _)).WillRepeatedly(Return(E_OK));
569 EXPECT_CALL(*iCloud, PutMetaData(_, _)).WillRepeatedly(Return(E_OK));
629 EXPECT_CALL(*iCloud, PutMetaData(_, _)).WillRepeatedly(Return(E_OK));
696 EXPECT_CALL(*iCloud, PutMetaData(_, _)).WillRepeatedly(Return(E_OK));
745 EXPECT_CALL(*iCloud, PutMetaData(_, _)).WillRepeatedly(Return(E_OK));
802 EXPECT_CALL(*iCloud, PutMetaData(_, _)).WillRepeatedly(Return(E_OK));
839 EXPECT_CALL(*iCloud, PutMetaData(_, _)).WillRepeatedly(Return(E_OK)); in MockMethod014()
[all …]
H A Dmock_icloud_sync_storage_interface.h25 MOCK_METHOD2(PutMetaData, int(const Key &, const Value &));
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dkv_storage_handle.h32 virtual int PutMetaData(const Key &key, const Value &value, bool isInTransaction) = 0;
H A Dsqlite_cloud_kv_store.h30 int PutMetaData(const Key &key, const Value &value) override;
H A Dsqlite_cloud_kv_store.cpp37 int SqliteCloudKvStore::PutMetaData(const Key &key, const Value &value) in PutMetaData() function in DistributedDB::SqliteCloudKvStore
39 return storageHandle_->PutMetaData(key, value, false); in PutMetaData()
H A Dsqlite_single_ver_natural_store.h68 int PutMetaData(const Key &key, const Value &value, bool isInTransaction) override;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_single_ver_natural_store_testcase.cpp1578 EXPECT_EQ(store->PutMetaData(key1, value1, false), E_OK); in TestMetaDataPutAndGet()
1595 EXPECT_EQ(store->PutMetaData(key1, value2, false), E_OK); in TestMetaDataPutAndGet()
1609 EXPECT_EQ(store->PutMetaData(emptyKey, value1, false), -E_INVALID_ARGS); in TestMetaDataPutAndGet()
1618 EXPECT_EQ(store->PutMetaData(key2, emptyValue, false), E_OK); in TestMetaDataPutAndGet()
1636 EXPECT_EQ(store->PutMetaData(sizeKey, sizeValue, false), E_OK); in TestMetaDataPutAndGet()
1646 EXPECT_EQ(store->PutMetaData(sizeKey, sizeValue, false), -E_INVALID_ARGS); in TestMetaDataPutAndGet()
1649 EXPECT_EQ(store->PutMetaData(sizeKey, sizeValue, false), -E_INVALID_ARGS); in TestMetaDataPutAndGet()
1869 ASSERT_EQ(store->PutMetaData(Key {'a', '1'}, Value {'a', '1'}, false), E_OK); in TestMetaDataDeleteByPrefixKey()
1870 ASSERT_EQ(store->PutMetaData(Key {'b', '1'}, Value {'b', '1'}, false), E_OK); in TestMetaDataDeleteByPrefixKey()
1871 ASSERT_EQ(store->PutMetaData(Key {'a', '2'}, Value {'a', '2'}, false), E_OK); in TestMetaDataDeleteByPrefixKey()
[all …]
H A Ddistributeddb_relational_cloud_syncable_storage_test.cpp443 EXPECT_EQ(g_cloudStore->PutMetaData(KEY_1, VALUE_2), E_OK);
444 EXPECT_EQ(g_cloudStore->PutMetaData(KEY_1, VALUE_3), E_OK);
462 EXPECT_EQ(g_cloudStore->PutMetaData(key, VALUE_2), E_OK);
469 EXPECT_EQ(g_cloudStore->PutMetaData(maxKey, VALUE_3), E_OK);
487 g_cloudStore->PutMetaData(KEY_1, VALUE_1);
489 g_cloudStore->PutMetaData(KEY_2, VALUE_2);
495 g_cloudStore->PutMetaData(KEY_3, VALUE_3);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Dvirtual_multi_ver_sync_db_interface.cpp62 int VirtualMultiVerSyncDBInterface::PutMetaData(const Key &key, const Value &value, bool isInTransa… in PutMetaData() function in DistributedDB::VirtualMultiVerSyncDBInterface
64 return kvStore_->PutMetaData(key, value, isInTransaction); in PutMetaData()
H A Dvirtual_multi_ver_sync_db_interface.h41 int PutMetaData(const Key &key, const Value &value, bool isInTransaction) override;
H A Dvirtual_relational_ver_sync_db_interface.h76 int PutMetaData(const Key &key, const Value &value, bool isInTransaction) override;
H A Ddistributeddb_meta_data_test.cpp91 EXPECT_EQ(storage_->PutMetaData(key, value, false), E_OK); in PutMetaDataValue()
H A Dvirtual_single_ver_sync_db_Interface.h57 int PutMetaData(const Key& key, const Value& value, bool isInTransaction) override;
H A Dvirtual_relational_ver_sync_db_interface.cpp225 int VirtualRelationalVerSyncDBInterface::PutMetaData(const Key &key, const Value &value, bool isInT… in PutMetaData() function in DistributedDB::VirtualRelationalVerSyncDBInterface
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/
H A Disync_interface.h58 virtual int PutMetaData(const Key &key, const Value &value, bool isInTransaction) = 0;
H A Dicloud_sync_storage_interface.h96 virtual int PutMetaData(const Key &key, const Value &value) = 0;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dmulti_ver_kvdata_storage.h62 int PutMetaData(const Key &key, const Value &value);
H A Dmulti_ver_storage_executor.h54 int PutMetaData(const Key &key, const Value &value);
H A Dmulti_ver_natural_store.h75 int PutMetaData(const Key &key, const Value &value, bool isInTransaction) override;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/cloud/
H A Dcloud_meta_data.cpp185 return store_->PutMetaData(DBCommon::GetPrefixTableName(tableName), blobMetaVal); in WriteMarkToMeta()
198 return store_->PutMetaData(DBCommon::GetPrefixTableName(tableName), blobMetaVal); in WriteTypeMarkToMeta()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/
H A Drd_single_ver_natural_store.h63 int PutMetaData(const Key &key, const Value &value, bool isInTransaction) override;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/
H A Drelational_sync_able_storage.h63 int PutMetaData(const Key &key, const Value &value) override;
65 int PutMetaData(const Key &key, const Value &value, bool isInTransaction) override;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/
H A Ddistributeddb_cloud_meta_data_test.cpp325 EXPECT_EQ(obj.PutMetaData(key, value), -E_INVALID_DB);
326 EXPECT_EQ(obj.PutMetaData(key, value, true), -E_INVALID_DB);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_relational_store.cpp212 int errCode = storageEngine_->PutMetaData(schemaKey, schemaVal); in SaveSchemaToMeta()
224 int errCode = storageEngine_->PutMetaData(modeKey, modeVal); in SaveTableModeToMeta()
248 errCode = storageEngine_->PutMetaData(logVersionKey, logVersionVal); in SaveLogTableVersionToMeta()
1320 … errCode = storageEngine_->PutMetaData(DBCommon::GetPrefixTableName(tableName), blobMetaVal, true); in CleanWaterMark()

12