Home
last modified time | relevance | path

Searched refs:relations (Results 1 – 25 of 30) sorted by relevance

12

/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/service_impl/
H A Dcloud_service.rs89 relations: HashMap::new(), in subscribe()
92 r.relations.insert(alias, id); in subscribe()
102 pub fn unsubscribe(&mut self, relations: &HashMap<String, Vec<String>>) -> SyncResult<()> { in unsubscribe()
103 if relations.is_empty() { in unsubscribe()
106 let unsub = ipc_conn::UnsubscriptionInfo(relations.clone()); in unsubscribe()
263 pub(crate) relations: HashMap<String, String>,
271 relations: HashMap<String, String>, in new()
276 relations, in new()
292 pub fn relations(&self) -> &HashMap<String, String> { in relations() method
293 &self.relations in relations()
/ohos5.0/foundation/systemabilitymgr/samgr_lite/communication/broadcast/source/
H A Dpub_sub_feature.c39 feature->relations.topic = -1; in Init()
40 feature->relations.callbacks.consumer = NULL; in Init()
41 UtilsListInit(&feature->relations.callbacks.node); in Init()
42 UtilsListInit(&feature->relations.node); in Init()
101 UTILS_DL_LIST *list = &feature->relations.node; in GetRelation()
H A Dpub_sub_feature.h47 Relation relations; member
H A Dpub_sub_implement.c62 Relation *head = &broadcast->feature->relations; in AddTopic()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/
H A Dcloud_server_impl.cpp354 OhCloudExtHashMap *relations = nullptr; in DoSubscribe() local
357 if (status != ERRNO_SUCCESS || relations == nullptr) { in DoSubscribe()
360 auto pRelations = std::shared_ptr<OhCloudExtHashMap>(relations, [](auto *relations) { in DoSubscribe() argument
361 OhCloudExtHashMapFree(relations); in DoSubscribe()
414 status = OhCloudExtHashMapIterGetKeyValuePair(relations.get(), &keys, &values); in SaveSubscription()
459 OhCloudExtHashMap *relations = nullptr; in SaveRelation() local
461 if (status != ERRNO_SUCCESS || relations == nullptr) { in SaveRelation()
464 auto pRelations = std::shared_ptr<OhCloudExtHashMap>(relations, [](auto *relations) { in SaveRelation() argument
465 OhCloudExtHashMapFree(relations); in SaveRelation()
543 auto it = dbRelation.relations.find(database.name); in Unsubscribe()
[all …]
H A Dcloud_server_impl.h58 int32_t SaveSubscription(int32_t userId, std::shared_ptr<OhCloudExtHashMap> relations,
62 int32_t GetRelation(std::shared_ptr<OhCloudExtHashMap> relations, DBRelation &dbRelation);
64 …std::shared_ptr<OhCloudExtHashMap> relations, const std::vector<std::string> &bundles, DBSub &sub);
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/cloud/
H A Dsubscription.cpp24 SetValue(node[GET_NAME(relations)], relations); in Marshal()
32 GetValue(node, GET_NAME(relations), relations); in Unmarshal()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/c_adapter/
H A Dcloud_extension.rs608 relations: *mut *const OhCloudExtHashMap, in OhCloudExtCloudSyncSubscribe()
611 if server.is_null() || dbs.is_null() || relations.is_null() || err.is_null() { in OhCloudExtCloudSyncSubscribe()
632 *relations = OhCloudExtHashMap::new(result, SafetyCheckId::HashMap).into_ptr(); in OhCloudExtCloudSyncSubscribe()
656 relations: *const OhCloudExtHashMap, in OhCloudExtCloudSyncUnsubscribe()
659 if server.is_null() || relations.is_null() || err.is_null() { in OhCloudExtCloudSyncUnsubscribe()
668 let relations = match OhCloudExtHashMap::get_inner_ref(relations, SafetyCheckId::HashMap) { in OhCloudExtCloudSyncUnsubscribe() localVariable
672 let relations = match relations { in OhCloudExtCloudSyncUnsubscribe() localVariable
677 match cloud_server.unsubscribe(relations) { in OhCloudExtCloudSyncUnsubscribe()
H A Dcloud_ext_types.rs1031 relations: *mut OhCloudExtHashMap, in OhCloudExtRelationSetNew()
1035 if relations.is_null() { in OhCloudExtRelationSetNew()
1040 let relations = match OhCloudExtHashMap::get_inner(relations, SafetyCheckId::HashMap) { in OhCloudExtRelationSetNew() localVariable
1044 match relations { in OhCloudExtRelationSetNew()
1099 relations: *mut *const OhCloudExtHashMap, in OhCloudExtRelationSetGetRelations()
1101 if relation.is_null() || relations.is_null() { in OhCloudExtRelationSetGetRelations()
1110 let res = relation_struct.relations(); in OhCloudExtRelationSetGetRelations()
1112 *relations = OhCloudExtHashMap::new(hashmap, SafetyCheckId::HashMap).into_ptr(); in OhCloudExtRelationSetGetRelations()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/include/
H A Dcloud_extension.h334 OhCloudExtHashMap **relations,
347 const OhCloudExtHashMap *relations,
H A Dcloud_ext_types.h538 OhCloudExtHashMap *relations
557 … OhCloudExtRelationSetGetRelations(const OhCloudExtRelationSet *re, OhCloudExtHashMap **relations);
/ohos5.0/build/ohos/sdk/
H A Dparse_sdk_description.py132 relations = read_json_file(options.variant_to_product)
133 if variant in relations.keys():
134 return relations.get(variant)
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/
H A Dsubscription_test.cpp43 relation.relations = testRelation;
66 ASSERT_EQ(relation.relations, testRelation);
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/cloud/
H A Dsubscription.h28 std::map<std::string, std::string> relations; member
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/tests/
H A Ddemo.txt209 {"bundleName":"com.huawei.hmos.notepad","id":"2850086000356238647","relations":{"notepad":"02bea77b…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-application.md37 |函数有变化|类名:Contact;<br>方法or属性:relations: Relation[]|类名:Contact;<br>方法or属性:relations?: Relation[]|@oh…
/ohos5.0/drivers/interface/codec/image/v2_0/
H A DICodecImage.idl170 * @param refs Indicates reference relations of the heif image encode {@link ItemRef} obtained.
/ohos5.0/commonlibrary/rust/ylong_runtime/
H A DREADME.md16 ### Crates inner relations
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-application.md37 …ntact;<br>Method or attribute name: relations: Relation[]|Class name: Contact;<br>Method or attrib…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-telephony.md205 | ohos.contact | Contact | relations: Relation[] | 新增 |
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-telephony.md205 | ohos.contact | Contact | relations: Relation[] | Added|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v4.0-beta2/
H A Djs-apidiff-application.md213 |type有变化|类名:Contact;<br>方法or属性:relations?: Relation[]<br>旧版本信息:|类名:Contact;<br>方法or属性:relations?: R…
/ohos5.0/build/lite/ndk/doc/config/
H A DDoxyfile_C2059 # and usage relations if the target is undocumented or is not a class.
2108 # each documented class showing the direct and indirect inheritance relations.
2153 # collaboration graphs will show the relations between templates and their
2209 # dependency relations are determined by the #include relations between the
H A DDoxyfile_CPP2061 # and usage relations if the target is undocumented or is not a class.
2110 # each documented class showing the direct and indirect inheritance relations.
2155 # collaboration graphs will show the relations between templates and their
2211 # dependency relations are determined by the #include relations between the
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/
H A Djs-apidiff-application.md230 |type有变化|类名:Contact;<br>方法or属性:relations?: Relation[]<br>旧版本信息:|类名:Contact;<br>方法or属性:relations?: R…

12