Home
last modified time | relevance | path

Searched refs:appNames (Results 1 - 8 of 8) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_subscribe_info.cpp45 void NotificationSubscribeInfo::AddAppNames(const std::vector<std::string> &appNames) in AddAppNames() argument
47 appNames_.insert(appNames_.end(), appNames.begin(), appNames.end()); in AddAppNames()
128 std::string appNames = ""; in Dump() local
130 appNames += name; in Dump()
131 appNames += ", "; in Dump()
134 "appNames = [" + appNames + "]" + in Dump()
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
H A Dfold_app_usage_event_factory.cpp80 std::vector<std::string> appNames; in GetAppUsageInfo() local
81 GetForegroundAppNames(appNames); in GetAppUsageInfo()
82 GetForegroundAppsAtEndTime(appNames); in GetAppUsageInfo()
84 for (const auto &app : appNames) { in GetAppUsageInfo()
109 void FoldAppUsageEventFactory::GetForegroundAppNames(std::vector<std::string> &appNames) in GetForegroundAppNames() argument
131 appNames.emplace_back(appData.bundleName); in GetForegroundAppNames()
135 void FoldAppUsageEventFactory::GetForegroundAppsAtEndTime(std::vector<std::string> &appNames) in GetForegroundAppsAtEndTime() argument
140 auto iter = std::find(appNames.begin(), appNames.end(), event.second); in GetForegroundAppsAtEndTime()
141 if (iter == appNames in GetForegroundAppsAtEndTime()
[all...]
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_event_service.cpp49 std::vector<std::string> appNames = info->GetAppNames(); in SendSubscribeHiSysEvent() local
50 eventInfo.bundleName = std::accumulate(appNames.begin(), appNames.end(), std::string(""), in SendSubscribeHiSysEvent()
51 [appNames](const std::string &bundleName, const std::string &str) { in SendSubscribeHiSysEvent()
52 return (str == appNames.front()) ? (bundleName + str) : (bundleName + "," + str); in SendSubscribeHiSysEvent()
72 std::vector<std::string> appNames = info->GetAppNames(); in SendUnSubscribeHiSysEvent() local
73 eventInfo.bundleName = std::accumulate(appNames.begin(), appNames.end(), std::string(""), in SendUnSubscribeHiSysEvent()
74 [appNames](const std::string &bundleName, const std::string &str) { in SendUnSubscribeHiSysEvent()
75 return (str == appNames in SendUnSubscribeHiSysEvent()
[all...]
/base/notification/distributed_notification_service/test/fuzztest/notificationsubscribeInfo_fuzzer/
H A DnotificationsubscribeInfo_fuzzer.cpp25 std::vector<std::string> appNames; in DoSomethingInterestingWithMyAPI() local
26 appNames.emplace_back(stringData); in DoSomethingInterestingWithMyAPI()
27 sotificationSubscribeInfo.AddAppNames(appNames); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_hisysevent_test.cpp83 std::vector<std::string> appNames = {"app1_1", "app1_2", "app1_3"}; in HWTEST_F() local
84 eventInfo.bundleName = std::accumulate(appNames.begin(), appNames.end(), std::string(""), in HWTEST_F()
85 [appNames](std::string bundleName, const std::string &str) { in HWTEST_F()
86 return (str == appNames.front()) ? (bundleName + str) : (bundleName + "," + str); in HWTEST_F()
219 std::vector<std::string> appNames = {"app1_1", "app1_2", "app1_3"}; in HWTEST_F() local
220 eventInfo.bundleName = std::accumulate(appNames.begin(), appNames.end(), std::string(""), in HWTEST_F()
221 [appNames](std::string bundleName, const std::string &str) { in HWTEST_F()
222 return (str == appNames in HWTEST_F()
256 std::vector<std::string> appNames = {"app1_1", "app1_2", "app1_3"}; HWTEST_F() local
[all...]
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/include/
H A Dfold_app_usage_event_factory.h34 void GetForegroundAppNames(std::vector<std::string> &appNames);
35 void GetForegroundAppsAtEndTime(std::vector<std::string> &appNames);
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_subscribe_info_test.cpp60 std::vector<std::string> appNames; in HWTEST_F() local
63 rrc->AddAppNames(appNames); in HWTEST_F()
167 "appNames = [" + appName + ", ]" + in HWTEST_F()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_subscribe_info.h49 * @param appNames Indicates the set of application names.
51 void AddAppNames(const std::vector<std::string> &appNames);
64 * @param appNames Indicates the userid of application.
78 * @param appNames Indicates the deviceType of application.
115 * @param appNames Indicates the uid of subscriber.

Completed in 3 milliseconds