Home
last modified time | relevance | path

Searched refs:toRawNanoseconds (Results 1 – 12 of 12) sorted by relevance

/system/chre/util/include/chre/util/
Dtime_impl.h17 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 …]
Dtime.h43 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/
Dsensor_world.cc47 .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/
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/apps/imu_cal/
Dimu_cal.cc47 .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/
Dsystem_timer.cc81 if (delay.toRawNanoseconds() == 0) { in set()
88 return setInternal(delay.toRawNanoseconds()); in set()
/system/chre/platform/shared/
Dpal_system_api.cc35 return SystemTime::getMonotonicTime().toRawNanoseconds(); in palSystemApiGetCurrentTime()
Dchre_api_re.cc28 return chre::SystemTime::getMonotonicTime().toRawNanoseconds(); in chreGetTime()
/system/chre/core/
Dsensor_request_manager.cc31 uint64_t requestedInterval = sensorRequest.getInterval().toRawNanoseconds(); in isSensorRequestValid()
32 uint64_t requestedLatency = sensorRequest.getLatency().toRawNanoseconds(); in isSensorRequestValid()
Dtimer_pool.cc50 nanoapp->getAppId(), duration.toRawNanoseconds()); in setTimer()
/system/chre/apps/wifi_world/
Dwifi_world.cc184 gWifiScanTimerHandle = chreTimerSet(kWifiScanInterval.toRawNanoseconds(), in nanoappStart()