Home
last modified time | relevance | path

Searched refs:currentTimeMs (Results 1 – 8 of 8) sorted by relevance

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DPlaybackControlsPresenter.java159 void setCurrentTime(long currentTimeMs) { in setCurrentTime() argument
160 long seconds = currentTimeMs / 1000; in setCurrentTime()
161 if (currentTimeMs != mCurrentTimeInMs) { in setCurrentTime()
162 mCurrentTimeInMs = currentTimeMs; in setCurrentTime()
DPlaybackTransportRowPresenter.java485 protected void onSetCurrentPositionLabel(long currentTimeMs) { in onSetCurrentPositionLabel() argument
487 formatTime(currentTimeMs, mTempBuilder); in onSetCurrentPositionLabel()
492 void setCurrentPosition(long currentTimeMs) { in setCurrentPosition() argument
493 if (currentTimeMs != mCurrentTimeInMs) { in setCurrentPosition()
494 mCurrentTimeInMs = currentTimeMs; in setCurrentPosition()
495 onSetCurrentPositionLabel(currentTimeMs); in setCurrentPosition()
DPlaybackControlsRow.java57 public void onCurrentPositionChanged(PlaybackControlsRow row, long currentTimeMs) { in onCurrentPositionChanged() argument
/frameworks/base/core/java/android/net/
DNetworkAgent.java256 long currentTimeMs = System.currentTimeMillis(); in handleMessage() local
260 if (currentTimeMs >= (mLastBwRefreshTime + BW_REFRESH_MIN_WIN_MS)) { in handleMessage()
269 currentTimeMs + 1; in handleMessage()
/frameworks/base/telecomm/java/android/telecom/Logging/
DSessionManager.java398 long currentTimeMs = System.currentTimeMillis(); in cleanupStaleSessions() local
407 if (currentTimeMs - session.getExecutionStartTimeMilliseconds() > timeoutMs) { in cleanupStaleSessions()
/frameworks/support/media/version-compat-tests/previous/service/src/androidTest/java/android/support/mediacompat/service/
DMediaSessionCompatCallbackTest.java795 long currentTimeMs = System.currentTimeMillis(); in sendMediaKeyInputToController() local
797 currentTimeMs, currentTimeMs, KeyEvent.ACTION_DOWN, keyCode, 0); in sendMediaKeyInputToController()
801 currentTimeMs, System.currentTimeMillis(), KeyEvent.ACTION_DOWN, keyCode, 1); in sendMediaKeyInputToController()
805 currentTimeMs, System.currentTimeMillis(), KeyEvent.ACTION_UP, keyCode, 0); in sendMediaKeyInputToController()
/frameworks/support/media/version-compat-tests/current/service/src/androidTest/java/android/support/mediacompat/service/
DMediaSessionCompatCallbackTest.java870 long currentTimeMs = System.currentTimeMillis(); in sendMediaKeyInputToController() local
872 currentTimeMs, currentTimeMs, KeyEvent.ACTION_DOWN, keyCode, 0); in sendMediaKeyInputToController()
876 currentTimeMs, System.currentTimeMillis(), KeyEvent.ACTION_DOWN, keyCode, 1); in sendMediaKeyInputToController()
880 currentTimeMs, System.currentTimeMillis(), KeyEvent.ACTION_UP, keyCode, 0); in sendMediaKeyInputToController()
/frameworks/av/packages/MediaComponents/src/com/android/media/
DMediaSession2Impl.java775 final long currentTimeMs = System.currentTimeMillis(); in notifyPlayerUpdatedNotLocked() local
778 mSessionStub.notifyPositionChangedNotLocked(currentTimeMs, position); in notifyPlayerUpdatedNotLocked()