Home
last modified time | relevance | path

Searched refs:GetWant (Results 1 – 25 of 81) sorted by relevance

1234

/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()
29 int32_t slotId = data.GetWant().GetIntParam(CUR_SLOT_ID, 0); in OnReceiveEvent()
30 bool showPlmn = data.GetWant().GetBoolParam(CUR_PLMN_SHOW, false); in OnReceiveEvent()
31 std::string plmn = data.GetWant().GetStringParam(CUR_PLMN); in OnReceiveEvent()
32 bool showSpn = data.GetWant().GetBoolParam(CUR_SPN_SHOW, false); in OnReceiveEvent()
33 std::string spn = data.GetWant().GetStringParam(CUR_SPN); 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()
29 data.GetWant().GetIntParam("slotId", -1)); in OnReceiveEvent()
30 auto eventName = data.GetWant().GetAction(); in OnReceiveEvent()
33 int32_t slotId = data.GetWant().GetIntParam("slotId", -1); in OnReceiveEvent()
/base/notification/common_event_service/services/src/
Dstatic_subscriber_manager.cpp114 …EVENT_LOGD("enter, event = %{public}s, userId = %{public}d", data.GetWant().GetAction().c_str(), u… in PublishCommonEvent()
123 data.GetWant().GetAction() == CommonEventSupport::COMMON_EVENT_BOOT_COMPLETED || in PublishCommonEvent()
124 data.GetWant().GetAction() == CommonEventSupport::COMMON_EVENT_LOCKED_BOOT_COMPLETED || in PublishCommonEvent()
125 data.GetWant().GetAction() == CommonEventSupport::COMMON_EVENT_USER_SWITCHED || in PublishCommonEvent()
126 data.GetWant().GetAction() == CommonEventSupport::COMMON_EVENT_UID_REMOVED || in PublishCommonEvent()
127 data.GetWant().GetAction() == CommonEventSupport::COMMON_EVENT_USER_STARTED) && in PublishCommonEvent()
135 auto targetSubscribers = validSubscribers_.find(data.GetWant().GetAction()); in PublishCommonEvent()
141 …taticEventProcErrHiSysEvent(userId, bundleName, subscriber.bundleName, data.GetWant().GetAction()); in PublishCommonEvent()
146 …taticEventProcErrHiSysEvent(userId, bundleName, subscriber.bundleName, data.GetWant().GetAction()); in PublishCommonEvent()
153 …taticEventProcErrHiSysEvent(userId, bundleName, subscriber.bundleName, data.GetWant().GetAction()); in PublishCommonEvent()
[all …]
Dcommon_event_sticky_manager.cpp67 std::string event = commonEventRecordPtr->commonEventData->GetWant().GetAction(); in UpdateStickyEvent()
137 std::string action = "\t\tAction: " + record->commonEventData->GetWant().GetAction() + "\n"; in DumpState()
141 for (auto entitiesVec : record->commonEventData->GetWant().GetEntities()) { in DumpState()
152 std::string scheme = "\t\tScheme: " + record->commonEventData->GetWant().GetScheme() + "\n"; in DumpState()
153 std::string uri = "\t\tUri: " + record->commonEventData->GetWant().GetUriString() + "\n"; in DumpState()
154 …std::string flags = "\t\tFlags: " + std::to_string(record->commonEventData->GetWant().GetFlags()) … in DumpState()
155 std::string type = "\t\tType: " + record->commonEventData->GetWant().GetType() + "\n"; in DumpState()
156 … std::string bundle = "\t\tBundleName: " + record->commonEventData->GetWant().GetBundle() + "\n"; in DumpState()
158 … "\t\tAbilityName: " + record->commonEventData->GetWant().GetElement().GetAbilityName() + "\n"; in DumpState()
159 …std::string deviced = "\t\tDevicedID: " + record->commonEventData->GetWant().GetElement().GetDevic… in DumpState()
Dinner_common_event_manager.cpp71 bundleName.c_str(), pid, uid, data.GetWant().GetAction().c_str(), userId); in PublishCommonEvent()
73 if (data.GetWant().GetAction().empty()) { in PublishCommonEvent()
83 std::string action = data.GetWant().GetAction(); in PublishCommonEvent()
88 SendPublishHiSysEvent(user, bundleName, pid, uid, data.GetWant().GetAction(), false); in PublishCommonEvent()
98 SendPublishHiSysEvent(user, bundleName, pid, uid, data.GetWant().GetAction(), false); in PublishCommonEvent()
123 SendPublishHiSysEvent(user, bundleName, pid, uid, data.GetWant().GetAction(), false); in PublishCommonEvent()
130 SendPublishHiSysEvent(user, bundleName, pid, uid, data.GetWant().GetAction(), false); in PublishCommonEvent()
137 eventRecord.commonEventData->GetWant().GetAction(), mappedSupport)) { in PublishCommonEvent()
138 Want want = eventRecord.commonEventData->GetWant(); in PublishCommonEvent()
146 … EVENT_COUNT_DISALLOW.find(data.GetWant().GetAction().c_str()) == EVENT_COUNT_DISALLOW.end()) { in PublishCommonEvent()
[all …]
Dcommon_event_control_manager.cpp155 eventRecord.commonEventData->GetWant().GetAction().c_str(), in NotifyFreezeEvents()
162 eventRecord.commonEventData->GetWant().GetAction()); in NotifyFreezeEvents()
190 eventRecord->commonEventData->GetWant().GetAction().c_str(), eventRecord->receivers.size()); in NotifyUnorderedEvent()
216 eventRecord->commonEventData->GetWant().GetAction()); in NotifyUnorderedEvent()
387 record.want = eventRecordPtr->commonEventData->GetWant(); in EnqueueHistoryEventRecord()
493 eventRecordPtr->commonEventData->GetWant().GetAction().c_str()); in NotifyOrderedEvent()
497 eventRecordPtr->commonEventData->GetWant().GetAction()); in NotifyOrderedEvent()
655 sp->commonEventData->GetWant().GetAction().c_str()); in CurrentOrderedEventTimeout()
656 …SendOrderedEventProcTimeoutHiSysEvent(subscriberRecord, sp->commonEventData->GetWant().GetAction()… in CurrentOrderedEventTimeout()
745 std::string event = eventRecord.commonEventData->GetWant().GetAction(); in CheckSubscriberPermission()
[all …]
/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_subscriber.cpp36 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
46 …int capacity = data.GetWant().GetIntParam(BatteryInfo::COMMON_EVENT_KEY_CAPACITY, StatsUtils::INVA… in OnReceiveEvent()
47 int pluggedType = data.GetWant().GetIntParam( in OnReceiveEvent()
/base/hiviewdfx/hidumper/services/native/src/
Ddump_battery_stats_subscriber.cpp32 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
35 …int32_t capacity = data.GetWant().GetIntParam(PowerMgr::BatteryInfo::COMMON_EVENT_KEY_CAPACITY, IN… in OnReceiveEvent()
/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/
Dapp_uninstall_observer.cpp34 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
37 std::string bundleName = data.GetWant().GetBundle(); in OnReceiveEvent()
/base/time/time_service/services/time/src/
Dpower_subscriber.cpp33 OHOS::EventFwk::Want want = data.GetWant(); in OnReceiveEvent()
34 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
Dnitz_subscriber.cpp35 OHOS::EventFwk::Want want = data.GetWant(); in OnReceiveEvent()
36 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
/base/telephony/call_manager/services/call/src/
Dcall_broadcast_subscriber.cpp36 OHOS::EventFwk::Want want = data.GetWant(); in OnReceiveEvent()
37 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()
56 auto capacity = data.GetWant().GetIntParam(KEY_CAPACITY, defaultInvalid); in OnReceiveEvent()
57 auto isChangingType = data.GetWant().GetIntParam(KEY_CHARGE_TYPE, defaultInvalid); in OnReceiveEvent()
/base/powermgr/thermal_manager/services/native/src/thermal_observer/state_machine/
Dcharger_state_collection.cpp100 g_cachedIdleState.soc = data.GetWant().GetIntParam(BatteryInfo::COMMON_EVENT_KEY_CAPACITY, -1); in HandleChangerStatusCompleted()
101 …g_cachedIdleState.current = data.GetWant().GetIntParam(BatteryInfo::COMMON_EVENT_KEY_PLUGGED_NOW_C… in HandleChangerStatusCompleted()
102 …g_cachedIdleState.charging = data.GetWant().GetIntParam(BatteryInfo::COMMON_EVENT_KEY_CHARGE_STATE… in HandleChangerStatusCompleted()
181 int32_t level = data.GetWant().GetIntParam(key, -1); in HandleThermalLevelCompleted()
/base/powermgr/battery_manager/test/systemtest/src/
Dbattery_event_system_test.cpp191 g_action = data.GetWant().GetAction(); in OnReceiveEvent()
197 g_action = data.GetWant().GetAction(); in OnReceiveEvent()
204 int capacity = data.GetWant().GetIntParam(KEY_CAPACITY, defaultCapacity); in OnReceiveEvent()
212 int chargeState = data.GetWant().GetIntParam(KEY_CHARGE_STATE, defaultChargeState); in OnReceiveEvent()
220 int chargeState = data.GetWant().GetIntParam(KEY_CHARGE_STATE, defaultChargeState); in OnReceiveEvent()
228 int maxVoltage = data.GetWant().GetIntParam(KEY_PLUGGED_MAX_VOLTAGE, defaultMaxVoltage); in OnReceiveEvent()
237 int maxVoltage = data.GetWant().GetIntParam(KEY_PLUGGED_MAX_VOLTAGE, defaultMaxVoltage); in OnReceiveEvent()
244 g_action = data.GetWant().GetAction(); in OnReceiveEvent()
253 g_capacity = data.GetWant().GetIntParam(KEY_CAPACITY, defaultCapacity); in OnReceiveEvent()
254 g_capacityLevel = data.GetWant().GetIntParam(KEY_CAPACITY_LEVEL, defaultCapacityLevel); in OnReceiveEvent()
[all …]
/base/usb/usb_manager/test/native/service_unittest/src/
Dusb_event_test.cpp89 auto &want = UsbSubscriberTest::eventData_.GetWant();
114 auto &want = UsbSubscriberTest::eventData_.GetWant();
139 auto &want = UsbSubscriberTest::eventData_.GetWant();
194 auto &want = UsbSubscriberTest::eventData_.GetWant();
230 auto &want = UsbSubscriberTest::eventData_.GetWant();
264 auto &want = UsbSubscriberTest::eventData_.GetWant();
/base/notification/common_event_service/services/test/unittest/
Dcommon_event_freeze_test.cpp99 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
111 GTEST_LOG_(INFO) << "Subscriber1: Type: " << data.GetWant().GetType(); in ProcessSubscriberTestCase1()
123 GTEST_LOG_(INFO) << "Subscriber1: Type: " << data.GetWant().GetType(); in ProcessSubscriberTestCase2()
149 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
161 GTEST_LOG_(INFO) << "Subscriber2: Type: " << data.GetWant().GetType(); in ProcessSubscriberTest2Case1()
178 GTEST_LOG_(INFO) << "Subscriber2: Type: " << data.GetWant().GetType(); in ProcessSubscriberTest2Case2()
209 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
221 GTEST_LOG_(INFO) << "SubscriberLast: Type: " << data.GetWant().GetType(); in ProcessSubscriberTestLastCase1()
Dcommon_event_sticky_test.cpp125 EXPECT_EQ(EVENT, Stickydata.GetWant().GetAction());
126 EXPECT_EQ(TYPE, Stickydata.GetWant().GetType());
173 EXPECT_EQ(EVENT2, Stickydata.GetWant().GetAction());
174 EXPECT_EQ(TYPE2, Stickydata.GetWant().GetType());
368 auto action = records.front()->commonEventData->GetWant().GetAction();
410 auto action = recordPtr->commonEventData->GetWant().GetAction();
472 auto action = recordPtr->commonEventData->GetWant().GetAction();
/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.cpp33 OHOS::EventFwk::Want want = data.GetWant(); in OnReceiveEvent()
/base/usb/usb_manager/test/native/mock/src/
Dusb_event_mock_test.cpp129 auto &want = UsbSubscriberMockTest::eventData_.GetWant();
157 auto &want = UsbSubscriberMockTest::eventData_.GetWant();
185 auto &want = UsbSubscriberMockTest::eventData_.GetWant();
242 auto &want = UsbSubscriberMockTest::eventData_.GetWant();
278 auto &want = UsbSubscriberMockTest::eventData_.GetWant();
312 auto &want = UsbSubscriberMockTest::eventData_.GetWant();
/base/customization/enterprise_device_management/services/edm/include/connection/
Dienterprise_connection.h31 AAFwk::Want GetWant() const in GetWant() function
/base/telephony/sms_mms/services/sms/
Dsms_broadcast_subscriber_receiver.cpp36 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
Dsms_state_observer.cpp71 OHOS::EventFwk::Want want = data.GetWant(); in OnReceiveEvent()
72 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
/base/powermgr/thermal_manager/test/systemtest/src/
Dthermal_level_event_system_test.cpp137 int32_t level = data.GetWant().GetIntParam(key, invalidLevel); in OnReceiveEvent()
148 int32_t level = data.GetWant().GetIntParam(key, invalidLevel); in OnReceiveEvent()
159 int32_t level = data.GetWant().GetIntParam(key, invalidLevel); in OnReceiveEvent()
170 bool getState = data.GetWant().GetBoolParam(key, invalidState); in OnReceiveEvent()
181 bool getState = data.GetWant().GetBoolParam(key, invalidState); in OnReceiveEvent()

1234