/ohos5.0/foundation/ability/idl_tool/test/unittest/ast_interface_type_test/ |
H A D | ast_interface_type_test.cpp | 80 AutoPtr<ASTInterfaceType> interfaceType = new ASTInterfaceType(); variable 87 interfaceType->SetName(name); 88 interfaceType->SetNamespace(nspace); 89 interfaceType->SetExternal(true); 91 String result = interfaceType->Dump(prefix); 121 interfaceType->SetExternal(false); 122 interfaceType->SetName(name); 123 interfaceType->SetNamespace(nspace); 140 interfaceType->AddMethod(method0); 141 interfaceType->AddMethod(method1); [all …]
|
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/parser/ |
H A D | intf_type_check.cpp | 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() 128 AutoPtr<ASTMethod> method = interfaceType->GetMethod(i); in CheckIntfSaAstMethods() 169 if (interfaceType == nullptr) { in CheckIntfHdiAst() 173 if (interfaceType->IsExternal()) { in CheckIntfHdiAst() [all …]
|
H A D | parser.cpp | 532 interfaceType->SetAttribute(astAttr); in ParseInterface() 544 interfaceType->SetName(token.value); in ParseInterface() 547 interfaceType->SetLicense(ast_->GetLicense()); in ParseInterface() 551 CheckInterfaceAttr(interfaceType, token); in ParseInterface() 552 ParseInterfaceExtends(interfaceType); in ParseInterface() 555 ParseInterfaceExternal(interfaceType); in ParseInterface() 557 if (interfaceType->GetName() != ast_->GetName()) { in ParseInterface() 561 ParseInterfaceBody(interfaceType); in ParseInterface() 564 ast_->AddInterfaceDef(interfaceType); in ParseInterface() 594 if ((interfaceType == InterfaceType::HDI) && in ParseInfAttrInfo() [all …]
|
H A D | parser.h | 214 void ParseExtendsInfo(AutoPtr<ASTInterfaceType> &interfaceType); 216 bool CheckExtendsName(AutoPtr<ASTInterfaceType> &interfaceType, const std::string &extendsName); 219 …AutoPtr<ASTInterfaceType> &interfaceType, const std::string &extendsName, AutoPtr<AST> extendsAst);
|
/ohos5.0/base/usb/usb_manager/services/native/src/ |
H A D | usb_host_manager.cpp | 211 std::string UsbHostManager::ConcatenateToDescription(const UsbDeviceType &interfaceType, const std:… in ConcatenateToDescription() argument 214 …ss << std::setw(CLASS_PRINT_LENGTH) << std::setfill('0') << std::hex << interfaceType.baseClass <<… in ConcatenateToDescription() 215 …ss << std::setw(CLASS_PRINT_LENGTH) << std::setfill('0') << std::hex << interfaceType.subClass << … in ConcatenateToDescription() 216 …ss << std::setw(CLASS_PRINT_LENGTH) << std::setfill('0') << std::hex << interfaceType.protocol << … in ConcatenateToDescription() 221 std::string UsbHostManager::GetInterfaceUsageDescription(const UsbDeviceType &interfaceType) in GetInterfaceUsageDescription() argument 224 auto infUsageIter = interfaceUsageMap.find(interfaceType); in GetInterfaceUsageDescription() 244 UsbDeviceType interfaceType = {interface.GetClass(), in GetInterfaceDescription() local 246 if (useInterfaceType.find(interfaceType) == useInterfaceType.end()) { in GetInterfaceDescription() 247 useInterfaceType.insert(interfaceType); in GetInterfaceDescription() 248 std::string infUsageDes = GetInterfaceUsageDescription(interfaceType); in GetInterfaceDescription() [all …]
|
H A D | usb_service.cpp | 2004 int32_t UsbService::ManageInterfaceTypeImpl(InterfaceType interfaceType, bool disable) in ManageInterfaceTypeImpl() argument 2010 auto iterInterface = g_typeMap.find(interfaceType); in ManageInterfaceTypeImpl() 2040 devices.size(), (int32_t)interfaceType, disable); in ManageInterfaceTypeImpl() 2051 int32_t UsbService::ManageDeviceTypeImpl(InterfaceType interfaceType, bool disable) in ManageDeviceTypeImpl() argument 2053 auto iterInterface = g_typeMap.find(interfaceType); in ManageDeviceTypeImpl() 2068 devices.size(), static_cast<int32_t>(interfaceType), disable); in ManageDeviceTypeImpl()
|
/ohos5.0/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() 325 …(TAG, "Interface type 'intf-type' value '%d' invalid, please input 'hdi' or 'sa'.", interfaceType); in CheckOptions() 585 interfaceType = codeGenIter->second; in SetInterfaceType() 628 if (interfaceType == InterfaceType::SA) { in HasWarning()
|
H A D | options.h | 203 return interfaceType; in GetInterfaceType() 228 interfaceType(InterfaceType::SA) in Options() 319 InterfaceType interfaceType; variable
|
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/preprocessor/ |
H A D | preprocessor.cpp | 157 InterfaceType interfaceType = Options::GetInstance().GetInterfaceType(); in ParsePackage() local 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()
|
/ohos5.0/foundation/communication/netmanager_ext/test/networksharemanager/unittest/networkshare_manager_test/ |
H A D | networkshare_tracker_test.cpp | 128 SharingIfaceType interfaceType; variable 133 auto ret = NetworkShareTracker::GetInstance().InterfaceNameToType(iface, interfaceType); 616 SharingIfaceType interfaceType = static_cast<SharingIfaceType>(3); variable 617 NetworkShareTracker::GetInstance().StopSubStateMachine(iface, interfaceType); 625 SharingIfaceType interfaceType; variable 630 NetworkShareTracker::GetInstance().InterfaceNameToType(iface, interfaceType); 631 EXPECT_EQ(interfaceType, SharingIfaceType::SHARING_WIFI); 634 NetworkShareTracker::GetInstance().InterfaceNameToType(iface, interfaceType); 635 EXPECT_EQ(interfaceType, SharingIfaceType::SHARING_USB); 638 NetworkShareTracker::GetInstance().InterfaceNameToType(iface, interfaceType); [all …]
|
/ohos5.0/foundation/ability/idl_tool/test/unittest/ast_module_test/ |
H A D | ast_module_test.cpp | 163 AutoPtr<ASTInterfaceType> interfaceType = new ASTInterfaceType(); variable 164 int result = module->IndexOf(interfaceType); 196 AutoPtr<ASTInterfaceType> interfaceType = new ASTInterfaceType(); variable
|
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/parser/ |
H A D | parser.h | 194 void ParseExtendsInfo(AutoPtr<ASTInterfaceType> &interfaceType); 196 bool CheckExtendsName(AutoPtr<ASTInterfaceType> &interfaceType, const std::string &extendsName); 199 …AutoPtr<ASTInterfaceType> &interfaceType, const std::string &extendsName, AutoPtr<AST> extendsAst); 203 void SetInterfaceVersion(AutoPtr<ASTInterfaceType> &interfaceType);
|
H A D | parser.cpp | 396 AutoPtr<ASTInterfaceType> interfaceType = new ASTInterfaceType; in ParseInterface() local 398 interfaceType->SetAttribute(astAttr); in ParseInterface() 405 interfaceType->SetName(token.value); in ParseInterface() 407 interfaceType->SetLicense(ast_->GetLicense()); in ParseInterface() 415 CheckInterfaceAttr(interfaceType, token); in ParseInterface() 416 ParseInterfaceExtends(interfaceType); in ParseInterface() 417 ParseInterfaceBody(interfaceType); in ParseInterface() 418 SetInterfaceVersion(interfaceType); in ParseInterface() 419 ast_->AddInterfaceDef(interfaceType); in ParseInterface() 1851 std::string interfaceName = interfaceType->GetName(); in CheckExtendsName() [all …]
|
/ohos5.0/base/security/code_signature/utils/include/ |
H A D | cs_hisysevent.h | 38 inline void ReportInvalidCaller(const std::string &interfaceType, uint32_t tokenId) in ReportInvalidCaller() argument 42 "INTERFACE", interfaceType, "TOKEN_ID", tokenId); in ReportInvalidCaller()
|
/ohos5.0/base/usb/usb_manager/services/native/include/ |
H A D | usb_host_manager.h | 52 … std::string ConcatenateToDescription(const UsbDeviceType &interfaceType, const std::string& str); 55 std::string GetInterfaceUsageDescription(const UsbDeviceType &interfaceType);
|
H A D | usb_service.h | 190 int32_t ManageInterfaceTypeImpl(InterfaceType interfaceType, bool disable); 191 int32_t ManageDeviceTypeImpl(InterfaceType interfaceType, bool disable);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/ |
H A D | syncer_proxy.cpp | 34 int interfaceType = syncInterface->GetInterfaceType(); in Initialize() local 38 syncer_ = SyncerFactory::GetSyncer(interfaceType); in Initialize() 42 LOGF("syncer create failed! invalid interface type %d", interfaceType); in Initialize()
|
/ohos5.0/foundation/communication/netmanager_ext/services/networksharemanager/include/ |
H A D | networkshare_tracker.h | 226 …int32_t CreateSubStateMachine(const std::string &iface, const SharingIfaceType &interfaceType, boo… 227 void StopSubStateMachine(const std::string &iface, const SharingIfaceType &interfaceType); 231 bool FindSubStateMachine(const std::string &iface, const SharingIfaceType &interfaceType,
|
H A D | networkshare_sub_statemachine.h | 43 NetworkShareSubStateMachine(const std::string &ifaceName, const SharingIfaceType &interfaceType,
|
/ohos5.0/foundation/multimedia/av_session/services/session/adapter/ |
H A D | avsession_dynamic_insight.h | 45 const int32_t interfaceType = 9; variable
|
H A D | avsession_dynamic_insight.cpp | 162 …antParam->SetParam("entityId", AppExecFwk::WantParams::GetInterfaceByType(interfaceType, assetId)); in GetPlayIntentParam()
|
/ohos5.0/foundation/communication/netmanager_ext/services/networksharemanager/src/ |
H A D | networkshare_tracker.cpp | 860 …kShareTracker::FindSubStateMachine(const std::string &iface, const SharingIfaceType &interfaceType, in FindSubStateMachine() argument 889 if (it.second->subStateMachine_->GetNetShareType() == interfaceType) { in FindSubStateMachine() 892 NETMGR_EXT_LOG_I("find subsm by type[%{public}d].", interfaceType); in FindSubStateMachine() 1025 …hareTracker::CreateSubStateMachine(const std::string &iface, const SharingIfaceType &interfaceType, in CreateSubStateMachine() argument 1037 std::make_shared<NetworkShareSubStateMachine>(iface, interfaceType, configuration_); in CreateSubStateMachine() 1047 … static_cast<SharingIfaceType>(interfaceType), std::to_string(subStateMachineMap_.size()).c_str()); in CreateSubStateMachine() 1052 const std::string &iface, const SharingIfaceType &interfaceType) in StopSubStateMachine() argument 1056 if (!FindSubStateMachine(iface, interfaceType, subSM, findKey) || subSM == nullptr) { in StopSubStateMachine()
|
/ohos5.0/foundation/communication/netmanager_ext/test/networksharemanager/fuzztest/netshareclient_fuzzer/ |
H A D | netshare_client_fuzzer.cpp | 414 …SharingIfaceType interfaceType = static_cast<SharingIfaceType>(GetData<uint32_t>() % CREATE_SHARE_… in NetworkShareSubStateMachineFuzzTest() local 416 std::make_unique<NetworkShareSubStateMachine>(ifaceName, interfaceType, configuration); in NetworkShareSubStateMachineFuzzTest() 481 …SharingIfaceType interfaceType = static_cast<SharingIfaceType>(GetData<uint32_t>() % CREATE_SHARE_… in NetworkShareSubStateMachinePrivateFuzzTest() local 482 …rkShareSubStateMachine = std::make_unique<NetworkShareSubStateMachine>(str, interfaceType, config); in NetworkShareSubStateMachinePrivateFuzzTest()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_manager/ |
H A D | bundle_manager.h | 201 …Query(const std::string &bundleName, const std::string &interfaceType, int32_t flags, int32_t user… in Query() 202 …: bundleName_(bundleName), interfaceType_(interfaceType), flags_(flags), userId_(userId), env_(env… in Query()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/ |
H A D | bundle_mgr.h | 291 …Query(const std::string &bundleName, const std::string &interfaceType, int32_t flags, int32_t user… in Query() 292 …: bundleName_(bundleName), interfaceType_(interfaceType), flags_(flags), userId_(userId), env_(env… in Query()
|