Searched refs:waitTimeMs (Results 1 – 9 of 9) sorted by relevance
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
D | SingleSupportFragmentTestBase.java | 78 …lic SingleSupportFragmentTestActivity launchAndWaitActivity(Class fragmentClass, long waitTimeMs) { in launchAndWaitActivity() argument 79 return launchAndWaitActivity(fragmentClass.getName(), null, waitTimeMs); in launchAndWaitActivity() 83 long waitTimeMs) { in launchAndWaitActivity() argument 84 return launchAndWaitActivity(fragmentClass.getName(), options, waitTimeMs); in launchAndWaitActivity() 88 Options options, long waitTimeMs) { in launchAndWaitActivity() argument 95 SystemClock.sleep(waitTimeMs); in launchAndWaitActivity()
|
D | SingleFragmentTestBase.java | 75 public SingleFragmentTestActivity launchAndWaitActivity(Class fragmentClass, long waitTimeMs) { in launchAndWaitActivity() argument 76 return launchAndWaitActivity(fragmentClass.getName(), null, waitTimeMs); in launchAndWaitActivity() 80 long waitTimeMs) { in launchAndWaitActivity() argument 81 return launchAndWaitActivity(fragmentClass.getName(), options, waitTimeMs); in launchAndWaitActivity() 85 Options options, long waitTimeMs) { in launchAndWaitActivity() argument 92 SystemClock.sleep(waitTimeMs); in launchAndWaitActivity()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | Camera2SurfaceViewActivity.java | 72 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/core/java/com/android/server/audio/ |
D | RotationHelper.java | 196 int waitTimeMs; in run() local 198 waitTimeMs = mWaitCounter < WAIT_TIMES_MS.length ? in run() 203 if (waitTimeMs > 0) { in run() 204 sleep(waitTimeMs); in run()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbAlsaManager.java | 227 long waitTimeMs = timeoutMs - SystemClock.elapsedRealtime(); in waitForAlsaDevice() local 228 if (waitTimeMs > 0) { in waitForAlsaDevice() 230 mAlsaDevices.wait(waitTimeMs); in waitForAlsaDevice()
|
/frameworks/av/services/audioflinger/ |
D | Tracks.cpp | 1297 uint32_t waitTimeLeftMs = mSourceThread->waitTimeMs(); in write() 1325 uint32_t waitTimeMs = (uint32_t)ns2ms(systemTime() - startTime); in write() local 1326 if (waitTimeLeftMs >= waitTimeMs) { in write() 1327 waitTimeLeftMs -= waitTimeMs; in write() 1393 AudioBufferProvider::Buffer* buffer, uint32_t waitTimeMs) in obtainBuffer() argument 1398 timeout.tv_sec = waitTimeMs / 1000; in obtainBuffer() 1399 timeout.tv_nsec = (int) (waitTimeMs % 1000) * 1000000; in obtainBuffer()
|
D | PlaybackTracks.h | 218 uint32_t waitTimeMs);
|
D | Threads.h | 1211 uint32_t waitTimeMs() const { return mWaitTimeMs; } in waitTimeMs() function
|
D | Threads.cpp | 5875 uint32_t waitTimeMs = (strong->frameCount() * 2 * 1000) / strong->sampleRate(); in updateWaitTime_l() local 5876 if (waitTimeMs < mWaitTimeMs) { in updateWaitTime_l() 5877 mWaitTimeMs = waitTimeMs; in updateWaitTime_l()
|