Home
last modified time | relevance | path

Searched refs:DistributedWantParamWrapper (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/distributedWant/
H A Ddistributed_want_params_wrapper_test.cpp47 std::shared_ptr<DistributedWantParamWrapper> wantParamWrapperPtr_;
111 DistributedWantParamWrapper wantParamWrapper(wantParams);
127 DistributedWantParamWrapper wantParamWrapper(wantParams);
158 auto wantParamsPtr = DistributedWantParamWrapper::Box({});
194 auto wantParams = DistributedWantParamWrapper::Unbox(nullptr);
209 bool result = DistributedWantParamWrapper::ValidateStr("{");
221 bool result = DistributedWantParamWrapper::ValidateStr("}");
233 bool result = DistributedWantParamWrapper::ValidateStr("}{");
257 auto wantParamsPtr = DistributedWantParamWrapper::Parse("");
305 DistributedWantParamWrapper wantParamWrapper(wantParams);
[all …]
H A Ddistributed_want_params_test.cpp174 wantParamsIn_->SetParam("l2", DistributedWantParamWrapper::Box(l1));
180DistributedWantParamWrapper::Unbox(IDistributedWantParams::Query(wantParamsOut_->GetParam("l2")));
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/distributedWant/
H A Ddistributed_want_params_wrapper.cpp25 IINTERFACE_IMPL_1(DistributedWantParamWrapper, Object, IDistributedWantParams);
29 ErrCode DistributedWantParamWrapper::GetValue(DistributedWantParams& value) in GetValue()
35 bool DistributedWantParamWrapper::Equals(IObject& other) in Equals()
37 DistributedWantParamWrapper* otherObj = in Equals()
38 static_cast<DistributedWantParamWrapper*>(IDistributedWantParams::Query(&other)); in Equals()
42 std::string DistributedWantParamWrapper::ToString() in ToString()
75 sptr<IDistributedWantParams> DistributedWantParamWrapper::Box(DistributedWantParams&& value) in Box()
81 DistributedWantParams DistributedWantParamWrapper::Unbox(IDistributedWantParams* object) in Unbox()
89 bool DistributedWantParamWrapper::ValidateStr(const std::string& str) in ValidateStr()
131 sptr<IDistributedWantParams> DistributedWantParamWrapper::Parse(const std::string& str) in Parse()
[all …]
H A Ddistributed_want_params.cpp231 return obj == nullptr ? "" : static_cast<DistributedWantParamWrapper*>(obj)->ToString(); in DistributedWantParamsQueryToStr()
267 return obj == nullptr ? false : static_cast<DistributedWantParamWrapper*>(obj) in DistributedWantParamsQueryEquals()
268 ->Equals(*static_cast<DistributedWantParamWrapper*>(obj)); in DistributedWantParamsQueryEquals()
345 …DistributedWantParams newDest(DistributedWantParamWrapper::Unbox(IDistributedWantParams::Query(o))… in NewParams()
346 dest.params_[it->first] = DistributedWantParamWrapper::Box(newDest); in NewParams()
559 …DistributedWantParams value = DistributedWantParamWrapper::Unbox(IDistributedWantParams::Query(o)); in WriteToParcelWantParams()
577 auto wantParams = static_cast<DistributedWantParamWrapper*>(IDistributedWantParams::Query(o)); in WriteToParcelWantParams()
1221 sptr<IInterface> intf = DistributedWantParamWrapper::Parse(Str16ToStr8(value)); in ReadFromParcelWantParamWrapper()
1238 sptr<IDistributedWantParams> pWantParams = DistributedWantParamWrapper::Box(wp); in ReadFromParcelFD()
1253 sptr<IDistributedWantParams> pWantParams = DistributedWantParamWrapper::Box(wp); in ReadFromParcelRemoteObject()
H A Ddistributed_want.cpp338 parameters_.SetParam(key, DistributedWantParamWrapper::Box(wp)); in SetParam()
1102 DistributedWantParamWrapper wrapper(parameters_); in ToJson()
1211 … DistributedWantParams parameters = DistributedWantParamWrapper::ParseWantParams(parametersString); in ReadFromJson()
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/include/distributedWant/
H A Ddistributed_want_params_wrapper.h39 class DistributedWantParamWrapper final : public AAFwk::Object, public IDistributedWantParams {
41 inline DistributedWantParamWrapper(const DistributedWantParams& value) : wantParams_(value) in DistributedWantParamWrapper() function
46 … inline DistributedWantParamWrapper(DistributedWantParams&& value) : wantParams_(std::move(value)) in DistributedWantParamWrapper() function
49 inline ~DistributedWantParamWrapper() in ~DistributedWantParamWrapper()
H A Ddistributed_want_params.h207 friend class DistributedWantParamWrapper; variable