Home
last modified time | relevance | path

Searched refs:SetAction (Results 1 – 25 of 70) sorted by relevance

123

/base/usb/usb_manager/services/native/src/
Dusb_service_subscriber.cpp42 want.SetAction(CommonEventSupport::COMMON_EVENT_USB_PORT_CHANGED); in PortChangedEvent()
60 want.SetAction(CommonEventSupport::COMMON_EVENT_USB_DEVICE_ATTACHED); in Invoking()
63 want.SetAction(CommonEventSupport::COMMON_EVENT_USB_DEVICE_DETACHED); in Invoking()
66 want.SetAction(CommonEventSupport::COMMON_EVENT_USB_ACCESSORY_ATTACHED); in Invoking()
69 want.SetAction(CommonEventSupport::COMMON_EVENT_USB_ACCESSORY_DETACHED); in Invoking()
/base/miscservices/time/services/time_manager/src/
Dtime_service_notify.cpp36 timeChangeWant_->SetAction(CommonEventSupport::COMMON_EVENT_TIME_CHANGED); in RegisterPublishEvents()
38 timeZoneChangeWant_->SetAction(CommonEventSupport::COMMON_EVENT_TIMEZONE_CHANGED); in RegisterPublishEvents()
40 timeTickWant_->SetAction(CommonEventSupport::COMMON_EVENT_TIME_TICK); in RegisterPublishEvents()
/base/accessibility/services/aams/test/unittest/
Daccessibility_common_event_registry_test.cpp106 want.SetAction(CommonEventSupport::COMMON_EVENT_USER_REMOVED);
128 want.SetAction(CommonEventSupport::COMMON_EVENT_USER_PRESENT);
150 want.SetAction(CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED);
172 want.SetAction(CommonEventSupport::COMMON_EVENT_PACKAGE_CHANGED);
/base/notification/ces_standard/services/test/unittest/
Dcommon_event_sticky_test.cpp107 want.SetAction(EVENT);
142 want.SetAction(EVENT2);
158 want2.SetAction(EVENT2);
189 want.SetAction(EVENT3);
219 want.SetAction(EVENT4);
249 want.SetAction(EVENT5);
335 want.SetAction(STRING_EVENT);
376 want.SetAction(STRING_EVENT);
424 want.SetAction(STRING_EVENT);
440 newWant.SetAction(STRING_EVENT);
Dcommon_event_publish_permission_event_unit_test.cpp125 want.SetAction("1234");
167 want.SetAction("1234");
210 want.SetAction("1234");
253 want.SetAction("1234");
295 want.SetAction("1234");
336 want.SetAction("1234");
376 want.SetAction("1234");
417 want.SetAction("1234");
457 want.SetAction("1234");
498 want.SetAction("1234");
[all …]
Dcommon_event_publish_system_event_test.cpp101 want.SetAction(CommonEventSupport::COMMON_EVENT_LOCKED_BOOT_COMPLETED);
131 want.SetAction(CommonEventSupport::COMMON_EVENT_LOCKED_BOOT_COMPLETED);
182 want.SetAction(CommonEventSupport::COMMON_EVENT_TEST_ACTION2);
234 want.SetAction(CommonEventSupport::COMMON_EVENT_TEST_ACTION1);
Dcommon_event_publish_ordered_event_unit_test.cpp127 want.SetAction(EVENT);
152 want.SetAction(EVENT);
231 want.SetAction(ACTION);
322 want.SetAction(ACTION);
671 want.SetAction(ACTION);
728 want.SetAction(ACTION);
785 want.SetAction(ACTION);
842 want.SetAction(ACTION);
/base/powermgr/power_manager/services/native/src/
Dpower_mgr_notify.cpp38 screenOffWant_->SetAction(CommonEventSupport::COMMON_EVENT_SCREEN_OFF); in RegisterPublishEvents()
40 screenOnWant_->SetAction(CommonEventSupport::COMMON_EVENT_SCREEN_ON); in RegisterPublishEvents()
Dpower_mode_module.cpp192 setModeWant.SetAction(CommonEventSupport::COMMON_EVENT_DEVICE_IDLE_MODE_CHANGED); in PublishPowerModeEvent()
196 setModeWant.SetAction(CommonEventSupport::COMMON_EVENT_DEVICE_IDLE_MODE_CHANGED); in PublishPowerModeEvent()
200 setModeWant.SetAction(CommonEventSupport::COMMON_EVENT_POWER_SAVE_MODE_CHANGED); in PublishPowerModeEvent()
204 setModeWant.SetAction(CommonEventSupport::COMMON_EVENT_POWER_SAVE_MODE_CHANGED); in PublishPowerModeEvent()
/base/miscservices/screenlock/interfaces/kits/napi/include/
Dasync_call.h35 void SetAction(const InputAction input, const OutputAction output = nullptr)
40 void SetAction(OutputAction output) in SetAction() function
42 SetAction(nullptr, std::move(output)); in SetAction()
/base/miscservices/request/upload/interfaces/kits/napi/include/
Dasync_call.h35 void SetAction(InputAction input, OutputAction output = nullptr)
41 void SetAction(OutputAction output) in SetAction() function
43 SetAction(nullptr, std::move(output)); in SetAction()
/base/miscservices/request/download/interfaces/kits/js/napi/download_single/include/
Dasync_call.h34 void SetAction(InputAction input, OutputAction output = nullptr)
40 void SetAction(OutputAction output) in SetAction() function
42 SetAction(nullptr, std::move(output)); in SetAction()
/base/miscservices/wallpaper/interfaces/kits/napi/
Dnapi_wallpaper_ability.cpp47 context->SetAction(std::move(input), std::move(output)); in NAPI_GetColors()
78 context->SetAction(std::move(input), std::move(output)); in NAPI_GetId()
114 context->SetAction(std::move(input), std::move(output)); in NAPI_GetPixelMap()
140 context->SetAction(std::move(input), std::move(output)); in NAPI_GetMinHeight()
166 context->SetAction(std::move(input), std::move(output)); in NAPI_GetMinWidth()
190 context->SetAction(std::move(input), std::move(output)); in NAPI_IsChangePermitted()
214 context->SetAction(std::move(input), std::move(output)); in NAPI_IsOperationAllowed()
242 context->SetAction(std::move(input)); in NAPI_Reset()
295 context->SetAction(std::move(input)); in NAPI_SetWallpaper()
312 context->SetAction(std::move(input), std::move(output)); in NAPI_ScreenshotLiveWallpaper()
[all …]
Dasync_call.h35 void SetAction(InputAction input, OutputAction output = nullptr)
41 void SetAction(OutputAction output) in SetAction() function
43 SetAction(nullptr, std::move(output)); in SetAction()
/base/powermgr/battery_manager/services/native/src/
Dbattery_service_subscriber.cpp106 want.SetAction(CommonEventSupport::COMMON_EVENT_BATTERY_CHANGED); in HandleBatteryChangedEvent()
155 want.SetAction(CommonEventSupport::COMMON_EVENT_BATTERY_LOW); in HandleBatteryLowEvent()
185 want.SetAction(CommonEventSupport::COMMON_EVENT_BATTERY_OKAY); in HandleBatteryOkayEvent()
215 want.SetAction(CommonEventSupport::COMMON_EVENT_POWER_CONNECTED); in HandleBatteryPowerConnectedEvent()
248 want.SetAction(CommonEventSupport::COMMON_EVENT_POWER_DISCONNECTED); in HandleBatteryPowerDisconnectedEvent()
281 want.SetAction(CommonEventSupport::COMMON_EVENT_CHARGING); in HandleBatteryChargingEvent()
314 want.SetAction(CommonEventSupport::COMMON_EVENT_DISCHARGING); in HandleBatteryDischargingEvent()
/base/telephony/call_manager/services/call/call_state_observer/src/
Dcall_state_broadcast.cpp46 want.SetAction(CommonEventSupport::COMMON_EVENT_CALL_STATE_UPDATED); in PublishCallStateEvent()
49 want.SetAction(COMMON_EVENT_CALL_STATE_UPDATED); in PublishCallStateEvent()
Dmissed_call_notification.cpp63 want.SetAction(CommonEventSupport::COMMON_EVENT_INCOMING_CALL_MISSED); in PublishMissedCallEvent()
66 want.SetAction(COMMON_EVENT_INCOMING_CALL_MISSED); in PublishMissedCallEvent()
/base/notification/ces_standard/test/systemtest/common/ces/common_event_services_system_test/
Dcommon_event_services_system_test.cpp661 wantTest.SetAction(eventName);
699 wantTest.SetAction(eventName);
738 wantTest.SetAction(eventName);
777 wantTest.SetAction(eventName);
815 wantTest.SetAction(eventName);
855 wantTest.SetAction(eventName);
884 wantTest.SetAction(eventName);
924 wantTest.SetAction(eventName);
951 wantTest.SetAction(eventName);
979 wantTest.SetAction(eventName);
[all …]
/base/notification/ces_standard/test/systemtest/common/acts/actsCESDataTest/
DactsCESDataTest.cpp765 want.SetAction(EVENTCASE1);
831 want.SetAction(EVENTCASE2);
900 want.SetAction(EVENTCASE3);
969 want.SetAction(EVENTCASE4);
1038 want.SetAction(EVENTCASE5);
1104 want.SetAction(EVENTCASE6);
1173 want.SetAction(EVENTCASE7);
1211 wantTest.SetAction(eventAction);
1242 wantTest.SetAction(eventAction);
1283 wantTest.SetAction(eventAction);
[all …]
/base/miscservices/wallpaper/services/src/
Dwallpaper_common_event.cpp84 want.SetAction(WALLPAPER_LOCK_SETTING_SUCCESS_EVENT); in SendWallpaperLockSettingMessage()
94 want.SetAction(WALLPAPER_SYSTEM_SETTING_SUCCESS_EVENT); in SendWallpaperSystemSettingMessage()
/base/account/os_account/services/accountmgr/src/
Daccount_event_provider.cpp30 want.SetAction(event); in EventPublish()
/base/notification/ces_standard/test/systemtest/common/acts/actsCESManagertest/
DactsCESManagertest.cpp1017 wantTest.SetAction(eventAction);
1054 wantTest.SetAction(eventAction);
1092 wantTest.SetAction(eventAction);
1130 wantTest.SetAction(eventAction);
1168 wantTest.SetAction(eventAction);
1208 wantTest.SetAction(eventAction);
1249 wantTest.SetAction(eventAction);
1289 wantTest.SetAction(eventAction);
1329 wantTest.SetAction(eventAction);
1369 wantTest.SetAction(eventAction);
[all …]
/base/notification/ces_standard/services/test/moduletest/common_event_services_module_test/
Dcommon_event_services_module_test.cpp475 testWant.SetAction(eventAction);
507 testWant.SetAction(eventAction);
623 testWant.SetAction(eventAction);
669 testWant.SetAction(eventAction);
717 testWant.SetAction(eventAction);
764 testWant.SetAction(eventAction);
811 testWant.SetAction(eventAction);
855 wantTest.SetAction(eventName);
883 testWant.SetAction(eventAction);
930 testWant.SetAction(eventAction);
[all …]
/base/notification/ans_standard/services/ans/include/
Dreminder_timer_info.h34 inline void SetAction(const std::string &action) in SetAction() function
/base/telephony/state_registry/service/src/
Dtelephony_state_registry_service.cpp427 want.SetAction(CALL_STATE_CHANGE_ACTION); in SendCallStateChanged()
448 want.SetAction(CELLULAR_DATA_STATE_CHANGE_ACTION); in SendCellularDataConnectStateChanged()
460 want.SetAction(CELLULAR_DATA_FLOW_ACTION); in SendCellularDataFlowChanged()
474 want.SetAction(SIM_STATE_CHANGE_ACTION); in SendSimStateChanged()
485 want.SetAction(SEARCH_SIGNAL_INFO_CHANGE_ACTION); in SendSignalInfoChanged()
504 want.SetAction(CELL_INFO_CHANGE_ACTION); in SendCellInfoChanged()
520 want.SetAction(SEARCH_NET_WORK_STATE_CHANGE_ACTION); in SendNetworkStateChanged()

123