/test/xts/hats/hdf/sensor/hdiService/ |
H A D | hdf_sensor_hdiService_test.cpp | 80 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 D | sensor_callback_impl.cpp | 109 if (event.sensorId == g_sensorList[i].sensorTypeId) { in OnDataEvent()
|
/test/xts/hats/hdf/sensor/common/ |
H A D | hdf_sensor_test.cpp | 112 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 D | hdf_sensor_hdiService_test.cpp | 56 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 D | sensor_callback_impl.cpp | 103 if (event.sensorId == g_sensorList[i].sensorTypeId) { in OnDataEvent()
|
/test/xts/hats/hdf/sensor/sensorBenchmarkTest/ |
H A D | hdf_sensor_benchmark_test.cpp | 121 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 D | sensor_agent_interfaces_test.cpp | 68 (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 D | pin_auth_hdi.cpp | 89 executorInfo.sensorId = parcel.ReadUint16(); in FillTestExecutorInfo()
|
/test/xts/hats/useriam/faceauth/src/ |
H A D | face_auth_hdi.cpp | 97 executorInfo.sensorId = parcel.ReadUint16(); in FillTestExecutorInfo()
|
/test/xts/hats/useriam/fingerprintauth/src/ |
H A D | fingerprint_auth_hdi.cpp | 96 executorInfo.sensorId = parcel.ReadUint16(); in FillTestExecutorInfo()
|