/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/include/distributedWant/ |
H A D | distributed_want_params.h | 59 …static bool CompareInterface(const sptr<AAFwk::IInterface> iIt1, const sptr<AAFwk::IInterface> iIt… 61 static int GetDataType(const sptr<AAFwk::IInterface> iIt); 63 static int GetNumberDataType(const sptr<AAFwk::IInterface> iIt); 67 void SetParam(const std::string& key, AAFwk::IInterface* value); 69 sptr<AAFwk::IInterface> GetParam(const std::string& key) const; 103 static bool ByteQueryEquals(const sptr<AAFwk::IInterface> iIt); 104 static bool CharQueryEquals(const sptr<AAFwk::IInterface> iIt); 106 static bool ArrayQueryEquals(const sptr<AAFwk::IInterface> iIt); 108 static bool ShortQueryEquals(const sptr<AAFwk::IInterface> iIt); 110 static bool LongQueryEquals(const sptr<AAFwk::IInterface> iIt); [all …]
|
/ohos5.0/foundation/ability/ability_base/interfaces/inner_api/base/include/ |
H A D | base_interfaces.h | 27 INTERFACEID(IInterface) 29 INTERFACE_INNER IInterface 31 inline static IInterface *Query(IInterface * object) /* [in] */ in Query() 47 virtual ~IInterface() {} in ~IInterface() 65 inline static IChar *Query(IInterface * object) /* [in] */ in Query() 78 inline static IByte *Query(IInterface * object) /* [in] */ in Query() 117 inline static ILong *Query(IInterface * object) /* [in] */ in Query() 178 sptr<IInterface> &value) = 0; /* [out] */ 185 IInterface *value) = 0; /* [in] */ 190 inline static IPacMap *Query(IInterface * object) in Query() [all …]
|
H A D | base_obj.h | 25 inline static IObject *Query(IInterface & object) /* [in] */ in Query() 41 inline static IWeakReference *Query(IInterface * object) /* [in] */ in Query() 50 IInterface **object) = 0; /* [out] */ 55 inline static IWeakReferenceSource *Query(IInterface * object) /* [in] */ in Query() 72 IInterface *Query(const InterfaceID &iid) override; /* [in] */ 74 InterfaceID GetInterfaceID(IInterface *object) override; /* [in] */ 86 static bool Equals(IInterface &obj1, /* [in] */ 87 IInterface &obj2); /* [in] */ 89 static std::string ToString(IInterface &object); /* [in] */
|
H A D | base_def.h | 44 INTERFACE_INNER id : public IInterface 67 IInterface *Query(const InterfaceID & iid) override; \ 69 InterfaceID GetInterfaceID(IInterface *object) override; 85 IInterface *ClassName::Query(const InterfaceID & iid) \ 96 InterfaceID ClassName::GetInterfaceID(IInterface *object) \ 116 IInterface *ClassName::Query(const InterfaceID & iid) \ 129 InterfaceID ClassName::GetInterfaceID(IInterface *object) \
|
/ohos5.0/foundation/ability/ability_base/interfaces/inner_api/base/src/ |
H A D | base_object.cpp | 50 IInterface *Query(const InterfaceID &iid) override; 52 InterfaceID GetInterfaceID(IInterface *object) override; 54 ErrCode Resolve(const InterfaceID &iid, IInterface **object) override; 57 IInterface *object_ = nullptr; 71 IInterface *WeakReferenceImpl::Query(const InterfaceID &iid) in Query() 79 InterfaceID WeakReferenceImpl::GetInterfaceID(IInterface *object) in GetInterfaceID() 112 IInterface *Object::Query(const InterfaceID &iid) in Query() 126 InterfaceID Object::GetInterfaceID(IInterface *object) in GetInterfaceID() 180 bool Object::Equals(IInterface &obj1, IInterface &obj2) in Equals() 182 if (IInterface::Query(&obj1) == IInterface::Query(&obj2)) { in Equals() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/ |
H A D | filesystem_api.cpp | 54 const IInterface* GetInterface(const Uid& uid) const override; 55 IInterface* GetInterface(const Uid& uid) override; 80 const IInterface* GetInterface(const Uid& uid) const override in GetInterface() 84 IInterface* GetInterface(const Uid& uid) override in GetInterface() 94 IInterface::Ptr CreateInstance(const Uid& uid) override in CreateInstance() 97 return IInterface::Ptr(new FileMonitorImpl()); in CreateInstance() 100 return IInterface::Ptr(new FileManager()); in CreateInstance() 102 return IInterface::Ptr(); in CreateInstance() 107 return IInterface::Ptr(new FileManager()); in CreateFilemanager() 111 return IInterface::Ptr(new FileMonitorImpl(manager)); in CreateFilemonitor() [all …]
|
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/want/include/ |
H A D | want_params.h | 74 …static bool CompareInterface(const sptr<IInterface> iIt1, const sptr<IInterface> iIt2, int typeId); 76 static int GetDataType(const sptr<IInterface> iIt); 80 void SetParam(const std::string &key, IInterface *value); 82 sptr<IInterface> GetParam(const std::string &key) const; 90 const std::map<std::string, sptr<IInterface>> &GetParams() const; 196 bool WriteToParcelBool(Parcel &parcel, sptr<IInterface> &o) const; 197 bool WriteToParcelByte(Parcel &parcel, sptr<IInterface> &o) const; 198 bool WriteToParcelChar(Parcel &parcel, sptr<IInterface> &o) const; 200 bool WriteToParcelInt(Parcel &parcel, sptr<IInterface> &o) const; 201 bool WriteToParcelLong(Parcel &parcel, sptr<IInterface> &o) const; [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | intf_node_private.h | 32 class INodeEcsInterfacePrivate : public CORE_NS::IInterface { 33 …META_INTERFACE(CORE_NS::IInterface, INodeEcsInterfacePrivate, InterfaceId::INodeEcsInterfacePrivat… 61 class ITextureStorage : public CORE_NS::IInterface { 62 META_INTERFACE(CORE_NS::IInterface, ITextureStorage, InterfaceId::ITextureStorage) 68 class IMaterialInputBindable : public CORE_NS::IInterface { 69 META_INTERFACE(CORE_NS::IInterface, IMaterialInputBindable, InterfaceId::IMaterialInputBindable) 75 class ISceneHolderRef : public CORE_NS::IInterface { 76 META_INTERFACE(CORE_NS::IInterface, ISceneHolderRef, InterfaceId::IMaterialInputBindable) 87 class IPendingRequestData : public CORE_NS::IInterface { 88 META_INTERFACE(CORE_NS::IInterface, IPendingRequestData, InterfaceId::IPendingRequestData)
|
H A D | intf_postprocess_private.h | 25 class IPostProcessPrivate : public CORE_NS::IInterface { 26 META_INTERFACE(CORE_NS::IInterface, IPostProcessPrivate, InterfaceId::IPostProcessPrivate) 33 class IPostProcessEffectPrivate : public CORE_NS::IInterface { 34 …META_INTERFACE(CORE_NS::IInterface, IPostProcessEffectPrivate, InterfaceId::IPostProcessEffectPriv…
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/distributedWant/ |
H A D | distributed_want_params_test.cpp | 186 sptr<IInterface> str0; 187 sptr<IInterface> str1; 203 sptr<IInterface> boolObj = 233 sptr<IInterface> byteObj = 247 sptr<IInterface> charObj = 261 sptr<IInterface> shortObj = 288 sptr<IInterface> longObj = 372 sptr<IInterface> boolObj = 386 sptr<IInterface> byteObj = 400 sptr<IInterface> charObj = [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/ |
H A D | intf_containable.h | 32 class IContainable : public CORE_NS::IInterface { 33 META_INTERFACE(CORE_NS::IInterface, IContainable) 46 class IMutableContainable : public CORE_NS::IInterface { 47 META_INTERFACE(CORE_NS::IInterface, IMutableContainable) 60 class IEnablePropertyTraversal : public CORE_NS::IInterface { 61 META_INTERFACE(CORE_NS::IInterface, IEnablePropertyTraversal)
|
H A D | interface_helpers.h | 43 using GIFuncType = CORE_NS::IInterface*(void*); 98 constexpr static CORE_NS::IInterface* BinarySearch( 121 constexpr static CORE_NS::IInterface* LinearSearch( 141 constexpr static CORE_NS::IInterface* SearchInterface( 188 if constexpr (!BASE_NS::is_same_v<I, CORE_NS::IInterface>) { 210 if (uid != CORE_NS::IInterface::UID) { 232 if constexpr (!BASE_NS::is_same_v<I, CORE_NS::IInterface>) { 314 if (uid == CORE_NS::IInterface::UID) { 321 CORE_NS::IInterface* GetInterface(const BASE_NS::Uid& uid) override 361 CORE_NS::IInterface* GetInterface(const BASE_NS::Uid& uid) [all …]
|
H A D | intf_object_context.h | 33 class IObjectContext : public CORE_NS::IInterface { 34 META_INTERFACE(CORE_NS::IInterface, IObjectContext) 53 class IObjectContextProvider : public CORE_NS::IInterface { in META_BEGIN_NAMESPACE() 54 META_INTERFACE(CORE_NS::IInterface, IObjectContextProvider) in META_BEGIN_NAMESPACE()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/plugin/ |
H A D | intf_interface.h | 27 class IInterface { in CORE_BEGIN_NAMESPACE() 31 using Ptr = BASE_NS::refcnt_ptr<IInterface>; in CORE_BEGIN_NAMESPACE() 35 virtual const IInterface* GetInterface(const BASE_NS::Uid& uid) const = 0; in CORE_BEGIN_NAMESPACE() 36 virtual IInterface* GetInterface(const BASE_NS::Uid& uid) = 0; in CORE_BEGIN_NAMESPACE() 61 IInterface() = default; in CORE_BEGIN_NAMESPACE() 62 virtual ~IInterface() = default; in CORE_BEGIN_NAMESPACE()
|
/ohos5.0/foundation/ability/ability_base/test/unittest/want/ |
H A D | want_params_test.cpp | 185 sptr<IInterface> ww0; 186 sptr<IInterface> ww1; 257 sptr<IInterface> str0; 258 sptr<IInterface> str1; 388 sptr<IInterface> byteObj = WantParams::GetInterfaceByType(WantParams::VALUE_TYPE_BYTE, value); 401 sptr<IInterface> charObj = WantParams::GetInterfaceByType(WantParams::VALUE_TYPE_CHAR, value); 427 sptr<IInterface> intObj = WantParams::GetInterfaceByType(WantParams::VALUE_TYPE_INT, value); 571 sptr<IInterface> intObj = WantParams::GetInterfaceByType(WantParams::VALUE_TYPE_INT, value); 584 sptr<IInterface> longObj = WantParams::GetInterfaceByType(WantParams::VALUE_TYPE_LONG, "-1"); 697 sptr<IInterface> intObj = WantParams::GetInterfaceByType(WantParams::VALUE_TYPE_INT, value); [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/model/ |
H A D | intf_object_provider.h | 29 class IObjectProvider : public CORE_NS::IInterface { in META_BEGIN_NAMESPACE() 30 META_INTERFACE(CORE_NS::IInterface, IObjectProvider, "11a75ee4-c661-4a25-816a-b8fbfc4c4497") in META_BEGIN_NAMESPACE() 95 class IInstantiatingObjectProvider : public CORE_NS::IInterface { 96 …META_INTERFACE(CORE_NS::IInterface, IInstantiatingObjectProvider, "d6996e21-0f4d-4207-9c71-d7a3f14… 108 class IContentLoaderObjectProvider : public CORE_NS::IInterface { 109 …META_INTERFACE(CORE_NS::IInterface, IContentLoaderObjectProvider, "d5f6507d-c823-436c-b45c-8e30ea9…
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/distributedWant/ |
H A D | distributed_want_params.cpp | 322 sptr<IInterface> o = it->second; in NewParams() 477 bool DistributedWantParams::CompareInterface(const sptr<IInterface> iIt1, const sptr<IInterface> iI… in CompareInterface() 735 sptr<AAFwk::IInterface> o = iter->second; in DoMarshalling() 791 auto func = [&](AAFwk::IInterface* object) { in FillArray() 809 auto func = [&dArray](AAFwk::IInterface* object) { in SetNewArray() 837 auto func = [&](IInterface* object) { in WriteArrayToParcelString() 1158 sptr<IInterface> intf = AAFwk::Byte::Box(value); in ReadFromParcelInt8() 1172 sptr<IInterface> intf = AAFwk::Char::Box(value); in ReadFromParcelChar() 1186 sptr<IInterface> intf = AAFwk::Short::Box(value); in ReadFromParcelShort() 1264 sptr<IInterface> intf = Long::Box(value); in ReadFromParcelLong() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ |
H A D | graphics_context.cpp | 216 [](IClassFactory&, PluginToken token) -> IInterface* { in __anonc020480e0202() 255 [](IClassFactory& registry, PluginToken token) -> IInterface* { in __anonc020480e0502() 261 return state->context->GetInterface(IInterface::UID); in __anonc020480e0502() 268 return state->context->GetInterface(IInterface::UID); in __anonc020480e0602() 358 const IInterface* GraphicsContext::GetInterface(const Uid& uid) const in GetInterface() 362 } else if (uid == IInterface::UID) { in GetInterface() 372 IInterface* GraphicsContext::GetInterface(const Uid& uid) in GetInterface() 376 } else if (uid == IInterface::UID) { in GetInterface() 436 IInterface* GraphicsContext::GetInstance(const BASE_NS::Uid& uid) const in GetInstance() 445 IInterface::Ptr GraphicsContext::CreateInstance(const BASE_NS::Uid& uid) in CreateInstance() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/ |
H A D | render_context.h | 89 const IInterface* GetInterface(const BASE_NS::Uid& uid) const override; 90 IInterface* GetInterface(const BASE_NS::Uid& uid) override; 95 IInterface::Ptr CreateInstance(const BASE_NS::Uid& uid) override; 102 IInterface* GetInstance(const BASE_NS::Uid& uid) const override; 127 … [](CORE_NS::IClassRegister& registry, CORE_NS::PluginToken token) -> CORE_NS::IInterface* { 136 [](CORE_NS::IClassFactory&, CORE_NS::PluginToken token) -> CORE_NS::IInterface* { 163 [](CORE_NS::IClassFactory& factory, CORE_NS::PluginToken token) -> CORE_NS::IInterface* { 170 [](CORE_NS::IClassRegister& registry, CORE_NS::PluginToken token) -> CORE_NS::IInterface* {
|
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/want/src/ |
H A D | array_wrapper.cpp | 44 sptr<IInterface> &value) /* [out] */ in Get() 71 IInterface *value) /* [in] */ in Set() 151 auto func = [](const std::string &str) -> sptr<IInterface> { return String::Parse(str); }; in ParseString() 171 auto func = [](const std::string &str) -> sptr<IInterface> { return Byte::Parse(str); }; in ParseByte() 181 auto func = [](const std::string &str) -> sptr<IInterface> { return Short::Parse(str); }; in ParseShort() 201 auto func = [](const std::string &str) -> sptr<IInterface> { return Long::Parse(str); }; in ParseLong() 211 auto func = [](const std::string &str) -> sptr<IInterface> { return Float::Parse(str); }; in ParseFloat() 230 auto func = [](const std::string &str) -> sptr<IInterface> { return Char::Parse(str); }; in ParseChar() 307 std::function<sptr<IInterface>(std::string &)> func, /* [in] */ in ParseElement() 405 std::function<void(IInterface *)> func) /* [in] */ in ForEach() [all …]
|
/ohos5.0/foundation/ability/dmsfwk/test/fuzztest/distributedwantparams_fuzzer/ |
H A D | distributedwantparams_fuzzer.cpp | 67 sptr<IInterface> stringIt = String::Box(key); in DoSomethingInterestingWithMyApiDistributedWantParams001() 96 sptr<IInterface> longIt = Long::Box(longValue); in DoSomethingInterestingWithMyApiDistributedWantParams002() 99 sptr<IInterface> floatIt = Float::Box(floatValue); in DoSomethingInterestingWithMyApiDistributedWantParams002() 127 sptr<IInterface> byteIt = Byte::Box(byteValue); in DoSomethingInterestingWithMyApiDistributedWantParams003() 129 sptr<IInterface> stringIt = String::Box(key); in DoSomethingInterestingWithMyApiDistributedWantParams003() 132 sptr<IInterface> boolIt = Boolean::Box(boolValue); in DoSomethingInterestingWithMyApiDistributedWantParams003() 135 sptr<IInterface> charIt = Char::Box(charValue); in DoSomethingInterestingWithMyApiDistributedWantParams003() 138 sptr<IInterface> shortIt = Short::Box(shortValue); in DoSomethingInterestingWithMyApiDistributedWantParams003() 141 sptr<IInterface> doubleIt = Double::Box(doubleValue); in DoSomethingInterestingWithMyApiDistributedWantParams003() 144 sptr<IInterface> intIt = Integer::Box(intValue); in DoSomethingInterestingWithMyApiDistributedWantParams003() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/serialization/ |
H A D | intf_serializable.h | 28 class ISerializable : public CORE_NS::IInterface { in META_BEGIN_NAMESPACE() 29 META_INTERFACE(CORE_NS::IInterface, ISerializable, "b832ef10-9cb2-4222-8429-eef0e1bbed3b") in META_BEGIN_NAMESPACE() 35 class IImportFinalize : public CORE_NS::IInterface { 36 META_INTERFACE(CORE_NS::IInterface, IImportFinalize, "b01e26e5-5b83-45fa-94c4-b461425b2311")
|
H A D | intf_exporter.h | 28 class IExporter : public CORE_NS::IInterface { in META_BEGIN_NAMESPACE() 29 META_INTERFACE(CORE_NS::IInterface, IExporter, "409223b1-c8ca-4033-8a18-b28aff6bb50c") in META_BEGIN_NAMESPACE() 34 class IFileExporter : public CORE_NS::IInterface { 35 META_INTERFACE(CORE_NS::IInterface, IFileExporter, "e3575e71-ff5b-4a8c-838b-c7886f5689cf")
|
H A D | intf_importer.h | 28 class IImporter : public CORE_NS::IInterface { in META_BEGIN_NAMESPACE() 29 META_INTERFACE(CORE_NS::IInterface, IImporter, "b3fd4c55-109d-4a44-895c-8568541238ac") in META_BEGIN_NAMESPACE() 34 class IFileImporter : public CORE_NS::IInterface { 35 META_INTERFACE(CORE_NS::IInterface, IFileImporter, "97d96540-675c-48e0-8895-202bf8b9bf69")
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/property/ |
H A D | intf_property_internal.h | 31 class IPropertyInternal : public CORE_NS::IInterface { 32 META_INTERFACE(CORE_NS::IInterface, IPropertyInternal) 38 class IPropertyInternalAny : public CORE_NS::IInterface { 39 META_INTERFACE(CORE_NS::IInterface, IPropertyInternalAny)
|