Searched refs:Seconds (Results 1 – 21 of 21) sorted by relevance
/system/chre/platform/slpi/smgr/tests/ |
D | platform_sensor_util_test.cc | 25 using chre::Seconds; 39 constexpr Nanoseconds kZeroPointFiveHertzInterval = Seconds(2); in TEST() 45 constexpr Nanoseconds kOneNanoHzInterval = Seconds(1e9); in TEST() 68 constexpr Nanoseconds kZeroPointFiveHertzInterval = Seconds(2); in TEST()
|
/system/chre/util/include/chre/util/ |
D | time_impl.h | 24 constexpr Seconds::Seconds(uint64_t seconds) in Seconds() function 27 constexpr uint64_t Seconds::toRawNanoseconds() const { in toRawNanoseconds() 35 constexpr uint64_t Seconds::getMilliseconds() const { in getMilliseconds() 106 constexpr Nanoseconds::Nanoseconds(Seconds seconds) in Nanoseconds() 127 constexpr Nanoseconds operator+(const Seconds& secs, const Nanoseconds& nanos) {
|
D | time.h | 48 class Seconds { 53 constexpr explicit Seconds(uint64_t seconds); 189 constexpr Nanoseconds(Seconds seconds); 234 constexpr Nanoseconds operator+(const Seconds& secs, const Nanoseconds& nanos);
|
/system/chre/util/tests/ |
D | time_test.cc | 21 using chre::Seconds; 41 Seconds t(5); in TEST() 46 Seconds t(UINT64_MAX / kOneSecondInNanoseconds + 1); in TEST() 51 Seconds t(5); in TEST() 56 Seconds t(UINT64_MAX / kOneSecondInMilliseconds + 1); in TEST() 142 Seconds tSec(5); in TEST() 172 Nanoseconds t = Seconds(5) + Nanoseconds(6); in TEST() 177 Nanoseconds t = Seconds(5) + Nanoseconds(UINT64_MAX); in TEST()
|
/system/chre/apps/sensor_world/ |
D | sensor_world.cc | 33 using chre::Seconds; 70 .latency = Seconds(4).toRawNanoseconds(), 94 .latency = Seconds(4).toRawNanoseconds(), 102 .latency = Seconds(4).toRawNanoseconds(), 110 .latency = Seconds(4).toRawNanoseconds(), 133 .interval = Seconds(2).toRawNanoseconds(), 141 .interval = Seconds(2).toRawNanoseconds(), 149 .interval = Seconds(2).toRawNanoseconds(), 158 .latency = Seconds(4).toRawNanoseconds(), 166 .latency = Seconds(4).toRawNanoseconds(), [all …]
|
/system/chre/platform/slpi/include/chre/platform/slpi/see/ |
D | island_vote_client.h | 72 static constexpr Seconds kSeeMaxBigImageDuration = Seconds(300);
|
D | see_helper.h | 84 constexpr Nanoseconds kDefaultSeeWaitTimeout = Seconds(30); 87 constexpr Nanoseconds kDefaultSeeRespTimeout = Seconds(1); 90 constexpr Nanoseconds kDefaultSeeIndTimeout = Seconds(2);
|
/system/chre/apps/audio_stress_test/ |
D | audio_stress_test.cc | 36 using chre::Seconds; 41 constexpr Nanoseconds kBufferDuration = Nanoseconds(Seconds(2)); 50 constexpr Seconds kMaxAudioGap = Seconds(300);
|
/system/chre/platform/slpi/smgr/ |
D | platform_sensor_util.cc | 45 (Seconds(1).toRawNanoseconds() / interval.toRawNanoseconds()); in intervalToSmgrSamplingRate() 59 freq = (Seconds(1).toRawNanoseconds() << 16) / interval.toRawNanoseconds(); in intervalToSmgrQ16ReportRate()
|
D | platform_sensor.cc | 99 constexpr uint64_t kDefaultInterval = Seconds(1).toRawNanoseconds(); 103 ((1ULL << 32) * Seconds(1).toRawNanoseconds()) / TIMETICK_NOMINAL_FREQ_HZ; 343 Seconds(1).toRawNanoseconds() / sensorInfo.MaxSampleRate); in addSensor() 365 return (ticks * Seconds(1).toRawNanoseconds()) / TIMETICK_NOMINAL_FREQ_HZ; in getNanosecondsFromSmgrTicks()
|
/system/chre/platform/linux/ |
D | system_time.cc | 39 return Seconds(static_cast<uint64_t>(timeNow.tv_sec)) in getMonotonicTime()
|
/system/chre/apps/wifi_world/ |
D | wifi_world.cc | 27 using chre::Seconds; 47 constexpr Nanoseconds kWifiScanInterval = Nanoseconds(Seconds(10));
|
/system/chre/platform/slpi/include/chre/platform/slpi/smgr/ |
D | smr_helper.h | 39 constexpr Nanoseconds kDefaultSmrTimeout = Seconds(2); 43 constexpr Nanoseconds kDefaultSmrWaitTimeout = Seconds(5);
|
/system/chre/platform/slpi/see/ |
D | island_vote_client.cc | 30 constexpr Seconds IslandVoteClient::kSeeMaxBigImageDuration;
|
D | platform_sensor.cc | 165 if (SystemTime::getMonotonicTime() < (kDefaultSeeWaitTimeout + Seconds(15))) { in handleMissingSensor() 477 ceilf(Seconds(1).toRawNanoseconds() / maxSampleRate)); in addSensor()
|
D | see_helper.cc | 945 ceilf(Seconds(1).toRawNanoseconds() / event.sample_rate)); in decodeSnsStdSensorPhysicalConfigEvent()
|
/system/chre/apps/unload_tester/ |
D | unload_tester.cc | 54 constexpr uint64_t kTimerDuration = Seconds(2).toRawNanoseconds(); in nanoappStart()
|
/system/chre/pal/tests/src/ |
D | gnss_pal_impl_test.cc | 45 using ::chre::Seconds; 56 const Nanoseconds kGnssEventTimeoutNs = Seconds(60);
|
D | wifi_pal_impl_test.cc | 43 using ::chre::Seconds;
|
/system/chre/platform/slpi/ |
D | host_link.cc | 642 constexpr Seconds kOpportunisticTimeSyncPeriod = Seconds(60 * 60 * 1); in chre_slpi_get_message_to_host() 850 constexpr Seconds kClockDriftTimeSyncPeriod = Seconds(60 * 60 * 6); // 6 hours in handleTimeSyncMessage()
|
/system/chre/apps/wwan_world/ |
D | wwan_world.cc | 34 const Nanoseconds kCellInfoInterval = Nanoseconds(Seconds(10));
|