/foundation/ability/ability_runtime/interfaces/inner_api/wantagent/src/ |
H A D | want_agent.cpp | 19 namespace OHOS::AbilityRuntime::WantAgent { namespace in OHOS::AbilityRuntime 20 WantAgent::WantAgent(const std::shared_ptr<PendingWant> &pendingWant) in WantAgent() function in OHOS::AbilityRuntime::WantAgent::WantAgent 25 std::shared_ptr<PendingWant> WantAgent::GetPendingWant() in GetPendingWant() 30 void WantAgent::SetPendingWant(const std::shared_ptr<PendingWant> &pendingWant) in SetPendingWant() 35 bool WantAgent::Marshalling(Parcel &parcel) const in Marshalling() 45 WantAgent *WantAgent::Unmarshalling(Parcel &parcel) in Unmarshalling() 47 WantAgent *agent = new (std::nothrow) WantAgent(); in Unmarshalling() [all...] |
H A D | want_agent_helper.cpp | 30 namespace OHOS::AbilityRuntime::WantAgent { namespace in OHOS::AbilityRuntime 89 const WantAgentInfo ¶msInfo, std::shared_ptr<WantAgent> &wantAgent) in GetWantAgent() 141 wantAgent = std::make_shared<WantAgent>(pendingWant); in GetWantAgent() 145 std::shared_ptr<WantAgent> WantAgentHelper::GetWantAgent(const WantAgentInfo ¶msInfo, int32_t userId, int32_t uid) in GetWantAgent() 177 std::shared_ptr<WantAgent> agent = std::make_shared<WantAgent>(std::make_shared<PendingWant>(target)); in GetWantAgent() 182 WantAgentConstant::OperationType WantAgentHelper::GetType(std::shared_ptr<WantAgent> agent) in GetType() 191 ErrCode WantAgentHelper::TriggerWantAgent(std::shared_ptr<WantAgent> agent, in TriggerWantAgent() 226 ErrCode WantAgentHelper::Cancel(const std::shared_ptr<WantAgent> agent) in Cancel() 243 const std::shared_ptr<WantAgent> in IsEquals() [all...] |
/foundation/ability/ability_runtime/interfaces/inner_api/wantagent/include/ |
H A D | want_agent_helper.h | 32 namespace OHOS::AbilityRuntime::WantAgent { namespace in OHOS::AbilityRuntime 34 * A helper class used to obtain, trigger, cancel, and compare WantAgent objects and to obtain 35 * the bundle name, UID, and hash code value of an WantAgent object. 49 * Obtains an WantAgent object. 50 * The WantAgent class does not have any constructor, and you can only use this method to create an 51 * WantAgent object. 55 * WantAgent object to create. 60 const WantAgentInfo ¶msInfo, std::shared_ptr<WantAgent> &wantAgent); 63 * Obtains an WantAgent object. 65 * The WantAgent clas [all...] |
H A D | want_agent.h | 26 namespace OHOS::AbilityRuntime::WantAgent { namespace in OHOS::AbilityRuntime 27 class WantAgent final : public std::enable_shared_from_this<WantAgent>, public Parcelable { 29 WantAgent() {}; in WantAgent() function in OHOS::AbilityRuntime::WantAgent::final 30 virtual ~WantAgent() = default; 36 explicit WantAgent(const std::shared_ptr<PendingWant> &pendingWant); 66 static WantAgent *Unmarshalling(Parcel &parcel); 71 } // namespace OHOS::AbilityRuntime::WantAgent
|
H A D | cancel_listener.h | 19 namespace OHOS::AbilityRuntime::WantAgent { namespace in OHOS::AbilityRuntime 30 } // namespace OHOS::AbilityRuntime::WantAgent
|
/foundation/ability/ability_runtime/test/unittest/want_agent_test/ |
H A D | want_agent_test.cpp | 44 using namespace OHOS::AbilityRuntime::WantAgent; 47 namespace OHOS::AbilityRuntime::WantAgent { namespace in OHOS::AbilityRuntime 79 std::shared_ptr<WantAgent> wantAgent = std::make_shared<WantAgent>(nullptr); in HWTEST_F() 92 std::shared_ptr<WantAgent> wantAgent = std::make_shared<WantAgent>(pendingWant); in HWTEST_F() 105 std::shared_ptr<WantAgent> wantAgent = std::make_shared<WantAgent>(pendingWant); in HWTEST_F() 117 std::shared_ptr<WantAgent> wantAgent = std::make_shared<WantAgent>(nullpt in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/fuzztest/wantagenthelperstring_fuzzer/ |
H A D | wantagenthelperstring_fuzzer.cpp | 26 using namespace OHOS::AbilityRuntime::WantAgent; 32 WantAgent* wantAgent = nullptr; in DoSomethingInterestingWithMyAPI() 34 wantAgent = WantAgent::Unmarshalling(wantAgentParcel); in DoSomethingInterestingWithMyAPI() 37 std::shared_ptr<WantAgent> sptrAgent = std::make_shared<WantAgent>(pendingWant); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/unittest/want_agent_helper_test/ |
H A D | want_agent_helper_test.cpp | 55 namespace OHOS::AbilityRuntime::WantAgent { namespace in OHOS::AbilityRuntime 197 std::shared_ptr<WantAgent> wantAgent = nullptr; in HWTEST_F() 213 std::shared_ptr<WantAgent> wantAgent = nullptr; in HWTEST_F() 235 std::shared_ptr<WantAgent> wantAgent = nullptr; in HWTEST_F() 258 std::shared_ptr<WantAgent> wantAgent = nullptr; in HWTEST_F() 284 std::shared_ptr<WantAgent> wantAgent = nullptr; in HWTEST_F() 310 std::shared_ptr<WantAgent> wantAgent = nullptr; in HWTEST_F() 336 std::shared_ptr<WantAgent> wantAgent = nullptr; in HWTEST_F() 362 std::shared_ptr<WantAgent> wantAgent = nullptr; in HWTEST_F() 388 std::shared_ptr<WantAgent> wantAgen in HWTEST_F() [all...] |
/foundation/ability/form_fwk/services/include/ |
H A D | form_timer_option.h | 35 virtual void SetWantAgent(std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent) override; 77 void FormTimerOption::SetWantAgent(std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent) in SetWantAgent()
|
H A D | form_timer_mgr.h | 35 using namespace OHOS::AbilityRuntime::WantAgent; 340 * @brief Get WantAgent. 342 * @return Returns WantAgent. 344 std::shared_ptr<WantAgent> GetUpdateAtWantAgent(long updateAtTime, int32_t userId); 346 * @brief Get WantAgent. 347 * @return Returns WantAgent. 349 std::shared_ptr<WantAgent> GetLimiterWantAgent(); 351 * @brief Get WantAgent. 353 * @return Returns WantAgent. 355 std::shared_ptr<WantAgent> GetDynamicWantAgen [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/ |
H A D | timer_info.h | 33 void SetWantAgent(std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent_) override; 74 void TimerInfo::SetWantAgent(std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent_) in SetWantAgent()
|
/foundation/ability/ability_runtime/frameworks/js/napi/wantagent/ |
H A D | napi_want_agent.h | 39 using namespace OHOS::AbilityRuntime::WantAgent; 55 std::shared_ptr<WantAgent> wantAgent; 61 WantAgent* wantAgent; 95 static napi_value WrapWantAgent(napi_env env, WantAgent *wantAgent); 112 std::shared_ptr<WantAgent> &wantAgent, TriggerInfo &triggerInfo, 116 void SetOnGetBundleNameCallback(std::shared_ptr<WantAgent> wantAgent, 118 void SetOnGetUidCallback(std::shared_ptr<WantAgent> wantAgent, 120 void SetOnCancelCallback(std::shared_ptr<WantAgent> wantAgent, 139 void SetWantAgentInstance(std::shared_ptr<WantAgent> wantAgent);
|
H A D | napi_want_agent.cpp | 76 void TriggerCompleteCallBack::SetWantAgentInstance(std::shared_ptr<WantAgent> wantAgent) in SetWantAgentInstance() 215 dataWorker->wantAgent = new WantAgent(triggerCompleteInfo_.wantAgent->GetPendingWant()); in OnSendFinished() 343 WantAgent* pWantAgentFirst = nullptr; in OnEqual() 344 WantAgent* pWantAgentSecond = nullptr; in OnEqual() 356 return HandleInvalidParam(env, lastParam, "Wrong argument type. Agent must be a WantAgent."); in OnEqual() 362 return HandleInvalidParam(env, lastParam, "Parse pWantAgentFirst failed. Agent must be a WantAgent."); in OnEqual() 367 return HandleInvalidParam(env, lastParam, "Wrong argument type. OtherAgent must be a WantAgent."); in OnEqual() 374 "Parse pWantAgentSceond failed. OtherAgent must be a WantAgent."); in OnEqual() 377 std::shared_ptr<WantAgent> wantAgentFirst = std::make_shared<WantAgent>(*pWantAgentFirs in OnEqual() [all...] |
/foundation/resourceschedule/background_task_mgr/services/continuous_task/include/ |
H A D | continuous_task_record.h | 58 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> GetWantAgent() const;
68 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent_ {nullptr};
|
/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/include/ |
H A D | continuous_task_param.h | 31 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent_ {nullptr};
42 const std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent, const std::string abilityName,
in ContinuousTaskParam()
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/unittest/common/ |
H A D | wifi_system_timer_test.cpp | 79 std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent =
in HWTEST_F() 80 std::make_shared<OHOS::AbilityRuntime::WantAgent::WantAgent>();
in HWTEST_F()
|
/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/src/ |
H A D | continuous_task_param.cpp | 37 wantAgent_ = std::shared_ptr<AbilityRuntime::WantAgent::WantAgent>(
in ReadFromParcel() 38 parcel.ReadParcelable<AbilityRuntime::WantAgent::WantAgent>());
in ReadFromParcel()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/ |
H A D | wifi_system_timer.h | 40 void SetWantAgent(std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> _wantAgent) override;
|
H A D | wifi_system_timer.cpp | 70 void WifiSysTimer::SetWantAgent(std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent) in SetWantAgent()
|
/foundation/communication/dhcp/services/utils/include/ |
H A D | dhcp_system_timer.h | 39 void SetWantAgent(std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> _wantAgent) override;
|
/foundation/communication/dhcp/services/utils/src/ |
H A D | dhcp_system_timer.cpp | 73 void DhcpSysTimer::SetWantAgent(std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent) in SetWantAgent()
|
/foundation/resourceschedule/background_task_mgr/services/test/unittest/ |
H A D | bg_continuous_task_mgr_test.cpp | 114 taskParam->wantAgent_ = std::make_shared<AbilityRuntime::WantAgent::WantAgent>();
in HWTEST_F() 177 std::make_shared<AbilityRuntime::WantAgent::WantAgent>(),
in HWTEST_F() 194 std::make_shared<AbilityRuntime::WantAgent::WantAgent>(),
in HWTEST_F() 203 std::make_shared<AbilityRuntime::WantAgent::WantAgent>(),
in HWTEST_F() 241 std::make_shared<AbilityRuntime::WantAgent::WantAgent>(),
in HWTEST_F() [all...] |
/foundation/resourceschedule/device_standby/services/common/include/ |
H A D | timed_task.h | 45 void SetWantAgent(std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent) override;
|
/foundation/multimedia/av_session/interfaces/inner_api/native/session/include/ |
H A D | avsession_controller.h | 81 * Get the WantAgent object saved by the application in the session. 87 virtual int32_t GetLaunchAbility(AbilityRuntime::WantAgent::WantAgent& ability) = 0;
|
/foundation/multimedia/audio_framework/services/audio_policy/safe_volume_notification/src/ |
H A D | audio_safe_volume_notification_impl.cpp | 146 std::vector<AbilityRuntime::WantAgent::WantAgentConstant::Flags> flags; in SetActionButton() 147 flags.push_back(AbilityRuntime::WantAgent::WantAgentConstant::Flags::CONSTANT_FLAG); in SetActionButton() 148 AbilityRuntime::WantAgent::WantAgentInfo wantAgentInfo( in SetActionButton() 149 0, AbilityRuntime::WantAgent::WantAgentConstant::OperationType::SEND_COMMON_EVENT, in SetActionButton() 152 auto wantAgentDeal = AbilityRuntime::WantAgent::WantAgentHelper::GetWantAgent(wantAgentInfo); in SetActionButton()
|