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/core/java/com/android/internal/os/
DZygoteServer.java286 final long currentTimestamp = SystemClock.elapsedRealtime(); in fetchUsapPoolPolicyPropsWithMinInterval() local
289 || (currentTimestamp - mLastPropCheckTimestamp >= Zygote.PROPERTY_CHECK_INTERVAL)) { in fetchUsapPoolPolicyPropsWithMinInterval()
291 mLastPropCheckTimestamp = currentTimestamp; in fetchUsapPoolPolicyPropsWithMinInterval()
/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.h59 const int64_t currentTimestamp) const override;
DDurationTracker.h111 const int64_t currentTimestamp) const = 0;
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistHandleReminderExpBehavior.java365 long currentTimestamp = SystemClock.uptimeMillis(); in updateLearningStatus() local
366 mLearningTimeElapsed += currentTimestamp - mLastLearningTimestamp; in updateLearningStatus()
367 mLastLearningTimestamp = currentTimestamp; in updateLearningStatus()
/frameworks/base/core/java/android/os/
DZygoteProcess.java666 final long currentTimestamp = SystemClock.elapsedRealtime(); in fetchUsapPoolEnabledPropWithMinInterval() local
673 if (currentTimestamp <= 15000) { in fetchUsapPoolEnabledPropWithMinInterval()
679 || (currentTimestamp - mLastPropCheckTimestamp >= Zygote.PROPERTY_CHECK_INTERVAL)) { in fetchUsapPoolEnabledPropWithMinInterval()
681 mLastPropCheckTimestamp = currentTimestamp; in fetchUsapPoolEnabledPropWithMinInterval()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java826 static int toPrivacyFuzzedTimeInterval(long previousTimestamp, long currentTimestamp) { in toPrivacyFuzzedTimeInterval() argument
827 long diff = currentTimestamp - previousTimestamp; in toPrivacyFuzzedTimeInterval()