Home
last modified time | relevance | path

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

12

/aosp12/system/extras/profcollectd/libprofcollectd/
H A 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()
/aosp12/system/chre/platform/shared/
H A Dsystem_time.cc23 void SystemTime::init() { in init()
27 Nanoseconds SystemTime::getUptime() { in getUptime()
H A Ddram_vote_client.cc43 mVoteCountStart = Milliseconds(SystemTime::getMonotonicTime()); in incrementDramVoteCount()
82 duration = Milliseconds(SystemTime::getMonotonicTime()) - mVoteCountStart; in checkDramDuration()
H A Dchre_api_re.cc30 return chre::SystemTime::getMonotonicTime().toRawNanoseconds(); in chreGetTime()
34 return chre::SystemTime::getEstimatedHostTimeOffset(); in chreGetEstimatedHostTimeOffset()
H A Dpal_system_api.cc35 return SystemTime::getMonotonicTime().toRawNanoseconds(); in palSystemApiGetCurrentTime()
H A Dpw_tokenized_log.cc46 chre::SystemTime::getMonotonicTime().toRawNanoseconds(); in pw_TokenizerHandleEncodedMessageWithPayload()
H A Dlog_buffer_manager.cc112 uint64_t timeNs = SystemTime::getMonotonicTime().toRawNanoseconds(); in logVa()
/aosp12/system/chre/platform/slpi/
H A Dsystem_time.cc36 Nanoseconds SystemTime::getMonotonicTime() { in getMonotonicTime()
40 int64_t SystemTime::getEstimatedHostTimeOffset() { in getEstimatedHostTimeOffset()
/aosp12/system/chre/util/include/chre/util/
H A Dscope_timer_impl.h25 : mName(name), mStartTime(SystemTime::getMonotonicTime()) {} in ScopeTimer()
28 Nanoseconds stopTime = SystemTime::getMonotonicTime(); in ~ScopeTimer()
/aosp12/system/chre/platform/linux/
H A Dsystem_time.cc28 Nanoseconds SystemTime::getMonotonicTime() { in getMonotonicTime()
43 int64_t SystemTime::getEstimatedHostTimeOffset() { in getEstimatedHostTimeOffset()
/aosp12/build/soong/ui/tracer/
H A Dstatus.go85 SystemTime: result.Stats.SystemTime,
99 SystemTime uint32 `json:"system_time_ms"` member
/aosp12/system/chre/core/
H A 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()
441 mLastScanEventTime = Milliseconds(SystemTime::getMonotonicTime()); in postScanEventFatal()
593 mRangingResponseTimeout = SystemTime::getMonotonicTime() + in dispatchQueuedRangingRequest()
659 WifiScanRequestLog(SystemTime::getMonotonicTime(), nanoappInstanceId, in addWifiScanRequestLog()
H A 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()
H A Devent.cc24 Milliseconds now = SystemTime::getMonotonicTime(); in getTimeMillis()
H A Dinit.cc31 SystemTime::init(); in init()
H A Dtimer_pool.cc58 timerRequest.expirationTime = SystemTime::getMonotonicTime() + duration; in setTimer()
225 Nanoseconds currentTime = SystemTime::getMonotonicTime(); in handleExpiredTimersAndScheduleNextLocked()
H A Devent_loop.cc361 SystemTime::getMonotonicTime() - mTimeLastWakeupBucketCycled; in logStateToBuffer()
522 Nanoseconds now = SystemTime::getMonotonicTime(); in handleNanoappWakeupBuckets()
/aosp12/system/chre/platform/slpi/see/
H A Disland_vote_client.cc73 mRefCountStart = Milliseconds(SystemTime::getMonotonicTime()); in incrementBigImageRefCount()
119 duration = Milliseconds(SystemTime::getMonotonicTime()).getMilliseconds() - in checkBigImageDuration()
/aosp12/system/chre/platform/include/chre/platform/
H A Dsystem_time.h26 class SystemTime {
/aosp12/system/bt/gd/rust/hal/src/
H A Dsnoop.rs11 use std::time::SystemTime;
260 SystemTime::now().duration_since(SystemTime::UNIX_EPOCH).unwrap().as_micros(), in log()
/aosp12/build/soong/ui/status/ninja_frontend/
H A Dfrontend.pb.go374SystemTime *uint32 `protobuf:"varint,6,opt,name=system_time,json=systemTime" json:"system_time,omi… member
455 if m != nil && m.SystemTime != nil {
456 return *m.SystemTime
/aosp12/system/chre/core/include/chre/core/
H A Devent_loop.h55 : mTimeLastWakeupBucketCycled(SystemTime::getMonotonicTime()), in EventLoop()
H A Dsensor_request_manager.h291 SystemTime::getMonotonicTime() +
/aosp12/system/chre/platform/android/
H A Dplatform_audio.cc50 (SystemTime::getMonotonicTime() - samplingTime).toRawNanoseconds(); in audioReadCallback()
/aosp12/system/security/keystore2/src/
H A Denforcements.rs46 time::SystemTime,
712 let duration_since_epoch = SystemTime::now().duration_since(SystemTime::UNIX_EPOCH); in is_given_time_passed()

12