Searched refs:sampling_freq_avl (Results 1 – 4 of 4) sorted by relevance
/device/google/trout/hal/sensors/2.1/tests/ |
D | IioUtilsTest.cpp | 104 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/ |
D | Sensor.cpp | 96 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()
|
D | iio_utils.cpp | 293 &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()
|
D | iio_utils.h | 64 std::vector<double> sampling_freq_avl; member
|