/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/plugin/ |
H A D | intf_interface.h | 38 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 D | interface_manager.cpp | 26 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 D | interface_manager.h | 36 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 D | interface_manager_test.cpp | 72 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 D | options.cpp | 314 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 D | options.h | 201 inline InterfaceType GetInterfaceType() const in GetInterfaceType() 228 interfaceType(InterfaceType::SA) in Options() 319 InterfaceType interfaceType;
|
H A D | common.h | 60 enum class InterfaceType {
class
|
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/nodecontext/ |
H A D | intf_render_node_context_manager.h | 112 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 D | intf_event.h | 89 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 D | code_generator.h | 39 using GeneratorEntry = std::map<InterfaceType, AutoPtr<CodeGenerator>>;
47 void GeneratorRegister(InterfaceType type, AutoPtr<CodeGenerator> generator);
|
H A D | code_generator.cpp | 44 void CodegenBuilder::GeneratorRegister(InterfaceType type, AutoPtr<CodeGenerator> generator)
in GeneratorRegister()
|
/foundation/ability/idl_tool/idl_tool_2/preprocessor/ |
H A D | preprocessor.cpp | 157 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 D | main.cpp | 54 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 D | p2p_entity_test.cpp | 108 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 D | p2p_available_state_test.cpp | 106 InterfaceManager::GetInstance().UpdateInterface(InterfaceInfo::InterfaceType::P2P,
in HWTEST_F()
|
/foundation/ability/idl_tool/idl_tool_2/parser/ |
H A D | intf_type_check.cpp | 35 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 D | ast_string16_type.cpp | 32 if (Options::GetInstance().GetInterfaceType() == InterfaceType::SA) { in ToString()
|
H A D | ast_string_type.cpp | 32 if (Options::GetInstance().GetInterfaceType() == InterfaceType::SA) { in ToString()
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/detail/ |
H A D | property.h | 305 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 D | array_property.h | 204 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 D | ser_nodes.h | 193 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 D | event_impl.h | 52 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 D | ast_method.cpp | 82 if (Options::GetInstance().GetInterfaceType() == InterfaceType::SA) { in Dump()
|
H A D | ast_type.cpp | 197 if (Options::GetInstance().GetInterfaceType() == InterfaceType::SA) { in ToString()
|
/foundation/ability/idl_tool/idl_tool_2/codegen/SA/ |
H A D | sa_code_generator.cpp | 103 CodegenBuilder::GetInstance().GeneratorRegister(InterfaceType::SA, new SACodeGenerator());
in GeneratorInit()
|