Home
last modified time | relevance | path

Searched refs:Motion (Results 1 – 18 of 18) sorted by relevance

/drivers/peripheral/motion/
DReadme_zh.md1 # Motion chapter
5 基于HDF(Hardware Driver Foundation)驱动框架开发的Motion驱动,能够屏蔽硬件器件差异,为上层服务提供稳定的手势识别基础能力接口,包括Motion使能/去使能、Mot…
7 Motion驱动模块如图1所示,上层为Framework层,提供MSDP服务,通过UHDF(User Hardware Driver Foundation)层的Motion Proxy与Motion
9 **图 1** Motion驱动模块架构图
15 Motion驱动源代码目录结构如下所示:
28 Motion驱动模块为上层服务提供可直接调用的能力接口,涉及的主要功能有:使能/去使能手势识别、订阅/取消订阅手势识别数据等操作。Motion驱动模型对HDI开放的API接口功能如表1:
30 **表 1** Motion HDI 接口列表
DReadme.md1 # Motion chapter
7 …interacts with the Motion Hardware Device Interface (HDI) Server through the Motion HDI Client. Th…
30 **Table 1** Motion HDI APIs
/drivers/peripheral/motion/test/unittest/hdi/
Dhdf_motion_hdi_test.cpp27 using namespace OHOS::HDI::Motion::V1_1;
31 sptr<OHOS::HDI::Motion::V1_1::IMotionInterface> g_motionInterface = nullptr;
46 g_motionInterface = OHOS::HDI::Motion::V1_1::IMotionInterface::Get(); in SetUpTestCase()
132 vec.push_back(OHOS::HDI::Motion::V1_1::HDF_MOTION_TYPE_PICKUP);
133 vec.push_back(OHOS::HDI::Motion::V1_1::HDF_MOTION_TYPE_FLIP);
134 vec.push_back(OHOS::HDI::Motion::V1_1::HDF_MOTION_TYPE_SHAKE);
135 vec.push_back(OHOS::HDI::Motion::V1_1::HDF_MOTION_TYPE_ROTATION);
170 int32_t ret = g_motionInterface->EnableMotion(OHOS::HDI::Motion::V1_1::HDF_MOTION_TYPE_MAX);
174 ret = g_motionInterface->DisableMotion(OHOS::HDI::Motion::V1_1::HDF_MOTION_TYPE_MAX);
184 … int32_t ret = g_motionInterface->EnableMotion(OHOS::HDI::Motion::V1_1::HDF_MOTION_TYPE_WRIST_UP);
[all …]
Dmotion_callback_impl.cpp21 namespace Motion { namespace
Dmotion_callback_impl.h24 namespace Motion {
/drivers/peripheral/motion/test/fuzztest/motion_fuzzer/
Dmotion_fuzzer.cpp22 using namespace OHOS::HDI::Motion::V1_1;
56 sptr<OHOS::HDI::Motion::V1_1::IMotionInterface> g_motionInterface = in DoSomethingInterestingWithMyAPI()
57 OHOS::HDI::Motion::V1_1::IMotionInterface::Get(false); in DoSomethingInterestingWithMyAPI()
62 sptr<OHOS::HDI::Motion::V1_1::MotionInterfaceStub> motionInterface = in DoSomethingInterestingWithMyAPI()
63 new OHOS::HDI::Motion::V1_1::MotionInterfaceStub(g_motionInterface); in DoSomethingInterestingWithMyAPI()
/drivers/peripheral/motion/hdi_service/
Dmotion_if_driver.cpp22 using namespace OHOS::HDI::Motion::V1_1;
71 auto serviceImpl = OHOS::HDI::Motion::V1_1::IMotionInterface::Get(true); in HdfMotionInterfaceDriverBind()
79 OHOS::HDI::Motion::V1_1::IMotionInterface::GetDescriptor()); in HdfMotionInterfaceDriverBind()
Dmotion_callback_vdi.h26 namespace Motion {
Dmotion_if_service.h26 namespace Motion {
Dmotion_callback_vdi.cpp20 namespace Motion { namespace
Dmotion_if_service.cpp24 namespace Motion { namespace
/drivers/interface/motion/v1_0/
DIMotionCallback.idl17 * @addtogroup Motion
51 …* Motion users need to register this callback to subscribe to motion data and can receive the data…
60 * @param event Motion data to report. For details, see {@link HdfMotionEvent}.
DIMotionInterface.idl17 * @addtogroup Motion
58 * @param motionType Motion type. For details, see {@link HdfMotionTypeTag}.
71 * @param motionType Motion type. For details, see {@link HdfMotionTypeTag}.
DMotionTypes.idl17 * @addtogroup Motion
/drivers/peripheral/motion/interfaces/v1_0/
Dimotion_callback_vdi.h27 namespace Motion {
Dimotion_interface_vdi.h24 namespace Motion {
/drivers/interface/motion/v1_1/
DIMotionInterface.idl17 * @addtogroup Motion
59 * @param motionType Motion type. For details, see {@link HdfMotionTypeTag}.
60 * @param data Motion wave config parameters for a trick. For details, see {@link WaveParam}.
DMotionTypes.idl17 * @addtogroup Motion