mirror of
https://gitee.com/openharmony/xts_hats
synced 2025-02-19 01:49:03 +00:00
update hdf/sensor/hdiService_additional/hdf_sensor_hdiService_test.cpp.
Signed-off-by: lixin475 <lixin475@huawei.com>
This commit is contained in:
parent
211b643af1
commit
d31c68c0f3
@ -105,7 +105,7 @@ HWTEST_F(HatsHdfSensorServiceTestAdditional, testHdiSensorSetBatch001, TestSize.
|
||||
return;
|
||||
}
|
||||
int32_t ret = g_sensorInterface->GetAllSensorInfo(g_info);
|
||||
int32_t ret = g_sensorInterface->Register(TRADITIONAL_SENSOR_TYPE, g_traditionalCallback);
|
||||
ret = g_sensorInterface->Register(TRADITIONAL_SENSOR_TYPE, g_traditionalCallback);
|
||||
EXPECT_EQ(SENSOR_SUCCESS, ret);
|
||||
int32_t status = IsSuppprtedSensorId(SENSOR_TYPE_ACCELEROMETER);
|
||||
ret = g_sensorInterface->SetBatch(HDF_SENSOR_TYPE_ACCELEROMETER, SENSOR_INTERVAL2, SENSOR_POLL_TIME);
|
||||
|
Loading…
x
Reference in New Issue
Block a user