Home
last modified time | relevance | path

Searched refs:lastTimestamp (Results 1 – 10 of 10) sorted by relevance

/aosp12/packages/services/Car/tools/emulator/
H A Ddiagnostic_injector.py75 lastTimestamp = 0
79 assert currentTimestamp >= lastTimestamp
83 if lastTimestamp != 0:
85 time.sleep((currentTimestamp-lastTimestamp)/1000000000)
86 lastTimestamp = currentTimestamp
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
H A DDailyLoggingAlarmScheduler.java45 long lastTimestamp = preferences.getLastDailyLogTimestamp(); in setAlarm() local
53 if (lastTimestamp == -1 || lastTimestamp < oneDayAgo.getTimeInMillis()) { in setAlarm()
63 oneDayFromNow.setTimeInMillis(lastTimestamp); in setAlarm()
/aosp12/system/chre/apps/test/common/chre_audio_concurrency_test/src/
H A Dchre_audio_concurrency_test_manager.cc205 static uint64_t lastTimestamp = 0; in validateAudioDataEvent() local
206 bool timestampValid = data->timestamp > lastTimestamp; in validateAudioDataEvent()
207 lastTimestamp = data->timestamp; in validateAudioDataEvent()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
H A DCallQualityMetrics.java366 int lastTimestamp = 0; in getTotalGoodAndBadQualityTimeMs() local
370 int timeSinceLastSnapshot = snapshot.mTimestampMs - lastTimestamp; in getTotalGoodAndBadQualityTimeMs()
376 lastTimestamp = snapshot.mTimestampMs; in getTotalGoodAndBadQualityTimeMs()
/aosp12/frameworks/base/cmds/incidentd/src/
H A DSection.cpp601 log_time lastTimestamp(0); in BlockingCall() local
624 lastTimestamp.tv_sec = msg.entry.sec; in BlockingCall()
625 lastTimestamp.tv_nsec = msg.entry.nsec; in BlockingCall()
687 lastTimestamp.tv_sec = entry.tv_sec; in BlockingCall()
688 lastTimestamp.tv_nsec = entry.tv_nsec; in BlockingCall()
712 gLastLogsRetrieved[mLogID] = lastTimestamp; in BlockingCall()
/aosp12/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
H A DSensorsHidlTestBase.h556 int64_t lastTimestamp = 0; in testDirectReportOperation() local
579 EXPECT_GT(e.timestamp, lastTimestamp) << (timestampErrorReported = true, in testDirectReportOperation()
582 lastTimestamp = e.timestamp; in testDirectReportOperation()
/aosp12/packages/services/Car/cpp/evs/manager/1.1/
H A DHalCamera.cpp237 const int64_t lastTimestamp) { in requestNewFrame() argument
240 req.timestamp = lastTimestamp; in requestNewFrame()
/aosp12/frameworks/base/media/java/android/media/
H A DWebVttRenderer.java497 long lastTimestamp = -1; in appendLinesToBuilder() local
502 if (span.mTimestampMs != lastTimestamp) { in appendLinesToBuilder()
507 lastTimestamp = span.mTimestampMs; in appendLinesToBuilder()
/aosp12/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/
H A Domx_vdec_test.cpp618 OMX_S64 base_timestamp = 0, lastTimestamp = 0; in fbd_thread() local
671 if (pBuffer->nTimeStamp != (lastTimestamp + timestampInterval)) in fbd_thread()
674 pBuffer->nTimeStamp, lastTimestamp + timestampInterval); in fbd_thread()
676 lastTimestamp = pBuffer->nTimeStamp; in fbd_thread()
/aosp12/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/
H A Domx_vdec_test.cpp740 OMX_S64 base_timestamp = 0, lastTimestamp = 0; in fbd_thread() local
799 if (pBuffer->nTimeStamp != (lastTimestamp + timestampInterval)) { in fbd_thread()
801 pBuffer->nTimeStamp, lastTimestamp + timestampInterval); in fbd_thread()
803 lastTimestamp = pBuffer->nTimeStamp; in fbd_thread()