Home
last modified time | relevance | path

Searched refs:wantAgent (Results 1 - 25 of 59) sorted by relevance

123

/base/time/time_service/test/fuzztest/timemanager_fuzzer/timetesttimer_fuzzer/
H A 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/
H A Dnotification_action_button_test.cpp50 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent = in HWTEST_F() local
53 NotificationActionButton::Create(nullptr, "title", wantAgent); in HWTEST_F()
69 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent = in HWTEST_F() local
72 NotificationActionButton::Create(nullptr, "title", wantAgent); in HWTEST_F()
90 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent = in HWTEST_F() local
93 NotificationActionButton::Create(nullptr, "title", wantAgent); in HWTEST_F()
113 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent = nullptr; in HWTEST_F() local
125 auto button = std::make_shared<NotificationActionButton>(icon, title, wantAgent, extras, in HWTEST_F()
143 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent = nullptr; in HWTEST_F() local
154 (icon, title, wantAgent, extra in HWTEST_F()
169 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent = HWTEST_F() local
[all...]
/base/notification/distributed_notification_service/test/fuzztest/notificationrequest_fuzzer/
H A 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/
H A Ditimer_info.h34 std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent; member in OHOS::MiscServices::ITimerInfo
92 virtual void SetWantAgent(std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent) = 0;
/base/location/frameworks/native/geofence_sdk/source/
H A Dgeofence_request.cpp71 void GeofenceRequest::SetWantAgent(const AbilityRuntime::WantAgent::WantAgent wantAgent) in SetWantAgent() argument
73 wantAgent_ = wantAgent; in SetWantAgent()
197 auto wantAgent = data.ReadParcelable<AbilityRuntime::WantAgent::WantAgent>(); in ReadFromParcel() local
198 if (wantAgent != nullptr) { in ReadFromParcel()
199 wantAgent_ = *(wantAgent); in ReadFromParcel()
200 delete wantAgent; in ReadFromParcel()
/base/notification/distributed_notification_service/test/fuzztest/notificationactionbutton_fuzzer/
H A Dnotificationactionbutton_fuzzer.cpp30 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent = in DoSomethingInterestingWithMyAPI() local
34 Notification::NotificationActionButton::Create(nullptr, title, wantAgent); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/bechmarktest/notification_publish_test/
H A 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()
148 * @tc.desc: publish wantAgent notifcation
166 * @tc.desc: publish wantAgent notifcation
/base/update/updateservice/services/core/ability/alarm/src/
H A Dalarm_timer_utils.cpp50 void AlarmTimerUtils::TimerTaskInfo::SetWantAgent(std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent) in SetWantAgent() argument
52 this->wantAgent = wantAgent; in SetWantAgent()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/reminder_request_branch_test/
H A Dreminder_request_branch_test.cpp280 * 2.IsFirst is true and buttonInfo.wantAgent is nullptr
295 info.wantAgent = nullptr; in HWTEST_F()
304 * 2.IsFirst is true and buttonInfo.wantAgent is not nullptr
321 info.wantAgent = std::make_shared<ReminderRequest::ButtonWantAgent>(); in HWTEST_F()
322 info.wantAgent->pkgName = pkgName; in HWTEST_F()
323 info.wantAgent->abilityName = abilityName; in HWTEST_F()
347 info.wantAgent = nullptr; in HWTEST_F()
372 info.wantAgent = nullptr; in HWTEST_F()
397 info.wantAgent = nullptr; in HWTEST_F()
407 * 2.Type is ActionButtonType::CUSTOM and button.second.wantAgent i
[all...]
/base/time/time_service/test/unittest/service_test/include/
H A Dtimer_info_test.h46 virtual void SetWantAgent(std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent) override;
93 wantAgent = _wantAgent; in SetWantAgent()
/base/time/time_service/services/timer/include/
H A Dtimer_info.h35 const std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent; member in OHOS::MiscServices::TimerInfo
57 std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent,
H A Dtimer_manager_interface.h33 std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent; member
60 std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent,
/base/time/time_service/test/unittest/service_test/src/
H A Dtime_proxy_test.cpp83 auto wantAgent = std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent>(); in HWTEST_F() local
88 wantAgent, uid, pid, timerId, NOT_STORE); in HWTEST_F()
126 auto wantAgent = std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent>(); in HWTEST_F() local
131 wantAgent, uid, pid, timerId, NOT_STORE); in HWTEST_F()
164 auto wantAgent = std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent>(); in HWTEST_F() local
169 wantAgent, uid, pid, timerId, NOT_STORE); in HWTEST_F()
207 auto wantAgent = std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent>(); in HWTEST_F() local
212 wantAgent, uid, pid, timerId, NOT_STORE); in HWTEST_F()
250 auto wantAgent = std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent>(); in HWTEST_F() local
259 wantAgent, ui in HWTEST_F()
292 auto wantAgent = std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent>(); HWTEST_F() local
361 auto wantAgent = std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent>(); HWTEST_F() local
490 auto wantAgent = std::make_shared<OHOS::AbilityRuntime::WantAgent::WantAgent>(); HWTEST_F() local
569 auto wantAgent = std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent>(); HWTEST_F() local
676 auto wantAgent = std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent>(); HWTEST_F() local
[all...]
/base/notification/distributed_notification_service/services/ans/src/
H A Dreminder_timer_info.cpp43 wantAgent = _wantAgent; in SetWantAgent()
H A Dnotification_timer_info.cpp37 wantAgent = timerInfoWantAgent; in SetWantAgent()
/base/time/time_service/services/time/src/
H A Dsimple_timer_info.cpp41 wantAgent = _wantAgent; in SetWantAgent()
/base/time/time_service/services/time/include/
H A Dsimple_timer_info.h31 void SetWantAgent(std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent) override;
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dreminder_request.cpp207 actionButtonInfo.wantAgent = buttonWantAgent; in SetActionButton()
501 if (root.contains("wantAgent") && !root["wantAgent"].empty()) { in RecoverActionButtonJsonMode()
502 nlohmann::json wantAgent = root["wantAgent"]; in RecoverActionButtonJsonMode() local
503 GetJsonValue<std::string>(wantAgent, "pkgName", buttonWantAgent->pkgName); in RecoverActionButtonJsonMode()
504 GetJsonValue<std::string>(wantAgent, "abilityName", buttonWantAgent->abilityName); in RecoverActionButtonJsonMode()
1024 AppExecFwk::ElementName wantAgent("", wantAgentInfo_->pkgName, wantAgentInfo_->abilityName); in UpdateNotificationRequest()
1025 SetWantAgent(wantAgent); in UpdateNotificationRequest()
1059 if (button.second.wantAgent in MarshallingActionButton()
1517 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent = AddRemovalWantAgent() local
1543 auto wantAgent = AbilityRuntime::WantAgent::WantAgentHelper::GetWantAgent(wantInfo, userId_); CreateWantAgent() local
1566 auto wantAgent = AbilityRuntime::WantAgent::WantAgentHelper::GetWantAgent(wantAgentInfo, userId_); CreateMaxWantAgent() local
1573 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent = CreateMaxWantAgent(element); SetMaxScreenWantAgent() local
1579 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent = CreateWantAgent(element); SetWantAgent() local
[all...]
H A Dnotification_action_button.cpp26 const std::string &title, const std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> &wantAgent, in Create()
31 if (isContextual && (!icon || !wantAgent)) { in Create()
32 ANS_LOGE("icon or wantAgent can not be null when isContextual is true"); in Create()
53 wantAgent, in Create()
88 const std::string &title, const std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> &wantAgent, in NotificationActionButton()
94 wantAgent_(wantAgent), in NotificationActionButton()
224 jsonObject["wantAgent"] = wantAgent_ ? AbilityRuntime::WantAgent::WantAgentHelper::ToString(wantAgent_) : ""; in ToJson()
259 if (jsonObject.find("wantAgent") != jsonEnd && jsonObject.at("wantAgent").is_string()) { in FromJson()
260 auto wantAgentValue = jsonObject.at("wantAgent") in FromJson()
25 Create(const std::shared_ptr<Media::PixelMap> &icon, const std::string &title, const std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> &wantAgent, const std::shared_ptr<AAFwk::WantParams> &extras, NotificationConstant::SemanticActionButton semanticActionButton, bool autoCreatedReplies, const std::vector<std::shared_ptr<NotificationUserInput>> &mimeTypeOnlyInputs, const std::shared_ptr<NotificationUserInput> &userInput, bool isContextual) Create() argument
87 NotificationActionButton(const std::shared_ptr<Media::PixelMap> &icon, const std::string &title, const std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> &wantAgent, const std::shared_ptr<AAFwk::WantParams> &extras, NotificationConstant::SemanticActionButton semanticActionButton, bool autoCreatedReplies, const std::vector<std::shared_ptr<NotificationUserInput>> &mimeTypeOnlyInputs, const std::shared_ptr<NotificationUserInput> &userInput, bool isContextual) NotificationActionButton() argument
[all...]
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon_convert_request.cpp191 // wantAgent?: WantAgent in SetNotificationRequestByWantAgent()
194 napi_value wantAgent = nullptr; in SetNotificationRequestByWantAgent() local
195 wantAgent = CreateWantAgentByJS(env, agent); in SetNotificationRequestByWantAgent()
196 napi_set_named_property(env, result, "wantAgent", wantAgent); in SetNotificationRequestByWantAgent()
198 napi_set_named_property(env, result, "wantAgent", NapiGetNull(env)); in SetNotificationRequestByWantAgent()
204 napi_value wantAgent = nullptr; in SetNotificationRequestByWantAgent() local
205 wantAgent = CreateWantAgentByJS(env, removalAgent); in SetNotificationRequestByWantAgent()
206 napi_set_named_property(env, result, "removalWantAgent", wantAgent); in SetNotificationRequestByWantAgent()
214 napi_value wantAgent in SetNotificationRequestByWantAgent() local
406 napi_value wantAgent = nullptr; SetNotificationActionButton() local
1106 AbilityRuntime::WantAgent::WantAgent *wantAgent = nullptr; GetNotificationWantAgent() local
1190 AbilityRuntime::WantAgent::WantAgent *wantAgent = nullptr; GetNotificationRemovalWantAgent() local
1224 AbilityRuntime::WantAgent::WantAgent *wantAgent = nullptr; GetNotificationMaxScreenWantAgent() local
1670 std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent; GetNotificationActionButtonsDetailedBasicInfo() local
[all...]
/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_timer_info.h51 void SetWantAgent(std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent) override;
H A Dreminder_timer_info.h77 void SetWantAgent(std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent) override;
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_action_button.h35 * @param wantAgent Indicates the wantAgent to be triggered when this NotificationActionButton is triggered.
45 * object if isContextual is true but icon or wantAgent is empty.
48 const std::string &title, const std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> &wantAgent,
231 * @param wantAgent Indicates the WantAgent to be triggered when this NotificationActionButton is triggered.
241 const std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> &wantAgent,
/base/update/updateservice/services/core/ability/alarm/include/
H A Dalarm_timer_utils.h48 void SetWantAgent(std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent) override;
/base/time/time_service/services/ipc/stub/
H A Dtime_service_stub.cpp193 std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent{ nullptr }; in OnCreateTimer()
199 wantAgent = std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent>( in OnCreateTimer()
201 if (!wantAgent) { in OnCreateTimer()
216 timerOptions->wantAgent = wantAgent; in OnCreateTimer()

Completed in 14 milliseconds

123