Home
last modified time | relevance | path

Searched refs:currentTimestamp (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
DBluetoothPacketDecoder.java70 int currentTimestamp = 0; in decodePacket() local
85 if (newTimestamp != currentTimestamp) { in decodePacket()
95 currentTimestamp = newTimestamp; in decodePacket()
100 nanoTimestamp = mTimeTracker.convertTimestampToNanotime(currentTimestamp, now); in decodePacket()
/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DMaxDurationTracker.cpp317 const int64_t currentTimestamp) const { in predictAnomalyTimestampNs()
324 it->second.lastDuration + (currentTimestamp - it->second.lastStartTime); in predictAnomalyTimestampNs()
330 int64_t anomalyTimeNs = currentTimestamp + anomalyTracker.getAnomalyThreshold() - maxElapsed; in predictAnomalyTimestampNs()
DMaxDurationTracker.h60 const int64_t currentTimestamp) const override;
DOringDurationTracker.h58 const int64_t currentTimestamp) const override;
DDurationTracker.h111 const int64_t currentTimestamp) const = 0;
/frameworks/base/core/java/com/android/internal/os/
DZygoteServer.java316 final long currentTimestamp = SystemClock.elapsedRealtime(); in fetchUsapPoolPolicyPropsWithMinInterval() local
319 || (currentTimestamp - mLastPropCheckTimestamp >= Zygote.PROPERTY_CHECK_INTERVAL)) { in fetchUsapPoolPolicyPropsWithMinInterval()
321 mLastPropCheckTimestamp = currentTimestamp; in fetchUsapPoolPolicyPropsWithMinInterval()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistHandleReminderExpBehavior.java434 long currentTimestamp = mClock.currentTimeMillis(); in updateLearningStatus() local
435 mLearningTimeElapsed += currentTimestamp - mLastLearningTimestamp; in updateLearningStatus()
436 mLastLearningTimestamp = currentTimestamp; in updateLearningStatus()
/frameworks/base/core/java/android/os/
DZygoteProcess.java755 final long currentTimestamp = SystemClock.elapsedRealtime(); in fetchUsapPoolEnabledPropWithMinInterval() local
762 if (currentTimestamp <= 15000) { in fetchUsapPoolEnabledPropWithMinInterval()
768 || (currentTimestamp - mLastPropCheckTimestamp >= Zygote.PROPERTY_CHECK_INTERVAL)) { in fetchUsapPoolEnabledPropWithMinInterval()
770 mLastPropCheckTimestamp = currentTimestamp; in fetchUsapPoolEnabledPropWithMinInterval()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java859 static int toPrivacyFuzzedTimeInterval(long previousTimestamp, long currentTimestamp) { in toPrivacyFuzzedTimeInterval() argument
860 long diff = currentTimestamp - previousTimestamp; in toPrivacyFuzzedTimeInterval()