/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
D | BluetoothPacketDecoder.java | 93 int currentTimestamp = highTimestamp | mLowTimestamp; in decodePacket() local 114 if (newTimestamp != currentTimestamp) { in decodePacket() 117 currentTimestamp = newTimestamp; in decodePacket() 122 mNanoTimestamp = mTimeTracker.convertTimestampToNanotime(currentTimestamp, now); in decodePacket()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | PackageDataTest.java | 74 long currentTimestamp = System.currentTimeMillis(); in setUp() local 75 mE1 = new Event(currentTimestamp - 800L, Event.TYPE_SHORTCUT_INVOCATION); in setUp() 76 mE2 = new Event(currentTimestamp - 700L, Event.TYPE_NOTIFICATION_OPENED); in setUp() 77 mE3 = new Event(currentTimestamp - 600L, Event.TYPE_CALL_INCOMING); in setUp() 78 mE4 = new Event(currentTimestamp - 500L, Event.TYPE_SMS_OUTGOING); in setUp()
|
D | DataManagerTest.java | 1000 long currentTimestamp = System.currentTimeMillis(); in testCallLogContentObserver() local 1002 new Event(currentTimestamp - MILLIS_PER_MINUTE * 15L, Event.TYPE_CALL_OUTGOING)); in testCallLogContentObserver() 1004 new Event(currentTimestamp - MILLIS_PER_MINUTE * 10L, Event.TYPE_CALL_INCOMING)); in testCallLogContentObserver() 1006 new Event(currentTimestamp - MILLIS_PER_MINUTE * 5L, Event.TYPE_CALL_MISSED)); in testCallLogContentObserver() 1024 long currentTimestamp = System.currentTimeMillis(); in testMmsSmsContentObserver() local 1026 new Event(currentTimestamp - MILLIS_PER_MINUTE * 10L, Event.TYPE_SMS_OUTGOING); in testMmsSmsContentObserver() 1028 new Event(currentTimestamp - MILLIS_PER_MINUTE * 5L, Event.TYPE_SMS_INCOMING); in testMmsSmsContentObserver() 1096 long currentTimestamp = System.currentTimeMillis(); in testPruneCallEventsFromNonDialer() local 1098 new Event(currentTimestamp - MILLIS_PER_MINUTE, Event.TYPE_CALL_OUTGOING)); in testPruneCallEventsFromNonDialer() 1118 long currentTimestamp = System.currentTimeMillis(); in testPruneSmsEventsFromNonDefaultSmsApp() local [all …]
|
/frameworks/base/packages/SystemUI/compose/scene/tests/utils/src/com/android/compose/animation/scene/ |
D | TestTransition.kt | 251 private var currentTimestamp = 0L in transitionTest() variable 263 check(timestamp >= currentTimestamp) { in transitionTest() 270 val delta = timestamp - currentTimestamp in transitionTest() 271 currentTimestamp = timestamp in transitionTest()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteServer.java | 285 final long currentTimestamp = SystemClock.elapsedRealtime(); in fetchUsapPoolPolicyPropsWithMinInterval() local 288 || (currentTimestamp - mLastPropCheckTimestamp >= Zygote.PROPERTY_CHECK_INTERVAL)) { in fetchUsapPoolPolicyPropsWithMinInterval() 290 mLastPropCheckTimestamp = currentTimestamp; in fetchUsapPoolPolicyPropsWithMinInterval()
|
/frameworks/base/services/core/java/com/android/server/recoverysystem/ |
D | RecoverySystemService.java | 677 long currentTimestamp = mInjector.getCurrentTimeMillis(); in reportMetricsOnPreparedForReboot() local 686 prefs.putLong(LSKF_CAPTURED_TIMESTAMP_PREF, currentTimestamp); in reportMetricsOnPreparedForReboot() 695 if (requestLskfTimestamp != -1 && currentTimestamp > requestLskfTimestamp) { in reportMetricsOnPreparedForReboot() 696 durationSeconds = (int) (currentTimestamp - requestLskfTimestamp) / 1000; in reportMetricsOnPreparedForReboot() 904 long currentTimestamp = mInjector.getCurrentTimeMillis(); in reportMetricsOnRebootWithLskf() local 908 if (lskfCapturedTimestamp != -1 && currentTimestamp > lskfCapturedTimestamp) { in reportMetricsOnRebootWithLskf() 909 durationSeconds = (int) (currentTimestamp - lskfCapturedTimestamp) / 1000; in reportMetricsOnRebootWithLskf()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | BackupManagerMonitorDumpsysUtils.java | 468 long currentTimestamp = System.currentTimeMillis(); in isAfterRetentionPeriod() local 469 mIsAfterRetentionPeriod = isDateAfterNMillisec(setupTimestamp, currentTimestamp, in isAfterRetentionPeriod()
|
/frameworks/av/services/oboeservice/ |
D | AAudioServiceStreamBase.cpp | 448 auto currentTimestamp = AudioClock::getNanoseconds(); in run() local 449 if (currentTimestamp >= nextDataReportTime) { in run() 453 if (currentTimestamp >= nextTimestampReportTime) { in run()
|
/frameworks/base/tools/codegen/src/com/android/codegen/ |
D | Utils.kt | 80 fun currentTimestamp() = DateTimeFormatter in singleArgAs() method
|
/frameworks/base/core/java/android/os/ |
D | ZygoteProcess.java | 817 final long currentTimestamp = SystemClock.elapsedRealtime(); in fetchUsapPoolEnabledPropWithMinInterval() local 820 || (currentTimestamp - mLastPropCheckTimestamp >= Zygote.PROPERTY_CHECK_INTERVAL)) { in fetchUsapPoolEnabledPropWithMinInterval() 822 mLastPropCheckTimestamp = currentTimestamp; in fetchUsapPoolEnabledPropWithMinInterval()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AbstractAccessibilityServiceConnection.java | 1405 final long currentTimestamp = SystemClock.uptimeMillis(); in takeScreenshotOfWindow() local 1406 if ((currentTimestamp in takeScreenshotOfWindow() 1413 mRequestTakeScreenshotOfWindowTimestampMs.put(accessibilityWindowId, currentTimestamp); in takeScreenshotOfWindow() 1457 final long currentTimestamp = SystemClock.uptimeMillis(); in takeScreenshot() local 1459 && (currentTimestamp - mRequestTakeScreenshotTimestampMs) in takeScreenshot() 1465 mRequestTakeScreenshotTimestampMs = currentTimestamp; in takeScreenshot()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | TelephonyMetrics.java | 922 static int toPrivacyFuzzedTimeInterval(long previousTimestamp, long currentTimestamp) { in toPrivacyFuzzedTimeInterval() argument 923 long diff = currentTimestamp - previousTimestamp; in toPrivacyFuzzedTimeInterval()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerSession.java | 3265 final long currentTimestamp = System.currentTimeMillis(); 3276 currentTimestamp - createdMillis,
|