Home
last modified time | relevance | path

Searched refs:GetWant (Results 1 - 25 of 217) sorted by relevance

123456789

/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()
/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()
/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()
/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
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_rdb_test/src/
H A Dmedialibrary_subscriber_test.cpp42 AAFwk::Want want = eventData.GetWant(); in HWTEST_F()
55 AAFwk::Want want = eventData.GetWant(); in HWTEST_F()
68 AAFwk::Want want = eventData.GetWant(); in HWTEST_F()
81 AAFwk::Want want = eventData.GetWant(); in HWTEST_F()
94 AAFwk::Want want = eventData.GetWant(); in HWTEST_F()
/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()
/foundation/multimedia/ringtone_library/test/unittest/ringtone_data_extension_test/src/
H A Dringtone_subscriber_test.cpp49 AAFwk::Want want = eventData.GetWant(); in HWTEST_F()
61 AAFwk::Want want = eventData.GetWant(); in HWTEST_F()
73 AAFwk::Want want = eventData.GetWant(); in HWTEST_F()
85 AAFwk::Want want = eventData.GetWant(); in HWTEST_F()
97 AAFwk::Want want = eventData.GetWant(); in HWTEST_F()
/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); in HWTEST_F()
71 EXPECT_EQ(event2.GetWant().GetAction(), CommonEventSupport::COMMON_EVENT_PACKAGE_REMOVED); in HWTEST_F()
76 EXPECT_EQ(event3.GetWant().GetAction(), CommonEventSupport::COMMON_EVENT_PACKAGE_CHANGED); in HWTEST_F()
81 EXPECT_EQ(event4.GetWant().GetAction(), CommonEventSupport::COMMON_EVENT_PACKAGE_ADDED); in HWTEST_F()
86 EXPECT_EQ(event5.GetWant().GetAction(), CommonEventSupport::COMMON_EVENT_USER_SWITCHED); in HWTEST_F()
/foundation/resourceschedule/work_scheduler/services/native/src/policy/
H A Dapp_data_clear_listener.cpp35 const string action = data.GetWant().GetAction(); in OnReceiveEvent()
36 string bundle = data.GetWant().GetBundle(); in OnReceiveEvent()
37 int32_t uid = data.GetWant().GetIntParam(UID_PARAM, -1); in OnReceiveEvent()
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/
H A Dnet_common_event_test.cpp29 const auto &action = eventData.GetWant().GetAction(); in OnReceiveEvent()
34 std::string param = eventData.GetWant().GetStringParam("HttpProxy"); in OnReceiveEvent()
/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);
119 std::shared_ptr<AAFwk::Want> PandingWantManagerTest::GetWant(std::string abilityName, std::string bundleName) in GetWant() function in OHOS::AAFwk::PandingWantManagerTest
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"); in HWTEST_F()
322 auto abilityWant = GetWant("hiMusi in HWTEST_F()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/
H A Dbundle_resource_event_subscriber.cpp39 std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
43 std::string oldId = data.GetWant().GetStringParam(OLD_USER_ID); in OnReceiveEvent()
/foundation/communication/netmanager_base/services/netstatsmanager/src/
H A Dnet_stats_listener.cpp54 data.GetWant().GetAction().c_str(), data.GetData().c_str(), data.GetCode()); in OnReceiveEvent()
56 auto want = data.GetWant(); in OnReceiveEvent()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sub_manage/
H A Dwifi_event_subscriber_manager.cpp689 std::string action = eventData.GetWant().GetAction(); in OnReceiveEvent()
703 std::string action = eventData.GetWant().GetAction(); in OnReceiveScreenEvent()
731 const auto &action = eventData.GetWant().GetAction(); in OnReceiveAirplaneEvent()
756 std::string action = eventData.GetWant().GetAction(); in OnReceiveBatteryEvent()
808 std::string action = eventData.GetWant().GetAction(); in OnReceiveAppEvent()
810 auto wantTemp = eventData.GetWant(); in OnReceiveAppEvent()
840 std::string action = eventData.GetWant().GetAction(); in OnReceiveThermalEvent()
844 int level = eventData.GetWant().GetIntParam(THERMAL_EVENT_ID, 0); in OnReceiveThermalEvent()
852 const auto &action = eventData.GetWant().GetAction(); in OnReceiveStandbyEvent()
853 const bool napped = eventData.GetWant() in OnReceiveStandbyEvent()
[all...]
/foundation/communication/netmanager_base/services/netpolicymanager/src/core/
H A Dnet_policy_core.cpp130 const auto &action = eventData.GetWant().GetAction(); in OnReceiveEvent()
144 bool isDeviceIdle = eventData.GetWant().GetBoolParam(DEVICE_IDLE_MODE_KEY, false); in OnReceiveEvent()
152 if (eventData.GetWant().GetIntParam(AppExecFwk::Constants::UID, 0) < 0) { in OnReceiveEvent()
156 uint32_t deletedUid = static_cast<uint32_t>(eventData.GetWant().GetIntParam(AppExecFwk::Constants::UID, 0)); in OnReceiveEvent()
/foundation/distributeddatamgr/pasteboard/framework/test/src/
H A Dtlv_object_test.cpp89 EXPECT_EQ(record2->GetWant()->OperationEquals(*(record1->GetWant())), true); in HWTEST_F()
120 EXPECT_EQ(record2->GetWant()->OperationEquals(*(record1->GetWant())), true); in HWTEST_F()
/foundation/resourceschedule/work_scheduler/services/native/src/conditions/
H A Dbattery_level_listener.cpp35 const std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
41 auto capacity = data.GetWant().GetIntParam(KEY_CAPACITY, defaultCapacity); in OnReceiveEvent()
H A Dnetwork_listener.cpp42 const std::string action = data.GetWant().GetAction(); in OnReceiveEvent()
47 int32_t netType = data.GetWant().GetIntParam("NetType", DEFAULT_VALUE); in OnReceiveEvent()
/foundation/distributedhardware/device_manager/services/service/src/publishcommonevent/
H A Ddm_package_common_event.cpp138 std::string receiveEvent = data.GetWant().GetAction(); in OnReceiveEvent()
139 std::string appId = data.GetWant().GetStringParam(APP_ID); in OnReceiveEvent()
140 int32_t accessTokenId = static_cast<int32_t>(data.GetWant().GetIntParam(ACCESS_TOKEN_ID, 0)); in OnReceiveEvent()
/foundation/ability/ability_lite/services/abilitymgr_lite/include/client/
H A Dability_dump_client.h29 const Want &GetWant() const;
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dpending_want_common_event.cpp38 finishedReceiver_->PerformReceive(data.GetWant(), data.GetCode(), "", wantParams_, false, false, 0); in OnReceiveEvent()
/foundation/resourceschedule/memmgr/services/memmgrservice/src/event/
H A Dcommon_event_observer.cpp41 auto want = eventData.GetWant(); in OnReceiveEvent()
/foundation/ability/ability_runtime/interfaces/inner_api/wantagent/include/
H A Dwant_agent_helper.h146 static std::shared_ptr<AAFwk::Want> GetWant(const std::shared_ptr<WantAgent> &agent);
147 static ErrCode GetWant(const std::shared_ptr<WantAgent> &agent, std::shared_ptr<AAFwk::Want> &want);
/foundation/resourceschedule/background_task_mgr/services/common/src/
H A Dsystem_event_observer.cpp82 AAFwk::Want want = eventData.GetWant(); in OnReceiveEventContinuousTask()
105 AAFwk::Want want = eventData.GetWant(); in OnReceiveEventEfficiencyRes()
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/commonevent/
H A Ddm_common_event_manager.cpp131 std::string receiveEvent = data.GetWant().GetAction(); in OnReceiveEvent()
137 userId = data.GetWant().GetIntParam("userId", 0); in OnReceiveEvent()

Completed in 9 milliseconds

123456789