Searched refs:wait (Results 51 - 75 of 262) sorted by relevance

1234567891011

/frameworks/native/include/ui/
H A DFence.h44 // TIMEOUT_NEVER may be passed to the wait method to indicate that it
45 // should wait indefinitely for the fence to signal.
63 // wait waits for up to timeout milliseconds for the fence to signal. If
66 // TIMEOUT_NEVER may be used to indicate that the call should wait
68 status_t wait(int timeout);
71 // signal (just like wait(TIMEOUT_NEVER)), but issuing an error to the
72 // system log and fence state to the kernel log if the wait lasts longer
/frameworks/rs/
H A DrsCppUtils.cpp25 #include <sys/wait.h>
H A DrsSignal.cpp72 bool Signal::wait(uint64_t timeout) { function in class:Signal
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.cpp94 mCondition.wait(mLock);
113 mCondition.wait(mLock);
132 mCondition.wait(mLock);
151 mCondition.wait(mLock);
180 mCondition.wait(mLock);
203 mCondition.wait(mLock);
213 mCondition.wait(mLock);
490 mCondition.wait(mLock);
/frameworks/av/media/libstagefright/foundation/
H A DALooper.cpp203 mQueueChangedCondition.wait(mLock);
237 // return status in case we want to handle an interrupted wait
247 mRepliesCondition.wait(mRepliesLock);
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/service/
H A DRedirectListener.java71 mLock.wait(remainder);
95 mLock.wait(remainder);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DInputPort.java26 * {@link #pullFrame()} on an input port. If the input port is set to wait for an input frame
220 * Sets whether to wait for a frame on this port before processing.
224 * @param wait true, if the Filter should wait for a Frame before processing.
227 public void setWaitsForFrame(boolean wait) { argument
228 mWaitForFrame = wait;
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
H A DCustomSurfaceView.java159 mSurfaceLock.wait(5000);
177 mSurfaceLock.wait(5000);
/frameworks/base/tools/preload2/src/com/android/preload/
H A DClientUtils.java56 * @param timeout The amount of milliseconds to wait, at most.
75 * @param timeout The amount of milliseconds to wait, at most.
114 wait(timeout);
196 wait(timeout); // Note: doesn't guard for spurious wakeup.
/frameworks/av/services/audioflinger/
H A DAudioWatchdog.cpp46 mMyCond.wait(mMyLock);
/frameworks/av/services/camera/libcameraservice/utils/
H A DAutoConditionLock.cpp81 status_t ret = manager->mCondition.wait(*(manager->mMutex));
/frameworks/base/core/tests/coretests/src/android/os/
H A DMessengerTest.java101 wait();
H A DFileObserverTest.java73 // make file changes and wait for them
104 mObserver.wait(2000);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaPlayerStateUnitTestTemplate.java85 lock.wait(WAIT_FOR_COMMAND_TO_COMPLETE);
87 Log.v(TAG, "runTestOnMethod: wait was interrupted.");
161 lock.wait(WAIT_FOR_COMMAND_TO_COMPLETE);
163 Log.v(TAG, "callMediaPlayerMethodUnderTestInState: wait is interrupted in state " + state);
293 lock.wait(WAIT_FOR_COMMAND_TO_COMPLETE);
295 Log.v(TAG, "setMediaPlayerToPlaybackCompletedState: wait was interrupted.");
317 lock.wait(WAIT_FOR_COMMAND_TO_COMPLETE);
319 Log.v(TAG, "setMediaPlayerToErrorState: wait was interrupted.");
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DLeakTest.java116 this.wait();
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DUnrefedBitmapCache.java94 mLock.wait();
/frameworks/wilhelm/src/android/
H A DCallbackProtector.cpp127 mCbExitedCondition.wait(mLock);
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/
H A DDirectoryListBot.java133 return mDevice.wait(Until.findObject(By.text(message)), mTimeout);
137 mDevice.wait(Until.findObject(SNACK_DELETE), mTimeout);
141 // wait a little longer for snackbar to go away, as it disappears after a timeout.
142 mDevice.wait(Until.gone(SNACK_DELETE), mTimeout * 2);
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DStateMachineTest.java156 // wait for the messages to be handled
157 smQuitTest.wait();
260 // wait for the messages to be handled
261 smQuitNowTest.wait();
404 // wait for the messages to be handled
405 smEnterExitTranstionToTest.wait();
527 // wait for the messages to be handled
528 sm0.wait();
628 // wait for the messages to be handled
629 sm1.wait();
[all...]
/frameworks/av/include/media/stagefright/foundation/
H A DMutexed.h66 * // you can use the integral mutex to wait for a condition
123 inline status_t waitForCondition(Condition &cond) { return cond.wait(mLock); }
/frameworks/av/media/audioserver/
H A Dmain_audioserver.cpp22 #include <sys/wait.h>
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
H A DDownloadManagerBaseTest.java165 wait();
184 * @param id id of the download to wait for.
185 * @param timeout maximum time to wait, in milliseconds
197 wait(timeout);
206 * @param ids ids of the downloads to wait for.
207 * @param timeout maximum time to wait, in milliseconds
220 wait(timeout);
302 receiver.wait(DEFAULT_WAIT_POLL_TIME);
337 // wait for airplane mode to change state
352 * Helper to wait fo
[all...]
/frameworks/base/core/tests/utiltests/src/android/util/
H A DRemoteIntArray.java132 mLock.wait(remainingMillis);
/frameworks/base/libs/hwui/renderthread/
H A DDrawFrameTask.cpp82 mSignal.wait(mLock);
108 // wait on fences so tasks don't overlap next frame
/frameworks/base/libs/hwui/thread/
H A DTaskManager.cpp91 mSignal.wait();

Completed in 550 milliseconds

1234567891011