Home
last modified time | relevance | path

Searched refs:SystemTime (Results 1 – 25 of 32) sorted by relevance

12

/system/extras/profcollectd/libprofcollectd/
Dreport.rs26 use std::time::{Duration, SystemTime};
79 let since_epoch = SystemTime::now().duration_since(SystemTime::UNIX_EPOCH)?; in get_report_filename()
87 pub fn get_report_ts(filename: &str) -> Result<SystemTime> { in get_report_ts() argument
92 Ok(SystemTime::UNIX_EPOCH + Duration::new(uuid_ts.0, uuid_ts.1)) in get_report_ts()
/system/chre/platform/shared/
Dsystem_time.cc23 void SystemTime::init() { in init()
27 Nanoseconds SystemTime::getUptime() { in getUptime()
Ddram_vote_client.cc43 mVoteCountStart = Milliseconds(SystemTime::getMonotonicTime()); in incrementDramVoteCount()
82 duration = Milliseconds(SystemTime::getMonotonicTime()) - mVoteCountStart; in checkDramDuration()
Dchre_api_re.cc30 return chre::SystemTime::getMonotonicTime().toRawNanoseconds(); in chreGetTime()
34 return chre::SystemTime::getEstimatedHostTimeOffset(); in chreGetEstimatedHostTimeOffset()
Dpal_system_api.cc35 return SystemTime::getMonotonicTime().toRawNanoseconds(); in palSystemApiGetCurrentTime()
Dpw_tokenized_log.cc46 chre::SystemTime::getMonotonicTime().toRawNanoseconds(); in pw_TokenizerHandleEncodedMessageWithPayload()
Dlog_buffer_manager.cc112 uint64_t timeNs = SystemTime::getMonotonicTime().toRawNanoseconds(); in logVa()
/system/chre/platform/slpi/
Dsystem_time.cc36 Nanoseconds SystemTime::getMonotonicTime() { in getMonotonicTime()
40 int64_t SystemTime::getEstimatedHostTimeOffset() { in getEstimatedHostTimeOffset()
/system/chre/util/include/chre/util/
Dscope_timer_impl.h25 : mName(name), mStartTime(SystemTime::getMonotonicTime()) {} in ScopeTimer()
28 Nanoseconds stopTime = SystemTime::getMonotonicTime(); in ~ScopeTimer()
/system/chre/platform/linux/
Dsystem_time.cc28 Nanoseconds SystemTime::getMonotonicTime() { in getMonotonicTime()
43 int64_t SystemTime::getEstimatedHostTimeOffset() { in getEstimatedHostTimeOffset()
Dplatform_audio.cc52 (SystemTime::getMonotonicTime() - samplingTime).toRawNanoseconds(); in audioSourceCallback()
/system/chre/platform/slpi/see/
Disland_vote_client.cc73 mRefCountStart = Milliseconds(SystemTime::getMonotonicTime()); in incrementBigImageRefCount()
119 duration = Milliseconds(SystemTime::getMonotonicTime()).getMilliseconds() - in checkBigImageDuration()
/system/chre/core/
Devent.cc24 Milliseconds now = SystemTime::getMonotonicTime(); in getTimeMillis()
Dinit.cc31 SystemTime::init(); in init()
Dwifi_request_manager.cc108 SystemTime::getMonotonicTime() + in requestRanging()
115 CHRE_ASSERT_LOG(SystemTime::getMonotonicTime() <= mRangingResponseTimeout, in requestRanging()
138 SystemTime::getMonotonicTime()); in requestScan()
171 mLastScanRequestTime = SystemTime::getMonotonicTime(); in requestScan()
589 mRangingResponseTimeout = SystemTime::getMonotonicTime() + in dispatchQueuedRangingRequest()
655 WifiScanRequestLog(SystemTime::getMonotonicTime(), nanoappInstanceId, in addWifiScanRequestLog()
Daudio_request_manager.cc75 SystemTime::getMonotonicTime(); in handleAudioDataEvent()
117 SystemTime::getMonotonicTime() - in logStateToBuffer()
245 Nanoseconds timeNow = SystemTime::getMonotonicTime(); in createAudioRequest()
333 SystemTime::getMonotonicTime() + nextAudioRequest->deliveryInterval; in handleAudioDataEventSync()
373 Nanoseconds curTime = SystemTime::getMonotonicTime(); in scheduleNextAudioDataEvent()
Dtimer_pool.cc58 timerRequest.expirationTime = SystemTime::getMonotonicTime() + duration; in setTimer()
225 Nanoseconds currentTime = SystemTime::getMonotonicTime(); in handleExpiredTimersAndScheduleNextLocked()
Devent_loop.cc357 SystemTime::getMonotonicTime() - mTimeLastWakeupBucketCycled; in logStateToBuffer()
518 Nanoseconds now = SystemTime::getMonotonicTime(); in handleNanoappWakeupBuckets()
/system/chre/platform/include/chre/platform/
Dsystem_time.h26 class SystemTime {
/system/bt/gd/rust/hal/src/
Dsnoop.rs11 use std::time::SystemTime;
260 SystemTime::now().duration_since(SystemTime::UNIX_EPOCH).unwrap().as_micros(), in log()
/system/chre/core/include/chre/core/
Devent_loop.h55 : mTimeLastWakeupBucketCycled(SystemTime::getMonotonicTime()), in EventLoop()
Dsensor_request_manager.h291 SystemTime::getMonotonicTime() +
/system/chre/platform/android/
Dplatform_audio.cc50 (SystemTime::getMonotonicTime() - samplingTime).toRawNanoseconds(); in audioReadCallback()
/system/chre/pal/tests/src/
Dwifi_pal_impl_test.cc44 using ::chre::SystemTime;
/system/security/keystore2/src/
Denforcements.rs46 time::SystemTime,
712 let duration_since_epoch = SystemTime::now().duration_since(SystemTime::UNIX_EPOCH); in is_given_time_passed()

12