Home
last modified time | relevance | path

Searched refs:TRADITIONAL_SENSOR_TYPE (Results 1 – 7 of 7) sorted by relevance

/drivers/peripheral/sensor/test/benchmarktest/
Dsensor_benchmark_test.cpp96 ret = g_sensorInterface->Register(TRADITIONAL_SENSOR_TYPE, g_traditionalCallback); in BENCHMARK_F()
99 ret = g_sensorInterface->Unregister(TRADITIONAL_SENSOR_TYPE, g_traditionalCallback); in BENCHMARK_F()
119 ret = g_sensorInterface->Register(TRADITIONAL_SENSOR_TYPE, g_traditionalCallback); in BENCHMARK_F()
122 ret = g_sensorInterface->Unregister(TRADITIONAL_SENSOR_TYPE, g_traditionalCallback); in BENCHMARK_F()
143 ret = g_sensorInterface->Register(TRADITIONAL_SENSOR_TYPE, g_traditionalCallback); in BENCHMARK_F()
157 ret = g_sensorInterface->Unregister(TRADITIONAL_SENSOR_TYPE, g_traditionalCallback); in BENCHMARK_F()
177 ret = g_sensorInterface->Register(TRADITIONAL_SENSOR_TYPE, g_traditionalCallback); in BENCHMARK_F()
190 ret = g_sensorInterface->Unregister(TRADITIONAL_SENSOR_TYPE, g_traditionalCallback); in BENCHMARK_F()
210 ret = g_sensorInterface->Register(TRADITIONAL_SENSOR_TYPE, g_traditionalCallback); in BENCHMARK_F()
222 ret = g_sensorInterface->Unregister(TRADITIONAL_SENSOR_TYPE, g_traditionalCallback); in BENCHMARK_F()
/drivers/peripheral/sensor/test/unittest/common/
Dhdf_sensor_test.cpp207 int32_t ret = g_sensorDev->Register(TRADITIONAL_SENSOR_TYPE, TraditionalSensorTestDataCallback);
209 ret = g_sensorDev->Unregister(TRADITIONAL_SENSOR_TYPE, TraditionalSensorTestDataCallback);
223 int32_t ret = g_sensorDev->Register(TRADITIONAL_SENSOR_TYPE, nullptr);
347 int32_t ret = g_sensorDev->Register(TRADITIONAL_SENSOR_TYPE, TraditionalSensorTestDataCallback);
365 ret = g_sensorDev->Unregister(TRADITIONAL_SENSOR_TYPE, TraditionalSensorTestDataCallback);
401 int32_t ret = g_sensorDev->Register(TRADITIONAL_SENSOR_TYPE, TraditionalSensorTestDataCallback);
417 ret = g_sensorDev->Unregister(TRADITIONAL_SENSOR_TYPE, TraditionalSensorTestDataCallback);
467 int32_t ret = g_sensorDev->Register(TRADITIONAL_SENSOR_TYPE, TraditionalSensorTestDataCallback);
491 ret = g_sensorDev->Unregister(TRADITIONAL_SENSOR_TYPE, TraditionalSensorTestDataCallback);
/drivers/peripheral/sensor/test/unittest/hdi/
Dhdf_sensor_hdi_test.cpp161 int32_t ret = g_sensorInterface->Register(TRADITIONAL_SENSOR_TYPE, g_traditionalCallback);
163 ret = g_sensorInterface->Unregister(TRADITIONAL_SENSOR_TYPE, g_traditionalCallback);
215 int32_t ret = g_sensorInterface->Register(TRADITIONAL_SENSOR_TYPE, g_traditionalCallback);
229 ret = g_sensorInterface->Unregister(TRADITIONAL_SENSOR_TYPE, g_traditionalCallback);
265 int32_t ret = g_sensorInterface->Register(TRADITIONAL_SENSOR_TYPE, g_traditionalCallback);
278 ret = g_sensorInterface->Unregister(TRADITIONAL_SENSOR_TYPE, g_traditionalCallback);
/drivers/peripheral/sensor/hdi_impl/
Dsensor_impl.cpp78 (void)ReportSensorEventsData(TRADITIONAL_SENSOR_TYPE, event); in TradtionalSensorDataCallback()
116 RemoveDeathNotice(TRADITIONAL_SENSOR_TYPE); in ~SensorImpl()
285 if (groupId < TRADITIONAL_SENSOR_TYPE || groupId > MEDICAL_SENSOR_TYPE) { in Register()
316 if (groupId == TRADITIONAL_SENSOR_TYPE) { in Register()
357 if (groupId < TRADITIONAL_SENSOR_TYPE || groupId > MEDICAL_SENSOR_TYPE) { in UnregisterImpl()
393 if (groupId == TRADITIONAL_SENSOR_TYPE) { in UnregisterImpl()
456 int32_t groupId = TRADITIONAL_SENSOR_TYPE; in OnRemoteDied()
/drivers/peripheral/sensor/hal/src/
Dsensor_channel.c162 groupType = TRADITIONAL_SENSOR_TYPE; in OnSensorEventReceived()
220 if (groupId < TRADITIONAL_SENSOR_TYPE || groupId > MEDICAL_SENSOR_TYPE) { in Register()
249 if (groupId < TRADITIONAL_SENSOR_TYPE || groupId > MEDICAL_SENSOR_TYPE) { in Unregister()
263 if (manager->recordDataCb[TRADITIONAL_SENSOR_TYPE] != NULL && in Unregister()
Dsensor_manager.c131 manager->recordDataCb[TRADITIONAL_SENSOR_TYPE] = NULL; in InitSensorManager()
182 manager->recordDataCb[TRADITIONAL_SENSOR_TYPE] = NULL; in FreeSensorInterfaceInstance()
/drivers/peripheral/sensor/interfaces/include/
Dsensor_type.h157TRADITIONAL_SENSOR_TYPE = 0, /**< traditional sensor type, the sensorId enumeration value range is… enumerator