Home
last modified time | relevance | path

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

/system/chre/platform/slpi/smgr/tests/
Dplatform_sensor_util_test.cc21 using chre::intervalToSmgrSamplingRate;
28 uint16_t rate = intervalToSmgrSamplingRate(Nanoseconds(0)); in TEST()
34 uint16_t rate = intervalToSmgrSamplingRate(kFiftyHertzInterval); in TEST()
40 uint16_t rate = intervalToSmgrSamplingRate(kZeroPointFiveHertzInterval); in TEST()
46 uint16_t rate = intervalToSmgrSamplingRate(kOneNanoHzInterval); in TEST()
52 uint16_t rate = intervalToSmgrSamplingRate(kTwentyMHzInterval); in TEST()
/system/chre/platform/slpi/include/chre/platform/slpi/smgr/
Dplatform_sensor_util.h35 uint16_t intervalToSmgrSamplingRate(Nanoseconds interval);
/system/chre/platform/slpi/smgr/
Dplatform_sensor_util.cc30 uint16_t intervalToSmgrSamplingRate(Nanoseconds interval) { in intervalToSmgrSamplingRate() function
Dplatform_sensor.cc1188 intervalToSmgrSamplingRate(request.getInterval()); in populateSensorRequest()