Home
last modified time | relevance | path

Searched refs:wantAgent (Results 1 – 25 of 51) sorted by relevance

123

/base/time/time_service/test/fuzztest/timetesttimer_fuzzer/
Dtimer_info.h31 … void SetWantAgent(std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent) override;
51 void TimerInfo::SetWantAgent(std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent) in SetWantAgent() argument
53 this->wantAgent = wantAgent; in SetWantAgent()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dnotification_action_button_test.cpp49 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent = in HWTEST_F() local
52 NotificationActionButton::Create(nullptr, "title", wantAgent); in HWTEST_F()
68 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent = in HWTEST_F() local
71 NotificationActionButton::Create(nullptr, "title", wantAgent); in HWTEST_F()
89 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent = in HWTEST_F() local
92 NotificationActionButton::Create(nullptr, "title", wantAgent); in HWTEST_F()
113 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent = nullptr; variable
124 (icon, title, wantAgent, extras, semanticActionButton,
139 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent = variable
150 rrc->Create(icon, title, wantAgent, extras, semanticActionButton,
Dnotification_request_test.cpp46 …std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent = notificationRequest.GetWantAgent… in HWTEST_F() local
47 EXPECT_EQ(wantAgent, nullptr); in HWTEST_F()
60 …std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent = notificationRequest.GetWantAgent… in HWTEST_F() local
61 notificationRequest.SetMaxScreenWantAgent(wantAgent); in HWTEST_F()
194 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent = in HWTEST_F() local
197 NotificationActionButton::Create(nullptr, "title", wantAgent); in HWTEST_F()
200 NotificationActionButton::Create(nullptr, "title2", wantAgent); in HWTEST_F()
203 NotificationActionButton::Create(nullptr, "title3", wantAgent); in HWTEST_F()
208 NotificationActionButton::Create(nullptr, "title4", wantAgent); in HWTEST_F()
/base/update/update_app/feature/ota/src/main/ets/notify/
DNotificationHelper.ets17 import wantAgent from '@ohos.app.ability.wantAgent';
38 operationType: wantAgent.OperationType.START_ABILITY,
40 wantAgentFlags: [wantAgent.WantAgentFlags.CONSTANT_FLAG],
52 operationType: wantAgent.OperationType.START_ABILITY,
54 wantAgentFlags: [wantAgent.WantAgentFlags.CONSTANT_FLAG],
92 wantAgent: await wantAgent.getWantAgent(this.downloadingWantAgentInfo),
138 wantAgent: await wantAgent.getWantAgent(this.downloadingWantAgentInfo),
163 wantAgent: await wantAgent.getWantAgent(this.checkWantAgentInfo),
188 wantAgent: await wantAgent.getWantAgent(this.checkWantAgentInfo),
/base/location/frameworks/location_common/common/source/
Dgeofence_state.cpp20 …nceState::GeoFenceState(const GeoFence fence, const AbilityRuntime::WantAgent::WantAgent wantAgent) in GeoFenceState() argument
23 mWantAgent = wantAgent; in GeoFenceState()
/base/notification/distributed_notification_service/test/fuzztest/notificationrequest_fuzzer/
Dnotificationrequest_fuzzer.cpp41 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent = nullptr; in DoSomethingInterestingWithMyAPI() local
42 request.SetWantAgent(wantAgent); in DoSomethingInterestingWithMyAPI()
44 request.SetRemovalWantAgent(wantAgent); in DoSomethingInterestingWithMyAPI()
46 request.SetMaxScreenWantAgent(wantAgent); in DoSomethingInterestingWithMyAPI()
/base/time/time_service/interfaces/inner_api/include/
Ditimer_info.h32 std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent; variable
78 …virtual void SetWantAgent(std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent) =…
/base/notification/distributed_notification_service/test/fuzztest/notificationactionbutton_fuzzer/
Dnotificationactionbutton_fuzzer.cpp30 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent = in DoSomethingInterestingWithMyAPI() local
34 Notification::NotificationActionButton::Create(nullptr, title, wantAgent); in DoSomethingInterestingWithMyAPI()
/base/time/time_service/services/timer/include/
Dtimer_manager_interface.h32 std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent; member
56 … std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent,
Dtimer_manager.h38 std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent,
64 std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent,
74 … const std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> &wantAgent,
101 …void NotifyWantAgent(const std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> &wantAgent);
Dtimer_info.h32 const std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent; variable
53 std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent,
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/reminder_request_branch_test/
Dreminder_request_branch_test.cpp299 info.wantAgent = nullptr;
325 info.wantAgent = std::make_shared<ReminderRequest::ButtonWantAgent>();
326 info.wantAgent->pkgName = pkgName;
327 info.wantAgent->abilityName = abilityName;
351 info.wantAgent = nullptr;
376 info.wantAgent = nullptr;
401 info.wantAgent = nullptr;
426 info.wantAgent = nullptr;
453 info.wantAgent = std::make_shared<ReminderRequest::ButtonWantAgent>();
454 info.wantAgent->pkgName = pkgName;
[all …]
/base/notification/distributed_notification_service/test/bechmarktest/notification_publish_test/
Dnotification_publish_test.cpp84 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent = in InitWantAgentRequest() local
88 reqWantAgent_.SetWantAgent(wantAgent); in InitWantAgentRequest()
98 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent = in InitButtonRequest() local
101 NotificationActionButton::Create(nullptr, "title", wantAgent); in InitButtonRequest()
/base/time/time_service/test/unittest/service_test/include/
Dtimer_info_test.h43 …virtual void SetWantAgent(std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent) o…
88 wantAgent = _wantAgent; in SetWantAgent()
/base/usb/usb_manager/frameworks/dialog/functionswitch_ui/usb_function_dialog/src/main/ets/util/
DNotificationUtil.ets18 import wantAgent from '@ohos.app.ability.wantAgent';
44 operationType: wantAgent.OperationType.START_ABILITY,
47 return await wantAgent.getWantAgent(wantAgentInfo);
101 wantAgent: notificationWantAgent
/base/notification/distributed_notification_service/frameworks/ans/src/
Dreminder_request.cpp197 actionButtonInfo.wantAgent = buttonWantAgent; in SetActionButton()
565 std::string wantAgent; in RecoverFromDb() local
566 resultSet->GetString(ReminderStore::GetColumnIndex(AGENT), wantAgent); in RecoverFromDb()
567 RecoverWantAgent(wantAgent, 0); in RecoverFromDb()
944 … AppExecFwk::ElementName wantAgent("", wantAgentInfo_->pkgName, wantAgentInfo_->abilityName); in UpdateNotificationRequest() local
945 SetWantAgent(wantAgent); in UpdateNotificationRequest()
1088 if (button.second.wantAgent == nullptr) { in Marshalling()
1092 if (!parcel.WriteString(button.second.wantAgent->pkgName)) { in Marshalling()
1096 if (!parcel.WriteString(button.second.wantAgent->abilityName)) { in Marshalling()
1253 info.wantAgent = std::make_shared<ButtonWantAgent>(); in ReadFromParcel()
[all …]
Dnotification_action_button.cpp26 … const std::string &title, const std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> &wantAgent, in Create() argument
31 if (isContextual && (!icon || !wantAgent)) { in Create()
53 wantAgent, in Create()
88 … const std::string &title, const std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> &wantAgent, in NotificationActionButton() argument
94 wantAgent_(wantAgent), in NotificationActionButton()
/base/location/interfaces/inner_api/include/
Dgeofence_state.h27 …explicit GeoFenceState(const GeoFence fence, const AbilityRuntime::WantAgent::WantAgent wantAgent);
/base/time/time_service/services/time/src/
Dsimple_timer_info.cpp41 wantAgent = _wantAgent; in SetWantAgent()
/base/time/time_service/services/time/include/
Dsimple_timer_info.h31 …virtual void SetWantAgent(std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent) o…
/base/notification/distributed_notification_service/services/ans/src/
Dreminder_timer_info.cpp46 wantAgent = _wantAgent; in SetWantAgent()
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_action_button.h48 … const std::string &title, const std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> &wantAgent,
241 const std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> &wantAgent,
/base/time/time_service/services/timer/src/
Dtimer_manager.cpp86 … std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent, in CreateTimer() argument
106 wantAgent, in CreateTimer()
132 timerInfo->wantAgent, in StartTimer()
195 std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent, in SetHandler() argument
242 std::move(wantAgent), in SetHandler()
255 … const std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> &wantAgent, in SetHandlerLocked() argument
262 … interval, std::move(callback), wantAgent, flags, callingUid); in SetHandlerLocked()
519 alarm->callback, alarm->wantAgent, alarm->flags, true, alarm->uid); in TriggerTimersLocked()
608 if (alarm->wantAgent) { in DeliverTimersLocked()
609 NotifyWantAgent(alarm->wantAgent); in DeliverTimersLocked()
[all …]
/base/time/time_service/framework/js/napi/system_timer/src/
Dnapi_system_timer.cpp79 wantAgent = _wantAgent; in SetWantAgent()
116 OHOS::AbilityRuntime::WantAgent::WantAgent *wantAgent = nullptr; in ParseTimerOptions() local
137 napi_unwrap(env, result, (void **)&wantAgent); in ParseTimerOptions()
138 …CHECK_ARGS_RETURN_VOID(TIME_MODULE_JS_NAPI, context, wantAgent != nullptr, "wantAgent is nullptr.", in ParseTimerOptions()
141 std::make_shared<OHOS::AbilityRuntime::WantAgent::WantAgent>(*wantAgent); in ParseTimerOptions()
/base/time/time_service/services/ipc/stub/
Dtime_service_stub.cpp252 std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent{ nullptr }; in OnCreateTimer() local
257 wantAgent = std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent>( in OnCreateTimer()
259 if (!wantAgent) { in OnCreateTimer()
273 timerOptions->wantAgent = wantAgent; in OnCreateTimer()

123