Searched refs:toRawNanoseconds (Results 1 – 12 of 12) sorted by relevance
/system/chre/util/include/chre/util/ |
D | time_impl.h | 17 constexpr uint64_t Seconds::toRawNanoseconds() const { in toRawNanoseconds() function 30 nanoseconds.toRawNanoseconds() / kOneMillisecondInNanoseconds) {} in Milliseconds() 32 constexpr uint64_t Milliseconds::toRawNanoseconds() const { in toRawNanoseconds() function 49 nanoseconds.toRawNanoseconds() / kOneMicrosecondInNanoseconds) {} in Microseconds() 51 constexpr uint64_t Microseconds::toRawNanoseconds() const { in toRawNanoseconds() function 70 : mNanoseconds(seconds.toRawNanoseconds()) {} in Nanoseconds() 73 : mNanoseconds(milliseconds.toRawNanoseconds()) {} in Nanoseconds() 76 : mNanoseconds(microseconds.toRawNanoseconds()) {} in Nanoseconds() 78 constexpr uint64_t Nanoseconds::toRawNanoseconds() const { in toRawNanoseconds() function 92 return Nanoseconds(secs.toRawNanoseconds() + nanos.toRawNanoseconds()); [all …]
|
D | time.h | 43 constexpr uint64_t toRawNanoseconds() const; 70 constexpr uint64_t toRawNanoseconds() const; 105 constexpr uint64_t toRawNanoseconds() const; 155 constexpr uint64_t toRawNanoseconds() const;
|
/system/chre/apps/sensor_world/ |
D | sensor_world.cc | 47 .interval = Milliseconds(80).toRawNanoseconds(), 48 .latency = Seconds(4).toRawNanoseconds(), 58 .interval = Milliseconds(80).toRawNanoseconds(), 59 .latency = Seconds(4).toRawNanoseconds(), 63 .interval = Milliseconds(80).toRawNanoseconds(), 64 .latency = Seconds(4).toRawNanoseconds(), 68 .interval = Milliseconds(200).toRawNanoseconds(), 69 .latency = Seconds(4).toRawNanoseconds(), 73 .interval = Milliseconds(200).toRawNanoseconds(), 78 .interval = Milliseconds(200).toRawNanoseconds(), [all …]
|
/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/apps/imu_cal/ |
D | imu_cal.cc | 47 .interval = Seconds(2).toRawNanoseconds(), 52 .interval = Seconds(2).toRawNanoseconds(), 57 .interval = Milliseconds(80).toRawNanoseconds(), 58 .latency = Seconds(4).toRawNanoseconds(), 62 .interval = Milliseconds(80).toRawNanoseconds(), 63 .latency = Seconds(4).toRawNanoseconds(), 67 .interval = Milliseconds(80).toRawNanoseconds(), 68 .latency = Seconds(4).toRawNanoseconds(),
|
/system/chre/platform/linux/ |
D | system_timer.cc | 81 if (delay.toRawNanoseconds() == 0) { in set() 88 return setInternal(delay.toRawNanoseconds()); in set()
|
/system/chre/platform/shared/ |
D | pal_system_api.cc | 35 return SystemTime::getMonotonicTime().toRawNanoseconds(); in palSystemApiGetCurrentTime()
|
D | chre_api_re.cc | 28 return chre::SystemTime::getMonotonicTime().toRawNanoseconds(); in chreGetTime()
|
/system/chre/core/ |
D | sensor_request_manager.cc | 31 uint64_t requestedInterval = sensorRequest.getInterval().toRawNanoseconds(); in isSensorRequestValid() 32 uint64_t requestedLatency = sensorRequest.getLatency().toRawNanoseconds(); in isSensorRequestValid()
|
D | timer_pool.cc | 50 nanoapp->getAppId(), duration.toRawNanoseconds()); in setTimer()
|
/system/chre/apps/wifi_world/ |
D | wifi_world.cc | 184 gWifiScanTimerHandle = chreTimerSet(kWifiScanInterval.toRawNanoseconds(), in nanoappStart()
|