Searched defs:wait (Results 1 - 20 of 20) sorted by last modified time

/frameworks/rs/
H A DrsSignal.cpp69 void Signal::wait() { function in class:android::renderscript::Signal
72 ALOGE("Signal::wait: error locking for condition: %s", strerror(status));
83 ALOGE("Signal::wait: error waiting for condition: %s", strerror(status));
88 ALOGE("Signal::wait: error unlocking for condition: %s", strerror(status));
/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);
/frameworks/native/cmds/surfacereplayer/replayer/
H A DMain.cpp62 bool wait = true; local
80 wait = false;
105 android::Replayer r(filename, pauseBeginning, numThreads, wait, stopHere);
H A DReplayer.cpp53 Replayer::Replayer(const std::string& filename, bool replayManually, int numThreads, bool wait, argument
60 mWaitForTimeStamps(wait),
85 Replayer::Replayer(const Trace& t, bool replayManually, int numThreads, bool wait, nsecs_t stopHere) argument
91 mWaitForTimeStamps(wait),
367 mLayerCond.wait(lock, [&] { return (mLayers[change.id()] != nullptr); });
432 mDisplayCond.wait(lock, [&] { return (mDisplays[change.id()] != nullptr); });
695 mLayerCond.wait(lock, [&] { return (mLayers[dtc.layer_id()] != nullptr); });
/frameworks/native/libs/binder/tests/
H A DbinderThroughputTest.cpp15 #include <sys/wait.h>
77 void wait() { function in class:Pipe
185 p.wait();
226 // Signal completion to master and wait.
228 p.wait();
230 // Send results to master and wait for go to exit.
232 p.wait();
256 v[i].wait();
301 // Create all the workers and wait for them to spawn.
308 // Run the workers and wait fo
[all...]
H A Dschd-dbg.cpp16 #include <sys/wait.h>
176 void wait() { function in class:Pipe
301 // create a fifo thread to transact and wait it to finished
332 // wait for kick-off
333 p.wait();
367 // Signal completion to master and wait.
369 p.wait();
372 // wait for kill
373 p.wait();
413 v[i].wait();
[all...]
/frameworks/native/libs/ui/
H A DFence.cpp54 status_t Fence::wait(int timeout) { function in class:android::Fence
/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 DBarrier.h41 // Reset the Barrier, so wait() will block until open() has been called.
49 // until wait() returns.
50 void wait() const { function in class:android::Barrier
53 cv.wait(lock);
H A DMessageQueue.h50 void wait() const { barrier.wait(); } function in class:android::MessageBase
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgePowerManager.java90 public void reboot(boolean confirm, String reason, boolean wait) { argument
95 public void rebootSafeMode(boolean confirm, boolean wait) { argument
100 public void shutdown(boolean confirm, String reason, boolean wait) { argument
/frameworks/base/services/core/java/com/android/server/power/
H A DPowerManagerService.java277 // If true, instructs the display controller to wait for the proximity sensor to
1600 return; // wait until dream has enabled dozing
2189 // If preconditions changed, wait for the next iteration to determine
2192 return; // wait for next cycle
2705 final String reason, boolean wait) {
2737 // PowerManager.reboot() is documented not to return so just wait for the inevitable.
2738 if (wait) {
2742 runnable.wait();
4387 * @param wait If true, this call waits for the reboot to complete and does not return.
4390 public void reboot(boolean confirm, String reason, boolean wait) { argument
2704 shutdownOrRebootInternal(final @HaltMode int haltMode, final boolean confirm, final String reason, boolean wait) argument
4412 rebootSafeMode(boolean confirm, boolean wait) argument
4431 shutdown(boolean confirm, String reason, boolean wait) argument
[all...]
/frameworks/base/test-runner/src/junit/textui/
H A DTestRunner.java16 * java junit.textui.TestRunner [-wait] TestCaseClass
24 * <p> When the wait command line argument is given TestRunner
112 public TestResult doRun(Test suite, boolean wait) { argument
121 pause(wait);
125 protected void pause(boolean wait) { argument
126 if (!wait) return;
155 boolean wait= false;
158 if (args[i].equals("-wait"))
159 wait= true;
174 throw new Exception("Usage: TestRunner [-wait] testCaseNam
186 runSingleMethod(String testCase, String method, boolean wait) argument
[all...]
/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;
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/base/libs/hwui/thread/
H A DBarrier.h36 void wait() const { function in class:android::uirenderer::Barrier
39 mCondition.wait(mLock);
H A DSignal.h40 void wait() { function in class:android::uirenderer::Signal
43 mCondition.wait(mLock);
/frameworks/base/core/java/android/os/
H A DPowerManager.java1105 * @param wait If true, this call waits for the shutdown to complete and does not return.
1109 public void shutdown(boolean confirm, String reason, boolean wait) { argument
1111 mService.shutdown(confirm, reason, wait);
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DInstrument.java50 public boolean wait = false; field in class:Instrument
304 wait(1000);
368 } else if (wait) {
372 // Choose whether we have to wait for the results.
413 // If we have been requested to wait, do so until the instrumentation is finished.
/frameworks/av/media/libaudioclient/
H A DAudioTrack.cpp1943 // should wait on proxy futex and handle CBLK_STREAM_END_DONE within this function
2003 // for offloaded tracks, just wait for the upper layers to recreate the track
2121 // but don't just loop and block the CPU, so wait
2126 // (3) Return 0 size when no data is available, does not wait for more data.
2129 // We try to compute the wait time to avoid a tight sleep-wait cycle,
2138 // time to wait based on buffer occupancy
2875 // wait indicates whether we need to wait for a timestamp.
2877 // then we will not wait
2878 bool wait = false; local
[all...]

Completed in 4887 milliseconds