Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewActivity.java72 int waitTimeMs = timeOutMs; in waitForSurfaceSizeChanged() local
74 while (!changeSucceeded && waitTimeMs > 0) { in waitForSurfaceSizeChanged()
76 changeSucceeded = surfaceChangedDone.block(waitTimeMs); in waitForSurfaceSizeChanged()
90 waitTimeMs -= (SystemClock.elapsedRealtime() - startTimeMs); in waitForSurfaceSizeChanged()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/
DLocalDisplayAdapterTest.java216 private void waitForHandlerToComplete(Handler handler, long waitTimeMs) in waitForHandlerToComplete() argument
225 lock.wait(waitTimeMs); in waitForHandlerToComplete()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java1065 long waitTimeMs = SystemClock.uptimeMillis() - startTimeMs; in getSmartActionsFuture()
1071 waitTimeMs); in getSmartActionsFuture()
1084 long waitTimeMs = SystemClock.uptimeMillis() - startTimeMs; in getSmartActions() local
1086 actions.size(), waitTimeMs)); in getSmartActions()
1090 waitTimeMs); in getSmartActions()
1093 long waitTimeMs = SystemClock.uptimeMillis() - startTimeMs; in getSmartActions()
1094 Slog.e(TAG, String.format("Error getting smart actions. Wait time: %d ms", waitTimeMs), in getSmartActions()
1102 status, waitTimeMs); in getSmartActions()
/frameworks/av/services/audioflinger/
DTracks.cpp1611 uint32_t waitTimeLeftMs = mSourceThread->waitTimeMs(); in write()
1640 uint32_t waitTimeMs = (uint32_t)ns2ms(systemTime() - startTime); in write() local
1641 if (waitTimeLeftMs >= waitTimeMs) { in write()
1642 waitTimeLeftMs -= waitTimeMs; in write()
1729 AudioBufferProvider::Buffer* buffer, uint32_t waitTimeMs) in obtainBuffer() argument
1734 timeout.tv_sec = waitTimeMs / 1000; in obtainBuffer()
1735 timeout.tv_nsec = (int) (waitTimeMs % 1000) * 1000000; in obtainBuffer()
DPlaybackTracks.h347 uint32_t waitTimeMs);
DThreads.h1447 uint32_t waitTimeMs() const { return mWaitTimeMs; } in waitTimeMs() function
DThreads.cpp6645 uint32_t waitTimeMs = (strong->frameCount() * 2 * 1000) / strong->sampleRate(); in updateWaitTime_l() local
6646 if (waitTimeMs < mWaitTimeMs) { in updateWaitTime_l()
6647 mWaitTimeMs = waitTimeMs; in updateWaitTime_l()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java523 private void waitForHandlerToComplete(Handler handler, long waitTimeMs) in waitForHandlerToComplete() argument
532 lock.wait(waitTimeMs); in waitForHandlerToComplete()