Searched refs:TRADITIONAL_SENSOR_TYPE (Results 1 – 7 of 7) sorted by relevance
/drivers/peripheral/sensor/test/benchmarktest/ |
D | sensor_benchmark_test.cpp | 96 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/ |
D | hdf_sensor_test.cpp | 207 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/ |
D | hdf_sensor_hdi_test.cpp | 161 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/ |
D | sensor_impl.cpp | 78 (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/ |
D | sensor_channel.c | 162 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()
|
D | sensor_manager.c | 131 manager->recordDataCb[TRADITIONAL_SENSOR_TYPE] = NULL; in InitSensorManager() 182 manager->recordDataCb[TRADITIONAL_SENSOR_TYPE] = NULL; in FreeSensorInterfaceInstance()
|
/drivers/peripheral/sensor/interfaces/include/ |
D | sensor_type.h | 157 …TRADITIONAL_SENSOR_TYPE = 0, /**< traditional sensor type, the sensorId enumeration value range is… enumerator
|