Searched refs:waitTimeMs (Results 1 – 8 of 8) sorted by relevance
72 int waitTimeMs = timeOutMs; in waitForSurfaceSizeChanged() local74 while (!changeSucceeded && waitTimeMs > 0) { in waitForSurfaceSizeChanged()76 changeSucceeded = surfaceChangedDone.block(waitTimeMs); in waitForSurfaceSizeChanged()90 waitTimeMs -= (SystemClock.elapsedRealtime() - startTimeMs); in waitForSurfaceSizeChanged()
216 private void waitForHandlerToComplete(Handler handler, long waitTimeMs) in waitForHandlerToComplete() argument225 lock.wait(waitTimeMs); in waitForHandlerToComplete()
1065 long waitTimeMs = SystemClock.uptimeMillis() - startTimeMs; in getSmartActionsFuture()1071 waitTimeMs); in getSmartActionsFuture()1084 long waitTimeMs = SystemClock.uptimeMillis() - startTimeMs; in getSmartActions() local1086 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()
1611 uint32_t waitTimeLeftMs = mSourceThread->waitTimeMs(); in write()1640 uint32_t waitTimeMs = (uint32_t)ns2ms(systemTime() - startTime); in write() local1641 if (waitTimeLeftMs >= waitTimeMs) { in write()1642 waitTimeLeftMs -= waitTimeMs; in write()1729 AudioBufferProvider::Buffer* buffer, uint32_t waitTimeMs) in obtainBuffer() argument1734 timeout.tv_sec = waitTimeMs / 1000; in obtainBuffer()1735 timeout.tv_nsec = (int) (waitTimeMs % 1000) * 1000000; in obtainBuffer()
347 uint32_t waitTimeMs);
1447 uint32_t waitTimeMs() const { return mWaitTimeMs; } in waitTimeMs() function
6645 uint32_t waitTimeMs = (strong->frameCount() * 2 * 1000) / strong->sampleRate(); in updateWaitTime_l() local6646 if (waitTimeMs < mWaitTimeMs) { in updateWaitTime_l()6647 mWaitTimeMs = waitTimeMs; in updateWaitTime_l()
523 private void waitForHandlerToComplete(Handler handler, long waitTimeMs) in waitForHandlerToComplete() argument532 lock.wait(waitTimeMs); in waitForHandlerToComplete()