Searched refs:wait (Results 26 - 50 of 323) sorted by relevance

1234567891011>>

/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
H A DEventsCommand.java64 // there's really no way to stop, essentially we just block indefinitely here and wait
68 mQuitLock.wait();
/frameworks/base/core/tests/coretests/src/android/os/
H A DHandlerTester.java35 wait(timeout);
/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewActivity.java69 mHasWindowFocusLock.wait(durationMillis);
/frameworks/base/services/backup/java/com/android/server/backup/restore/
H A DRestoreInstallObserver.java29 * Allows the caller to synchronously wait for package install event.
58 mDone.wait();
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DTest.java39 mBundle.wait();
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DFrameworkPerfTest.java25 activity.mResultNotifier.wait(TEST_TIMEOUT);
/frameworks/native/cmds/lshal/
H A DTimeout.h41 bool wait(std::chrono::time_point<C, D> end) { function in class:android::lshal::BackgroundTaskState
72 bool success = state.wait(now + delay);
82 timeoutIPC(std::chrono::duration<R, P> wait, const sp<I> &interfaceObject, Function &&func, argument
88 bool success = timeout(wait, [&ret, &boundFunc] {
/frameworks/native/cmds/surfacereplayer/replayer/
H A DEvent.cpp37 mCond.wait(lock, [this, state] { return (mState == state); });
/frameworks/native/services/powermanager/
H A DIPowerManager.cpp109 virtual status_t reboot(bool confirm, const String16& reason, bool wait) argument
115 data.writeInt32(wait);
119 virtual status_t shutdown(bool confirm, const String16& reason, bool wait) argument
125 data.writeInt32(wait);
/frameworks/native/services/surfaceflinger/
H A DEventControlThread.cpp44 status_t err = mCond.wait(mMutex);
H A DMessageQueue.h52 void wait() const { barrier.wait(); } function in class:android::MessageBase
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DGSMTestHandler.java.broken68 this.wait();
101 this.wait(FAIL_TIMEOUT_MILLIS);
/frameworks/support/media-compat/tests/src/android/support/v4/media/
H A DMediaBrowserCompatTest.java53 // The maximum time to wait for an operation.
170 callback.mWaitLock.wait(TIME_OUT_MS);
197 mConnectionCallback.mWaitLock.wait(TIME_OUT_MS);
220 mConnectionCallback.mWaitLock.wait(TIME_OUT_MS);
229 mSubscriptionCallback.mWaitLock.wait(TIME_OUT_MS);
240 mItemCallback.mWaitLock.wait(TIME_OUT_MS);
255 mItemCallback.mWaitLock.wait(TIME_OUT_MS);
306 mSubscriptionCallback.mWaitLock.wait(TIME_OUT_MS);
352 mSubscriptionCallback.mWaitLock.wait(TIME_OUT_MS);
400 mSubscriptionCallback.mWaitLock.wait(TIME_OUT_M
[all...]
/frameworks/av/media/libstagefright/
H A DMediaAdapter.cpp87 mBufferReadCond.wait(mAdapterLock);
119 ALOGV("wait for the buffer returned @ pushBuffer! %p", buffer);
120 mBufferReturnedCond.wait(mAdapterLock);
/frameworks/base/core/java/android/os/
H A DSystemService.java121 sPropertyLock.wait(timeoutMillis);
141 sPropertyLock.wait();
H A DTestLooperManager.java85 wait();
128 execution.wait();
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DOutputPort.java29 * output port is set to wait until it becomes free (see {@link #setWaitsUntilAvailable(boolean)}),
101 * Sets whether to wait until this port becomes available before processing.
105 * @param wait true, if filter should wait for the port to become available before processing.
108 public void setWaitsUntilAvailable(boolean wait) { argument
109 mWaitsUntilAvailable = wait;
/frameworks/native/include/powermanager/
H A DIPowerManager.h69 virtual status_t reboot(bool confirm, const String16& reason, bool wait) = 0;
70 virtual status_t shutdown(bool confirm, const String16& reason, bool wait) = 0;
/frameworks/native/include/ui/
H A DFence.h45 // TIMEOUT_NEVER may be passed to the wait method to indicate that it
46 // should wait indefinitely for the fence to signal.
70 // wait waits for up to timeout milliseconds for the fence to signal. If
73 // TIMEOUT_NEVER may be used to indicate that the call should wait
75 status_t wait(int timeout);
78 // signal (just like wait(TIMEOUT_NEVER)), but issuing an error to the
79 // system log and fence state to the kernel log if the wait lasts longer
113 // getSignalTime() or wait() if all you care about is whether the fence has
116 // The sync_wait call underlying wait() has been measured to be
120 switch (wait(
[all...]
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureGLThreadToGL.h115 mFrameAvailableCondition.wait(mMutex);
139 mFrameFinishCondition.wait(mMutex);
/frameworks/native/libs/ui/include/ui/
H A DFence.h45 // TIMEOUT_NEVER may be passed to the wait method to indicate that it
46 // should wait indefinitely for the fence to signal.
70 // wait waits for up to timeout milliseconds for the fence to signal. If
73 // TIMEOUT_NEVER may be used to indicate that the call should wait
75 status_t wait(int timeout);
78 // signal (just like wait(TIMEOUT_NEVER)), but issuing an error to the
79 // system log and fence state to the kernel log if the wait lasts longer
113 // getSignalTime() or wait() if all you care about is whether the fence has
116 // The sync_wait call underlying wait() has been measured to be
120 switch (wait(
[all...]
/frameworks/support/v7/mediarouter/tests/src/android/support/v7/media/
H A DMediaRouterTest.java39 // The maximum time to wait for an operation.
86 mWaitLock.wait(TIME_OUT_MS);
91 mWaitLock.wait(TIME_OUT_MS);
/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DUiBot.java59 boolean gotIt = mDevice.wait(Until.hasObject(By.pkg(SYSTEMUI_PACKAGE)), mTimeout);
88 boolean gotIt = mDevice.wait(Until.hasObject(By.text(text)), mTimeout);
99 boolean gotIt = mDevice.wait(Until.hasObject(By.res(id)), mTimeout);
/frameworks/base/tests/testables/src/android/testing/
H A DTestableInstrumentation.java141 wait();
174 wait();
/frameworks/base/tools/aapt/
H A DWorkQueue.cpp56 mWorkDequeuedCondition.wait(mLock);
137 mWorkChangedCondition.wait(mLock);

Completed in 7647 milliseconds

1234567891011>>