Home
last modified time | relevance | path

Searched refs:motionType (Results 1 - 4 of 4) sorted by relevance

/drivers/peripheral/motion/hdi_service/
H A Dmotion_if_service.cpp82 int32_t MotionIfService::EnableMotion(int32_t motionType) in EnableMotion() argument
84 HDF_LOGI("%{public}s: motionType is %{public}d", __func__, motionType); in EnableMotion()
90 int32_t checkResult = CheckMotionType(motionType); in EnableMotion()
96 int32_t ret = motionVdiImpl_->EnableMotion(motionType); in EnableMotion()
105 int32_t MotionIfService::DisableMotion(int32_t motionType) in DisableMotion() argument
107 HDF_LOGI("%{public}s: motionType is %{public}d", __func__, motionType); in DisableMotion()
113 int32_t checkResult = CheckMotionType(motionType); in DisableMotion()
119 int32_t ret = motionVdiImpl_->DisableMotion(motionType); in DisableMotion()
166 SetMotionConfig(int32_t motionType, const std::vector<uint8_t>& data) SetMotionConfig() argument
189 CheckMotionType(int32_t motionType) CheckMotionType() argument
[all...]
H A Dmotion_if_service.h33 int32_t EnableMotion(int32_t motionType) override;
34 int32_t DisableMotion(int32_t motionType) override;
37 int32_t SetMotionConfig(int32_t motionType, const std::vector<uint8_t>& data) override;
41 int32_t CheckMotionType(int32_t motionType);
/drivers/peripheral/motion/interfaces/v1_0/
H A Dimotion_interface_vdi.h33 virtual int32_t EnableMotion(int32_t motionType) = 0;
34 virtual int32_t DisableMotion(int32_t motionType) = 0;
37 virtual int32_t SetMotionConfig(int32_t motionType, const std::vector<uint8_t>& data) = 0;
/drivers/peripheral/motion/test/unittest/hdi/
H A Dhdf_motion_hdi_test.cpp202 int32_t motionType = -1; in HWTEST_F() local
203 int32_t ret = g_motionInterface->EnableMotion(motionType); in HWTEST_F()
207 ret = g_motionInterface->DisableMotion(motionType); in HWTEST_F()
255 int32_t motionType = -1; in HWTEST_F() local
256 int32_t ret = g_motionInterface->DisableMotion(motionType); in HWTEST_F()
266 int32_t motionType = -1; in HWTEST_F() local
267 int32_t ret = g_motionInterface->SetMotionConfig(motionType, g_motionConfigData); in HWTEST_F()

Completed in 1 milliseconds