Home
last modified time | relevance | path

Searched refs:vdi_ (Results 1 - 8 of 8) sorted by relevance

/drivers/peripheral/motion/hdi_service/
H A Dmotion_if_service.cpp37 if (vdi_ != nullptr) { in ~MotionIfService()
38 HdfCloseVdi(vdi_); in ~MotionIfService()
46 vdi_ = HdfLoadVdi(HDI_MOTION_VDI_LIBNAME); in GetMotionVdiImpl()
47 if (vdi_ == nullptr || vdi_->vdiBase == nullptr) { in GetMotionVdiImpl()
52 version = HdfGetVdiVersion(vdi_); in GetMotionVdiImpl()
58 wrapperMotionVdi = reinterpret_cast<struct WrapperMotionVdi *>(vdi_->vdiBase); in GetMotionVdiImpl()
H A Dmotion_if_service.h43 struct HdfVdiObject *vdi_ = nullptr; member in OHOS::HDI::Motion::V1_1::MotionIfService
/drivers/peripheral/light/hdi_service/
H A Dlight_if_service.cpp37 if (vdi_ != nullptr) { in ~LightIfService()
38 HdfCloseVdi(vdi_); in ~LightIfService()
46 vdi_ = HdfLoadVdi(HDI_LIGHT_VDI_LIBNAME); in GetLightVdiImpl()
47 if (vdi_ == nullptr || vdi_->vdiBase == nullptr) { in GetLightVdiImpl()
52 version = HdfGetVdiVersion(vdi_); in GetLightVdiImpl()
58 vdiWrapperLight = reinterpret_cast<struct VdiWrapperLight *>(vdi_->vdiBase); in GetLightVdiImpl()
H A Dlight_if_service.h40 struct HdfVdiObject *vdi_ = nullptr; member in OHOS::HDI::Light::V1_0::LightIfService
/drivers/peripheral/vibrator/hdi_service/
H A Dvibrator_if_service.cpp37 if (vdi_ != nullptr) { in ~VibratorIfService()
38 HdfCloseVdi(vdi_); in ~VibratorIfService()
46 vdi_ = HdfLoadVdi(HDI_VIBRATOR_VDI_LIBNAME); in GetVibratorVdiImpl()
47 if (vdi_ == nullptr || vdi_->vdiBase == nullptr) { in GetVibratorVdiImpl()
52 version = HdfGetVdiVersion(vdi_); in GetVibratorVdiImpl()
58 vdiWrapperVibrator = reinterpret_cast<struct VdiWrapperVibrator *>(vdi_->vdiBase); in GetVibratorVdiImpl()
H A Dvibrator_if_service.h50 struct HdfVdiObject *vdi_ = nullptr; member in OHOS::HDI::Vibrator::V1_3::VibratorIfService
/drivers/peripheral/sensor/hdi_service/
H A Dsensor_if_service.cpp61 if (vdi_ != nullptr) { in ~SensorIfService()
62 HdfCloseVdi(vdi_); in ~SensorIfService()
81 vdi_ = HdfLoadVdi(HDI_SENSOR_VDI_LIBNAME); in GetSensorVdiImpl()
82 if (vdi_ == nullptr || vdi_->vdiBase == nullptr) { in GetSensorVdiImpl()
87 version = HdfGetVdiVersion(vdi_); in GetSensorVdiImpl()
93 wrapperSensorVdi = reinterpret_cast<struct OHOS::HDI::Sensor::V1_1::WrapperSensorVdi *>(vdi_->vdiBase); in GetSensorVdiImpl()
H A Dsensor_if_service.h63 struct HdfVdiObject *vdi_ = nullptr; member in OHOS::HDI::Sensor::V2_0::SensorIfService

Completed in 5 milliseconds