Searched refs:Seconds (Results 1 – 21 of 21) sorted by relevance
/system/chre/util/include/chre/util/ |
D | time_impl.h | 24 constexpr Seconds::Seconds(uint64_t seconds) : mSeconds(seconds) {} in Seconds() function 26 constexpr uint64_t Seconds::toRawNanoseconds() const { in toRawNanoseconds() 35 constexpr uint64_t Seconds::getMilliseconds() const { in getMilliseconds() 108 constexpr Nanoseconds::Nanoseconds(Seconds seconds) in Nanoseconds() 129 constexpr Nanoseconds operator+(const Seconds &secs, const Nanoseconds &nanos) {
|
D | time.h | 49 class Seconds { 54 constexpr explicit Seconds(uint64_t seconds); 190 constexpr Nanoseconds(Seconds seconds); 235 constexpr Nanoseconds operator+(const Seconds &secs, const Nanoseconds &nanos);
|
/system/chre/util/tests/ |
D | time_test.cc | 29 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; 71 .latency = Seconds(4).toRawNanoseconds(), 101 .latency = Seconds(4).toRawNanoseconds(), 111 .latency = Seconds(4).toRawNanoseconds(), 121 .latency = Seconds(4).toRawNanoseconds(), 170 .interval = Seconds(2).toRawNanoseconds(), 180 .interval = Seconds(2).toRawNanoseconds(), 190 .interval = Seconds(2).toRawNanoseconds(), 201 .latency = Seconds(4).toRawNanoseconds(), 211 .latency = Seconds(4).toRawNanoseconds(), [all …]
|
/system/chre/platform/shared/include/chre/platform/shared/ |
D | dram_vote_client.h | 66 static constexpr Seconds kMaxDramDuration = Seconds(300);
|
/system/chre/platform/slpi/include/chre/platform/slpi/see/ |
D | island_vote_client.h | 74 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/linux/ |
D | system_time.cc | 39 return Seconds(static_cast<uint64_t>(timeNow.tv_sec)) + in getMonotonicTime()
|
/system/chre/platform/slpi/see/ |
D | island_vote_client.cc | 30 constexpr Seconds IslandVoteClient::kSeeMaxBigImageDuration;
|
D | platform_sensor_manager.cc | 170 if (SystemTime::getMonotonicTime() < (kDefaultSeeWaitTimeout + Seconds(15))) { in handleMissingSensor() 171 Nanoseconds delay(5 * Seconds(60).toRawNanoseconds()); // 5 minutes in handleMissingSensor() 341 ceilf(Seconds(1).toRawNanoseconds() / maxSampleRate)); in addSensor()
|
D | see_helper.cc | 963 ceilf(Seconds(1).toRawNanoseconds() / event.sample_rate)); in decodeSnsStdSensorPhysicalConfigEvent()
|
/system/chre/apps/unload_tester/ |
D | unload_tester.cc | 57 constexpr uint64_t kTimerDuration = Seconds(2).toRawNanoseconds(); in nanoappStart()
|
/system/chre/apps/test/common/permission_test/src/ |
D | permission_test.cc | 40 constexpr Nanoseconds kGnssMinInterval = Seconds(1);
|
/system/chre/apps/test/common/chre_stress_test/src/ |
D | chre_stress_test_manager.cc | 35 constexpr chre::Nanoseconds kWifiScanInterval = chre::Seconds(5); 356 constexpr uint64_t kTimerDelayNs = Seconds(60).toRawNanoseconds(); in handleGnssLocationStartCommand() 373 constexpr uint64_t kTimerDelayNs = Seconds(60).toRawNanoseconds(); in handleGnssMeasurementStartCommand()
|
/system/chre/apps/wifi_world/ |
D | wifi_world.cc | 28 using chre::Seconds; 52 constexpr Nanoseconds kWifiScanInterval = Nanoseconds(Seconds(10));
|
/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/apps/power_test/common/ |
D | request_manager.cc | 269 bool success = requestTimer(enable, TimerType::WIFI, Seconds(1)); in requestBreakIt() 272 success &= requestTimer(enable, TimerType::CELL, Seconds(1)); in requestBreakIt()
|
/system/chre/platform/slpi/ |
D | host_link.cc | 637 constexpr Seconds kOpportunisticTimeSyncPeriod = Seconds(60 * 60 * 1); in chre_slpi_get_message_to_host() 927 constexpr Seconds kClockDriftTimeSyncPeriod = in handleTimeSyncMessage() 928 Seconds(60 * 60 * 6); // 6 hours in handleTimeSyncMessage()
|
/system/chre/apps/wwan_world/ |
D | wwan_world.cc | 34 const Nanoseconds kCellInfoInterval = Nanoseconds(Seconds(10));
|