Home
last modified time | relevance | path

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

12345678910>>...14

/ohos5.0/base/telephony/call_manager/services/call/src/
H A Dcall_broadcast_subscriber.cpp59 OHOS::EventFwk::Want want = data.GetWant(); in OnReceiveEvent()
60 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
112 int32_t videoState = data.GetWant().GetIntParam("videoState", -1); in ConnectCallUiSuperPrivacyModeBroadcast()
113 bool isAnswer = data.GetWant().GetBoolParam("isAnswer", false); in ConnectCallUiSuperPrivacyModeBroadcast()
118 int32_t callId = data.GetWant().GetIntParam("callId", -1); in ConnectCallUiSuperPrivacyModeBroadcast()
125 int32_t accountId = data.GetWant().GetIntParam("accountId", -1); in ConnectCallUiSuperPrivacyModeBroadcast()
127 int32_t dialScene = data.GetWant().GetIntParam("dialScene", -1); in ConnectCallUiSuperPrivacyModeBroadcast()
128 int32_t dialType = data.GetWant().GetIntParam("dialType", -1); in ConnectCallUiSuperPrivacyModeBroadcast()
129 int32_t callType = data.GetWant().GetIntParam("callType", -1); in ConnectCallUiSuperPrivacyModeBroadcast()
137 std::string macAddress = data.GetWant().GetStringParam("deviceAddr"); in UpdateBluetoothDeviceName()
[all …]
/ohos5.0/base/telephony/core_service/services/network_search/test/
H A 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()
/ohos5.0/base/notification/common_event_service/services/src/
H A Dstatic_subscriber_manager.cpp161 auto targetSubscribers = validSubscribers_.find(data.GetWant().GetAction()); in PublishCommonEventInner()
224 data.GetWant().GetAction() == CommonEventSupport::COMMON_EVENT_BOOT_COMPLETED || in PublishCommonEvent()
226 data.GetWant().GetAction() == CommonEventSupport::COMMON_EVENT_USER_SWITCHED || in PublishCommonEvent()
227 data.GetWant().GetAction() == CommonEventSupport::COMMON_EVENT_UID_REMOVED || in PublishCommonEvent()
228 data.GetWant().GetAction() == CommonEventSupport::COMMON_EVENT_USER_STARTED) && in PublishCommonEvent()
429 if ((data.GetWant().GetAction() != CommonEventSupport::COMMON_EVENT_PACKAGE_ADDED) && in UpdateSubscriber()
430 (data.GetWant().GetAction() != CommonEventSupport::COMMON_EVENT_PACKAGE_CHANGED) && in UpdateSubscriber()
431 (data.GetWant().GetAction() != CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED)) { in UpdateSubscriber()
436 std::string bundleName = data.GetWant().GetElement().GetBundleName(); in UpdateSubscriber()
437 int32_t uid = data.GetWant().GetIntParam(AppExecFwk::Constants::UID, -1); in UpdateSubscriber()
[all …]
H A 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()
H A Dcommon_event_control_manager.cpp178 eventRecord.commonEventData->GetWant().GetAction().c_str(), in NotifyFreezeEvents()
185 eventRecord.commonEventData->GetWant().GetAction()); in NotifyFreezeEvents()
241 eventRecord->commonEventData->GetWant().GetAction()); in NotifyUnorderedEventLocked()
439 record.want = eventRecordPtr->commonEventData->GetWant(); in EnqueueHistoryEventRecord()
545 eventRecordPtr->commonEventData->GetWant().GetAction().c_str(), in NotifyOrderedEvent()
549 eventRecordPtr->commonEventData->GetWant().GetAction()); in NotifyOrderedEvent()
708 sp->commonEventData->GetWant().GetAction().c_str()); in CurrentOrderedEventTimeout()
802 std::string event = eventRecord.commonEventData->GetWant().GetAction(); in CheckSubscriberPermission()
864 eventRecord.commonEventData->GetWant().GetAction().c_str(), in CheckSubscriberRequiredPermission()
928 if (vec->commonEventData->GetWant().GetAction() == event) { in GetUnorderedEventRecords()
[all …]
H A Dinner_common_event_manager.cpp210 if (data.GetWant().GetAction().empty()) { in PublishCommonEvent()
220 std::string action = data.GetWant().GetAction(); in PublishCommonEvent()
230 SendPublishHiSysEvent(user, bundleName, pid, uid, data.GetWant().GetAction(), false); in PublishCommonEvent()
240 SendPublishHiSysEvent(user, bundleName, pid, uid, data.GetWant().GetAction(), false); in PublishCommonEvent()
246 bundleName.c_str(), pid, uid, data.GetWant().GetAction().c_str(), userId); in PublishCommonEvent()
268 SendPublishHiSysEvent(user, bundleName, pid, uid, data.GetWant().GetAction(), false); in PublishCommonEvent()
275 SendPublishHiSysEvent(user, bundleName, pid, uid, data.GetWant().GetAction(), false); in PublishCommonEvent()
282 eventRecord.commonEventData->GetWant().GetAction(), mappedSupport)) { in PublishCommonEvent()
283 Want want = eventRecord.commonEventData->GetWant(); in PublishCommonEvent()
292 SendPublishHiSysEvent(user, bundleName, pid, uid, data.GetWant().GetAction(), true); in PublishCommonEvent()
[all …]
/ohos5.0/base/telephony/core_service/test/unittest/core_service_gtest/
H A 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()
/ohos5.0/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessibility_common_event.cpp118 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
164 std::string bundleName = data.GetWant().GetBundle(); in HandlePackageRemoved()
165 int userId = data.GetWant().GetIntParam(KEY_USER_ID, 0); in HandlePackageRemoved()
177 std::string bundleName = data.GetWant().GetBundle(); in HandlePackageAdd()
178 int userId = data.GetWant().GetIntParam(KEY_USER_ID, 0); in HandlePackageAdd()
190 std::string bundleName = data.GetWant().GetBundle(); in HandlePackageChanged()
191 int userId = data.GetWant().GetIntParam(KEY_USER_ID, 0); in HandlePackageChanged()
/ohos5.0/foundation/resourceschedule/work_scheduler/services/test/src/policy/
H A Dapp_data_clear_listener_test.cpp66 EXPECT_EQ(event1.GetWant().GetAction(), CommonEventSupport::COMMON_EVENT_PACKAGE_DATA_CLEARED);
71 EXPECT_EQ(event2.GetWant().GetAction(), CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED);
76 EXPECT_EQ(event3.GetWant().GetAction(), CommonEventSupport::COMMON_EVENT_PACKAGE_CHANGED);
81 EXPECT_EQ(event4.GetWant().GetAction(), CommonEventSupport::COMMON_EVENT_PACKAGE_ADDED);
86 EXPECT_EQ(event5.GetWant().GetAction(), CommonEventSupport::COMMON_EVENT_USER_SWITCHED);
/ohos5.0/foundation/multimodalinput/input/service/device_state_manager/src/
H A Ddevice_event_monitor.cpp45 std::string action = eventData.GetWant().GetAction(); in OnReceiveEvent()
55 std::string pageName = eventData.GetWant().GetStringParam("pageName"); in OnReceiveEvent()
93 if (eventData.GetWant().GetIntParam("slotId", -1) != -1) { in SetCallState()
94 int32_t state = eventData.GetWant().GetIntParam("state", -1); in SetCallState()
100 callState = eventData.GetWant().GetIntParam("state", -1); in SetCallState()
/ohos5.0/foundation/multimedia/ringtone_library/test/unittest/ringtone_data_extension_test/src/
H A Dringtone_subscriber_test.cpp49 AAFwk::Want want = eventData.GetWant();
61 AAFwk::Want want = eventData.GetWant();
73 AAFwk::Want want = eventData.GetWant();
85 AAFwk::Want want = eventData.GetWant();
97 AAFwk::Want want = eventData.GetWant();
/ohos5.0/foundation/ability/ability_lite/services/abilitymgr_lite/src/
H A Dability_worker.cpp134 if (connectParam.GetWant() == nullptr || connectParam.GetWant()->element == nullptr) { in ConnectAbility()
137 char *bundleName = connectParam.GetWant()->element->bundleName; in ConnectAbility()
138 char *abilityName = connectParam.GetWant()->element->abilityName; in ConnectAbility()
142 … AbilityStartTask startTask(abilityMgrContext_, connectParam.GetWant(), &target, &bundleInfo); in ConnectAbility()
155 AbilityConnectTask connectTask(abilityMgrContext_, *connectParam.GetWant(), in ConnectAbility()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_rdb_test/src/
H A Dmedialibrary_subscriber_test.cpp42 AAFwk::Want want = eventData.GetWant();
55 AAFwk::Want want = eventData.GetWant();
68 AAFwk::Want want = eventData.GetWant();
81 AAFwk::Want want = eventData.GetWant();
94 AAFwk::Want want = eventData.GetWant();
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/wantagent/src/
H A Dtrigger_info.cpp51 if (paramInfo.GetWant() != nullptr) { in TriggerInfo()
52 want_ = std::make_shared<Want>(*paramInfo.GetWant()); in TriggerInfo()
64 if (paramInfo.GetWant() != nullptr) { in operator =()
65 want_ = std::make_shared<Want>(*paramInfo.GetWant()); in operator =()
85 std::shared_ptr<Want> TriggerInfo::GetWant() const in GetWant() function in OHOS::AbilityRuntime::WantAgent::TriggerInfo
/ohos5.0/foundation/ability/ability_lite/services/abilitymgr_lite/src/task/
H A Dability_dump_task.cpp31 if (client_->GetWant().element != nullptr) { in Execute()
34 stackManager.FindPageAbility(*abilityMgrContext_, client_->GetWant()); in Execute()
38 return targetAbility->DumpAbilitySlice(client_->GetWant()); in Execute()
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/panding_want_manager_test/
H A Dpanding_want_manager_test.cpp70 std::shared_ptr<AAFwk::Want> GetWant(std::string abilityName, std::string bundleName);
141 wantsInfo.want = *(GetWant("hiMusic", "com.ix.hiMusic")); in GetAbility()
161 wantsInfo.want = *(GetWant("hiMusic", "com.ix.hiMusic")); in GetAbilities()
165 wantsInfo2.want = *(GetWant("hiRadio", "com.ix.hiRadio")); in GetAbilities()
186 wantsInfo.want = *(GetWant("hiService", "com.ix.hiService")); in GetService()
206 wantsInfo.want = *(GetWant("hiService", "com.ix.hiService")); in GetForegroundService()
225 wantsInfo.want = *(GetWant("hiMusic", "com.ix.hiMusic")); in GetCommonEvent()
267 auto abilityWant = GetWant("hiRedio", "com.ix.hiRedio");
322 auto abilityWant = GetWant("hiMusic", "com.ix.hiMusic");
393 auto abilityWant = GetWant("Netease music", "com.ix.hiMusic");
[all …]
/ohos5.0/base/powermgr/battery_statistics/services/native/src/
H A 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()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sub_manage/
H A Dwifi_event_subscriber_manager.cpp602 std::string action = eventData.GetWant().GetAction(); in OnReceiveEvent()
616 std::string action = eventData.GetWant().GetAction(); in OnReceiveScreenEvent()
643 const auto &action = eventData.GetWant().GetAction(); in OnReceiveAirplaneEvent()
668 std::string action = eventData.GetWant().GetAction(); in OnReceiveBatteryEvent()
720 std::string action = eventData.GetWant().GetAction(); in OnReceiveAppEvent()
722 auto wantTemp = eventData.GetWant(); in OnReceiveAppEvent()
752 std::string action = eventData.GetWant().GetAction(); in OnReceiveThermalEvent()
764 const auto &action = eventData.GetWant().GetAction(); in OnReceiveStandbyEvent()
790 const auto &action = eventData.GetWant().GetAction(); in OnReceiveDataShareReadyEvent()
873 std::string action = eventData.GetWant().GetAction(); in OnReceiveEvent()
[all …]
/ohos5.0/base/location/services/location_locator/locator/source/
H A Dlocator_event_subscriber.cpp33 std::string action = event.GetWant().GetAction(); in OnReceiveEvent()
41 const bool napped = event.GetWant().GetBoolParam(LOCATOR_STANDBY_NAP, 0); in OnReceiveEvent()
42 const bool sleeping = event.GetWant().GetBoolParam(LOCATOR_STANDBY_SLEEPING, 0); in OnReceiveEvent()
/ohos5.0/base/powermgr/battery_manager/test/systemtest/src/
H A 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 …]
/ohos5.0/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_event_test.cpp89 auto &want = UsbSubscriberTest::eventData_.GetWant();
114 auto &want = UsbSubscriberTest::eventData_.GetWant();
139 auto &want = UsbSubscriberTest::eventData_.GetWant();
193 auto &want = UsbSubscriberTest::eventData_.GetWant();
228 auto &want = UsbSubscriberTest::eventData_.GetWant();
262 auto &want = UsbSubscriberTest::eventData_.GetWant();
/ohos5.0/foundation/resourceschedule/work_scheduler/services/native/src/policy/
H A Dapp_data_clear_listener.cpp36 const string action = data.GetWant().GetAction(); in OnReceiveEvent()
37 string bundle = data.GetWant().GetBundle(); in OnReceiveEvent()
38 int32_t uid = data.GetWant().GetIntParam(UID_PARAM, -1); in OnReceiveEvent()
/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_observer/state_machine/
H A Dcharger_state_collection.cpp100 g_cachedIdleState.soc = data.GetWant().GetIntParam(BatteryInfo::COMMON_EVENT_KEY_CAPACITY, -1); in HandleChangerStatusCompleted()
101 … int32_t chargeState = data.GetWant().GetIntParam(BatteryInfo::COMMON_EVENT_KEY_CHARGE_STATE, -1); in HandleChangerStatusCompleted()
137 …g_cachedIdleState.current = data.GetWant().GetIntParam(BatteryInfo::COMMON_EVENT_KEY_PLUGGED_NOW_C… in HandleChangerInnerStatusCompleted()
198 int32_t level = data.GetWant().GetIntParam(key, -1); in HandleThermalLevelCompleted()
/ohos5.0/base/notification/common_event_service/services/test/unittest/
H A Dcommon_event_freeze_test.cpp99 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
111 EVENT_LOGI("Subscriber1: Type: %{public}s", data.GetWant().GetType().c_str()); in ProcessSubscriberTestCase1()
123 EVENT_LOGI("Subscriber1: Type: %{public}s ", data.GetWant().GetType().c_str()); in ProcessSubscriberTestCase2()
149 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
161 EVENT_LOGI("Subscriber2: Type: %{public}s", data.GetWant().GetType().c_str()); in ProcessSubscriberTest2Case1()
178 EVENT_LOGI("Subscriber2: Type: %{public}s ", data.GetWant().GetType().c_str()); in ProcessSubscriberTest2Case2()
209 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
221 EVENT_LOGI("SubscriberLast: Type: %{public}s ", data.GetWant().GetType().c_str()); in ProcessSubscriberTestLastCase1()
/ohos5.0/base/web/webview/ohos_adapter/battery_mgr_adapter/src/
H A Dbattery_mgr_client_adapter_impl.cpp50 const std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
58 auto capacity = data.GetWant().GetIntParam(KEY_CAPACITY, defaultInvalid); in OnReceiveEvent()
59 auto isChangingType = data.GetWant().GetIntParam(KEY_CHARGE_TYPE, defaultInvalid); in OnReceiveEvent()

12345678910>>...14