/ohos5.0/docs/zh-cn/contribute/ |
H A D | OpenHarmony-hdf-coding-guide.md | 105 #### 【建议】在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 D | hdf_audio_a2dp_server.c | 74 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_AUDIO)) { in AudioHdiA2dpServerInit()
|
H A D | hdf_audio_usb_server.c | 75 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_AUDIO)) { in AudioHdiUsbServerInit()
|
H A D | hdf_audio_pnp_server.c | 206 if (!HdfDeviceSetClass(device, DEVICE_CLASS_AUDIO)) { in HdfAudioPnpInit()
|
/ohos5.0/drivers/hdf_core/interfaces/inner_api/host/shared/ |
H A D | hdf_device_desc.h | 335 bool HdfDeviceSetClass(struct HdfDeviceObject *deviceObject, DeviceClass deviceClass);
|
/ohos5.0/drivers/peripheral/face_auth/hdi_service/src/ |
H A D | face_auth_interface_driver.cpp | 74 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_USERAUTH)) { in HdfFaceAuthInterfaceDriverInit()
|
/ohos5.0/drivers/peripheral/fingerprint_auth/hdi_service/src/ |
H A D | fingerprint_auth_interface_driver.cpp | 75 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_USERAUTH)) { in HdfFingerprintAuthInterfaceDriverInit()
|
/ohos5.0/drivers/peripheral/audio/effect/host/ |
H A D | audio_effect_driver.c | 61 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_AUDIO)) { in HdfEffectDriverInit()
|
/ohos5.0/drivers/peripheral/audio/hdi_service/primary/ |
H A D | audio_manager_driver.c | 65 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_AUDIO)) { in HdfAudioManagerDriverInit()
|
/ohos5.0/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/src/ |
H A D | audio_driver.cpp | 69 HdfDeviceSetClass(deviceObject, DEVICE_CLASS_AUDIO); in HdfAudioManagerDriverInit()
|
/ohos5.0/drivers/peripheral/distributed_audio/hdi_service/audio_ext/v1_0/src/ |
H A D | daudio_manager_driver.cpp | 66 HdfDeviceSetClass(deviceObject, DEVICE_CLASS_AUDIO); in HdfDAudioManagerDriverInit()
|
/ohos5.0/drivers/peripheral/distributed_camera/hdi_service/src/config/ |
H A D | dcamera_host_config.cpp | 73 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_CAMERA)) { in HdfCameraHostDriverInit()
|
H A D | dcamera_provider_config.cpp | 73 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_CAMERA)) { in HdfDCameraProviderDriverInit()
|
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/service/src/ |
H A D | pin_auth_interface_driver.cpp | 82 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_USERAUTH)) { in HdfPinAuthInterfaceDriverInit()
|
/ohos5.0/docs/en/contribute/ |
H A D | OpenHarmony-hdf-coding-guide.md | 105 #### [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 D | hdf_device_object.c | 162 bool HdfDeviceSetClass(struct HdfDeviceObject *deviceObject, DeviceClass deviceClass) in HdfDeviceSetClass() function
|
/ohos5.0/drivers/hdf_core/framework/model/audio/core/src/ |
H A D | audio_host.c | 386 if (!HdfDeviceSetClass(device, DEVICE_CLASS_AUDIO)) { in AudioDriverInit()
|
/ohos5.0/drivers/hdf_core/framework/model/sensor/driver/common/src/ |
H A D | sensor_device_manager.c | 376 if (!HdfDeviceSetClass(device, DEVICE_CLASS_SENSOR)) { in InitSensorDevManager()
|
/ohos5.0/drivers/peripheral/bluetooth/audio/hal/hdi_binder/server/src/ |
H A D | hdf_audio_server.cpp | 480 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_AUDIO)) { in AudioHdiServerInit()
|
/ohos5.0/drivers/hdf_core/framework/support/platform/src/timer/ |
H A D | timer_core.c | 558 HdfDeviceSetClass(device, DEVICE_CLASS_PLAT); in TimerManagerInit()
|
/ohos5.0/docs/zh-cn/device-dev/driver/ |
H A D | driver-peripherals-face_auth-des.md | 192 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_USERAUTH)) {
|
/ohos5.0/docs/en/device-dev/driver/ |
H A D | driver-peripherals-face_auth-des.md | 192 if (!HdfDeviceSetClass(deviceObject, DEVICE_CLASS_USERAUTH)) {
|