Home
last modified time | relevance | path

Searched refs:InterfaceType (Results 1 - 25 of 38) sorted by relevance

12

/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/plugin/
H A Dintf_interface.h38 template<typename InterfaceType>
39 const InterfaceType* GetInterface() const in GetInterface()
41 return static_cast<const InterfaceType*>(GetInterface(InterfaceType::UID)); in GetInterface()
44 template<typename InterfaceType>
45 InterfaceType* GetInterface() in GetInterface()
47 return static_cast<InterfaceType*>(GetInterface(InterfaceType::UID)); in GetInterface()
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/
H A Dinterface_manager.cpp26 int InterfaceManager::UpdateInterface(InterfaceInfo::InterfaceType type, const Updater &updater) in UpdateInterface()
32 int InterfaceManager::ReadInterface(InterfaceInfo::InterfaceType type, const Reader &reader) in ReadInterface()
38 bool InterfaceManager::IsInterfaceAvailable(InterfaceInfo::InterfaceType type, bool forShare) const in IsInterfaceAvailable()
56 void InterfaceManager::LockInterface(InterfaceInfo::InterfaceType type, const std::string &owner) in LockInterface()
67 void InterfaceManager::UnlockInterface(InterfaceInfo::InterfaceType type) in UnlockInterface()
76 void InterfaceManager::InitInterface(InterfaceInfo::InterfaceType type) in InitInterface()
80 if (type == InterfaceInfo::InterfaceType::P2P) { in InitInterface()
84 if (type == InterfaceInfo::InterfaceType::HML) { in InitInterface()
97 GetInstance().InitInterface(InterfaceInfo::InterfaceType::P2P); in Init()
98 GetInstance().InitInterface(InterfaceInfo::InterfaceType in Init()
[all...]
H A Dinterface_manager.h36 int UpdateInterface(InterfaceInfo::InterfaceType type, const Updater &updater);
37 int ReadInterface(InterfaceInfo::InterfaceType type, const Reader &reader);
39 bool IsInterfaceAvailable(InterfaceInfo::InterfaceType type, bool forShare) const;
41 void LockInterface(InterfaceInfo::InterfaceType type, const std::string &owner);
42 void UnlockInterface(InterfaceInfo::InterfaceType type);
45 void InitInterface(InterfaceInfo::InterfaceType type);
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/data/
H A Dinterface_manager_test.cpp72 interfaceManager.InitInterface(InterfaceInfo::InterfaceType::HML); in HWTEST_F()
73 interfaceManager.InitInterface(InterfaceInfo::InterfaceType::P2P); in HWTEST_F()
74 interfaceManager.UpdateInterface(InterfaceInfo::InterfaceType::HML, updateInterfaceInfoTrue); in HWTEST_F()
75 int32_t hmlResult = interfaceManager.UpdateInterface(InterfaceInfo::InterfaceType::HML, readInterfaceInfo); in HWTEST_F()
79 interfaceManager.UpdateInterface(InterfaceInfo::InterfaceType::P2P, updateInterfaceInfoFalse); in HWTEST_F()
80 int32_t p2pResult = interfaceManager.UpdateInterface(InterfaceInfo::InterfaceType::P2P, readInterfaceInfo); in HWTEST_F()
94 InterfaceInfo::InterfaceType type = InterfaceInfo::InterfaceType::HML; in HWTEST_F()
121 InterfaceInfo::InterfaceType type = InterfaceInfo::InterfaceType in HWTEST_F()
[all...]
/foundation/ability/idl_tool/idl_tool_2/util/
H A Doptions.cpp314 if (interfaceType == InterfaceType::SA) { in CheckOptions()
316 } else if (interfaceType == InterfaceType::HDI) { in CheckOptions()
318 } else if (interfaceType == InterfaceType::SM || in CheckOptions()
319 interfaceType == InterfaceType::SAM || in CheckOptions()
320 interfaceType == InterfaceType::SAM_SM || in CheckOptions()
321 interfaceType == InterfaceType::SAM_UDS || in CheckOptions()
322 interfaceType == InterfaceType::SM_UDS) { in CheckOptions()
570 static std::map<std::string, InterfaceType> Type = { in SetInterfaceType()
571 {"hdi", InterfaceType::HDI}, in SetInterfaceType()
572 {"sa", InterfaceType in SetInterfaceType()
[all...]
H A Doptions.h201 inline InterfaceType GetInterfaceType() const in GetInterfaceType()
228 interfaceType(InterfaceType::SA) in Options()
319 InterfaceType interfaceType;
H A Dcommon.h60 enum class InterfaceType { class
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/nodecontext/
H A Dintf_render_node_context_manager.h112 template<typename InterfaceType>
113 InterfaceType* GetRenderNodeContextInterface() in GetRenderNodeContextInterface()
115 return static_cast<InterfaceType*>(GetRenderNodeContextInterface(InterfaceType::UID)); in GetRenderNodeContextInterface()
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/
H A Dintf_event.h89 using InterfaceType = IEventCallable<EventType, Ret, Args...>;
90 using InterfaceTypePtr = typename InterfaceType::Ptr;
98 if (auto i = interface_cast<typename MyEvent::InterfaceType>(event)) { in Invoke()
/foundation/ability/idl_tool/idl_tool_2/codegen/
H A Dcode_generator.h39 using GeneratorEntry = std::map<InterfaceType, AutoPtr<CodeGenerator>>;
47 void GeneratorRegister(InterfaceType type, AutoPtr<CodeGenerator> generator);
H A Dcode_generator.cpp44 void CodegenBuilder::GeneratorRegister(InterfaceType type, AutoPtr<CodeGenerator> generator) in GeneratorRegister()
/foundation/ability/idl_tool/idl_tool_2/preprocessor/
H A Dpreprocessor.cpp157 InterfaceType interfaceType = Options::GetInstance().GetInterfaceType(); in ParsePackage()
158 if (interfaceType == InterfaceType::HDI || in ParsePackage()
159 interfaceType == InterfaceType::SM || in ParsePackage()
160 interfaceType == InterfaceType::SAM || in ParsePackage()
161 interfaceType == InterfaceType::SAM_SM || in ParsePackage()
162 interfaceType == InterfaceType::SAM_UDS || in ParsePackage()
163 interfaceType == InterfaceType::SM_UDS) { in ParsePackage()
/foundation/ability/idl_tool/idl_tool_2/
H A Dmain.cpp54 if ((options.GetInterfaceType() == InterfaceType::SA) && in DumpAst()
67 if ((options.GetInterfaceType() != InterfaceType::SA)) { in DumpMetaData()
112 if ((options.GetInterfaceType() != InterfaceType::SA) || options.DoCompile()) { in ReadMetaData()
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/entity/
H A Dp2p_entity_test.cpp108 InterfaceInfo::InterfaceType::P2P, [](InterfaceInfo &info) { in HWTEST_F()
200 InterfaceInfo::InterfaceType::P2P, [](InterfaceInfo &info) { in HWTEST_F()
225 InterfaceInfo::InterfaceType::P2P, [](InterfaceInfo &info) { in HWTEST_F()
238 InterfaceInfo::InterfaceType::P2P, [](InterfaceInfo &info) { in HWTEST_F()
250 InterfaceInfo::InterfaceType::P2P, [](InterfaceInfo &info) { in HWTEST_F()
273 InterfaceInfo::InterfaceType::P2P, [](InterfaceInfo &info) { in HWTEST_F()
285 InterfaceInfo::InterfaceType::P2P, [](InterfaceInfo &info) { in HWTEST_F()
305 InterfaceInfo::InterfaceType::P2P, [](InterfaceInfo &info) { in HWTEST_F()
358 InterfaceInfo::InterfaceType::P2P, [](InterfaceInfo &info) { in HWTEST_F()
373 InterfaceInfo::InterfaceType in HWTEST_F()
[all...]
H A Dp2p_available_state_test.cpp106 InterfaceManager::GetInstance().UpdateInterface(InterfaceInfo::InterfaceType::P2P, in HWTEST_F()
/foundation/ability/idl_tool/idl_tool_2/parser/
H A Dintf_type_check.cpp35 InterfaceType interfaceType = Options::GetInstance().GetInterfaceType(); in CheckIntegrity()
36 if (interfaceType == InterfaceType::SA) { in CheckIntegrity()
38 } else if (interfaceType == InterfaceType::HDI) { in CheckIntegrity()
40 } else if (interfaceType == InterfaceType::SM || in CheckIntegrity()
41 interfaceType == InterfaceType::SAM || in CheckIntegrity()
42 interfaceType == InterfaceType::SAM_SM || in CheckIntegrity()
43 interfaceType == InterfaceType::SAM_UDS || in CheckIntegrity()
44 interfaceType == InterfaceType::SM_UDS) { in CheckIntegrity()
/foundation/ability/idl_tool/idl_tool_2/ast/base/
H A Dast_string16_type.cpp32 if (Options::GetInstance().GetInterfaceType() == InterfaceType::SA) { in ToString()
H A Dast_string_type.cpp32 if (Options::GetInstance().GetInterfaceType() == InterfaceType::SA) { in ToString()
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/detail/
H A Dproperty.h305 using InterfaceType = BASE_NS::conditional_t<BASE_NS::is_const_v<Type>, const IT*, IT*>;
323 InterfaceType operator->() const in operator ->()
331 using InterfaceType = PropertyBaseType<Property>*;
349 InterfaceType operator->() const in operator ->()
H A Darray_property.h204 using InterfaceType = BASE_NS::conditional_t<BASE_NS::is_const_v<Type>, const IT*, IT*>;
222 InterfaceType operator->() const in operator ->()
230 using InterfaceType = ArrayPropertyBaseType<Property>*;
248 InterfaceType operator->() const in operator ->()
/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/
H A Dser_nodes.h193 using InterfaceType = IBuiltinValueNode<Type>;
237 if (auto node = interface_cast<typename NodeType::InterfaceType>(n)) { in ExtractValue()
241 if (auto node = interface_cast<UIntNode::InterfaceType>(n)) { in ExtractValue()
243 } else if (auto node = interface_cast<IntNode::InterfaceType>(n)) { in ExtractValue()
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/ext/
H A Devent_impl.h52 if (const auto i = interface_cast<typename EventType::InterfaceType>(p)) { in Call()
57 if (auto ai = interface_cast<IOnChanged::InterfaceType>(p)) { in Call()
/foundation/ability/idl_tool/idl_tool_2/ast/
H A Dast_method.cpp82 if (Options::GetInstance().GetInterfaceType() == InterfaceType::SA) { in Dump()
H A Dast_type.cpp197 if (Options::GetInstance().GetInterfaceType() == InterfaceType::SA) { in ToString()
/foundation/ability/idl_tool/idl_tool_2/codegen/SA/
H A Dsa_code_generator.cpp103 CodegenBuilder::GetInstance().GeneratorRegister(InterfaceType::SA, new SACodeGenerator()); in GeneratorInit()

Completed in 11 milliseconds

12