Home
last modified time | relevance | path

Searched refs:sampling_freq_avl (Results 1 – 4 of 4) sorted by relevance

/device/google/trout/hal/sensors/2.1/tests/
DIioUtilsTest.cpp104 dev.sampling_freq_avl)) in writeAccelDevice()
116 dev.sampling_freq_avl = {12.500000, 26.000364, 52.002080, 104.004160, 208.003993}; in createDefaultAccelerometerDevice()
146 EXPECT_EQ(dev_model.sampling_freq_avl.size(), accel.sampling_freq_avl.size()); in TEST()
147 for (size_t i = 0; i < dev_model.sampling_freq_avl.size(); ++i) { in TEST()
148 if (i >= accel.sampling_freq_avl.size()) break; in TEST()
149 EXPECT_NEAR(dev_model.sampling_freq_avl[i], accel.sampling_freq_avl[i], 0.0002); in TEST()
/device/google/trout/hal/sensors/2.1/
DSensor.cpp96 std::lower_bound(mIioData.sampling_freq_avl.begin(), in batch()
97 mIioData.sampling_freq_avl.end(), sampling_frequency); in batch()
98 i = low - mIioData.sampling_freq_avl.begin(); in batch()
99 set_sampling_frequency(mIioData.sysfspath, mIioData.sampling_freq_avl[i]); in batch()
471 for (auto i = 0u; i < data.sampling_freq_avl.size(); i++) { in HWSensorBase()
472 if (max_sampling_frequency < data.sampling_freq_avl[i]) in HWSensorBase()
473 max_sampling_frequency = data.sampling_freq_avl[i]; in HWSensorBase()
474 if (min_sampling_frequency > data.sampling_freq_avl[i]) in HWSensorBase()
475 min_sampling_frequency = data.sampling_freq_avl[i]; in HWSensorBase()
Diio_utils.cpp293 &iio_dev_data.sampling_freq_avl); in load_iio_devices()
300 std::sort(iio_dev_data.sampling_freq_avl.begin(), iio_dev_data.sampling_freq_avl.end()); in load_iio_devices()
Diio_utils.h64 std::vector<double> sampling_freq_avl; member