Home
last modified time | relevance | path

Searched refs:currentTimestamp (Results 1 – 6 of 6) 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.h59 const int64_t currentTimestamp) const override;
DDurationTracker.h112 const int64_t currentTimestamp) const = 0;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java576 static int toPrivacyFuzzedTimeInterval(long previousTimestamp, long currentTimestamp) { in toPrivacyFuzzedTimeInterval() argument
577 long diff = currentTimestamp - previousTimestamp; in toPrivacyFuzzedTimeInterval()