Home
last modified time | relevance | path

Searched refs:elapsed (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DDisplayRefreshRateCtsActivity.java104 float elapsed = t - mStartTime; in onDrawFrame() local
105 if (elapsed >= TEST_SECONDS) { in onDrawFrame()
106 mResult.notifyResult((float)mNumFrames / elapsed); in onDrawFrame()
/cts/tests/tests/appop/appopsTestUtilLib/src/android/app/appops/cts/
DAppOpsUtils.kt151 val elapsed = System.currentTimeMillis() - start in eventually() constant
153 if (elapsed < timeout) { in eventually()
156 Thread.sleep(minOf(100, timeout - elapsed)) in eventually()
/cts/tests/tests/security/src/android/security/cts/
DAttributionSourceService.java226 long elapsed = now - start; in blockingGetBoundService() local
227 if (elapsed < CONNECT_WAIT_MS) { in blockingGetBoundService()
228 mLock.wait(CONNECT_WAIT_MS - elapsed); in blockingGetBoundService()
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/
DBindUtils.java101 long elapsed = SystemClock.elapsedRealtime() - startTimeMillis; in bindToApp() local
103 appName, elapsed)); in bindToApp()
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsProvider2_AccountRemovalTest.java355 long elapsed = now - start; in assertWithinTimeoutLimit() local
356 if (elapsed > ASYNC_TIMEOUT_LIMIT_MS) { in assertWithinTimeoutLimit()
357 fail(elapsed + "ms has elapsed. The limit is " + ASYNC_TIMEOUT_LIMIT_MS + "ms. " + in assertWithinTimeoutLimit()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioTrackOffloadTest.java216 final long elapsed = checkDataRequest(DATA_REQUEST_TIMEOUT_MS); in testMultipleAudioTrackOffloadPreemption() local
220 mPresEndLock.waitFor(PRESENTATION_END_TIMEOUT_MS - elapsed, in testMultipleAudioTrackOffloadPreemption()
338 final long elapsed = checkDataRequest(DATA_REQUEST_TIMEOUT_MS); in testAudioTrackOffload() local
343 mPresEndLock.waitFor(PRESENTATION_END_TIMEOUT_MS - elapsed, in testAudioTrackOffload()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DErrorLoggingService.java468 long elapsed = now - start; in blockingGetBoundService() local
469 if (elapsed < CONNECT_WAIT_MS) { in blockingGetBoundService()
470 mLock.wait(CONNECT_WAIT_MS - elapsed); in blockingGetBoundService()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DVideoDecoderPerfTest.java331 long elapsed = System.currentTimeMillis() - start; in doDecode() local
333 || (elapsed > maxTimeMs) in doDecode()
334 || (elapsed > MIN_TEST_MS && outputNum > MIN_FRAMES)); in doDecode()
/cts/tests/location/location_coarse/src/android/location/cts/coarse/
DLocationManagerCoarseTest.java323 long elapsed = SystemClock.elapsedRealtimeNanos(); in testGnssProvidedClock() local
327 location.setElapsedRealtimeNanos(elapsed); in testGnssProvidedClock()
/cts/libs/install/src/android/cts/install/lib/host/
DInstallUtilsHost.java179 if (stopwatch.elapsed().compareTo(timeout) > 0) { in waitForFileDeleted()
/cts/apps/CtsVerifier/assets/scripts/power_monitors/
Dmonsoon.py194 elapsed = 0
/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java2148 public Duration elapsed() { in elapsed() method in AndroidKeyStoreTest.TimeBox
2673 Log.i(TAG, "Imported " + keyCounter.get() + " keys in " + timeBox.elapsed()); in importKeyManyTimes()
2676 + timeBox.elapsed() + ". Imported: " + keyCounter.get() + " keys"); in importKeyManyTimes()