Searched refs:Seconds (Results 1 – 9 of 9) sorted by relevance
/system/chre/apps/sensor_world/ |
D | sensor_world.cc | 48 .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/ |
D | time_impl.h | 14 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,
|
D | time.h | 30 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/ |
D | imu_cal.cc | 47 .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/ |
D | platform_sensor_util_test.cc | 25 using chre::Seconds; 39 constexpr Nanoseconds kZeroPointFiveHertzInterval(Seconds(2)); in TEST() 56 constexpr Nanoseconds kZeroPointFiveHertzInterval(Seconds(2)); in TEST()
|
/system/chre/platform/slpi/ |
D | platform_sensor_util.cc | 34 Seconds(1).toRawNanoseconds() / interval.toRawNanoseconds()); in intervalToSmgrSamplingRate() 43 freq = (Seconds(1).toRawNanoseconds() << 16) / interval.toRawNanoseconds(); in intervalToSmgrQ16ReportRate()
|
D | platform_sensor.cc | 260 Seconds(1).toRawNanoseconds() / sensorInfo.MaxSampleRate); in addPlatformSensor() 280 return (ticks * Seconds(1).toRawNanoseconds()) in getNanosecondsFromSmgrTicks()
|
/system/chre/platform/linux/ |
D | system_time.cc | 36 return Seconds(timeNow.tv_sec) + Nanoseconds(timeNow.tv_nsec); in getMonotonicTime()
|
/system/chre/apps/wifi_world/ |
D | wifi_world.cc | 40 const Nanoseconds kWifiScanInterval = Nanoseconds(Seconds(10));
|