/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/ |
D | PlayerMessageTest.java | 70 when(clock.elapsedRealtime()).thenReturn(0L).thenReturn(TIMEOUT_MS * 2); in experimental_blockUntilDelivered_timesOut() 79 verify(clock, Mockito.times(2)).elapsedRealtime(); in experimental_blockUntilDelivered_timesOut() 84 when(clock.elapsedRealtime()).thenReturn(0L); in experimental_blockUntilDelivered_onAlreadyProcessed_succeeds() 107 when(clock.elapsedRealtime()) in experimental_blockUntilDelivered_markAsProcessedWhileBlocked_succeeds() 119 verify(clock, Mockito.atLeast(2)).elapsedRealtime(); in experimental_blockUntilDelivered_markAsProcessedWhileBlocked_succeeds()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/ |
D | StandaloneMediaClock.java | 51 baseElapsedMs = clock.elapsedRealtime(); in start() 74 baseElapsedMs = clock.elapsedRealtime(); in resetPosition() 82 long elapsedSinceBaseMs = clock.elapsedRealtime() - baseElapsedMs; in getPositionUs()
|
D | ConditionVariable.java | 70 long now = android.os.SystemClock.elapsedRealtime(); in block() 74 now = android.os.SystemClock.elapsedRealtime(); in block()
|
D | SystemClock.java | 34 public long elapsedRealtime() { in elapsedRealtime() method in SystemClock 35 return android.os.SystemClock.elapsedRealtime(); in elapsedRealtime()
|
D | Clock.java | 41 long elapsedRealtime(); in elapsedRealtime() method
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | BasicNetwork.java | 94 long requestStart = SystemClock.elapsedRealtime(); in performRequest() 109 long requestDuration = SystemClock.elapsedRealtime() - requestStart; in performRequest() 127 long requestLifetime = SystemClock.elapsedRealtime() - requestStart; in performRequest() 138 SystemClock.elapsedRealtime() - requestStart, in performRequest()
|
D | BasicAsyncNetwork.java | 78 long requestDuration = SystemClock.elapsedRealtime() - requestStartMs; in onRequestSucceeded() 144 final long requestStartMs = SystemClock.elapsedRealtime(); in performRequest() 185 long requestLifetime = SystemClock.elapsedRealtime() - requestStartMs; in onResponseRead() 204 SystemClock.elapsedRealtime() - requestStartMs, in onResponseRead()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/video/ |
D | DecoderVideoRendererTest.java | 200 renderer.render(/* positionUs= */ 0, SystemClock.elapsedRealtime() * 1000); in enable_withMayRenderStartOfStream_rendersFirstFrameBeforeStart() 228 renderer.render(/* positionUs= */ 0, SystemClock.elapsedRealtime() * 1000); in enable_withoutMayRenderStartOfStream_doesNotRenderFirstFrameBeforeStart() 256 renderer.render(/* positionUs= */ 0, SystemClock.elapsedRealtime() * 1000); in enable_withoutMayRenderStartOfStream_rendersFirstFrameAfterStart() 296 renderer.render(/* positionUs= */ i * 10, SystemClock.elapsedRealtime() * 1000); in replaceStream_whenStarted_rendersFirstFrameOfNewStream() 339 renderer.render(/* positionUs= */ i * 10, SystemClock.elapsedRealtime() * 1000); in replaceStream_whenNotStarted_doesNotRenderFirstFrameOfNewStream() 351 renderer.render(/* positionUs= */ 100, SystemClock.elapsedRealtime() * 1000); in replaceStream_whenNotStarted_doesNotRenderFirstFrameOfNewStream()
|
/external/webrtc/rtc_base/java/src/org/webrtc/ |
D | ThreadUtils.java | 83 final long startTimeMs = SystemClock.elapsedRealtime(); in joinUninterruptibly() 94 final long elapsedTimeMs = SystemClock.elapsedRealtime() - startTimeMs; in joinUninterruptibly() 124 final long startTimeMs = SystemClock.elapsedRealtime(); in awaitUninterruptibly() 136 final long elapsedTimeMs = SystemClock.elapsedRealtime() - startTimeMs; in awaitUninterruptibly()
|
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/ |
D | DefaultHlsPlaylistTracker.java | 133 long elapsedRealtime = in start() local 139 new LoadEventInfo(masterPlaylistLoadable.dataSpec, elapsedRealtime), in start() 304 long currentTimeMs = SystemClock.elapsedRealtime(); in maybeSelectNewPrimaryUrl() 484 long currentTimeMs = SystemClock.elapsedRealtime(); in isSnapshotValid() 502 long currentTimeMs = SystemClock.elapsedRealtime(); in loadPlaylist() 615 long elapsedRealtime = in loadPlaylistImmediately() local 621 new LoadEventInfo(mediaPlaylistLoadable.dataSpec, elapsedRealtime), in loadPlaylistImmediately() 627 long currentTimeMs = SystemClock.elapsedRealtime(); in processLoadedPlaylist() 680 blacklistUntilMs = SystemClock.elapsedRealtime() + blacklistDurationMs; in blacklistPlaylist()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/ |
D | DecoderVideoRenderer.java | 226 } else if (SystemClock.elapsedRealtime() < joiningDeadlineMs) { in isReady() 283 droppedFrameAccumulationStartTimeMs = SystemClock.elapsedRealtime(); in onStarted() 284 lastRenderTimeUs = SystemClock.elapsedRealtime() * 1000; in onStarted() 547 lastRenderTimeUs = C.msToUs(SystemClock.elapsedRealtime() * 1000); in renderOutputBuffer() 678 long decoderInitializingTimestamp = SystemClock.elapsedRealtime(); in maybeInitDecoder() 681 long decoderInitializedTimestamp = SystemClock.elapsedRealtime(); in maybeInitDecoder() 831 long elapsedRealtimeNowUs = SystemClock.elapsedRealtime() * 1000; in processOutputBuffer() 908 ? (SystemClock.elapsedRealtime() + allowedJoiningTimeMs) in setJoiningDeadlineMs() 956 long now = SystemClock.elapsedRealtime(); in maybeNotifyDroppedFrames()
|
/external/volley/src/main/java/com/android/volley/ |
D | NetworkDispatcher.java | 116 long startTimeMs = SystemClock.elapsedRealtime(); in processRequest() 159 volleyError.setNetworkTimeMs(SystemClock.elapsedRealtime() - startTimeMs); in processRequest() 165 volleyError.setNetworkTimeMs(SystemClock.elapsedRealtime() - startTimeMs); in processRequest()
|
/external/libchrome/base/android/java/src/org/chromium/base/ |
D | TraceEvent.java | 134 mLastIdleStartedAt = SystemClock.elapsedRealtime(); in syncIdleMonitoring() 151 mLastWorkStartedAt = SystemClock.elapsedRealtime(); in beginHandling() 158 final long elapsed = SystemClock.elapsedRealtime() in endHandling() 177 final long now = SystemClock.elapsedRealtime(); in queueIdle()
|
D | PathUtils.java | 204 long time = SystemClock.elapsedRealtime(); in getDownloadsDirectory() 209 SystemClock.elapsedRealtime() - time, TimeUnit.MILLISECONDS); in getDownloadsDirectory()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowSystemClock.java | 62 protected static long elapsedRealtime() { in elapsedRealtime() method in ShadowSystemClock 68 return elapsedRealtime() * MILLIS_PER_NANO; in elapsedRealtimeNanos()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/ |
D | AudioTrackPositionTracker.java | 311 && SystemClock.elapsedRealtime() - forceResetWorkaroundTimeMs in isStalled() 323 stopTimestampUs = SystemClock.elapsedRealtime() * 1000; in handleEndOfStream() 498 long elapsedTimeSinceStopUs = (SystemClock.elapsedRealtime() * 1000) - stopTimestampUs; in getPlaybackHeadPosition() 530 forceResetWorkaroundTimeMs = SystemClock.elapsedRealtime(); in getPlaybackHeadPosition()
|
/external/libtextclassifier/java/src/com/android/textclassifier/common/statsd/ |
D | TextClassifierApiUsageLogger.java | 93 beginElapsedRealTime = SystemClock.elapsedRealtime(); in Session() 108 final long latencyInMillis = SystemClock.elapsedRealtime() - beginElapsedRealTime; in reportInternal()
|
/external/exoplayer/tree/testutils/src/test/java/com/google/android/exoplayer2/testutil/ |
D | FakeClockTest.java | 60 assertThat(fakeClock.elapsedRealtime()).isEqualTo(2000); in testAdvanceTime() 62 assertThat(fakeClock.elapsedRealtime()).isEqualTo(2500); in testAdvanceTime() 64 assertThat(fakeClock.elapsedRealtime()).isEqualTo(2500); in testAdvanceTime()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowSystemClockTest.java | 48 assertThat(SystemClock.elapsedRealtime()).isEqualTo(1000); in testElapsedRealtime() 50 assertThat(SystemClock.elapsedRealtime()).isEqualTo(1034); in testElapsedRealtime()
|
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | CpuMonitor.java | 177 lastStatLogTimeMs = SystemClock.elapsedRealtime(); in CpuMonitor() 243 && SystemClock.elapsedRealtime() - lastStatLogTimeMs >= CPU_STAT_LOG_PERIOD_MS) { in cpuUtilizationTask() 244 lastStatLogTimeMs = SystemClock.elapsedRealtime(); in cpuUtilizationTask() 288 lastStatLogTimeMs = SystemClock.elapsedRealtime(); in resetStat()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | PlayerMessage.java | 337 long deadlineMs = clock.elapsedRealtime() + timeoutMs; in experimental_blockUntilDelivered() 341 remainingMs = deadlineMs - clock.elapsedRealtime(); in experimental_blockUntilDelivered()
|
/external/volley/src/test/java/com/android/volley/mock/ |
D | ShadowSystemClock.java | 24 public static long elapsedRealtime() { in elapsedRealtime() method in ShadowSystemClock
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/ |
D | Loader.java | 245 long startTimeMs = SystemClock.elapsedRealtime(); in startLoading() 371 long nowMs = SystemClock.elapsedRealtime(); in cancel() 440 long nowMs = SystemClock.elapsedRealtime(); in handleMessage()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
D | WifiScannerFacade.java | 129 mResults.putLong("ResultElapsedRealtime", SystemClock.elapsedRealtime()); in reportResult() 184 SystemClock.elapsedRealtime()); in WifiScanListener() 219 mScanData.putLong("ResultElapsedRealtime", SystemClock.elapsedRealtime()); in onResults() 255 SystemClock.elapsedRealtime()); in ChangeListener() 313 SystemClock.elapsedRealtime()); in WifiBssidListener()
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | FakeClock.java | 88 public synchronized long elapsedRealtime() { in elapsedRealtime() method in FakeClock 94 return elapsedRealtime(); in uptimeMillis()
|