/foundation/distributeddatamgr/data_share/test/native/unittest/mediadatashare_test/src/ |
H A D | valueproxy_test.cpp | 33 std::vector<DataShareBucket> VBuckets = {valuesBucket1, valuesBucket2};
in HWTEST_F() local 34 DataShareObserver::ChangeInfo::VBuckets extends;
in HWTEST_F() 35 extends = ValueProxy::Convert(std::move(VBuckets));
in HWTEST_F() 41 std::vector<DataShareBucket> VBuckets;
in HWTEST_F() 42 DataShareObserver::ChangeInfo::VBuckets extends = {
in HWTEST_F() 46 VBuckets = ValueProxy::Convert(std::move(extends));
in HWTEST_F() 47 ASSERT_EQ(VBuckets.size(), 2);
in HWTEST_F()
|
H A D | mediadatashare_unit_test.cpp | 145 bool MediaDataShareUnitTest::ValueBucketEqual(const VBuckets& v1, const VBuckets& v2) in ValueBucketEqual() 1510 std::vector<DataShareValuesBucket> VBuckets = {valuesBucket1, valuesBucket2}; in HWTEST_F() local 1511 int retVal = helper->BatchInsert(uri, VBuckets); in HWTEST_F() 1513 DataShareObserver::ChangeInfo::VBuckets extends; in HWTEST_F() 1514 extends = ValueProxy::Convert(std::move(VBuckets)); in HWTEST_F() 1536 std::vector<DataShareValuesBucket> VBuckets = {valuesBucket}; in HWTEST_F() local 1541 DataShareObserver::ChangeInfo::VBuckets extends; in HWTEST_F() 1542 extends = ValueProxy::Convert(std::move(VBuckets)); in HWTEST_F() 1564 std::vector<DataShareValuesBucket> VBuckets in HWTEST_F() local [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/cloud/ |
H A D | cloud_db.cpp | 23 int32_t CloudDB::BatchInsert(const std::string &table, VBuckets &&values, VBuckets &extends) in BatchInsert() 28 int32_t CloudDB::BatchUpdate(const std::string &table, VBuckets &&values, VBuckets &extends) in BatchUpdate() 30 return BatchUpdate(table, std::move(values), static_cast<const VBuckets &>(extends)); in BatchUpdate() 33 int32_t CloudDB::BatchUpdate(const std::string &table, VBuckets &&values, const VBuckets &extends) in BatchUpdate() 38 int32_t CloudDB::BatchDelete(const std::string &table, VBuckets &extends) in BatchDelete() 53 int32_t CloudDB::PreSharing(const std::string &table, VBuckets &extend) in PreSharing()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/cloud/ |
H A D | cloud_db.h | 35 virtual int32_t BatchInsert(const std::string &table, VBuckets &&values, VBuckets &extends); 37 virtual int32_t BatchUpdate(const std::string &table, VBuckets &&values, VBuckets &extends); 39 virtual int32_t BatchUpdate(const std::string &table, VBuckets &&values, const VBuckets &extends); 41 virtual int32_t BatchDelete(const std::string &table, VBuckets &extends); 47 virtual int32_t PreSharing(const std::string &table, VBuckets &extend);
|
/foundation/distributeddatamgr/data_share/frameworks/native/common/include/ |
H A D | datashare_valuebucket_convert.h | 27 using VBuckets = DataShareObserver::ChangeInfo::VBuckets;
56 static VBuckets Convert(std::vector<DataShare::DataShareValuesBucket> &&dataShareValuesBuckets);
57 static std::vector<DataShare::DataShareValuesBucket> Convert(VBuckets &&vBuckets);
|
/foundation/distributeddatamgr/data_share/test/native/unittest/mediadatashare_test/include/ |
H A D | mediadatashare_unit_test.h | 30 using VBuckets = std::vector<VBucket>; 45 bool ValueBucketEqual(const VBuckets& vb1, const VBuckets& vb2);
|
/foundation/distributeddatamgr/data_share/frameworks/native/common/src/ |
H A D | datashare_valuebucket_convert.cpp | 20 VBuckets ValueProxy::Convert(std::vector<DataShare::DataShareValuesBucket> &&dataShareValuesBuckets)
in Convert() 23 VBuckets res;
in Convert() 37 std::vector<DataShareValuesBucket> ValueProxy::Convert(VBuckets &&vBuckets)
in Convert()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_cloud.h | 49 DistributedData::GeneralError PreSharing(const std::string &tableName, DistributedData::VBuckets &extend); 67 static void ConvertErrorField(DistributedData::VBuckets& extends); 74 void PostEvent(DistributedData::VBuckets& records, std::set<std::string>& skipAssets, 75 DistributedData::VBuckets& extend, DistributedData::AssetEvent eventId);
|
H A D | rdb_cloud.cpp | 38 VBuckets extends = ValueProxy::Convert(std::move(extend)); in BatchInsert() 39 VBuckets records = ValueProxy::Convert(std::move(record)); in BatchInsert() 42 VBuckets temp = records; in BatchInsert() 54 VBuckets extends = ValueProxy::Convert(std::move(extend)); in BatchUpdate() 55 VBuckets records = ValueProxy::Convert(std::move(record)); in BatchUpdate() 58 VBuckets temp = records; in BatchUpdate() 68 VBuckets extends = ValueProxy::Convert(std::move(extend)); in BatchDelete() 114 DistributedData::GeneralError RdbCloud::PreSharing(const std::string& tableName, VBuckets& extend) in PreSharing() 269 void RdbCloud::PostEvent(VBuckets& records, std::set<std::string>& skipAssets, VBuckets [all...] |
H A D | rdb_general_store.h | 38 using VBuckets = DistributedData::VBuckets; 66 int32_t Insert(const std::string &table, VBuckets &&values) override; 86 int32_t MergeMigratedData(const std::string &tableName, VBuckets&& values) override; 148 std::pair<int32_t, VBuckets> QuerySql(const std::string& sql, Values &&args); 150 VBuckets ExtractExtend(VBuckets& values) const;
|
H A D | rdb_general_store.cpp | 294 int32_t RdbGeneralStore::Insert(const std::string &table, VBuckets &&values) in Insert() 478 int32_t RdbGeneralStore::MergeMigratedData(const std::string &tableName, VBuckets &&values) in MergeMigratedData() 568 VBuckets values; in PreSharing() 584 VBuckets extends = ExtractExtend(values); in PreSharing() 594 VBuckets RdbGeneralStore::ExtractExtend(VBuckets &values) const in ExtractExtend() 596 VBuckets extends(values.size()); in ExtractExtend() 907 std::pair<int32_t, VBuckets> RdbGeneralStore::QuerySql(const std::string &sql, Values &&args)
|
/foundation/ability/ability_runtime/interfaces/inner_api/dataobs_manager/include/ |
H A D | dataobs_mgr_changeinfo.h | 35 using VBuckets = std::vector<VBucket>; 44 VBuckets valueBuckets_ = {};
|
/foundation/distributeddatamgr/data_share/interfaces/inner_api/common/include/ |
H A D | datashare_observer.h | 44 using VBuckets = std::vector<VBucket>;
49 VBuckets valueBuckets_ = {};
|
/foundation/ability/ability_runtime/services/dataobsmgr/src/ |
H A D | dataobs_mgr_changeinfo.cpp | 24 using VBuckets = std::vector<VBucket>; 89 VBuckets buckets; in Unmarshalling()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/mock/ |
H A D | general_store_mock.h | 32 int32_t Insert(const std::string &table, VBuckets &&values) override; 51 int32_t MergeMigratedData(const std::string &tableName, VBuckets &&values) override;
|
H A D | general_store_mock.cpp | 46 int32_t GeneralStoreMock::Insert(const std::string &table, VBuckets &&values) in Insert() 127 int32_t GeneralStoreMock::MergeMigratedData(const std::string &tableName, VBuckets &&values) in MergeMigratedData()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/ |
H A D | cloud_db_impl.h | 27 using DBVBuckets = DistributedData::VBuckets;
|
H A D | extension_util.h | 39 using DBVBuckets = DistributedData::VBuckets;
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | value_proxy_test.cpp | 38 OHOS::DistributedData::VBuckets extends = { in HWTEST_F() 59 OHOS::DistributedData::VBuckets extends; in HWTEST_F() 75 OHOS::DistributedData::VBuckets extends = { in HWTEST_F() 105 OHOS::DistributedData::VBuckets extends; in HWTEST_F()
|
H A D | rdb_general_store_test.cpp | 495 DistributedData::VBuckets values;
in HWTEST_F() 503 DistributedData::VBuckets extends = { { { "#gid", { "0000000" } }, { "#flag", { true } },
in HWTEST_F() 510 DistributedData::VBuckets vbuckets = { value };
in HWTEST_F() 530 DistributedData::VBuckets extends = { { g_RdbVBucket } };
in HWTEST_F() 703 DistributedData::VBuckets extends = { { g_RdbVBucket } };
in HWTEST_F() 767 DistributedData::VBuckets extends = { { extend } };
in HWTEST_F() 770 DistributedData::VBuckets values;
in HWTEST_F()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/ |
H A D | object_asset_machine.cpp | 61 static VBuckets GetMigratedData(AutoCache::Store& store, AssetBindInfo& assetBindInfo, const Asset& newAsset); 192 VBuckets vBuckets = GetMigratedData(store, changedAsset.bindInfo, changedAsset.asset); in UpdateStore() 199 static VBuckets GetMigratedData(AutoCache::Store& store, AssetBindInfo& assetBindInfo, const Asset& newAsset) in GetMigratedData() 202 VBuckets vBuckets; in GetMigratedData()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/store/ |
H A D | general_store.h | 137 virtual int32_t Insert(const std::string &table, VBuckets &&values) = 0; 173 virtual int32_t MergeMigratedData(const std::string &tableName, VBuckets &&values) = 0;
|
H A D | general_value.h | 124 using VBuckets = std::vector<VBucket>;
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvdb_general_store.h | 54 int32_t Insert(const std::string &table, VBuckets &&values) override; 73 int32_t MergeMigratedData(const std::string &tableName, VBuckets &&values) override;
|
/foundation/distributeddatamgr/data_share/frameworks/js/napi/common/src/ |
H A D | datashare_js_utils.cpp | 812 std::vector<DataShareValuesBucket> VBuckets = ValueProxy::Convert(std::move(valBucket.valueBuckets_)); in Convert2JSValue() local 813 napi_value valueBuckets = Convert2JSValue(env, VBuckets); in Convert2JSValue()
|