Home
last modified time | relevance | path

Searched refs:GetAction (Results 1 – 25 of 61) sorted by relevance

123

/base/powermgr/power_manager/services/native/src/
Dpower_mgr_notify.cpp55 screenOffWant_->GetAction().c_str(), static_cast<long long>(eventTime)); in PublishScreenOffEvents()
57 …POWER_HILOGI(FEATURE_SUSPEND, "Publish event %{public}s done", screenOffWant_->GetAction().c_str()… in PublishScreenOffEvents()
63 screenOnWant_->GetAction().c_str(), static_cast<long long>(eventTime)); in PublishScreenOnEvents()
65 … POWER_HILOGI(FEATURE_WAKEUP, "Publish event %{public}s done", screenOnWant_->GetAction().c_str()); in PublishScreenOnEvents()
Dpower_mgr_monitor.cpp95 bool isScreenOn = want.GetAction() == CommonEventSupport::COMMON_EVENT_SCREEN_ON; in HandleScreenStateChanged()
107 auto action = want.GetAction(); in HandleEvent()
/base/notification/common_event_service/services/src/
Dstatic_subscriber_manager.cpp96 …EVENT_LOGI("enter, event = %{public}s, userId = %{public}d", data.GetWant().GetAction().c_str(), u… in PublishCommonEvent()
105 data.GetWant().GetAction() == CommonEventSupport::COMMON_EVENT_BOOT_COMPLETED || in PublishCommonEvent()
106 data.GetWant().GetAction() == CommonEventSupport::COMMON_EVENT_LOCKED_BOOT_COMPLETED || in PublishCommonEvent()
107 data.GetWant().GetAction() == CommonEventSupport::COMMON_EVENT_USER_SWITCHED || in PublishCommonEvent()
108 data.GetWant().GetAction() == CommonEventSupport::COMMON_EVENT_UID_REMOVED || in PublishCommonEvent()
109 data.GetWant().GetAction() == CommonEventSupport::COMMON_EVENT_USER_STARTED) && in PublishCommonEvent()
117 auto targetSubscribers = validSubscribers_.find(data.GetWant().GetAction()); in PublishCommonEvent()
123 …taticEventProcErrHiSysEvent(userId, bundleName, subscriber.bundleName, data.GetWant().GetAction()); in PublishCommonEvent()
130 …taticEventProcErrHiSysEvent(userId, bundleName, subscriber.bundleName, data.GetWant().GetAction()); in PublishCommonEvent()
141 …taticEventProcErrHiSysEvent(userId, bundleName, subscriber.bundleName, data.GetWant().GetAction()); in PublishCommonEvent()
[all …]
Dinner_common_event_manager.cpp70 bundleName.c_str(), pid, uid, data.GetWant().GetAction().c_str(), userId); in PublishCommonEvent()
72 if (data.GetWant().GetAction().empty()) { in PublishCommonEvent()
82 std::string action = data.GetWant().GetAction(); in PublishCommonEvent()
89 SendPublishHiSysEvent(user, bundleName, pid, uid, data.GetWant().GetAction(), false); in PublishCommonEvent()
100 SendPublishHiSysEvent(user, bundleName, pid, uid, data.GetWant().GetAction(), false); in PublishCommonEvent()
125 SendPublishHiSysEvent(user, bundleName, pid, uid, data.GetWant().GetAction(), false); in PublishCommonEvent()
132 SendPublishHiSysEvent(user, bundleName, pid, uid, data.GetWant().GetAction(), false); in PublishCommonEvent()
139 eventRecord.commonEventData->GetWant().GetAction(), mappedSupport)) { in PublishCommonEvent()
148 … EVENT_COUNT_DISALLOW.find(data.GetWant().GetAction().c_str()) == EVENT_COUNT_DISALLOW.end()) { in PublishCommonEvent()
149 SendPublishHiSysEvent(user, bundleName, pid, uid, data.GetWant().GetAction(), true); in PublishCommonEvent()
[all …]
Dcommon_event_control_manager.cpp156 eventRecord.commonEventData->GetWant().GetAction().c_str(), in NotifyFreezeEvents()
163 eventRecord.commonEventData->GetWant().GetAction()); in NotifyFreezeEvents()
195 eventRecord->commonEventData->GetWant().GetAction().c_str(), eventRecord->receivers.size()); in NotifyUnorderedEvent()
221 eventRecord->commonEventData->GetWant().GetAction()); in NotifyUnorderedEvent()
500 eventRecordPtr->commonEventData->GetWant().GetAction().c_str()); in NotifyOrderedEvent()
504 eventRecordPtr->commonEventData->GetWant().GetAction()); in NotifyOrderedEvent()
655 sp->commonEventData->GetWant().GetAction().c_str()); in CurrentOrderedEventTimeout()
656 …endOrderedEventProcTimeoutHiSysEvent(subscriberRecord, sp->commonEventData->GetWant().GetAction()); in CurrentOrderedEventTimeout()
747 eventRecord.commonEventData->GetWant().GetAction()); in CheckSubscriberPermission()
787 eventRecord.commonEventData->GetWant().GetAction().c_str(), in CheckSubscriberPermission()
[all …]
/base/time/time_service/services/time/src/
Dtime_service_notify.cpp39 …TIME_MODULE_SERVICE, "Start to publish event %{public}s at %{public}lld", want.GetAction().c_str(), in PublishEvents()
43 … TIME_HILOGE(TIME_MODULE_SERVICE, "failed to Publish event %{public}s", want.GetAction().c_str()); in PublishEvents()
46 TIME_HILOGI(TIME_MODULE_SERVICE, "Publish event %{public}s done", want.GetAction().c_str()); in PublishEvents()
Dpower_subscriber.cpp35 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
Dnitz_subscriber.cpp36 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
/base/telephony/core_service/test/unittest/core_service_gtest/
Dsim_operator_brocast_test.cpp28 data.GetWant().GetAction().c_str(), data.GetData().c_str(), data.GetCode(), in OnReceiveEvent()
30 auto eventName = data.GetWant().GetAction(); in OnReceiveEvent()
/base/telephony/core_service/services/network_search/test/
Dtest_broadcast.cpp26 …TELEPHONY_LOGI("TestBroadCast::OnReceiveEvent:event=%{public}s", data.GetWant().GetAction().c_str(… in OnReceiveEvent()
27 auto eventName = data.GetWant().GetAction(); in OnReceiveEvent()
/base/usb/usb_manager/test/native/service_unittest/src/
Dusb_event_test.cpp90 EXPECT_EQ(want.GetAction(), CommonEventSupport::COMMON_EVENT_USB_STATE);
115 EXPECT_EQ(want.GetAction(), CommonEventSupport::COMMON_EVENT_USB_STATE);
140 EXPECT_EQ(want.GetAction(), CommonEventSupport::COMMON_EVENT_USB_DEVICE_ATTACHED);
195 EXPECT_EQ(want.GetAction(), CommonEventSupport::COMMON_EVENT_USB_DEVICE_DETACHED);
231 EXPECT_EQ(want.GetAction(), CommonEventSupport::COMMON_EVENT_USB_PORT_CHANGED);
265 EXPECT_EQ(want.GetAction(), CommonEventSupport::COMMON_EVENT_USB_PORT_CHANGED);
/base/location/services/location_locator/locator/source/
Dlocator_event_subscriber.cpp34 std::string action = event.GetWant().GetAction(); in OnReceiveEvent()
/base/telephony/call_manager/test/unittest/ui_client/
Dcommon_event_subscriber_test.cpp34 std::string action = want.GetAction(); in OnReceiveEvent()
/base/notification/common_event_service/services/test/unittest/
Dcommon_event_sticky_test.cpp125 EXPECT_EQ(EVENT, Stickydata.GetWant().GetAction());
173 EXPECT_EQ(EVENT2, Stickydata.GetWant().GetAction());
368 auto action = records.front()->commonEventData->GetWant().GetAction();
410 auto action = recordPtr->commonEventData->GetWant().GetAction();
472 auto action = recordPtr->commonEventData->GetWant().GetAction();
/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_subscriber.cpp36 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
/base/telephony/call_manager/services/call/src/
Dcall_broadcast_subscriber.cpp37 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
/base/powermgr/power_manager/services/native/test/unittest/src/
Dces_system_test.cpp44 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
/base/notification/common_event_service/test/systemtest/common/acts/actsCESDataTest/
DactsCESDataTest.cpp176 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
388 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
547 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
707 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
1222 resultWant = (commonEventData.GetWant().GetAction() == wantTest.GetAction());
1252 resultWant = (commonEventData.GetWant().GetAction() == wantTest.GetAction());
1267 resultWant = (commonEventData.GetWant().GetAction() == wantTest.GetAction());
1289 resultWant = (commonEventData.GetWant().GetAction() == wantTest2.GetAction());
1309 resultWant = (commonEventData2.GetWant().GetAction() == wantTest.GetAction());
1342 resultWant = (commonEventData.GetWant().GetAction() == wantTest2.GetAction());
[all …]
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/sa/
Dcm_event_observer.cpp44 std::string action = want.GetAction(); in OnReceiveEvent()
/base/notification/distributed_notification_service/services/ans/src/
Dreminder_event_manager.cpp103 std::string action = want.GetAction(); in OnReceiveEvent()
130 std::string action = want.GetAction(); in OnReceiveEvent()
/base/request/request/download/ability/src/
Dcommon_event.cpp24 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
/base/powermgr/thermal_manager/services/native/src/thermal_observer/
Dthermal_common_event_receiver.cpp92 auto action = data.GetWant().GetAction(); in HandleEvent()
/base/notification/common_event_service/test/systemtest/common/ces/ces_check_service/
Dces_check_service.cpp61 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
/base/web/webview/ohos_adapter/battery_mgr_adapter/src/
Dbattery_mgr_client_adapter_impl.cpp48 const std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
/base/account/os_account/services/accountmgr/src/appaccount/
Dapp_account_common_event_observer.cpp94 std::string action = want.GetAction(); in OnReceiveEvent()

123