Home
last modified time | relevance | path

Searched refs:HdfDeviceSetClass (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/docs/zh-cn/contribute/
H A DOpenHarmony-hdf-coding-guide.md105 #### 【建议】在HdfDriverEntry的Init方法中,应当调用HdfDeviceSetClass接口,对驱动的类型进行定义
107 【说明】驱动的类型可以用于归类当前设备的驱动程序,也可以用来查询当前设备的驱动能力。为了便于后续驱动的统一管理,建议通过HdfDeviceSetClass接口来设置当前驱动的类型。
115 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_DISPLAY)) {
116 HDF_LOGE("HdfDeviceSetClass failed");
522 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_DISPLAY)) {
523 HDF_LOGE("HdfDeviceSetClass failed");
/ohos5.0/drivers/peripheral/audio/hal/hdi_binder/server/src/
H A Dhdf_audio_a2dp_server.c74 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_AUDIO)) { in AudioHdiA2dpServerInit()
H A Dhdf_audio_usb_server.c75 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_AUDIO)) { in AudioHdiUsbServerInit()
H A Dhdf_audio_pnp_server.c206 if (!HdfDeviceSetClass(device, DEVICE_CLASS_AUDIO)) { in HdfAudioPnpInit()
/ohos5.0/drivers/hdf_core/interfaces/inner_api/host/shared/
H A Dhdf_device_desc.h335 bool HdfDeviceSetClass(struct HdfDeviceObject *deviceObject, DeviceClass deviceClass);
/ohos5.0/drivers/peripheral/face_auth/hdi_service/src/
H A Dface_auth_interface_driver.cpp74 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_USERAUTH)) { in HdfFaceAuthInterfaceDriverInit()
/ohos5.0/drivers/peripheral/fingerprint_auth/hdi_service/src/
H A Dfingerprint_auth_interface_driver.cpp75 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_USERAUTH)) { in HdfFingerprintAuthInterfaceDriverInit()
/ohos5.0/drivers/peripheral/audio/effect/host/
H A Daudio_effect_driver.c61 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_AUDIO)) { in HdfEffectDriverInit()
/ohos5.0/drivers/peripheral/audio/hdi_service/primary/
H A Daudio_manager_driver.c65 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_AUDIO)) { in HdfAudioManagerDriverInit()
/ohos5.0/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/src/
H A Daudio_driver.cpp69 HdfDeviceSetClass(deviceObject, DEVICE_CLASS_AUDIO); in HdfAudioManagerDriverInit()
/ohos5.0/drivers/peripheral/distributed_audio/hdi_service/audio_ext/v1_0/src/
H A Ddaudio_manager_driver.cpp66 HdfDeviceSetClass(deviceObject, DEVICE_CLASS_AUDIO); in HdfDAudioManagerDriverInit()
/ohos5.0/drivers/peripheral/distributed_camera/hdi_service/src/config/
H A Ddcamera_host_config.cpp73 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_CAMERA)) { in HdfCameraHostDriverInit()
H A Ddcamera_provider_config.cpp73 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_CAMERA)) { in HdfDCameraProviderDriverInit()
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/service/src/
H A Dpin_auth_interface_driver.cpp82 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_USERAUTH)) { in HdfPinAuthInterfaceDriverInit()
/ohos5.0/docs/en/contribute/
H A DOpenHarmony-hdf-coding-guide.md105 #### [Rec] Call the HdfDeviceSetClass interface in the Init method of the HdfDriverEntry object to …
107 …ent device. For better driver management, you are advised to call **HdfDeviceSetClass** to set the…
115 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_DISPLAY)) {
116 HDF_LOGE("HdfDeviceSetClass failed");
522 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_DISPLAY)) {
523 HDF_LOGE("HdfDeviceSetClass failed");
/ohos5.0/drivers/hdf_core/framework/core/host/src/
H A Dhdf_device_object.c162 bool HdfDeviceSetClass(struct HdfDeviceObject *deviceObject, DeviceClass deviceClass) in HdfDeviceSetClass() function
/ohos5.0/drivers/hdf_core/framework/model/audio/core/src/
H A Daudio_host.c386 if (!HdfDeviceSetClass(device, DEVICE_CLASS_AUDIO)) { in AudioDriverInit()
/ohos5.0/drivers/hdf_core/framework/model/sensor/driver/common/src/
H A Dsensor_device_manager.c376 if (!HdfDeviceSetClass(device, DEVICE_CLASS_SENSOR)) { in InitSensorDevManager()
/ohos5.0/drivers/peripheral/bluetooth/audio/hal/hdi_binder/server/src/
H A Dhdf_audio_server.cpp480 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_AUDIO)) { in AudioHdiServerInit()
/ohos5.0/drivers/hdf_core/framework/support/platform/src/timer/
H A Dtimer_core.c558 HdfDeviceSetClass(device, DEVICE_CLASS_PLAT); in TimerManagerInit()
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-peripherals-face_auth-des.md192 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_USERAUTH)) {
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-peripherals-face_auth-des.md192 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_USERAUTH)) {