Home
last modified time | relevance | path

Searched refs:interfaceName (Results 1 - 12 of 12) sorted by relevance

/drivers/hdf_core/adapter/uhdf2/hdi/src/
H A Dobject_collector.cpp32 bool ObjectCollector::ConstructorRegister(const std::u16string &interfaceName, const Constructor &constructor) in ConstructorRegister() argument
34 if (interfaceName.empty()) { in ConstructorRegister()
38 constructorMapper_.emplace(interfaceName, std::move(constructor)); in ConstructorRegister()
42 void ObjectCollector::ConstructorUnRegister(const std::u16string &interfaceName) in ConstructorUnRegister() argument
45 constructorMapper_.erase(interfaceName); in ConstructorUnRegister()
49 const OHOS::sptr<HdiBase> &interface, const std::u16string &interfaceName) in NewObjectLocked()
54 auto constructor = constructorMapper_.find(interfaceName); in NewObjectLocked()
63 const OHOS::sptr<HdiBase> &interface, const std::u16string &interfaceName) in NewObject()
66 return NewObjectLocked(interface, interfaceName); in NewObject()
70 const OHOS::sptr<HdiBase> &interface, const std::u16string &interfaceName) in GetOrNewObject()
48 NewObjectLocked( const OHOS::sptr<HdiBase> &interface, const std::u16string &interfaceName) NewObjectLocked() argument
62 NewObject( const OHOS::sptr<HdiBase> &interface, const std::u16string &interfaceName) NewObject() argument
69 GetOrNewObject( const OHOS::sptr<HdiBase> &interface, const std::u16string &interfaceName) GetOrNewObject() argument
[all...]
H A Dhdi_support.cpp49 static std::string TransFileName(const std::string &interfaceName) in TransFileName() argument
51 if (interfaceName.empty()) { in TransFileName()
52 return interfaceName; in TransFileName()
56 for (size_t i = 0; i < interfaceName.size(); i++) { in TransFileName()
57 char c = interfaceName[i]; in TransFileName()
70 static std::string ParseLibName(const std::string &interfaceName, const std::string &serviceName, in ParseLibName() argument
74 libName << "lib" << interfaceName << "_" << serviceName << "_" << versionMajor << "." << versionMinor; in ParseLibName()
111 std::string interfaceName = result[INTERFACE_NAME_INDEX]; in ParseInterface() local
113 interface = interfaceName[0] == 'I' ? interfaceName in ParseInterface()
138 std::string interfaceName; LoadHdiImpl() local
187 std::string interfaceName; UnloadHdiImpl() local
[all...]
/drivers/hdf_core/interfaces/inner_api/hdi/
H A Dobject_collector.h63 bool ConstructorRegister(const std::u16string &interfaceName, const Constructor &constructor);
65 void ConstructorUnRegister(const std::u16string &interfaceName);
67 sptr<IRemoteObject> NewObject(const sptr<HdiBase> &interface, const std::u16string &interfaceName);
69 sptr<IRemoteObject> GetOrNewObject(const sptr<HdiBase> &interface, const std::u16string &interfaceName);
76 sptr<IRemoteObject> NewObjectLocked(const sptr<HdiBase> &interface, const std::u16string &interfaceName);
H A Dservmgr_hdi.h93 * @param interfaceName Indicates the pointer to the interface descriptor.
96 struct HdiServiceSet *(*ListServiceByInterfaceDesc)(struct HDIServiceManager *self, const char *interfaceName);
/drivers/hdf_core/framework/test/fuzztest/servmgr_c_fuzzer/listservicebyinterfacedesc_fuzzer/
H A Dlistservicebyinterfacedesc_fuzzer.cpp29 auto interfaceName = parcel.ReadCString(); in ListServiceByInterfaceDescFuzzTest() local
37 struct HdiServiceSet *serviceSet = servmgr->ListServiceByInterfaceDesc(servmgr, interfaceName); in ListServiceByInterfaceDescFuzzTest()
/drivers/peripheral/usb/ddk/device/src/
H A Dadapter_if.c328 static int32_t UsbFnAdapterCreatInterface(const char *interfaceName, int32_t nameLen) in UsbFnAdapterCreatInterface() argument
333 if (interfaceName == NULL || nameLen <= 0) { in UsbFnAdapterCreatInterface()
343 ret = snprintf_s(fnnew.name, MAX_NAMELEN, MAX_NAMELEN - 1, "%s", interfaceName); in UsbFnAdapterCreatInterface()
360 static int32_t UsbFnAdapterDelInterface(const char *interfaceName, int32_t nameLen) in UsbFnAdapterDelInterface() argument
364 if (interfaceName == NULL || nameLen <= 0) { in UsbFnAdapterDelInterface()
374 ret = snprintf_s(fnnew.name, MAX_NAMELEN, MAX_NAMELEN - 1, "%s", interfaceName); in UsbFnAdapterDelInterface()
390 static int32_t UsbFnAdapterOpenPipe(const char *interfaceName, int32_t epIndex) in UsbFnAdapterOpenPipe() argument
392 if (interfaceName == NULL || epIndex < 0) { in UsbFnAdapterOpenPipe()
397 int32_t ret = snprintf_s(epName, MAX_NAMELEN, MAX_NAMELEN - 1, "/dev/functionfs/%s.ep%d", interfaceName, epIndex); in UsbFnAdapterOpenPipe()
798 char interfaceName[MAX_NAMELE in CreatFunc() local
[all...]
/drivers/hdf_core/framework/tools/hdi-gen/codegen/
H A Dcode_emitter.cpp144 std::string CodeEmitter::InterfaceToFilePath(const std::string &interfaceName) const in InterfaceToFilePath()
146 std::string fullName = interfaceName; in InterfaceToFilePath()
H A Dcode_emitter.h92 std::string InterfaceToFilePath(const std::string &interfaceName) const;
/drivers/peripheral/usb/ddk/device/include/
H A Dadapter_if.h210 int32_t (*openPipe)(const char *interfaceName, int32_t epIndex);
/drivers/peripheral/wlan/client/src/netlink/
H A Dnetlink_cmd_adapter.c177 char interfaceName[IFNAMSIZ]; member
1777 if (strcpy_s(ioctlData.interfaceName, IFNAMSIZ, ifName) != EOK) { in GetCurrentPowerMode()
1860 if (strcpy_s(ioctlData.interfaceName, IFNAMSIZ, ifName) != EOK) { in SetPowerMode()
1949 static int32_t GetInterfaceState(const char *interfaceName, uint16_t *state) in GetInterfaceState() argument
1966 if (strncpy_s(ifr.ifr_name, MAX_INTERFACE_NAME_SIZE, interfaceName, strlen(interfaceName)) != EOK) { in GetInterfaceState()
1973 interfaceName, errno, strerror(errno)); in GetInterfaceState()
/drivers/hdf_core/framework/tools/hdi-gen/parser/
H A Dparser.cpp1851 std::string interfaceName = interfaceType->GetName(); in CheckExtendsName() local
1852 if (extendsInterfaceName.substr(index + 1).compare(interfaceName) != 0) { in CheckExtendsName()
/drivers/peripheral/wlan/test/unittest/hal/
H A Dwifi_hal_test.cpp2030 const char *interfaceName = "wlan0";
2037 ret = staFeature->getSignalPollInfo(interfaceName, &signalResult);

Completed in 19 milliseconds