Home
last modified time | relevance | path

Searched refs:wantParams (Results 1 - 25 of 324) sorted by relevance

12345678910>>...13

/foundation/ability/dmsfwk/test/fuzztest/distributedwantparams_fuzzer/
H A Ddistributedwantparams_fuzzer.cpp61 std::shared_ptr<DistributedWantParams> wantParams = std::make_shared<DistributedWantParams>(wantOther); in DoSomethingInterestingWithMyAPI_DistributedWantParams_001() local
63 wantParams->SetParam(key, array); in DoSomethingInterestingWithMyAPI_DistributedWantParams_001()
66 wantParams->NewArrayData(iarray, destAO); in DoSomethingInterestingWithMyAPI_DistributedWantParams_001()
68 wantParams->Remove(key); in DoSomethingInterestingWithMyAPI_DistributedWantParams_001()
69 wantParams->SetParam(key, stringIt); in DoSomethingInterestingWithMyAPI_DistributedWantParams_001()
70 wantParams->KeySet(); in DoSomethingInterestingWithMyAPI_DistributedWantParams_001()
71 wantParams->HasParam(key); in DoSomethingInterestingWithMyAPI_DistributedWantParams_001()
72 wantParams->IsEmpty(); in DoSomethingInterestingWithMyAPI_DistributedWantParams_001()
73 wantParams->GetParams(); in DoSomethingInterestingWithMyAPI_DistributedWantParams_001()
83 std::shared_ptr<DistributedWantParams> wantParams in DoSomethingInterestingWithMyAPI_DistributedWantParams_002() local
123 std::shared_ptr<DistributedWantParams> wantParams = std::make_shared<DistributedWantParams>(wantOther); DoSomethingInterestingWithMyAPI_DistributedWantParams_003() local
175 std::shared_ptr<DistributedWantParams> wantParams = std::make_shared<DistributedWantParams>(wantOther); DoSomethingInterestingWithMyAPI_DistributedWantParams_004() local
[all...]
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/distributedWant/
H A Ddistributed_want_params_wrapper_test.cpp74 DistributedWantParams wantParams; in HWTEST_F() local
75 ErrCode result = wantParamWrapperPtr_->GetValue(wantParams); in HWTEST_F()
79 EXPECT_EQ(wantParams_ == wantParams, true); in HWTEST_F()
90 DistributedWantParams wantParams; in HWTEST_F() local
91 ErrCode result = wantParamWrapperPtr_->GetValue(wantParams); in HWTEST_F()
109 DistributedWantParams wantParams; in HWTEST_F() local
110 wantParams.SetParam(STRING_WANT_PARAMS_KEY_01, String::Box(STRING_WANT_PARAMS_VALUE_01)); in HWTEST_F()
111 DistributedWantParamWrapper wantParamWrapper(wantParams); in HWTEST_F()
126 DistributedWantParams wantParams; in HWTEST_F() local
127 DistributedWantParamWrapper wantParamWrapper(wantParams); in HWTEST_F()
143 DistributedWantParams wantParams; HWTEST_F() local
162 DistributedWantParams wantParams; HWTEST_F() local
182 auto wantParams = DistributedWantParamWrapper::Unbox(wantParamsPtr); HWTEST_F() local
194 auto wantParams = DistributedWantParamWrapper::Unbox(nullptr); HWTEST_F() local
259 auto wantParams = DistributedWantParamWrapper::Unbox(wantParamsPtr); HWTEST_F() local
276 auto wantParams = DistributedWantParamWrapper::Unbox(wantParamsPtr); HWTEST_F() local
304 DistributedWantParams wantParams = {}; HWTEST_F() local
319 DistributedWantParams wantParams = {}; HWTEST_F() local
343 auto wantParams = DistributedWantParamWrapper::Unbox(wantParamsPtr); HWTEST_F() local
[all...]
/foundation/ability/ability_base/test/unittest/want/
H A Dwant_params_wrapper_test.cpp72 WantParams wantParams; in HWTEST_F() local
73 ErrCode result = wantParamWrapperPtr_->GetValue(wantParams); in HWTEST_F()
77 EXPECT_EQ(wantParams_ == wantParams, true); in HWTEST_F()
87 WantParams wantParams; in HWTEST_F() local
88 ErrCode result = wantParamWrapperPtr_->GetValue(wantParams); in HWTEST_F()
105 WantParams wantParams; in HWTEST_F() local
106 wantParams.SetParam(STRING_WANT_PARAMS_KEY_01, String::Box(STRING_WANT_PARAMS_VALUE_01)); in HWTEST_F()
107 WantParamWrapper wantParamWrapper(wantParams); in HWTEST_F()
121 WantParams wantParams; in HWTEST_F() local
122 WantParamWrapper wantParamWrapper(wantParams); in HWTEST_F()
138 WantParams wantParams; HWTEST_F() local
157 WantParams wantParams; HWTEST_F() local
177 auto wantParams = WantParamWrapper::Unbox(wantParamsPtr); HWTEST_F() local
189 auto wantParams = WantParamWrapper::Unbox(nullptr); HWTEST_F() local
254 auto wantParams = WantParamWrapper::Unbox(wantParamsPtr); HWTEST_F() local
271 auto wantParams = WantParamWrapper::Unbox(wantParamsPtr); HWTEST_F() local
298 WantParams wantParams = {}; HWTEST_F() local
313 WantParams wantParams = {}; HWTEST_F() local
336 auto wantParams = WantParamWrapper::Unbox(wantParamsPtr); HWTEST_F() local
[all...]
/foundation/ability/ability_base/test/fuzztest/wantparamssecond_fuzzer/
H A Dwantparamssecond_fuzzer.cpp43 std::shared_ptr<WantParams> wantParams = std::make_shared<WantParams>(wantOther); in DoSomethingInterestingWithMyAPI() local
46 wantParams->WriteArrayToParcelChar(parcel, ao); in DoSomethingInterestingWithMyAPI()
47 wantParams->WriteArrayToParcelShort(parcel, ao); in DoSomethingInterestingWithMyAPI()
48 wantParams->WriteToParcelFD(parcel, wantOther); in DoSomethingInterestingWithMyAPI()
49 wantParams->WriteToParcelRemoteObject(parcel, wantOther); in DoSomethingInterestingWithMyAPI()
52 wantParams->WriteToParcelFloat(parcel, floatIt); in DoSomethingInterestingWithMyAPI()
54 wantParams->WriteArrayToParcelWantParams(parcel, ao, depth); in DoSomethingInterestingWithMyAPI()
56 wantParams->ReadFromParcelArrayChar(parcel, array); in DoSomethingInterestingWithMyAPI()
57 wantParams->ReadFromParcelArrayShort(parcel, array); in DoSomethingInterestingWithMyAPI()
60 wantParams in DoSomethingInterestingWithMyAPI()
[all...]
/foundation/ability/ability_runtime/test/unittest/insight_intent/insight_intent_execute_param_test/
H A Dinsight_intent_execute_param_test.cpp69 WantParams wantParams; in HWTEST_F() local
70 wantParams.SetParam(AppExecFwk::INSIGHT_INTENT_EXECUTE_PARAM_NAME, AAFwk::String::Box(TEST_INSIGHT_INTENT_NANE)); in HWTEST_F()
71 wantParams.SetParam(AppExecFwk::INSIGHT_INTENT_EXECUTE_PARAM_ID, AAFwk::String::Box("1")); in HWTEST_F()
72 wantParams.SetParam(Want::PARAM_RESV_CALLER_TOKEN, Integer::Box(1000)); in HWTEST_F()
73 wantParams.SetParam(Want::PARAM_RESV_CALLER_UID, Integer::Box(1001)); in HWTEST_F()
74 wantParams.SetParam(Want::PARAM_RESV_CALLER_PID, Integer::Box(1002)); in HWTEST_F()
75 wantParams.SetParam(Want::PARAM_RESV_CALLER_BUNDLE_NAME, AAFwk::String::Box(TEST_CALLER_BUNDLE_NANE)); in HWTEST_F()
79 wantParams.SetParam(AppExecFwk::INSIGHT_INTENT_EXECUTE_PARAM_PARAM, WantParamWrapper::Box(insightIntentParam)); in HWTEST_F()
83 want.SetParams(wantParams); in HWTEST_F()
116 WantParams wantParams; in HWTEST_F() local
[all...]
/foundation/ability/ability_base/test/fuzztest/wantparamsthird_fuzzer/
H A Dwantparamsthird_fuzzer.cpp45 std::shared_ptr<WantParams> wantParams = std::make_shared<WantParams>(wantOther); in DoSomethingInterestingWithMyAPI() local
49 wantParams->WriteToParcelChar(parcel, charIt); in DoSomethingInterestingWithMyAPI()
52 wantParams->WriteToParcelShort(parcel, shortIt); in DoSomethingInterestingWithMyAPI()
55 wantParams->WriteToParcelDouble(parcel, doubleIt); in DoSomethingInterestingWithMyAPI()
57 wantParams->WriteArrayToParcelString(parcel, ao); in DoSomethingInterestingWithMyAPI()
58 wantParams->WriteArrayToParcelBool(parcel, ao); in DoSomethingInterestingWithMyAPI()
59 wantParams->WriteArrayToParcelByte(parcel, ao); in DoSomethingInterestingWithMyAPI()
60 wantParams->WriteArrayToParcelInt(parcel, ao); in DoSomethingInterestingWithMyAPI()
61 wantParams->WriteArrayToParcelLong(parcel, ao); in DoSomethingInterestingWithMyAPI()
62 wantParams in DoSomethingInterestingWithMyAPI()
[all...]
/foundation/filemanagement/storage_service/services/storage_manager/volume/src/
H A Dnotification.cpp36 AAFwk::WantParams wantParams; in NotifyVolumeChange() local
41 wantParams.SetParam("id", AAFwk::String::Box(volume->GetId())); in NotifyVolumeChange()
42 wantParams.SetParam("diskId", AAFwk::String::Box(volume->GetDiskId())); in NotifyVolumeChange()
43 wantParams.SetParam("fsUuid", AAFwk::String::Box(volume->GetUuid())); in NotifyVolumeChange()
44 wantParams.SetParam("flags", AAFwk::Integer::Box(volume->GetFlags())); in NotifyVolumeChange()
52 wantParams.SetParam("volumeState", AAFwk::Integer::Box(UNMOUNTED)); in NotifyVolumeChange()
57 wantParams.SetParam("volumeState", AAFwk::Integer::Box(MOUNTED)); in NotifyVolumeChange()
58 wantParams.SetParam("path", AAFwk::String::Box(volume->GetPath())); in NotifyVolumeChange()
59 wantParams.SetParam("fsType", AAFwk::Integer::Box(volume->GetFsType())); in NotifyVolumeChange()
68 wantParams in NotifyVolumeChange()
[all...]
/foundation/ability/form_fwk/test/unittest/fms_form_render_connection_test/
H A Dfms_form_render_connection_test.cpp59 WantParams wantParams; in HWTEST_F() local
60 auto formRenderConnection = new (std::nothrow) FormRenderConnection(formRecord, wantParams); in HWTEST_F()
78 WantParams wantParams; in HWTEST_F() local
79 auto formRenderConnection = new (std::nothrow) FormRenderConnection(formRecord, wantParams); in HWTEST_F()
98 WantParams wantParams; in HWTEST_F() local
99 auto formRenderConnection = new (std::nothrow) FormRenderConnection(formRecord, wantParams); in HWTEST_F()
118 WantParams wantParams; in HWTEST_F() local
119 auto formRenderConnection = new (std::nothrow) FormRenderConnection(formRecord, wantParams); in HWTEST_F()
138 WantParams wantParams; in HWTEST_F() local
139 auto formRenderConnection = new (std::nothrow) FormRenderConnection(formRecord, wantParams); in HWTEST_F()
158 WantParams wantParams; HWTEST_F() local
178 WantParams wantParams; HWTEST_F() local
198 WantParams wantParams; HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dinsight_intent_execute_param.cpp31 std::shared_ptr<WantParams> wantParams(parcel.ReadParcelable<WantParams>()); in ReadFromParcel()
32 if (wantParams == nullptr) { in ReadFromParcel()
35 insightIntentParam_ = wantParams; in ReadFromParcel()
80 const WantParams &wantParams = want.GetParams(); in GenerateFromWant() local
81 if (!wantParams.HasParam(INSIGHT_INTENT_EXECUTE_PARAM_NAME)) { in GenerateFromWant()
87 insightIntentId = std::stoull(wantParams.GetStringParam(INSIGHT_INTENT_EXECUTE_PARAM_ID)); in GenerateFromWant()
97 executeParam.insightIntentName_ = wantParams.GetStringParam(INSIGHT_INTENT_EXECUTE_PARAM_NAME); in GenerateFromWant()
99 executeParam.executeMode_ = wantParams.GetIntParam(INSIGHT_INTENT_EXECUTE_PARAM_MODE, 0); in GenerateFromWant()
101 auto insightIntentParam = wantParams.GetWantParams(INSIGHT_INTENT_EXECUTE_PARAM_PARAM); in GenerateFromWant()
102 UpdateInsightIntentCallerInfo(wantParams, insightIntentPara in GenerateFromWant()
129 UpdateInsightIntentCallerInfo(const WantParams &wantParams, WantParams &insightIntentParam) UpdateInsightIntentCallerInfo() argument
[all...]
H A Dpending_want_record.cpp70 WantParams wantParams = {}; in SenderInner() local
71 senderInfo.finishedReceiver->PerformReceive(want, senderInfo.code, "canceled", wantParams, false, false, 0); in SenderInner()
92 WantParams wantParams = {}; in SenderInner() local
93 senderInfo.finishedReceiver->PerformReceive(want, res, "", wantParams, false, false, 0); in SenderInner()
142 WantParams wantParams = want.GetParams(); in BuildSendWant() local
147 wantParams.SetParam(sendInfoWantParamKey, mapIter->second); in BuildSendWant()
151 if (!wantParams.HasParam("ohos.extra.param.key.appCloneIndex")) { in BuildSendWant()
152 wantParams.SetParam("ohos.extra.param.key.appCloneIndex", Integer::Box(key_->GetAppIndex())); in BuildSendWant()
154 CheckAppInstanceKey(want.GetBundle(), wantParams); in BuildSendWant()
155 want.SetParams(wantParams); in BuildSendWant()
187 CheckAppInstanceKey(const std::string& bundleName, WantParams &wantParams) CheckAppInstanceKey() argument
[all...]
/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/
H A Dcommon_want.cpp61 bool InnerUnwrapJS(napi_env env, napi_value param, AAFwk::WantParams &wantParams, std::string strProName) in InnerUnwrapJS() argument
70 wantParams.SetParam(strProName, AAFwk::String::Box(natValue)); in InnerUnwrapJS()
76 wantParams.SetParam(strProName, AAFwk::Boolean::Box(natValue)); in InnerUnwrapJS()
92 wantParams.SetParam(strProName, AAFwk::Double::Box(natValueDouble)); in InnerUnwrapJS()
94 wantParams.SetParam(strProName, AAFwk::Integer::Box(natValue32)); in InnerUnwrapJS()
97 wantParams.SetParam(strProName, AAFwk::Integer::Box(natValue32)); in InnerUnwrapJS()
99 wantParams.SetParam(strProName, AAFwk::Double::Box(natValueDouble)); in InnerUnwrapJS()
113 bool UnwrapWantParams(napi_env env, napi_value param, AAFwk::WantParams &wantParams) in UnwrapWantParams() argument
142 if (!InnerUnwrapJS(env, param, wantParams, strProName)) { in UnwrapWantParams()
150 napi_env env, napi_value jsObject, const std::string &key, const AAFwk::WantParams &wantParams) in InnerWrapWantParamsString()
149 InnerWrapWantParamsString( napi_env env, napi_value jsObject, const std::string &key, const AAFwk::WantParams &wantParams) InnerWrapWantParamsString() argument
169 InnerWrapWantParamsBool( napi_env env, napi_value jsObject, const std::string &key, const AAFwk::WantParams &wantParams) InnerWrapWantParamsBool() argument
189 InnerWrapWantParamsInt( napi_env env, napi_value jsObject, const std::string &key, const AAFwk::WantParams &wantParams) InnerWrapWantParamsInt() argument
209 InnerWrapWantParamsDouble( napi_env env, napi_value jsObject, const std::string &key, const AAFwk::WantParams &wantParams) InnerWrapWantParamsDouble() argument
229 WrapWantParams(napi_env env, const AAFwk::WantParams &wantParams) WrapWantParams() argument
[all...]
/foundation/ability/ability_base/test/fuzztest/wantparamsfirst_fuzzer/
H A Dwantparamsfirst_fuzzer.cpp47 std::shared_ptr<WantParams> wantParams = std::make_shared<WantParams>(wantOther); in DoSomethingInterestingWithMyAPI() local
51 wantParams->SetParam(key, stringIt); in DoSomethingInterestingWithMyAPI()
52 wantParams->GetWantParams(key); in DoSomethingInterestingWithMyAPI()
53 wantParams->GetStringParam(key); in DoSomethingInterestingWithMyAPI()
55 wantParams->GetIntParam(key, defaultValue); in DoSomethingInterestingWithMyAPI()
56 wantParams->KeySet(); in DoSomethingInterestingWithMyAPI()
57 wantParams->HasParam(key); in DoSomethingInterestingWithMyAPI()
58 wantParams->IsEmpty(); in DoSomethingInterestingWithMyAPI()
60 wantParams->DumpInfo(level); in DoSomethingInterestingWithMyAPI()
64 wantParams in DoSomethingInterestingWithMyAPI()
[all...]
/foundation/arkui/ace_engine/interfaces/napi/kits/plugincomponent/
H A Djs_plugin_want.cpp93 napi_env env, napi_value jsObject, const std::string& key, const AAFwk::WantParams& wantParams) in AceInnerWrapWantParamsChar()
95 auto value = wantParams.GetParam(key); in AceInnerWrapWantParamsChar()
109 napi_env env, napi_value jsObject, const std::string& key, const AAFwk::WantParams& wantParams) in AceInnerWrapWantParamsString()
111 auto value = wantParams.GetParam(key); in AceInnerWrapWantParamsString()
125 napi_env env, napi_value jsObject, const std::string& key, const AAFwk::WantParams& wantParams) in AceInnerWrapWantParamsBool()
127 auto value = wantParams.GetParam(key); in AceInnerWrapWantParamsBool()
141 napi_env env, napi_value jsObject, const std::string& key, const AAFwk::WantParams& wantParams) in AceInnerWrapWantParamsByte()
143 auto value = wantParams.GetParam(key); in AceInnerWrapWantParamsByte()
157 napi_env env, napi_value jsObject, const std::string& key, const AAFwk::WantParams& wantParams) in AceInnerWrapWantParamsShort()
159 auto value = wantParams in AceInnerWrapWantParamsShort()
92 AceInnerWrapWantParamsChar( napi_env env, napi_value jsObject, const std::string& key, const AAFwk::WantParams& wantParams) AceInnerWrapWantParamsChar() argument
108 AceInnerWrapWantParamsString( napi_env env, napi_value jsObject, const std::string& key, const AAFwk::WantParams& wantParams) AceInnerWrapWantParamsString() argument
124 AceInnerWrapWantParamsBool( napi_env env, napi_value jsObject, const std::string& key, const AAFwk::WantParams& wantParams) AceInnerWrapWantParamsBool() argument
140 AceInnerWrapWantParamsByte( napi_env env, napi_value jsObject, const std::string& key, const AAFwk::WantParams& wantParams) AceInnerWrapWantParamsByte() argument
156 AceInnerWrapWantParamsShort( napi_env env, napi_value jsObject, const std::string& key, const AAFwk::WantParams& wantParams) AceInnerWrapWantParamsShort() argument
172 AceInnerWrapWantParamsInt32( napi_env env, napi_value jsObject, const std::string& key, const AAFwk::WantParams& wantParams) AceInnerWrapWantParamsInt32() argument
188 AceInnerWrapWantParamsInt64( napi_env env, napi_value jsObject, const std::string& key, const AAFwk::WantParams& wantParams) AceInnerWrapWantParamsInt64() argument
204 AceInnerWrapWantParamsFloat( napi_env env, napi_value jsObject, const std::string& key, const AAFwk::WantParams& wantParams) AceInnerWrapWantParamsFloat() argument
220 AceInnerWrapWantParamsDouble( napi_env env, napi_value jsObject, const std::string& key, const AAFwk::WantParams& wantParams) AceInnerWrapWantParamsDouble() argument
236 AceInnerWrapWantParamsWantParams( napi_env env, napi_value jsObject, const std::string& key, const AAFwk::WantParams& wantParams) AceInnerWrapWantParamsWantParams() argument
517 AceWrapWantParams(napi_env env, const AAFwk::WantParams& wantParams) AceWrapWantParams() argument
557 AceInnerSetWantParamsArrayString( const std::string& key, const std::vector<std::string>& value, AAFwk::WantParams& wantParams) AceInnerSetWantParamsArrayString() argument
573 AceInnerSetWantParamsArrayInt(const std::string& key, const std::vector<int>& value, AAFwk::WantParams& wantParams) AceInnerSetWantParamsArrayInt() argument
588 AceInnerSetWantParamsArrayLong( const std::string& key, const std::vector<int64_t>& value, AAFwk::WantParams& wantParams) AceInnerSetWantParamsArrayLong() argument
604 AceInnerSetWantParamsArrayBool( const std::string& key, const std::vector<bool>& value, AAFwk::WantParams& wantParams) AceInnerSetWantParamsArrayBool() argument
620 AceInnerSetWantParamsArrayDouble( const std::string& key, const std::vector<double>& value, AAFwk::WantParams& wantParams) AceInnerSetWantParamsArrayDouble() argument
636 AceInnerUnwrapWantParamsArray( napi_env env, const std::string& key, napi_value param, AAFwk::WantParams& wantParams) AceInnerUnwrapWantParamsArray() argument
663 AceInnerUnwrapWantParams(napi_env env, const std::string& key, napi_value param, AAFwk::WantParams& wantParams) AceInnerUnwrapWantParams() argument
677 AceUnwrapParamsNumber(napi_env env, napi_value jsProValue, const std::string& key, AAFwk::WantParams& wantParams) AceUnwrapParamsNumber() argument
704 AceUnwrapWantParams(napi_env env, napi_value param, AAFwk::WantParams& wantParams) AceUnwrapWantParams() argument
859 AAFwk::WantParams wantParams; AceUnwrapWant() local
[all...]
/foundation/ability/ability_runtime/test/fuzztest/continuemission_fuzzer/
H A Dcontinuemission_fuzzer.cpp49 WantParams* wantParams = nullptr; in DoSomethingInterestingWithMyAPI() local
51 WantParams* wantParams = WantParams::Unmarshalling(paramsParcel); in DoSomethingInterestingWithMyAPI() local
52 if (wantParams) { in DoSomethingInterestingWithMyAPI()
53 abilitymgr->ContinueMission(srcDeviceId, dstDeviceId, missionId, callback, *wantParams); in DoSomethingInterestingWithMyAPI()
57 if (wantParams) { in DoSomethingInterestingWithMyAPI()
58 delete wantParams; in DoSomethingInterestingWithMyAPI()
59 wantParams = nullptr; in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/
H A Dnapi_common_want.cpp116 napi_env env, napi_value jsObject, const std::string &key, const AAFwk::WantParams &wantParams) in InnerWrapWantParamsChar()
118 auto value = wantParams.GetParam(key); in InnerWrapWantParamsChar()
135 napi_env env, napi_value jsObject, const std::string &key, const AAFwk::WantParams &wantParams) in InnerWrapWantParamsString()
137 auto value = wantParams.GetParam(key); in InnerWrapWantParamsString()
154 napi_env env, napi_value jsObject, const std::string &key, const AAFwk::WantParams &wantParams) in InnerWrapWantParamsBool()
156 auto value = wantParams.GetParam(key); in InnerWrapWantParamsBool()
173 napi_env env, napi_value jsObject, const std::string &key, const AAFwk::WantParams &wantParams) in InnerWrapWantParamsByte()
175 auto value = wantParams.GetParam(key); in InnerWrapWantParamsByte()
192 napi_env env, napi_value jsObject, const std::string &key, const AAFwk::WantParams &wantParams) in InnerWrapWantParamsShort()
194 auto value = wantParams in InnerWrapWantParamsShort()
115 InnerWrapWantParamsChar( napi_env env, napi_value jsObject, const std::string &key, const AAFwk::WantParams &wantParams) InnerWrapWantParamsChar() argument
134 InnerWrapWantParamsString( napi_env env, napi_value jsObject, const std::string &key, const AAFwk::WantParams &wantParams) InnerWrapWantParamsString() argument
153 InnerWrapWantParamsBool( napi_env env, napi_value jsObject, const std::string &key, const AAFwk::WantParams &wantParams) InnerWrapWantParamsBool() argument
172 InnerWrapWantParamsByte( napi_env env, napi_value jsObject, const std::string &key, const AAFwk::WantParams &wantParams) InnerWrapWantParamsByte() argument
191 InnerWrapWantParamsShort( napi_env env, napi_value jsObject, const std::string &key, const AAFwk::WantParams &wantParams) InnerWrapWantParamsShort() argument
210 InnerWrapWantParamsInt32( napi_env env, napi_value jsObject, const std::string &key, const AAFwk::WantParams &wantParams) InnerWrapWantParamsInt32() argument
229 InnerWrapWantParamsInt64( napi_env env, napi_value jsObject, const std::string &key, const AAFwk::WantParams &wantParams) InnerWrapWantParamsInt64() argument
248 InnerWrapWantParamsFloat( napi_env env, napi_value jsObject, const std::string &key, const AAFwk::WantParams &wantParams) InnerWrapWantParamsFloat() argument
267 InnerWrapWantParamsDouble( napi_env env, napi_value jsObject, const std::string &key, const AAFwk::WantParams &wantParams) InnerWrapWantParamsDouble() argument
287 InnerWrapWantParamsWantParams( napi_env env, napi_value jsObject, const std::string &key, const AAFwk::WantParams &wantParams) InnerWrapWantParamsWantParams() argument
307 InnerWrapWantParamsRemoteObject( napi_env env, napi_value jsObject, const std::string &key, const AAFwk::WantParams &wantParams) InnerWrapWantParamsRemoteObject() argument
637 WrapWantParams(napi_env env, const AAFwk::WantParams &wantParams) WrapWantParams() argument
679 InnerSetWantParamsArrayObject(napi_env env, const std::string &key, const std::vector<napi_value> &value, AAFwk::WantParams &wantParams) InnerSetWantParamsArrayObject() argument
697 InnerSetWantParamsArrayString( const std::string &key, const std::vector<std::string> &value, AAFwk::WantParams &wantParams) InnerSetWantParamsArrayString() argument
714 InnerSetWantParamsArrayInt(const std::string &key, const std::vector<int> &value, AAFwk::WantParams &wantParams) InnerSetWantParamsArrayInt() argument
729 InnerSetWantParamsArrayLong(const std::string &key, const std::vector<long> &value, AAFwk::WantParams &wantParams) InnerSetWantParamsArrayLong() argument
744 InnerSetWantParamsArrayBool(const std::string &key, const std::vector<bool> &value, AAFwk::WantParams &wantParams) InnerSetWantParamsArrayBool() argument
759 InnerSetWantParamsArrayDouble( const std::string &key, const std::vector<double> &value, AAFwk::WantParams &wantParams) InnerSetWantParamsArrayDouble() argument
775 InnerUnwrapWantParamsArray(napi_env env, const std::string &key, napi_value param, AAFwk::WantParams &wantParams) InnerUnwrapWantParamsArray() argument
804 InnerUnwrapWantParams(napi_env env, const std::string &key, napi_value param, AAFwk::WantParams &wantParams) InnerUnwrapWantParams() argument
819 InnerUnwrapWantParamsNumber(napi_env env, const std::string &key, napi_value param, AAFwk::WantParams &wantParams) InnerUnwrapWantParamsNumber() argument
857 UnwrapWantParams(napi_env env, napi_value param, AAFwk::WantParams &wantParams) UnwrapWantParams() argument
913 HandleNapiObject(napi_env env, napi_value param, napi_value jsProValue, std::string &strProName, AAFwk::WantParams &wantParams) HandleNapiObject() argument
978 HandleFdObject(napi_env env, napi_value param, std::string &strProName, AAFwk::WantParams &wantParams) HandleFdObject() argument
997 HandleRemoteObject(napi_env env, napi_value param, std::string &strProName, AAFwk::WantParams &wantParams) HandleRemoteObject() argument
1128 AAFwk::WantParams wantParams; UnwrapWant() local
1229 CreateJsWantParams(napi_env env, const AAFwk::WantParams &wantParams) CreateJsWantParams() argument
1276 InnerWrapJsWantParamsWantParams( napi_env env, napi_value object, const std::string &key, const AAFwk::WantParams &wantParams) InnerWrapJsWantParamsWantParams() argument
[all...]
H A Dnapi_common_want.h34 napi_value WrapWantParams(napi_env env, const AAFwk::WantParams &wantParams);
35 bool UnwrapWantParams(napi_env env, napi_value param, AAFwk::WantParams &wantParams);
45 AAFwk::WantParams &wantParams);
50 bool HandleFdObject(napi_env env, napi_value param, std::string &strProName, AAFwk::WantParams &wantParams);
52 bool HandleRemoteObject(napi_env env, napi_value param, std::string &strProName, AAFwk::WantParams &wantParams);
55 napi_value CreateJsWantParams(napi_env env, const AAFwk::WantParams &wantParams);
58 bool InnerWrapJsWantParams(napi_env env, napi_value object, const std::string &key, const AAFwk::WantParams &wantParams) in InnerWrapJsWantParams() argument
60 auto value = wantParams.GetParam(key); in InnerWrapJsWantParams()
72 napi_env env, napi_value object, const std::string &key, const AAFwk::WantParams &wantParams);
/foundation/ability/ability_base/interfaces/kits/native/want/src/
H A Dwant_params_wrapper.cpp130 WantParams wantParams; in Parse() local
148 wantParams.SetParam(key, WantParamWrapper::Parse(str.substr(strnum, num - strnum + 1))); in Parse()
166 wantParams.SetParam(key, in Parse()
175 sptr<IWantParams> iwantParams = new (std::nothrow) WantParamWrapper(wantParams); in Parse()
181 WantParams wantParams; in ParseWantParams() local
185 return wantParams; in ParseWantParams()
201 wantParams.SetParam(key, WantParamWrapper::Parse(str.substr(strnum, num - strnum))); in ParseWantParams()
214 return wantParams; in ParseWantParams()
219 wantParams.SetParam(key, in ParseWantParams()
227 return wantParams; in ParseWantParams()
232 WantParams wantParams; ParseWantParamsWithBrackets() local
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/
H A Dextension_connect_adaptor.cpp36 AAFwk::WantParams &wantParams) in DoConnect()
43 callback_->AsObject(), wantParams); in DoConnect()
56 AAFwk::WantParams &wantParams, int maxWaitTime) in TryAndWait()
61 [&uri, &bundleName, &strategy, &wantParams]() { in TryAndWait()
62 return strategy.DoConnect(uri, bundleName, wantParams); in TryAndWait()
35 DoConnect(const std::string &uri, const std::string &bundleName, AAFwk::WantParams &wantParams) DoConnect() argument
55 TryAndWait(const std::string &uri, const std::string &bundleName, AAFwk::WantParams &wantParams, int maxWaitTime) TryAndWait() argument
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/
H A Dui_extension_proxy.cpp26 void UIExtensionProxy::SendData(const RefPtr<WantParamsWrap>& wantParams) in SendData() argument
29 auto params = DynamicCast<WantParamsWrapOhos>(wantParams)->GetWantParams(); in SendData()
33 int32_t UIExtensionProxy::SendDataSync(const RefPtr<WantParamsWrap>& wantParams, AAFwk::WantParams& reWantParams) in SendDataSync() argument
35 auto params = DynamicCast<WantParamsWrapOhos>(wantParams)->GetWantParams(); in SendDataSync()
H A Dsecurity_ui_extension_proxy.cpp27 void SecurityUIExtensionProxy::SendData(const RefPtr<WantParamsWrap>& wantParams) in SendData() argument
30 auto params = DynamicCast<WantParamsWrapOhos>(wantParams)->GetWantParams(); in SendData()
35 const RefPtr<WantParamsWrap>& wantParams, AAFwk::WantParams& reWantParams) in SendDataSync()
37 auto params = DynamicCast<WantParamsWrapOhos>(wantParams)->GetWantParams(); in SendDataSync()
34 SendDataSync( const RefPtr<WantParamsWrap>& wantParams, AAFwk::WantParams& reWantParams) SendDataSync() argument
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/continue/
H A Ddsched_continue_manager_test.cpp119 OHOS::AAFwk::WantParams wantParams; in HWTEST_F() local
122 callback, wantParams); in HWTEST_F()
135 OHOS::AAFwk::WantParams wantParams; in HWTEST_F() local
137 DSchedContinueManager::GetInstance().HandleContinueMission("", REMOTE_DEVICEID, MISSION_ID, callback, wantParams); in HWTEST_F()
138 DSchedContinueManager::GetInstance().HandleContinueMission(LOCAL_DEVICEID, "", MISSION_ID, callback, wantParams); in HWTEST_F()
140 nullptr, wantParams); in HWTEST_F()
144 callback, wantParams); in HWTEST_F()
148 callback, wantParams); in HWTEST_F()
151 callback, wantParams); in HWTEST_F()
155 nullptr, wantParams); in HWTEST_F()
173 OHOS::AAFwk::WantParams wantParams; HWTEST_F() local
218 OHOS::AAFwk::WantParams wantParams; HWTEST_F() local
225 callback, wantParams); HWTEST_F() local
228 nullptr, wantParams); HWTEST_F() local
233 callback, wantParams); HWTEST_F() local
486 OHOS::AAFwk::WantParams wantParams; HWTEST_F() local
513 OHOS::AAFwk::WantParams wantParams; HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dai_write_adapter.cpp144 (const AAFwk::WantParams& wantParams) { in BindModalUIExtensionCallback()
149 auto result = aiWriteAdapter->GetBufferParam(RESULT_BUFFER, wantParams); in BindModalUIExtensionCallback()
150 isSheetClose = aiWriteAdapter->GetBoolParam(SHEET_DISMISS, wantParams); in BindModalUIExtensionCallback()
151 isRequest = aiWriteAdapter->GetBoolParam(REQUEST_LONG_CONTENT, wantParams); in BindModalUIExtensionCallback()
169 AAFwk::WantParams wantParams; in SendData() local
170 SetArrayParam(wantParams, LONG_SENTENCE_BUFFER, aiWriteInfo_.sentenceBuffer); in SendData()
171 wantParams.SetParam(LONG_SELECT_START, AAFwk::Integer::Box(aiWriteInfo_.start)); in SendData()
172 wantParams.SetParam(LONG_SELECT_END, AAFwk::Integer::Box(aiWriteInfo_.end)); in SendData()
173 proxy->SendData(wantParams); in SendData()
177 AAFwk::WantParams& wantParams, cons in SetArrayParam()
176 SetArrayParam( AAFwk::WantParams& wantParams, const std::string& key, const std::vector<uint8_t>& value) SetArrayParam() argument
193 GetBufferParam(const std::string& key, const AAFwk::WantParams& wantParams) GetBufferParam() argument
210 GetBoolParam(const std::string& key, const AAFwk::WantParams& wantParams) GetBoolParam() argument
[all...]
/foundation/ability/ability_runtime/frameworks/js/napi/mission_manager/
H A Djs_mission_info_utils.cpp68 napi_value CreateJsWantParams(napi_env env, const AAFwk::WantParams &wantParams) in CreateJsWantParams() argument
72 const std::map<std::string, sptr<AAFwk::IInterface>> paramList = wantParams.GetParams(); in CreateJsWantParams()
76 env, object, iter->first, wantParams); in CreateJsWantParams()
79 env, object, iter->first, wantParams); in CreateJsWantParams()
82 env, object, iter->first, wantParams); in CreateJsWantParams()
85 env, object, iter->first, wantParams); in CreateJsWantParams()
88 env, object, iter->first, wantParams); in CreateJsWantParams()
91 env, object, iter->first, wantParams); in CreateJsWantParams()
94 env, object, iter->first, wantParams); in CreateJsWantParams()
97 env, object, iter->first, wantParams); in CreateJsWantParams()
126 InnerWrapJsWantParamsWantParams( napi_env env, napi_value object, const std::string &key, const AAFwk::WantParams &wantParams) InnerWrapJsWantParamsWantParams() argument
[all...]
/foundation/ability/ability_runtime/frameworks/js/napi/js_mission_manager/
H A Djs_mission_info_utils.cpp70 napi_value CreateJsWantParams(napi_env env, const AAFwk::WantParams &wantParams) in CreateJsWantParams() argument
74 const std::map<std::string, sptr<AAFwk::IInterface>> paramList = wantParams.GetParams(); in CreateJsWantParams()
78 env, object, iter->first, wantParams); in CreateJsWantParams()
81 env, object, iter->first, wantParams); in CreateJsWantParams()
84 env, object, iter->first, wantParams); in CreateJsWantParams()
87 env, object, iter->first, wantParams); in CreateJsWantParams()
90 env, object, iter->first, wantParams); in CreateJsWantParams()
93 env, object, iter->first, wantParams); in CreateJsWantParams()
96 env, object, iter->first, wantParams); in CreateJsWantParams()
99 env, object, iter->first, wantParams); in CreateJsWantParams()
127 InnerWrapJsWantParamsWantParams( napi_env env, napi_value object, const std::string &key, const AAFwk::WantParams &wantParams) InnerWrapJsWantParamsWantParams() argument
[all...]
/foundation/ability/ability_runtime/interfaces/inner_api/auto_fill_manager/src/
H A Dauto_fill_extension_callback.cpp96 void AutoFillExtensionCallback::HandleReloadInModal(const AAFwk::WantParams &wantParams) in HandleReloadInModal() argument
103 int32_t resultCode = ReloadInModal(wantParams); in HandleReloadInModal()
122 int32_t AutoFillExtensionCallback::ReloadInModal(const AAFwk::WantParams &wantParams) in ReloadInModal() argument
135 want.SetParam(WANT_PARAMS_CUSTOM_DATA_KEY, wantParams.GetStringParam(WANT_PARAMS_CUSTOM_DATA_KEY)); in ReloadInModal()
157 void AutoFillExtensionCallback::OnReceive(const AAFwk::WantParams &wantParams) in OnReceive() argument
160 int32_t cmdValue = wantParams.GetIntParam(WANT_PARAMS_AUTO_FILL_CMD_KEY, 0); in OnReceive()
162 HandleReloadInModal(wantParams); in OnReceive()
165 UpdateCustomPopupConfig(wantParams); in OnReceive()
167 if (wantParams.GetIntParam(WANT_PARAMS_AUTO_FILL_EVENT_KEY, 0) == AutoFill::AUTO_FILL_CANCEL_TIME_OUT) { in OnReceive()
172 void AutoFillExtensionCallback::UpdateCustomPopupConfig(const AAFwk::WantParams &wantParams) in UpdateCustomPopupConfig() argument
327 AAFwk::WantParams wantParams; UpdateCustomPopupUIExtension() local
[all...]

Completed in 12 milliseconds

12345678910>>...13