Searched refs:dataShareDao (Results 1 – 2 of 2) sorted by relevance
105 …auto dataShareDao = std::make_shared<DataShareDao>(std::make_shared<DataShareStore>(dataBaseTestDi… variable108 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);
65 std::shared_ptr<DataShareDao> dataShareDao = GetDataShareDao(); in AddSubscriber() local66 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() local92 auto ret = dataShareDao->GetEventListByUid(uid, events); in RemoveSubscriber()106 ret = dataShareDao->DeleteSubscriberInfo(uid); in RemoveSubscriber()117 std::shared_ptr<DataShareDao> dataShareDao = GetDataShareDao(); in InitSubscriber() local118 int ret = dataShareDao->GetTotalSubscriberInfo(uidToEventsMap); in InitSubscriber()206 std::shared_ptr<DataShareDao> dataShareDao = GetDataShareDao(); in HandleAppUninstallEvent() local207 auto ret = dataShareDao->GetUidByBundleName(bundleName, uid); in HandleAppUninstallEvent()