/base/time/time_service/test/fuzztest/timetesttimer_fuzzer/ |
D | timer_info.h | 31 … 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/ |
D | notification_action_button_test.cpp | 49 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,
|
D | notification_request_test.cpp | 46 …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/ |
D | NotificationHelper.ets | 17 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/ |
D | geofence_state.cpp | 20 …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/ |
D | notificationrequest_fuzzer.cpp | 41 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/ |
D | itimer_info.h | 32 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/ |
D | notificationactionbutton_fuzzer.cpp | 30 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/ |
D | timer_manager_interface.h | 32 std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent; member 56 … std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent,
|
D | timer_manager.h | 38 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);
|
D | timer_info.h | 32 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/ |
D | reminder_request_branch_test.cpp | 299 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/ |
D | notification_publish_test.cpp | 84 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/ |
D | timer_info_test.h | 43 …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/ |
D | NotificationUtil.ets | 18 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/ |
D | reminder_request.cpp | 197 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 …]
|
D | notification_action_button.cpp | 26 … 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/ |
D | geofence_state.h | 27 …explicit GeoFenceState(const GeoFence fence, const AbilityRuntime::WantAgent::WantAgent wantAgent);
|
/base/time/time_service/services/time/src/ |
D | simple_timer_info.cpp | 41 wantAgent = _wantAgent; in SetWantAgent()
|
/base/time/time_service/services/time/include/ |
D | simple_timer_info.h | 31 …virtual void SetWantAgent(std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> wantAgent) o…
|
/base/notification/distributed_notification_service/services/ans/src/ |
D | reminder_timer_info.cpp | 46 wantAgent = _wantAgent; in SetWantAgent()
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
D | notification_action_button.h | 48 … 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/ |
D | timer_manager.cpp | 86 … 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/ |
D | napi_system_timer.cpp | 79 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/ |
D | time_service_stub.cpp | 252 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()
|