/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | data_share_profile_config_test.cpp | 61 config.storeName = "storeName";
in HWTEST_F() 111 info.storeName = "storeName";
in HWTEST_F() 117 EXPECT_EQ(node["path"], "storeName/tableName");
in HWTEST_F() 124 EXPECT_EQ(profileInfo.storeName, "storeName");
in HWTEST_F() 146 info.storeName = "";
in HWTEST_F() 153 EXPECT_EQ(profileInfo.storeName, "");
in HWTEST_F() 157 info.storeName in HWTEST_F() [all...] |
H A D | object_asset_machine_test.cpp | 61 .storeName = "store_test", in SetUp() 71 .storeName = "store_test", in SetUp() 200 .storeName = "store_" + timestamp, in HWTEST_F() 209 .storeName = "store_" + timestamp, in HWTEST_F() 244 .storeName = "store_006", in HWTEST_F() 253 .storeName = "store_006", in HWTEST_F()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/ |
H A D | data_share_db_config.cpp | 33 const std::string &bundleName, const std::string &storeName, int32_t userId, int32_t appIndex) in QueryMetaData() 39 meta.storeId = storeName; in QueryMetaData() 49 dbConfig.bundleName, dbConfig.storeName, dbConfig.userId, dbConfig.appIndex); in GetMetaData() 56 auto [succ, meta] = QueryMetaData(dbConfig.bundleName, dbConfig.storeName, dbConfig.userId, dbConfig.appIndex); in GetMetaData() 70 ZLOGE("DB not exist,bundleName:%{public}s,storeName:%{public}s,user:%{public}d,err:%{public}d,uri:%{public}s", in GetDbConfig() 71 dbConfig.bundleName.c_str(), dbConfig.storeName.c_str(), dbConfig.userId, errCode, in GetDbConfig() 32 QueryMetaData( const std::string &bundleName, const std::string &storeName, int32_t userId, int32_t appIndex) QueryMetaData() argument
|
H A D | data_share_db_config.h | 35 std::string storeName; member 45 const std::string &storeName, int32_t userId, int32_t appIndex);
|
H A D | data_provider_config.cpp | 110 providerInfo_.storeName = profileInfo.storeName; in GetFromDataProperties() 126 moduleName + URIUtils::URI_SEPARATOR + providerInfo_.storeName; in GetFromExtensionProperties() 188 providerInfo_.storeName = pathSegments[static_cast<std::size_t>(PATH_PARAM::STORE_NAME)]; in GetFromUriPath()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | rdb_notifier_stub.cpp | 82 int32_t RdbNotifierStub::OnComplete(const std::string &storeName, Details &&result) in OnComplete() argument 85 autoSyncCompleteHandler_(storeName, std::move(result)); in OnComplete() 112 std::string storeName; in OnAutoSyncCompleteInner() local 114 if (!ITypesUtil::Unmarshal(data, storeName, result)) { in OnAutoSyncCompleteInner() 118 return OnComplete(storeName, std::move(result)); in OnAutoSyncCompleteInner()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/waterversion/ |
H A D | water_version_manager.cpp | 81 std::string WaterVersionManager::GenerateWaterVersion(const std::string &bundleName, const std::string &storeName) in GenerateWaterVersion() argument 86 info.storeId = storeName; in GenerateWaterVersion() 93 if (type < BEGIN || type >= BUTT || bundleName.empty() || storeName.empty()) { in GenerateWaterVersion() 94 ZLOGE("invalid args. bundleName:%{public}s, storeName:%{public}s, type:%{public}d", bundleName.c_str(), in GenerateWaterVersion() 95 Anonymous::Change(storeName).c_str(), type); in GenerateWaterVersion() 98 auto [success, meta] = waterVersions_[type].GenerateWaterVersion(Merge(bundleName, storeName)); in GenerateWaterVersion() 102 std::string WaterVersionManager::GetWaterVersion(const std::string &bundleName, const std::string &storeName) in GetWaterVersion() argument 107 info.storeId = storeName; in GetWaterVersion() 114 if (type < BEGIN || type >= BUTT || bundleName.empty() || storeName.empty()) { in GetWaterVersion() 115 ZLOGE("invalid args. bundleName:%{public}s, storeName in GetWaterVersion() 158 SetWaterVersion(const std::string &bundleName, const std::string &storeName, const std::string &waterVersion) SetWaterVersion() argument 245 Merge(const std::string &bundleName, const std::string &storeName) Merge() argument [all...] |
H A D | water_version_manager.h | 60 API_EXPORT std::string GenerateWaterVersion(const std::string &bundleName, const std::string &storeName); 61 std::string GetWaterVersion(const std::string &bundleName, const std::string &storeName); 64 bool SetWaterVersion(const std::string &bundleName, const std::string &storeName, 95 static std::string Merge(const std::string &bundleName, const std::string &storeName);
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_notifier_proxy.cpp | 65 ZLOGE("storeName:%{public}s, send request failed", DistributedData::Anonymous::Change(origin.store).c_str()); in OnChange() 71 int32_t RdbNotifierProxy::OnComplete(const std::string& storeName, Details&& result) in OnComplete() argument 78 if (!ITypesUtil::Marshal(data, storeName, result)) { in OnComplete() 86 ZLOGE("storeName:%{public}s, send request failed", DistributedData::Anonymous::Change(storeName).c_str()); in OnComplete()
|
H A D | rdb_service_impl.cpp | 120 store->RegisterDetailProgressObserver(GetCallbacks(meta.tokenId, storeInfo.storeName)); in RdbServiceImpl() 216 bool RdbServiceImpl::CheckAccess(const std::string& bundleName, const std::string& storeName) in CheckAccess() argument 222 storeInfo.storeId = RemoveSuffix(storeName); in CheckAccess() 280 ZLOGE("bundleName:%{public}s, storeName:%{public}s. Permission error", param.bundleName_.c_str(), in SetDistributedTables() 295 ZLOGE("no meta. bundleName:%{public}s, storeName:%{public}s. GetStore failed", param.bundleName_.c_str(), in SetDistributedTables() 311 ZLOGE("bundleName:%{public}s, storeName:%{public}s. GetStore failed", param.bundleName_.c_str(), in SetDistributedTables() 354 AutoCache::Watchers RdbServiceImpl::GetWatchers(uint32_t tokenId, const std::string &storeName) in GetWatchers() argument 368 RdbServiceImpl::DetailAsync RdbServiceImpl::GetCallbacks(uint32_t tokenId, const std::string &storeName) in GetCallbacks() argument 371 syncAgents_.ComputeIfPresent(tokenId, [&storeName, ¬ifiers](auto, SyncAgents &syncAgents) { in GetCallbacks() 372 std::for_each(syncAgents.begin(), syncAgents.end(), [&storeName, in GetCallbacks() [all...] |
H A D | rdb_service_impl.h | 164 Watchers GetWatchers(uint32_t tokenId, const std::string &storeName); 166 DetailAsync GetCallbacks(uint32_t tokenId, const std::string &storeName); 168 bool CheckAccess(const std::string& bundleName, const std::string& storeName); 209 DistributedData::DataChangeEvent::EventInfo &eventInfo, const std::string &storeName);
|
H A D | rdb_general_store.cpp | 126 storeInfo_.storeName = meta.storeId; in RdbGeneralStore() 183 eventInfo.storeName = storeInfo_.storeName; in Bind() 262 Anonymous::Change(storeInfo_.storeName).c_str(), Anonymous::Change(table).c_str(), in Execute() 330 Anonymous::Change(storeInfo_.storeName).c_str(), Anonymous::Change(table).c_str()); in Insert() 394 Anonymous::Change(storeInfo_.storeName).c_str(), Anonymous::Change(table).c_str()); in Update() 425 Anonymous::Change(storeInfo_.storeName).c_str(), Anonymous::Change(table).c_str()); in Replace() 447 ZLOGE("Database already closed! database:%{public}s", Anonymous::Change(storeInfo_.storeName).c_str()); in Query() 465 Anonymous::Change(storeInfo_.storeName).c_str(), Anonymous::Change(table).c_str()); in Query() 483 Anonymous::Change(storeInfo_.storeName) in MergeMigratedData() [all...] |
H A D | rdb_notifier_proxy.h | 35 int32_t OnComplete(const std::string& storeName, Details &&result) override;
|
/foundation/distributeddatamgr/relational_store/frameworks/native/dfx/src/ |
H A D | rdb_fault_hiview_reporter.cpp | 55 SqliteUtils::Anonymous(eventInfoAppend.storeName).c_str(), in ReportFault() 71 SqliteUtils::Anonymous(eventInfo.storeName).c_str(), eventInfo.errorCode, eventInfoAppend.appendix.c_str()); in ReportRestore() 81 std::string storeName = eventInfo.storeName; in Report() local 90 { .name = "STORE_NAME", .t = HISYSEVENT_STRING, .v = { .s = storeName.data() }, .arraySize = 0 }, in Report() 177 eventInfo.storeName = config.GetName(); in Create() 238 return SqliteUtils::Anonymous(eventInfo.storeName); in GetBundleName()
|
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/ |
H A D | object_types_util.cpp | 22 return ITypesUtil::Marshal(data, input.storeName, input.tableName, input.primaryKey, input.field, in Marshalling() 28 return ITypesUtil::Unmarshal(data, output.storeName, output.tableName, output.primaryKey, output.field, in Unmarshalling()
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | kv_hiview_reporter.cpp | 43 std::string storeName; member 70 eventInfo.storeName = storeTuple.storeId; in ReportKVDBCorruptedFault() 90 eventInfo.storeName = storeTuple.storeId; in ReportKVDBRebuild() 166 char *storeName = const_cast<char *>(eventInfo.storeName.c_str()); in ReportCommonFault() local 174 { .name = "STORE_NAME", .t = HISYSEVENT_STRING, .v = { .s = storeName }, .arraySize = 0 }, in ReportCommonFault()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/ |
H A D | object_types_utils.cpp | 22 return ITypesUtil::Unmarshal(data, output.storeName, output.tableName, output.primaryKey, output.field, in Unmarshalling()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/store/ |
H A D | store_info.h | 25 std::string storeName; member
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/strategies/general/ |
H A D | load_config_data_info_strategy.cpp | 33 static bool QueryMetaData(const std::string &bundleName, const std::string &storeName,
in QueryMetaData() argument 40 meta.storeId = storeName;
in QueryMetaData()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/snapshot/ |
H A D | machine_status.h | 47 std::string storeName; member
|
H A D | bind_event.h | 38 std::string storeName; member
|
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/ |
H A D | rdb_notifier.h | 26 virtual int32_t OnComplete(const std::string& storeName, Details &&result) = 0;
|
/foundation/distributeddatamgr/preferences/frameworks/native/platform/include/ |
H A D | preferences_dfx_adapter.h | 33 std::string storeName; // filename member
|
/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/ |
H A D | relational_store.cpp | 50 std::string storeName = ""; member 88 int OH_Rdb_SetStoreName(OH_Rdb_ConfigV2 *config, const char *storeName) in OH_Rdb_SetStoreName() argument 90 if (config == nullptr || storeName == nullptr || (config->magicNum != RDB_CONFIG_V2_MAGIC_CODE)) { in OH_Rdb_SetStoreName() 91 LOG_ERROR("config is null %{public}d or storeName %{public}d or magic num not ok" in OH_Rdb_SetStoreName() 92 "%{public}x When set storeName.", (config == nullptr), (storeName == nullptr), in OH_Rdb_SetStoreName() 96 config->storeName = std::string(storeName); in OH_Rdb_SetStoreName() 327 OHOS::NativeRdb::RdbSqlUtils::GetDefaultDatabasePath(config->dataBaseDir, config->storeName, *errCode); in GetRdbStoreConfig() 339 rdbStoreConfig.SetName(config->storeName); in GetRdbStoreConfig() [all...] |
/foundation/distributeddatamgr/data_object/interfaces/innerkits/ |
H A D | object_types.h | 25 std::string storeName; member
|