Home
last modified time | relevance | path

Searched refs:sensorId (Results 1 - 10 of 10) sorted by relevance

/test/xts/hats/hdf/sensor/hdiService/
H A Dhdf_sensor_hdiService_test.cpp80 if (iter.sensorId == sensorTypeId) in IsSuppprtedSensorId()
157 printf("get sensoriId[%d], info name[%s], power[%f]\n\r", iter.sensorId, iter.sensorName.c_str(), iter.power); in HWTEST_F()
159 if (iter.sensorId == g_sensorList[j].sensorTypeId) { in HWTEST_F()
235 ret = g_sensorInterface->SetBatch(iter.sensorId, SENSOR_INTERVAL1, SENSOR_POLL_TIME); in HWTEST_F()
237 ret = g_sensorInterface->Enable(iter.sensorId); in HWTEST_F()
240 ret = g_sensorInterface->Disable(iter.sensorId); in HWTEST_F()
264 ret = g_sensorInterface->SetBatch(iter.sensorId, SENSOR_INTERVAL2, SENSOR_POLL_TIME); in HWTEST_F()
266 ret = g_sensorInterface->Enable(iter.sensorId); in HWTEST_F()
269 ret = g_sensorInterface->Disable(iter.sensorId); in HWTEST_F()
305 int32_t ret = g_sensorInterface->SetBatch(iter.sensorId, in HWTEST_F()
1200 int32_t sensorId = g_info[0].sensorId; HWTEST_F() local
1233 int32_t sensorId = g_info[0].sensorId; HWTEST_F() local
1266 int32_t sensorId = g_info[0].sensorId; HWTEST_F() local
[all...]
H A Dsensor_callback_impl.cpp109 if (event.sensorId == g_sensorList[i].sensorTypeId) { in OnDataEvent()
/test/xts/hats/hdf/sensor/common/
H A Dhdf_sensor_test.cpp112 if (event->sensorId == g_sensorList[i].sensorTypeId) { in TraditionalSensorTestDataCallback()
320 printf("get sensoriId[%d], info name[%s], power[%f]\n\r", info->sensorId, info->sensorName, info->power); in HWTEST_F()
322 if (info->sensorId == g_sensorList[j].sensorTypeId) { in HWTEST_F()
376 ret = g_sensorDev->SetBatch(info->sensorId, SENSOR_INTERVAL1, SENSOR_POLL_TIME); in HWTEST_F()
378 ret = g_sensorDev->Enable(info->sensorId); in HWTEST_F()
381 ret = g_sensorDev->Disable(info->sensorId); in HWTEST_F()
440 ret = g_sensorDev->SetBatch(info->sensorId, SENSOR_INTERVAL2, SENSOR_POLL_TIME); in HWTEST_F()
442 ret = g_sensorDev->Enable(info->sensorId); in HWTEST_F()
445 ret = g_sensorDev->Disable(info->sensorId); in HWTEST_F()
490 int32_t ret = g_sensorDev->SetBatch(info->sensorId, in HWTEST_F()
[all...]
/test/xts/hats/hdf/sensor/hdiService_additional/
H A Dhdf_sensor_hdiService_test.cpp56 if (iter.sensorId == sensorTypeId) { in IsSuppprtedSensorId()
132 ret = g_sensorInterface->SetBatch(iter.sensorId, i, SENSOR_POLL_TIME); in HWTEST_F()
156 ret = g_sensorInterface->SetBatch(iter.sensorId, i, SENSOR_POLL_TIME); in HWTEST_F()
215 ret = g_sensorInterface->SetBatch(iter.sensorId, i, SENSOR_POLL_TIME); in HWTEST_F()
238 ret = g_sensorInterface->SetBatch(iter.sensorId, i, SENSOR_POLL_TIME); in HWTEST_F()
261 ret = g_sensorInterface->SetBatch(iter.sensorId, i, SENSOR_POLL_TIME); in HWTEST_F()
283 ret = g_sensorInterface->SetBatch(iter.sensorId, SENSOR_INTERVAL2, i); in HWTEST_F()
306 ret = g_sensorInterface->SetBatch(iter.sensorId, SENSOR_INTERVAL2, i); in HWTEST_F()
329 ret = g_sensorInterface->SetBatch(iter.sensorId, SENSOR_INTERVAL2, i); in HWTEST_F()
352 ret = g_sensorInterface->SetBatch(iter.sensorId, SENSOR_INTERVAL in HWTEST_F()
[all...]
H A Dsensor_callback_impl.cpp103 if (event.sensorId == g_sensorList[i].sensorTypeId) { in OnDataEvent()
/test/xts/hats/hdf/sensor/sensorBenchmarkTest/
H A Dhdf_sensor_benchmark_test.cpp121 if (iter.sensorId == g_sensorList[j].sensorTypeId) { in BENCHMARK_F()
349 ret = g_sensorInterface->SetSdcSensor(iter.sensorId, true, RATE_LEVEL); in BENCHMARK_F()
353 ret = g_sensorInterface->SetSdcSensor(iter.sensorId, false, RATE_LEVEL); in BENCHMARK_F()
383 infoMsg += "sensorId = " + std::to_string(it.sensorId) + ", "; in BENCHMARK_F()
/test/xts/acts/sensors_lite/sensor_posix/src/
H A Dsensor_agent_interfaces_test.cpp68 (sensorInfo + i)->sensorTypeId, (sensorInfo + i)->sensorId, in HWTEST_F()
104 * @tc.name : Activate Sensor Interface Test failed by sensorId
/test/xts/hats/useriam/pinauth/src/
H A Dpin_auth_hdi.cpp89 executorInfo.sensorId = parcel.ReadUint16(); in FillTestExecutorInfo()
/test/xts/hats/useriam/faceauth/src/
H A Dface_auth_hdi.cpp97 executorInfo.sensorId = parcel.ReadUint16(); in FillTestExecutorInfo()
/test/xts/hats/useriam/fingerprintauth/src/
H A Dfingerprint_auth_hdi.cpp96 executorInfo.sensorId = parcel.ReadUint16(); in FillTestExecutorInfo()

Completed in 12 milliseconds