/base/notification/distributed_notification_service/test/fuzztest/reminderrequestannex_fuzzer/ |
H A D | reminderrequestannex_fuzzer.cpp | 35 std::shared_ptr< Notification::ReminderRequest::WantAgentInfo> wantAgentInfo =
in DoSomethingInterestingWithMyAPI() local 37 reminderRequest.SetWantAgentInfo(wantAgentInfo);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/ |
H A D | reminder_common.cpp | 378 std::shared_ptr<ReminderRequest::WantAgentInfo>& wantAgentInfo) in GenWantAgent() 383 wantAgentInfo = std::make_shared<ReminderRequest::WantAgentInfo>(); in GenWantAgent() 385 wantAgentInfo->pkgName = str; in GenWantAgent() 389 wantAgentInfo->abilityName = str; in GenWantAgent() 393 wantAgentInfo->uri = str; in GenWantAgent() 399 wantAgentInfo->parameters = wantParams; in GenWantAgent() 488 std::shared_ptr<ReminderRequest::WantAgentInfo> wantAgentInfo; in GenReminder() local 489 if (!GenWantAgent(env, value, ReminderAgentNapi::WANT_AGENT, wantAgentInfo)) { in GenReminder() 492 reminder->SetWantAgentInfo(wantAgentInfo); in GenReminder() 836 std::shared_ptr<ReminderRequest::WantAgentInfo> wantAgentInfo; in CreateReminderCalendar() local 376 GenWantAgent( const napi_env &env, const napi_value &value, const char* name, std::shared_ptr<ReminderRequest::WantAgentInfo>& wantAgentInfo) GenWantAgent() argument [all...] |
H A D | publish.cpp | 659 napi_value wantAgentInfo = nullptr; in ParseActionButtons() local 660 napi_create_object(env, &wantAgentInfo); in ParseActionButtons() 661 napi_set_named_property(env, actionButton, WANT_AGENT, wantAgentInfo); in ParseActionButtons() 666 napi_set_named_property(env, wantAgentInfo, WANT_AGENT_PKG, info); in ParseActionButtons() 668 napi_set_named_property(env, wantAgentInfo, WANT_AGENT_ABILITY, info); in ParseActionButtons() 670 napi_set_named_property(env, wantAgentInfo, BUTTON_WANT_AGENT_URI, info); in ParseActionButtons() 685 napi_value wantAgentInfo = nullptr; in ParseWantAgent() local 686 napi_create_object(env, &wantAgentInfo); in ParseWantAgent() 687 napi_set_named_property(env, result, WANT_AGENT, wantAgentInfo); in ParseWantAgent() 691 napi_set_named_property(env, wantAgentInfo, WANT_AGENT_PK in ParseWantAgent() [all...] |
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | reminder_request_test.cpp | 854 std::shared_ptr<ReminderRequest::WantAgentInfo> wantAgentInfo = std::make_shared<ReminderRequest::WantAgentInfo>(); in HWTEST_F() local 856 rrc->SetWantAgentInfo(wantAgentInfo); in HWTEST_F() 857 EXPECT_EQ(rrc->GetWantAgentInfo(), wantAgentInfo); in HWTEST_F() 1367 std::string wantAgentInfo = "sour<SEP#/>123"; in HWTEST_F() local 1369 std::vector<std::string> ret1 = rrc->StringSplit(wantAgentInfo, "<SEP#/>"); in HWTEST_F() 1371 rrc->DeserializeWantAgent(wantAgentInfo, type); in HWTEST_F() 1383 std::string wantAgentInfo = "sour<SEP#/>123"; in HWTEST_F() local 1385 std::vector<std::string> ret1 = rrc->StringSplit(wantAgentInfo, "<SEP#/>"); in HWTEST_F() 1387 rrc->DeserializeWantAgent(wantAgentInfo, type); in HWTEST_F() 1399 std::string wantAgentInfo in HWTEST_F() local 1415 std::string wantAgentInfo = "sour<SEP#/>123<SEP#/>uri"; HWTEST_F() local [all...] |
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | reminder_request.cpp | 572 void ReminderRequest::RecoverWantAgentByJson(const std::string& wantAgentInfo, const uint8_t& type) in RecoverWantAgentByJson() argument 574 nlohmann::json root = nlohmann::json::parse(wantAgentInfo, nullptr, false); in RecoverWantAgentByJson() 614 void ReminderRequest::DeserializeWantAgent(const std::string &wantAgentInfo, const uint8_t type) in DeserializeWantAgent() argument 616 if (nlohmann::json::accept(wantAgentInfo)) { in DeserializeWantAgent() 617 RecoverWantAgentByJson(wantAgentInfo, type); in DeserializeWantAgent() 620 std::vector<std::string> info = StringSplit(wantAgentInfo, ReminderRequest::SEP_WANT_AGENT); in DeserializeWantAgent() 732 ReminderRequest& ReminderRequest::SetWantAgentInfo(const std::shared_ptr<WantAgentInfo> &wantAgentInfo) in SetWantAgentInfo() argument 734 if (wantAgentInfo != nullptr) { in SetWantAgentInfo() 735 wantAgentInfo_ = wantAgentInfo; in SetWantAgentInfo() 1105 WRITE_STRING_RETURN_FALSE_LOG(parcel, wantAgentInfo_->abilityName, "wantAgentInfo' in Marshalling() [all...] |
H A D | reminder_request_calendar.cpp | 67 void ReminderRequestCalendar::SetRRuleWantAgentInfo(const std::shared_ptr<WantAgentInfo> &wantAgentInfo) in SetRRuleWantAgentInfo() argument 69 rruleWantAgentInfo_ = wantAgentInfo; in SetRRuleWantAgentInfo()
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | reminder_request.h | 761 * @param wantAgentInfo Indicates want agent information. 764 ReminderRequest& SetWantAgentInfo(const std::shared_ptr<WantAgentInfo> &wantAgentInfo); 931 void DeserializeWantAgent(const std::string& wantAgentInfo, const uint8_t type); 1100 void RecoverWantAgentByJson(const std::string& wantAgentInfo, const uint8_t& type);
|
H A D | reminder_request_calendar.h | 67 void SetRRuleWantAgentInfo(const std::shared_ptr<WantAgentInfo> &wantAgentInfo);
|
/base/usb/usb_manager/services/native/src/ |
H A D | usb_mass_storage_notification.cpp | 203 OHOS::AbilityRuntime::WantAgent::WantAgentInfo wantAgentInfo( in PublishUsbNotification() 208 auto wantAgent = OHOS::AbilityRuntime::WantAgent::WantAgentHelper::GetWantAgent(wantAgentInfo); in PublishUsbNotification()
|
/base/notification/distributed_notification_service/frameworks/js/napi/include/reminder/ |
H A D | reminder_common.h | 164 std::shared_ptr<ReminderRequest::WantAgentInfo>& wantAgentInfo);
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | publish.cpp | 296 WantAgentInfo wantAgentInfo(-1, WantAgentConstant::OperationType::START_ABILITY, wantAgentFlags, in ParseShowOptions() 301 WantAgentHelper::GetWantAgent(context, wantAgentInfo, wantAgent); in ParseShowOptions()
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | reminder_data_manager.cpp | 492 AbilityRuntime::WantAgent::WantAgentInfo wantAgentInfo( in CreateTimerInfo() 499 AbilityRuntime::WantAgent::WantAgentHelper::GetWantAgent(wantAgentInfo, 0); in CreateTimerInfo()
|