Home
last modified time | relevance | path

Searched refs:Seconds (Results 1 – 9 of 9) sorted by relevance

/system/chre/apps/sensor_world/
Dsensor_world.cc48 .latency = Seconds(4).toRawNanoseconds(),
59 .latency = Seconds(4).toRawNanoseconds(),
64 .latency = Seconds(4).toRawNanoseconds(),
69 .latency = Seconds(4).toRawNanoseconds(),
83 .interval = Seconds(2).toRawNanoseconds(),
88 .interval = Seconds(2).toRawNanoseconds(),
94 .latency = Seconds(4).toRawNanoseconds(),
99 .latency = Seconds(4).toRawNanoseconds(),
104 .latency = Seconds(4).toRawNanoseconds(),
/system/chre/util/include/chre/util/
Dtime_impl.h14 constexpr Seconds::Seconds(uint64_t seconds) in Seconds() function
17 constexpr uint64_t Seconds::toRawNanoseconds() const { in toRawNanoseconds()
69 constexpr Nanoseconds::Nanoseconds(Seconds seconds) in Nanoseconds()
90 constexpr Nanoseconds operator+(const Seconds& secs,
Dtime.h30 class Seconds {
35 constexpr explicit Seconds(uint64_t seconds);
137 constexpr Nanoseconds(Seconds seconds);
182 constexpr Nanoseconds operator+(const Seconds& seconds,
/system/chre/apps/imu_cal/
Dimu_cal.cc47 .interval = Seconds(2).toRawNanoseconds(),
52 .interval = Seconds(2).toRawNanoseconds(),
58 .latency = Seconds(4).toRawNanoseconds(),
63 .latency = Seconds(4).toRawNanoseconds(),
68 .latency = Seconds(4).toRawNanoseconds(),
/system/chre/platform/slpi/tests/
Dplatform_sensor_util_test.cc25 using chre::Seconds;
39 constexpr Nanoseconds kZeroPointFiveHertzInterval(Seconds(2)); in TEST()
56 constexpr Nanoseconds kZeroPointFiveHertzInterval(Seconds(2)); in TEST()
/system/chre/platform/slpi/
Dplatform_sensor_util.cc34 Seconds(1).toRawNanoseconds() / interval.toRawNanoseconds()); in intervalToSmgrSamplingRate()
43 freq = (Seconds(1).toRawNanoseconds() << 16) / interval.toRawNanoseconds(); in intervalToSmgrQ16ReportRate()
Dplatform_sensor.cc260 Seconds(1).toRawNanoseconds() / sensorInfo.MaxSampleRate); in addPlatformSensor()
280 return (ticks * Seconds(1).toRawNanoseconds()) in getNanosecondsFromSmgrTicks()
/system/chre/platform/linux/
Dsystem_time.cc36 return Seconds(timeNow.tv_sec) + Nanoseconds(timeNow.tv_nsec); in getMonotonicTime()
/system/chre/apps/wifi_world/
Dwifi_world.cc40 const Nanoseconds kWifiScanInterval = Nanoseconds(Seconds(10));