Home
last modified time | relevance | path

Searched refs:CommonEventSupport (Results 1 – 25 of 336) sorted by relevance

12345678910>>...14

/ohos5.0/foundation/barrierfree/accessibility/services/test/mock/
H A Dmock_common_event_support.cpp51 const std::string CommonEventSupport::COMMON_EVENT_PACKAGE_NEEDS_VERIFICATION =
195 const std::string CommonEventSupport::COMMON_EVENT_USB_PORT_CHANGED =
197 const std::string CommonEventSupport::COMMON_EVENT_USB_DEVICE_ATTACHED =
199 const std::string CommonEventSupport::COMMON_EVENT_USB_DEVICE_DETACHED =
201 const std::string CommonEventSupport::COMMON_EVENT_USB_ACCESSORY_ATTACHED =
203 const std::string CommonEventSupport::COMMON_EVENT_USB_ACCESSORY_DETACHED =
215 const std::string CommonEventSupport::COMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED =
226 CommonEventSupport::CommonEventSupport() in CommonEventSupport() function in OHOS::EventFwk::CommonEventSupport
231 CommonEventSupport::~CommonEventSupport() in ~CommonEventSupport()
234 void CommonEventSupport::Init() in Init()
[all …]
/ohos5.0/base/notification/common_event_service/interfaces/kits/napi/support/src/
H A Dsupport.cpp38 EventFwk::CommonEventSupport::COMMON_EVENT_LOCKED_BOOT_COMPLETED, in SupportInit()
490 EventFwk::CommonEventSupport::COMMON_EVENT_STK_COMMAND, in SupportInit()
494 EventFwk::CommonEventSupport::COMMON_EVENT_STK_SESSION_END, in SupportInit()
519 EventFwk::CommonEventSupport::COMMON_EVENT_SLOT_CHANGE, in SupportInit()
611 EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_LOCKED, in SupportInit()
615 EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_UNLOCKED, in SupportInit()
623 EventFwk::CommonEventSupport::COMMON_EVENT_SPECIAL_CODE, in SupportInit()
635 EventFwk::CommonEventSupport::COMMON_EVENT_MINORSMODE_ON, in SupportInit()
639 EventFwk::CommonEventSupport::COMMON_EVENT_MINORSMODE_OFF, in SupportInit()
651 EventFwk::CommonEventSupport::COMMON_EVENT_SECOND_MOUNTED, in SupportInit()
[all …]
/ohos5.0/base/notification/common_event_service/frameworks/native/src/
H A Dcommon_event_support.cpp92 const std::string CommonEventSupport::COMMON_EVENT_THERMAL_LEVEL_CHANGED =
99 const std::string CommonEventSupport::COMMON_EVENT_ENTER_FORCE_SLEEP =
106 const std::string CommonEventSupport::COMMON_EVENT_EXIT_FORCE_SLEEP =
175 const std::string CommonEventSupport::COMMON_EVENT_DYNAMIC_ICON_CHANGED =
968 const std::string CommonEventSupport::COMMON_EVENT_USB_PORT_CHANGED =
1243 const std::string CommonEventSupport::COMMON_EVENT_SLOT_CHANGE =
1374 const std::string CommonEventSupport::COMMON_EVENT_USER_INFO_UPDATED =
1498 CommonEventSupport::CommonEventSupport() in CommonEventSupport() function in OHOS::EventFwk::CommonEventSupport
1503 CommonEventSupport::~CommonEventSupport() in ~CommonEventSupport()
1506 void CommonEventSupport::Init() in Init()
[all …]
/ohos5.0/base/notification/common_event_service/services/src/
H A Dcommon_event_permission_manager.cpp43 {CommonEventSupport::COMMON_EVENT_BOOT_COMPLETED,
49 {CommonEventSupport::COMMON_EVENT_USER_SWITCHED,
52 {CommonEventSupport::COMMON_EVENT_USER_STARTING,
55 {CommonEventSupport::COMMON_EVENT_USER_STOPPING,
97 {CommonEventSupport::COMMON_EVENT_USER_ADDED,
100 {CommonEventSupport::COMMON_EVENT_USER_REMOVED,
112 {CommonEventSupport::COMMON_EVENT_DISK_REMOVED,
118 {CommonEventSupport::COMMON_EVENT_DISK_MOUNTED,
127 {CommonEventSupport::COMMON_EVENT_DISK_EJECT,
154 {CommonEventSupport::COMMON_EVENT_SLOT_CHANGE,
[all …]
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/common_event/src/
H A Devent_controller.cpp177 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_CHARGING); in OnAddSystemAbility()
213 if (action == CommonEventSupport::COMMON_EVENT_SCREEN_ON) { in OnReceiveEvent()
217 if (action == CommonEventSupport::COMMON_EVENT_SCREEN_OFF) { in OnReceiveEvent()
226 if (action == CommonEventSupport::COMMON_EVENT_USER_SWITCHED) { in OnReceiveEvent()
231 if (action == CommonEventSupport::COMMON_EVENT_USER_REMOVED) { in OnReceiveEvent()
259 if (action == CommonEventSupport::COMMON_EVENT_TIMEZONE_CHANGED) { in handleEvent()
314 if (action == CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED) { in HandlePkgCommonEvent()
325 if (action == CommonEventSupport::COMMON_EVENT_PACKAGE_ADDED) { in HandlePkgCommonEvent()
331 if (action == CommonEventSupport::COMMON_EVENT_PACKAGE_CHANGED) { in HandlePkgCommonEvent()
336 if (action == CommonEventSupport::COMMON_EVENT_PACKAGE_REPLACED) { in HandlePkgCommonEvent()
[all …]
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/event_monitor/
H A Devents_subscriber.cpp32 OHOS::EventFwk::CommonEventSupport::COMMON_EVENT_THERMAL_LEVEL_CHANGED,
33 OHOS::EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_ON,
34 OHOS::EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_OFF,
35 OHOS::EventFwk::CommonEventSupport::COMMON_EVENT_CHARGING,
36 OHOS::EventFwk::CommonEventSupport::COMMON_EVENT_DISCHARGING,
37 OHOS::EventFwk::CommonEventSupport::COMMON_EVENT_BATTERY_OKAY,
38 OHOS::EventFwk::CommonEventSupport::COMMON_EVENT_BATTERY_LOW,
39 OHOS::EventFwk::CommonEventSupport::COMMON_EVENT_BATTERY_CHANGED,
72 eventStrategy_[OHOS::EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_ON] in Initialize()
74 eventStrategy_[OHOS::EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_OFF] in Initialize()
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dsystem_event_observer.cpp31 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED); in SystemEventObserver()
33 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_ON); in SystemEventObserver()
34 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_OFF); in SystemEventObserver()
37 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_LOCKED); in SystemEventObserver()
40 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_USER_SWITCHED); in SystemEventObserver()
41 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_USER_REMOVED); in SystemEventObserver()
43 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_ADDED); in SystemEventObserver()
95 if (action == EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED) { in OnReceiveEvent()
103 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_ON) { in OnReceiveEvent()
107 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_OFF) { in OnReceiveEvent()
[all …]
H A Dreminder_event_manager.cpp64 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_TIME_CHANGED); in init()
65 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_USER_SWITCHED); in init()
66 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_USER_REMOVED); in init()
184 if (action == CommonEventSupport::COMMON_EVENT_BOOT_COMPLETED) { in OnReceiveEvent()
188 if (action == CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED) { in OnReceiveEvent()
192 if (action == CommonEventSupport::COMMON_EVENT_PACKAGE_DATA_CLEARED) { in OnReceiveEvent()
196 if (action == CommonEventSupport::COMMON_EVENT_PACKAGE_RESTARTED) { in OnReceiveEvent()
200 if (action == CommonEventSupport::COMMON_EVENT_TIMEZONE_CHANGED) { in OnReceiveEvent()
204 if (action == CommonEventSupport::COMMON_EVENT_TIME_CHANGED) { in OnReceiveEvent()
208 if (action == CommonEventSupport::COMMON_EVENT_USER_SWITCHED) { in OnReceiveEvent()
[all …]
/ohos5.0/base/security/access_token/services/privacymanager/src/common/
H A Dprivacy_common_event_subscriber.cpp48 skill->AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_UNLOCKED); in RegisterEvent()
49 skill->AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_LOCKED); in RegisterEvent()
50 skill->AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_OFF); in RegisterEvent()
51 skill->AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED); in RegisterEvent()
52 skill->AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_FULLY_REMOVED); in RegisterEvent()
53 skill->AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_SHUTDOWN); in RegisterEvent()
80 if (action == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_UNLOCKED) { in OnReceiveEvent()
83 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_LOCKED) { in OnReceiveEvent()
86 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_OFF) { in OnReceiveEvent()
88 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_OFF) { in OnReceiveEvent()
[all …]
/ohos5.0/foundation/communication/dsoftbus/adapter/common/bus_center/common_event/
H A Dlnn_common_event_monitor.cpp59 if (action == CommonEventSupport::COMMON_EVENT_SCREEN_OFF) { in OnReceiveEvent()
61 } else if (action == CommonEventSupport::COMMON_EVENT_SCREEN_ON) { in OnReceiveEvent()
63 } else if (action == CommonEventSupport::COMMON_EVENT_USER_UNLOCKED) { in OnReceiveEvent()
65 } else if (action == CommonEventSupport::COMMON_EVENT_SCREEN_UNLOCKED) { in OnReceiveEvent()
74 if (action == CommonEventSupport::COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOUT || in OnReceiveEvent()
82 if (action == CommonEventSupport::COMMON_EVENT_USER_SWITCHED) { in OnReceiveEvent()
97 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_SCREEN_OFF); in SubscribeCommonEvent()
98 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_SCREEN_ON); in SubscribeCommonEvent()
101 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_USER_UNLOCKED); in SubscribeCommonEvent()
102 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_SCREEN_UNLOCKED); in SubscribeCommonEvent()
[all …]
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/
H A Dcommon_event_collect.cpp56 commonEventWhitelist.erase(EventFwk::CommonEventSupport::COMMON_EVENT_USER_UNLOCKED); in RemoveWhiteCommonEvent()
143 commonEventNames_.insert(EventFwk::CommonEventSupport::COMMON_EVENT_CHARGING); in Init()
251 if (action == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_ON) { in SaveAction()
254 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_OFF) { in SaveAction()
257 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_CHARGING) { in SaveAction()
260 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_DISCHARGING) { in SaveAction()
269 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_USER_UNLOCKED) { in SaveAction()
286 if (condition.name == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_ON || in CheckCondition()
287 condition.name == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_OFF || in CheckCondition()
288 condition.name == EventFwk::CommonEventSupport::COMMON_EVENT_CHARGING || in CheckCondition()
[all …]
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/src/policy/
H A Dapp_data_clear_listener.cpp42 if (action == CommonEventSupport::COMMON_EVENT_PACKAGE_DATA_CLEARED) { in OnReceiveEvent()
44 } else if (action == CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED) { in OnReceiveEvent()
46 } else if (action == CommonEventSupport::COMMON_EVENT_PACKAGE_CHANGED) { in OnReceiveEvent()
48 } else if (action == CommonEventSupport::COMMON_EVENT_PACKAGE_ADDED) { in OnReceiveEvent()
50 } else if (action == CommonEventSupport::COMMON_EVENT_USER_SWITCHED) { in OnReceiveEvent()
58 skill.AddEvent(CommonEventSupport::COMMON_EVENT_PACKAGE_DATA_CLEARED); in CreateAppDataClearSubscriber()
59 skill.AddEvent(CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED); in CreateAppDataClearSubscriber()
60 skill.AddEvent(CommonEventSupport::COMMON_EVENT_PACKAGE_CHANGED); in CreateAppDataClearSubscriber()
61 skill.AddEvent(CommonEventSupport::COMMON_EVENT_PACKAGE_ADDED); in CreateAppDataClearSubscriber()
62 skill.AddEvent(CommonEventSupport::COMMON_EVENT_USER_SWITCHED); in CreateAppDataClearSubscriber()
/ohos5.0/foundation/resourceschedule/work_scheduler/services/test/src/policy/
H A Dapp_data_clear_listener_test.cpp61 want.SetAction(CommonEventSupport::COMMON_EVENT_PACKAGE_DATA_CLEARED);
66 EXPECT_EQ(event1.GetWant().GetAction(), CommonEventSupport::COMMON_EVENT_PACKAGE_DATA_CLEARED);
68 want.SetAction(CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED);
71 EXPECT_EQ(event2.GetWant().GetAction(), CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED);
73 want.SetAction(CommonEventSupport::COMMON_EVENT_PACKAGE_CHANGED);
76 EXPECT_EQ(event3.GetWant().GetAction(), CommonEventSupport::COMMON_EVENT_PACKAGE_CHANGED);
78 want.SetAction(CommonEventSupport::COMMON_EVENT_PACKAGE_ADDED);
81 EXPECT_EQ(event4.GetWant().GetAction(), CommonEventSupport::COMMON_EVENT_PACKAGE_ADDED);
83 want.SetAction(CommonEventSupport::COMMON_EVENT_USER_SWITCHED);
86 EXPECT_EQ(event5.GetWant().GetAction(), CommonEventSupport::COMMON_EVENT_USER_SWITCHED);
/ohos5.0/base/telephony/core_service/services/sim/test/
H A Dcommon_event_test.h25 using CommonEventSupport = OHOS::EventFwk::CommonEventSupport; variable
112 {CommonEventSupport::COMMON_EVENT_SIM_STATE_CHANGED, COMMON_EVENT_SIM_STATE_CHANGED},
113 {CommonEventSupport::COMMON_EVENT_SIM_CARD_DEFAULT_VOICE_SUBSCRIPTION_CHANGED,
115 {CommonEventSupport::COMMON_EVENT_SIM_CARD_DEFAULT_SMS_SUBSCRIPTION_CHANGED,
117 {CommonEventSupport::COMMON_EVENT_SIM_CARD_DEFAULT_DATA_SUBSCRIPTION_CHANGED,
119 {CommonEventSupport::COMMON_EVENT_SIM_CARD_DEFAULT_MAIN_SUBSCRIPTION_CHANGED,
121 {CommonEventSupport::COMMON_EVENT_STK_SESSION_END, COMMON_EVENT_STK_SESSION_END},
122 {CommonEventSupport::COMMON_EVENT_STK_COMMAND, COMMON_EVENT_STK_COMMAND},
123 {CommonEventSupport::COMMON_EVENT_STK_ALPHA_IDENTIFIER, COMMON_EVENT_STK_ALPHA_IDENTIFIER},
124 … {CommonEventSupport::COMMON_EVENT_STK_CARD_STATE_CHANGED, COMMON_EVENT_STK_CARD_STATE_CHANGED},
/ohos5.0/foundation/ability/form_fwk/services/src/
H A Dform_sys_event_receiver.cpp118 action != EventFwk::CommonEventSupport::COMMON_EVENT_BUNDLE_SCAN_FINISHED && in OnReceiveEvent()
119 action != EventFwk::CommonEventSupport::COMMON_EVENT_USER_SWITCHED && in OnReceiveEvent()
120 action != EventFwk::CommonEventSupport::COMMON_EVENT_SECOND_MOUNTED && in OnReceiveEvent()
121 action != EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_ON && in OnReceiveEvent()
122 action != EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_UNLOCKED) { in OnReceiveEvent()
133 if (action == EventFwk::CommonEventSupport::COMMON_EVENT_ABILITY_UPDATED) { in OnReceiveEvent()
135 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_USER_REMOVED) { in OnReceiveEvent()
140 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_USER_SWITCHED) { in OnReceiveEvent()
145 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_UNLOCKED) { in OnReceiveEvent()
148 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_SECOND_MOUNTED) { in OnReceiveEvent()
[all …]
/ohos5.0/foundation/multimodalinput/input/service/display_state_manager/src/
H A Ddisplay_event_monitor.cpp58 if (action == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_ON) { in OnReceiveEvent()
70 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_OFF) { in OnReceiveEvent()
79 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_LOCKED) { in OnReceiveEvent()
83 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_UNLOCKED) { in OnReceiveEvent()
86 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_DATA_SHARE_READY) { in OnReceiveEvent()
139 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_ON); in InitCommonEventSubscriber()
140 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_OFF); in InitCommonEventSubscriber()
141 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_LOCKED); in InitCommonEventSubscriber()
142 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_UNLOCKED); in InitCommonEventSubscriber()
143 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_DATA_SHARE_READY); in InitCommonEventSubscriber()
/ohos5.0/base/account/os_account/services/accountmgr/src/appaccount/
H A Dapp_account_common_event_observer.cpp46 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED); in AppAccountCommonEventObserver()
47 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_USER_REMOVED); in AppAccountCommonEventObserver()
48 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_SANDBOX_PACKAGE_REMOVED); in AppAccountCommonEventObserver()
49 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_USER_UNLOCKED); in AppAccountCommonEventObserver()
85 if (action == CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED || in OnReceiveEvent()
86 action == CommonEventSupport::COMMON_EVENT_SANDBOX_PACKAGE_REMOVED) { in OnReceiveEvent()
90 …if ((action == CommonEventSupport::COMMON_EVENT_USER_REMOVED) && (callback_.OnUserRemoved != nullp… in OnReceiveEvent()
94 if (action == CommonEventSupport::COMMON_EVENT_USER_UNLOCKED) { in OnReceiveEvent()
108 if (action == CommonEventSupport::COMMON_EVENT_SANDBOX_PACKAGE_REMOVED) { in DealWithRemoveEvent()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_rdb_test/src/
H A Dmedialibrary_subscriber_test.cpp41 string action = EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_OFF;
46 EXPECT_EQ(want.GetAction(), EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_OFF);
54 string action = EventFwk::CommonEventSupport::COMMON_EVENT_POWER_CONNECTED;
59 EXPECT_EQ(want.GetAction(), EventFwk::CommonEventSupport::COMMON_EVENT_POWER_CONNECTED);
67 string action = EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_ON;
72 EXPECT_EQ(want.GetAction(), EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_ON);
80 string action = EventFwk::CommonEventSupport::COMMON_EVENT_TIME_CHANGED;
85 EXPECT_EQ(want.GetAction(), EventFwk::CommonEventSupport::COMMON_EVENT_TIME_CHANGED);
93 string action = EventFwk::CommonEventSupport::COMMON_EVENT_POWER_DISCONNECTED;
98 EXPECT_EQ(want.GetAction(), EventFwk::CommonEventSupport::COMMON_EVENT_POWER_DISCONNECTED);
/ohos5.0/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/sync_rule/
H A Dbattery_status_listener.cpp34 if (action == EventFwk::CommonEventSupport::COMMON_EVENT_BATTERY_OKAY) { in OnReceiveEvent()
39 if (action == EventFwk::CommonEventSupport::COMMON_EVENT_CHARGING) { in OnReceiveEvent()
42 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_DISCHARGING) { in OnReceiveEvent()
45 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_POWER_CONNECTED) { in OnReceiveEvent()
66 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_BATTERY_OKAY); in Start()
67 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_CHARGING); in Start()
68 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_DISCHARGING); in Start()
69 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_POWER_CONNECTED); in Start()
/ohos5.0/foundation/multimedia/ringtone_library/services/ringtone_data_extension/src/
H A Dringtone_subscriber.cpp26 EventFwk::CommonEventSupport::COMMON_EVENT_CHARGING,
27 EventFwk::CommonEventSupport::COMMON_EVENT_DISCHARGING,
28 EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_OFF,
29 EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_ON,
30 EventFwk::CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED,
31 EventFwk::CommonEventSupport::COMMON_EVENT_BOOT_COMPLETED
56 if (action.compare(EventFwk::CommonEventSupport::COMMON_EVENT_BOOT_COMPLETED) == 0) { in OnReceiveEvent()
/ohos5.0/base/security/asset/services/os_dependency/src/
H A Dsystem_event_wrapper.cpp86 if (action == CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED) { in OnReceiveEvent()
90 } else if (action == CommonEventSupport::COMMON_EVENT_USER_REMOVED) { in OnReceiveEvent()
96 } else if (action == CommonEventSupport::COMMON_EVENT_SCREEN_OFF) { in OnReceiveEvent()
101 } else if (action == CommonEventSupport::COMMON_EVENT_CHARGING) { in OnReceiveEvent()
108 } else if (action == CommonEventSupport::COMMON_EVENT_USER_UNLOCKED) { in OnReceiveEvent()
169 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED); in SubscribeSystemEvent()
170 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_SANDBOX_PACKAGE_REMOVED); in SubscribeSystemEvent()
171 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_USER_REMOVED); in SubscribeSystemEvent()
172 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_SCREEN_OFF); in SubscribeSystemEvent()
173 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_CHARGING); in SubscribeSystemEvent()
[all …]
/ohos5.0/base/inputmethod/imf/services/src/
H A Dim_common_event_manager.cpp63 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_USER_SWITCHED); in SubscribeEvent()
64 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_USER_REMOVED); in SubscribeEvent()
65 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_PACKAGE_ADDED); in SubscribeEvent()
70 matchingSkills.AddEvent(CommonEventSupport::COMMON_EVENT_USER_STOPPED); in SubscribeEvent()
204 EventManagerFunc_[CommonEventSupport::COMMON_EVENT_USER_SWITCHED] = in EventSubscriber()
208 EventManagerFunc_[CommonEventSupport::COMMON_EVENT_USER_STOPPED] = in EventSubscriber()
212 EventManagerFunc_[CommonEventSupport::COMMON_EVENT_USER_REMOVED] = in EventSubscriber()
216 EventManagerFunc_[CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED] = in EventSubscriber()
228 EventManagerFunc_[CommonEventSupport::COMMON_EVENT_PACKAGE_ADDED] = in EventSubscriber()
236 EventManagerFunc_[CommonEventSupport::COMMON_EVENT_BOOT_COMPLETED] = in EventSubscriber()
[all …]
/ohos5.0/base/theme/wallpaper_mgr/services/src/
H A Dwallpaper_common_event_subscriber.cpp28 if (action == EventFwk::CommonEventSupport::COMMON_EVENT_USER_ADDED) { in OnReceiveEvent()
30 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_USER_REMOVED) { in OnReceiveEvent()
32 } else if (action == EventFwk::CommonEventSupport::COMMON_EVENT_USER_SWITCHED) { in OnReceiveEvent()
40 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_USER_ADDED); in CreateSubscriberInfo()
41 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_USER_REMOVED); in CreateSubscriberInfo()
42 matchingSkills.AddEvent(EventFwk::CommonEventSupport::COMMON_EVENT_USER_SWITCHED); in CreateSubscriberInfo()
/ohos5.0/foundation/multimodalinput/input/intention/adapters/common_event_adapter/src/
H A Dcommon_event_observer.cpp28 EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_ON,
29 EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_OFF,
30 EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_LOCKED,
31 EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_UNLOCKED,
32 EventFwk::CommonEventSupport::COMMON_EVENT_BATTERY_LOW,
33 EventFwk::CommonEventSupport::COMMON_EVENT_BATTERY_OKAY
/ohos5.0/base/msdp/device_status/intention/adapters/common_event_adapter/src/
H A Dcommon_event_observer.cpp28 EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_ON,
29 EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_OFF,
30 EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_LOCKED,
31 EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_UNLOCKED,
32 EventFwk::CommonEventSupport::COMMON_EVENT_BATTERY_LOW,
33 EventFwk::CommonEventSupport::COMMON_EVENT_BATTERY_OKAY

12345678910>>...14