Home
last modified time | relevance | path

Searched refs:iid (Results 1 – 25 of 26) sorted by relevance

12

/ohos5.0/foundation/ability/ability_base/test/unittest/base/
H A Dbase_object_test.cpp66 InterfaceID iid = { variable
80 InterfaceID iid = { variable
94 InterfaceID iid = { variable
97 EXPECT_EQ(iid, object.GetInterfaceID(object.Query(iid)));
108 InterfaceID iid = { variable
111 EXPECT_EQ(iid, object.GetInterfaceID(object.Query(iid)));
122 InterfaceID iid = { variable
173 InterfaceID iid = { variable
177 EXPECT_EQ(false, object->Equals(*(object1.Query(iid)), *(object2.Query(iid))));
189 InterfaceID iid = { variable
[all …]
/ohos5.0/foundation/ability/ability_base/interfaces/inner_api/base/include/
H A Dbase_def.h67 IInterface *Query(const InterfaceID & iid) override; \
85 IInterface *ClassName::Query(const InterfaceID & iid) \
87 if (iid == g_IID_##InterfaceName) { \
90 if (iid == g_IID_IInterface) { \
93 return SuperclassName::Query(iid); \
116 IInterface *ClassName::Query(const InterfaceID & iid) \
118 if (iid == g_IID_##InterfaceName1) { \
121 if (iid == g_IID_##InterfaceName2) { \
124 if (iid == g_IID_IInterface) { \
127 return SuperclassName::Query(iid); \
H A Dbase_obj.h49 virtual ErrCode Resolve(const InterfaceID &iid, /* [in] */
72 IInterface *Query(const InterfaceID &iid) override; /* [in] */
H A Dbase_interfaces.h43 virtual IInterface *Query(const InterfaceID &iid) = 0; /* [in] */
/ohos5.0/foundation/ability/ability_base/interfaces/inner_api/base/src/
H A Dbase_object.cpp50 IInterface *Query(const InterfaceID &iid) override;
54 ErrCode Resolve(const InterfaceID &iid, IInterface **object) override;
71 IInterface *WeakReferenceImpl::Query(const InterfaceID &iid) in Query() argument
73 if ((iid == g_IID_IWeakReference) || (iid == g_IID_IInterface)) { in Query()
87 ErrCode WeakReferenceImpl::Resolve(const InterfaceID &iid, IInterface **object) in Resolve() argument
92 *object = object_->Query(iid); in Resolve()
112 IInterface *Object::Query(const InterfaceID &iid) in Query() argument
114 if (iid == g_IID_IObject) { in Query()
117 if (iid == g_IID_IWeakReferenceSource) { in Query()
120 if (iid == g_IID_IInterface) { in Query()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/opensles/src/itf/
H A Dobject_itf.cpp48 static SLresult GetInterface(SLObjectItf self, const SLInterfaceID iid, void *interface) in GetInterface() argument
53 if (iid == SL_IID_ENGINE) { in GetInterface()
57 } else if (iid == SL_IID_PLAY) { in GetInterface()
61 } else if (iid == SL_IID_VOLUME) { in GetInterface()
65 } else if (iid == SL_IID_OH_BUFFERQUEUE) { in GetInterface()
77 } else if (iid == SL_IID_RECORD) { in GetInterface()
H A Dopenharmony_buffer_queue_itf.cpp101 void IOHBufferQueueInit(void *self, const SLInterfaceID iid, SLuint32 id) in IOHBufferQueueInit() argument
105 thiz->mIid = iid; in IOHBufferQueueInit()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/
H A Dexporter.cpp83 InstanceId iid; in CreateObjectNode() local
85 iid = ConvertInstanceId(i->GetInstanceId()); in CreateObjectNode()
88 object->GetClassId(), iid, BASE_NS::move(node))); in CreateObjectNode()
351 auto iid = ConvertInstanceId(obj->GetInstanceId()); in ExportWeakPtr() local
352 if (HasBeenExported(iid) || globalData_.GetGlobalObject(obj->GetInstanceId())) { in ExportWeakPtr()
353 uri.SetBaseObjectUid(iid.ToUid()); in ExportWeakPtr()
H A Dimporter.cpp111 if (auto iid = node->GetInstanceId(); iid.IsValid()) { in ImportObject() local
112 CORE_LOG_D("importing object [%s] -> [%s]", iid.ToString().c_str(), in ImportObject()
114 mapInstanceIds_[iid] = instance->GetInstanceId(); in ImportObject()
H A Dser_nodes.h104 …ctNode(BASE_NS::string className, BASE_NS::string name, const ObjectId& oid, const InstanceId& iid, in META_BEGIN_NAMESPACE()
106 … : className(BASE_NS::move(className)), name(BASE_NS::move(name)), objectType(oid), instance(iid), in META_BEGIN_NAMESPACE()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/backend/
H A Djson_input.cpp83 InstanceId iid = ReadUid(InstanceIdName, value); in ImportObject() local
101 … new ObjectNode(BASE_NS::move(className), BASE_NS::move(name), oid, iid, BASE_NS::move(map))); in ImportObject()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dgpu_program_gles.cpp418 const uint32_t iid = map.map[BIND_MAP_4_4(cs.iSet, cs.iBind)]; in BuildBindInfos() local
419 if (iid) { in BuildBindInfos()
420 uint32_t final = map.finalMap[BIND_MAP_4_4(sid, iid)]; in BuildBindInfos()
432 const uint32_t iid = map.map[BIND_MAP_4_4(s.set, b.binding)]; in BuildBindInfos() local
433 if (iid) { in BuildBindInfos()
438 uint32_t final = map.finalMap[BIND_MAP_4_4(sid, iid)]; in BuildBindInfos()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/opensles/include/
H A Dcommon.h116 void IOHBufferQueueInit(void *self, const SLInterfaceID iid, SLuint32 id);
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/want/src/
H A Dpac_map.cpp63 #define PAC_MAP_PUT_VALUE(id, iid, key, value, mapList) \ argument
66 sptr<iid> val = id::Box(value); \
157 #define GET_BASE_FLOAT_DOUBLE_DATA_VALUE(iid, id, it, value, precision, json, type) \ argument
159 iid *data = iid::Query((it)->second); \
944 template<typename iid, typename id, typename value>
952 … auto func = [&array](IInterface *object) { array.push_back(id::Unbox(iid::Query(object))); }; in GetArrayData()
957 template<typename iid, typename id, typename value>
962 GetArrayData<iid, id, value>(IArray::Query(one_interface), array, IsArrayfunc); in CompareTwoArrayData()
968 GetArrayData<iid, id, value>(IArray::Query(two_interface), otherArray, IsArrayfunc); in CompareTwoArrayData()
/ohos5.0/docs/zh-cn/application-dev/reference/native-lib/
H A Dopensles.md36 |SLObjectItf |getInterface |GetInterface(SLObjectItf self, const SLInterfaceID iid
/ohos5.0/docs/en/application-dev/reference/native-lib/
H A Dopensles.md36 |SLObjectItf |getInterface |GetInterface(SLObjectItf self, const SLInterfaceID iid
/ohos5.0/docs/zh-cn/application-dev/media/audio/
H A Dusing-opensl-es-for-playback.md40 - SLresult (\*GetInterface) (SLObjectItf self, const SLInterfaceID iid, void \* pInterface)
H A Dusing-opensl-es-for-recording.md38 - SLresult (\*GetInterface) (SLObjectItf self, const SLInterfaceID iid, void \* pInterface)
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Dnative-apidiff-v3.1-release.md190 …ctItf self,<br/> const SLInterfaceID iid,<br/> void * pInterface<br/> ); | 新增 …
/ohos5.0/docs/en/application-dev/media/audio/
H A Dusing-opensl-es-for-playback.md40 - SLresult (\*GetInterface) (SLObjectItf self, const SLInterfaceID iid, void \* pInterface)
H A Dusing-opensl-es-for-recording.md38 - SLresult (\*GetInterface) (SLObjectItf self, const SLInterfaceID iid, void \* pInterface)
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/
H A Dnative-apidiff-v3.1-release.md190 …etInterface) (<br> SLObjectItf self,<br> const SLInterfaceID iid,<br> void * …
/ohos5.0/foundation/multimedia/av_codec/test/unittest/resources/video_res/test_cbr/1080_3M/
H A Dvideo_108011.ts2364 a2�H�D���iid.��lgQ:��l��"KTI�� ��P{�7b9)#!�FFwڿ1�t>➞��d>�K5U�8M��
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/resources/demuxer/
H A Dts_video.ts29473 ��*i���[N��4d�����x�"�C�w��\DFm<���p��(6r=� w�����B�iid%,��g��pU!C
H A Dhevc_v_a.ts37207 ��*i���[N��4d�����x�"�C�w��\DFm<���p��(6r=� w�����B�iid%,��g��pU!C

12