Home
last modified time | relevance | path

Searched refs:wantParams (Results 1 – 11 of 11) sorted by relevance

/base/telephony/call_manager/services/call/src/
Dcall_connect_ability.cpp40 AAFwk::WantParams wantParams; in ConnectAbility() local
41 wantParams.SetParam("accountNumber", AAFwk::String::Box(std::string(info.accountNumber))); in ConnectAbility()
42 wantParams.SetParam("videoState", AAFwk::Integer::Box(static_cast<int32_t>(info.videoState))); in ConnectAbility()
43 wantParams.SetParam("callType", AAFwk::Integer::Box(static_cast<int32_t>(info.callType))); in ConnectAbility()
44 wantParams.SetParam("callState", AAFwk::Integer::Box(static_cast<int32_t>(info.callState))); in ConnectAbility()
45 wantParams.SetParam("callId", AAFwk::Integer::Box(static_cast<int32_t>(info.callId))); in ConnectAbility()
46 wantParams.SetParam("startTime", AAFwk::Integer::Box(static_cast<int32_t>(info.startTime))); in ConnectAbility()
47 wantParams.SetParam("accountId", AAFwk::Integer::Box(static_cast<int32_t>(info.accountId))); in ConnectAbility()
48 wantParams.SetParam("isEcc", AAFwk::Integer::Box(static_cast<bool>(info.isEcc))); in ConnectAbility()
49wantParams.SetParam("conferenceState", AAFwk::Integer::Box(static_cast<int32_t>(info.conferenceSta… in ConnectAbility()
[all …]
/base/request/request/download/services/src/
Ddownload_background_notification.cpp37 AAFwk::WantParams wantParams; in PublishDownloadNotification() local
38 wantParams.SetParam("progressValue", AAFwk::Integer::Box(percent)); in PublishDownloadNotification()
39 wantParams.SetParam("fileName", AAFwk::String::Box(filePath)); in PublishDownloadNotification()
40 wantParams.SetParam("title", AAFwk::String::Box("Download")); in PublishDownloadNotification()
41 downloadTemplate->SetTemplateData(std::make_shared<AAFwk::WantParams>(wantParams)); in PublishDownloadNotification()
/base/account/os_account/interfaces/innerkits/ohosaccount/native/include/
Daccount_info.h112 AAFwk::WantParams wantParams = scalableData.GetParams(); in GetScalableDataString() local
113 for (auto it : wantParams.GetParams()) { in GetScalableDataString()
117 result += wantParams.GetStringByType(it.second, typeId); in GetScalableDataString()
/base/account/os_account/frameworks/appaccount/native/src/
Dapp_account_common.cpp101 sptr<AAFwk::WantParams> wantParams = parcel.ReadParcelable<AAFwk::WantParams>(); in ReadFromParcel() local
102 if (wantParams == nullptr) { in ReadFromParcel()
105 parameters = *wantParams; in ReadFromParcel()
/base/notification/common_event_service/interfaces/kits/napi/common_event/include/
Dcommon_event.h197 AAFwk::WantParams wantParams; member
385 …etParametersByPublish(const napi_env &env, const napi_value &value, AAFwk::WantParams &wantParams);
/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/include/
Dnapi_common_event.h197 AAFwk::WantParams wantParams; member
385 …etParametersByPublish(const napi_env &env, const napi_value &value, AAFwk::WantParams &wantParams);
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dcommon.cpp1920 AAFwk::WantParams wantParams; in GetNotificationExtraInfo() local
1921 if (!OHOS::AppExecFwk::UnwrapWantParams(env, result, wantParams)) { in GetNotificationExtraInfo()
1925 std::shared_ptr<AAFwk::WantParams> extras = std::make_shared<AAFwk::WantParams>(wantParams); in GetNotificationExtraInfo()
2453 AAFwk::WantParams wantParams; in GetNotificationActionButtonsDetailedByExtras() local
2454 if (!OHOS::AppExecFwk::UnwrapWantParams(env, result, wantParams)) { in GetNotificationActionButtonsDetailedByExtras()
2457 pActionButton->AddAdditionalData(wantParams); in GetNotificationActionButtonsDetailedByExtras()
2741 AAFwk::WantParams wantParams; in GetNotificationUserInputByAdditionalData() local
2742 if (!OHOS::AppExecFwk::UnwrapWantParams(env, result, wantParams)) { in GetNotificationUserInputByAdditionalData()
2745 userInput->AddAdditionalData(wantParams); in GetNotificationUserInputByAdditionalData()
4627 AAFwk::WantParams wantParams; in GetNotificationTemplateInfo() local
[all …]
/base/notification/common_event_service/interfaces/kits/napi/common_event/src/
Dcommon_event.cpp131 AAFwk::WantParams wantParams = commonEventDataWorkerData->want.GetParams(); in SetCommonEventData() local
133 wantParamsValue = OHOS::AppExecFwk::WrapWantParams(commonEventDataWorkerData->env, wantParams); in SetCommonEventData()
2245 …GetParametersByPublish(const napi_env &env, const napi_value &value, AAFwk::WantParams &wantParams) in GetParametersByPublish() argument
2261 if (!OHOS::AppExecFwk::UnwrapWantParams(env, result, wantParams)) { in GetParametersByPublish()
2320 if (GetParametersByPublish(env, argv[1], commonEventPublishData.wantParams) == nullptr) { in ParseParametersByPublish()
2349 want.SetParams(commonEventPublishDatajs.wantParams); in PaddingCallbackInfoPublish()
2495 if (GetParametersByPublish(env, argv[2], commonEventPublishData.wantParams) == nullptr) { in ParseParametersByPublishAsUser()
/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/
Dnapi_common_event.cpp150 AAFwk::WantParams wantParams = commonEventDataWorkerData->want.GetParams(); in SetCommonEventData() local
152 wantParamsValue = OHOS::AppExecFwk::WrapWantParams(commonEventDataWorkerData->env, wantParams); in SetCommonEventData()
2239 …GetParametersByPublish(const napi_env &env, const napi_value &value, AAFwk::WantParams &wantParams) in GetParametersByPublish() argument
2255 if (!OHOS::AppExecFwk::UnwrapWantParams(env, result, wantParams)) { in GetParametersByPublish()
2315 if (GetParametersByPublish(env, argv[1], commonEventPublishData.wantParams) == nullptr) { in ParseParametersByPublish()
2342 want.SetParams(commonEventPublishDatajs.wantParams); in PaddingCallbackInfoPublish()
2486 …if (GetParametersByPublish(env, argv[ARGS_DATA_TWO], commonEventPublishData.wantParams) == nullptr… in ParseParametersByPublishAsUser()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_innerkits_module_publish_test.cpp1286 AAFwk::WantParams wantParams; variable
1289 wantParams.SetParam(key, AAFwk::Integer::Box(resultValue));
1290 notiTemplate->SetTemplateData(std::make_shared<AAFwk::WantParams>(wantParams));
/base/telephony/call_manager/frameworks/js/napi/src/
Dnapi_call_manager.cpp2963 AAFwk::WantParams wantParams; in NativeMakeCall() local
2964 wantParams.SetParam("phoneNumber", AAFwk::String::Box(phoneNumber)); in NativeMakeCall()
2965 wantParams.SetParam("pageFlag", AAFwk::String::Box("page_flag_edit_before_calling")); in NativeMakeCall()
2966 want.SetParams(wantParams); in NativeMakeCall()