Home
last modified time | relevance | path

Searched refs:dataShareDao (Results 1 – 2 of 2) sorted by relevance

/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/test/unittest/common/
Ddata_share_test.cpp105 …auto dataShareDao = std::make_shared<DataShareDao>(std::make_shared<DataShareStore>(dataBaseTestDi… variable
108 auto result = dataShareDao->SaveSubscriberInfo(uid, events);
110 auto res = dataShareDao->IsUidExists(uid);
113 result = dataShareDao->GetEventListByUid(uid, eventList);
116 result = dataShareDao->GetUidByBundleName(bundleName, uid);
119 result = dataShareDao->GetTotalSubscriberInfo(uidToEventsMap);
122 result = dataShareDao->SaveSubscriberInfo(uid, events);
124 result = dataShareDao->DeleteSubscriberInfo(uid);
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
Ddata_publisher.cpp65 std::shared_ptr<DataShareDao> dataShareDao = GetDataShareDao(); in AddSubscriber() local
66 auto ret = dataShareDao->GetEventListByUid(uid, events); in AddSubscriber()
80 ret = dataShareDao->SaveSubscriberInfo(uid, newEvents); in AddSubscriber()
91 std::shared_ptr<DataShareDao> dataShareDao = GetDataShareDao(); in RemoveSubscriber() local
92 auto ret = dataShareDao->GetEventListByUid(uid, events); in RemoveSubscriber()
106 ret = dataShareDao->DeleteSubscriberInfo(uid); in RemoveSubscriber()
117 std::shared_ptr<DataShareDao> dataShareDao = GetDataShareDao(); in InitSubscriber() local
118 int ret = dataShareDao->GetTotalSubscriberInfo(uidToEventsMap); in InitSubscriber()
206 std::shared_ptr<DataShareDao> dataShareDao = GetDataShareDao(); in HandleAppUninstallEvent() local
207 auto ret = dataShareDao->GetUidByBundleName(bundleName, uid); in HandleAppUninstallEvent()