Home
last modified time | relevance | path

Searched refs:bundleList (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/base/notification/common_event_service/services/test/unittest/static_subscriber_data_manager_unit_test/
H A Dstatic_subscriber_data_manager_unit_test.cpp72 std::set<std::string> bundleList; variable
73 auto ret = dataManager->QueryStaticSubscriberStateData(disableEvents, bundleList);
87 std::set<std::string> bundleList; variable
94 auto ret = dataManager->QueryStaticSubscriberStateData(disableEvents, bundleList);
108 std::set<std::string> bundleList; variable
115 auto ret = dataManager->QueryStaticSubscriberStateData(disableEvents, bundleList);
/ohos5.0/base/time/time_service/utils/native/src/
H A Dtime_file_utils.cpp80 std::vector<std::string> bundleList; in GetBundleList() local
93 bundleList.emplace_back(temp); in GetBundleList()
99 return bundleList; in GetBundleList()
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/clone/
H A Dnotification_clone_disturb_service.cpp185 std::vector<NotificationBundleOption> bundleList; in HandlerBundleEvent() local
187 CheckBundleInfo(trustList, bundleList, bundle); in HandlerBundleEvent()
189 profileId, name, bundleList); in HandlerBundleEvent()
207 std::vector<NotificationBundleOption>& bundleList, const NotificationBundleOption& bundle) in CheckBundleInfo() argument
212 bundleList.push_back(bundle); in CheckBundleInfo()
/ohos5.0/base/notification/common_event_service/services/src/
H A Dstatic_subscriber_data_manager.cpp83 std::set<std::string> bundleList; in UpdateStaticSubscriberState() local
84 int32_t ret = QueryStaticSubscriberStateData(disableEventsDatabase, bundleList); in UpdateStaticSubscriberState()
123 … std::map<std::string, std::vector<std::string>> &disableEvents, std::set<std::string> &bundleList) in QueryStaticSubscriberStateData() argument
148 bundleList.emplace(item.key.ToString()); in QueryStaticSubscriberStateData()
H A Dstatic_subscriber_manager.cpp86 std::set<std::string> bundleList; in InitValidSubscribers() local
88 QueryStaticSubscriberStateData(disableEvents_, bundleList); in InitValidSubscribers()
107 if (bundleList.empty()) { in InitValidSubscribers()
115 for (auto bundleName : bundleList) { in InitValidSubscribers()
/ohos5.0/base/notification/common_event_service/services/include/
H A Dstatic_subscriber_data_manager.h37 …std::map<std::string, std::vector<std::string>> &disableEvents, std::set<std::string> &bundleList);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_service_bundle_scan_test/
H A Dbms_service_bundle_scan_test.cpp286 std::list<std::string> bundleList = scanner->Scan(scanDir); variable
288 if (bundleList.size() > 0) {
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_clone_disturb_service.h42 std::vector<NotificationBundleOption>& bundleList, const NotificationBundleOption& bundle);
H A Dnotification_preferences.h364 const std::string& name, const std::vector<NotificationBundleOption>& bundleList);
367 const std::vector<NotificationBundleOption> bundleList);
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_preferences.cpp625 const std::vector<NotificationBundleOption> bundleList) in UpdateProfilesUtil() argument
627 for (auto& item : bundleList) { in UpdateProfilesUtil()
642 const std::string& name, const std::vector<NotificationBundleOption>& bundleList) in UpdateDoNotDisturbProfiles() argument
644 …("Called update Profile %{public}d %{public}d %{public}zu.", userId, profileId, bundleList.size()); in UpdateDoNotDisturbProfiles()
645 if (!CheckDoNotDisturbProfileID(profileId) || bundleList.empty()) { in UpdateDoNotDisturbProfiles()
654 UpdateProfilesUtil(trustList, bundleList); in UpdateDoNotDisturbProfiles()
659 profile->SetProfileTrustList(bundleList); in UpdateDoNotDisturbProfiles()
H A Dadvanced_notification_service.cpp1515 std::list<std::shared_ptr<NotificationRecord>> bundleList; in PublishInNotificationList() local
1518 bundleList.push_back(item); in PublishInNotificationList()
1523 if (bundleList.size() >= MAX_ACTIVE_NUM_PERAPP) { in PublishInNotificationList()
1524 bundleList.sort(SortNotificationsByLevelAndTime); in PublishInNotificationList()
1525 recordToRemove = bundleList.front(); in PublishInNotificationList()
1527 RemoveNotificationList(bundleList.front()); in PublishInNotificationList()
1531 if (bundleList.size() > 0) { in PublishInNotificationList()
1532 bundleList.sort(SortNotificationsByLevelAndTime); in PublishInNotificationList()
1533 recordToRemove = bundleList.front(); in PublishInNotificationList()
1535 RemoveNotificationList(bundleList.front()); in PublishInNotificationList()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_mgr_service_event_handler.h335 const std::list<std::string> &bundleList, Constants::AppType appType);
342 …void InnerProcessRebootSharedBundleInstall(const std::list<std::string> &bundleList, Constants::Ap…
/ohos5.0/base/time/time_service/services/
H A Dtime_system_ability.cpp976 auto bundleList = TimeFileUtils::GetBundleList(); in SetAutoReboot() local
985 if (bundleName == (bundleList.empty() ? "" : bundleList[0])) { in SetAutoReboot()
/ohos5.0/base/time/time_service/services/timer/src/
H A Dtimer_manager.cpp122 std::vector<std::string> bundleList = TimeFileUtils::GetBundleList(); in GetInstance() local
123 if (!bundleList.empty()) { in GetInstance()
124 NEED_RECOVER_ON_REBOOT = bundleList; in GetInstance()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_mgr_service_event_handler.cpp895 std::list<std::string> bundleList = scanner.Scan(dir); in ProcessScanDir() local
896 for (auto item : bundleList) { in ProcessScanDir()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/
H A Dbms_bundle_kit_service_test.cpp308 …void CheckBundleList(const std::string &bundleName, const std::vector<std::string> &bundleList) co…
1056 const std::string &bundleName, const std::vector<std::string> &bundleList) const in CheckBundleList()
1058 EXPECT_TRUE(std::find(bundleList.begin(), bundleList.end(), bundleName) != bundleList.end()); in CheckBundleList()