/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/ |
H A D | buffer_hub_queue_client.h | 102 // timeout. 128 // timeout argument specifies the number of milliseconds that |Dequeue()| will 129 // block. Specifying a timeout of -1 causes |Dequeue()| to block indefinitely, 130 // while specifying a timeout equal to zero cause |Dequeue()| to return 132 pdx::Status<std::shared_ptr<BufferHubBuffer>> Dequeue(int timeout, 138 bool WaitForBuffers(int timeout); 355 int timeout, size_t* slot, LocalHandle* release_fence); 420 int timeout, size_t* slot, Meta* meta, LocalHandle* acquire_fence) { 421 return Dequeue(timeout, slot, meta, sizeof(*meta), acquire_fence); 424 int timeout, size_ 419 Dequeue( int timeout, size_t* slot, Meta* meta, LocalHandle* acquire_fence) argument 423 Dequeue( int timeout, size_t* slot, LocalHandle* acquire_fence) argument [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | TransferPipe.java | 90 String prefix, String[] args, long timeout) throws IOException, RemoteException { 102 tp.go(out, timeout); 112 String[] args, long timeout) throws IOException, RemoteException { 124 tp.go(out, timeout); 132 public void go(FileDescriptor out, long timeout) throws IOException { argument 136 mEndTime = SystemClock.uptimeMillis() + timeout; 89 go(Caller caller, IInterface iface, FileDescriptor out, String prefix, String[] args, long timeout) argument 111 goDump(IBinder binder, FileDescriptor out, String[] args, long timeout) argument
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
H A D | SipSession.java | 395 * @param timeout the session will be timed out if the call is not 396 * established within {@code timeout} seconds. Default value (defined 397 * by SIP protocol) is used if {@code timeout} is zero or negative. 401 int timeout) { 403 mSession.makeCall(callee, sessionDescription, timeout); 415 * @param timeout the session will be timed out if the call is not 416 * established within {@code timeout} seconds. Default value (defined 417 * by SIP protocol) is used if {@code timeout} is zero or negative. 419 public void answerCall(String sessionDescription, int timeout) { argument 421 mSession.answerCall(sessionDescription, timeout); 400 makeCall(SipProfile callee, String sessionDescription, int timeout) argument 452 changeCall(String sessionDescription, int timeout) argument [all...] |
H A D | SipAudioCall.java | 609 * timed out if the call is not established within {@code timeout} seconds 615 * @param timeout the timeout value in seconds. Default value (defined by 616 * SIP protocol) is used if {@code timeout} is zero or negative. 623 int timeout) throws SipException { 624 if (DBG) log("makeCall: " + peerProfile + " session=" + sipSession + " timeout=" + timeout); 636 timeout); 662 * within {@code timeout} seconds and 666 * @param timeout th 622 makeCall(SipProfile peerProfile, SipSession sipSession, int timeout) argument 671 holdCall(int timeout) argument 696 answerCall(int timeout) argument 725 continueCall(int timeout) argument [all...] |
/frameworks/support/dynamic-animation/tests/src/android/support/dynamicanimation/tests/ |
H A D | FlingTests.java | 25 import static org.mockito.Mockito.timeout; 100 verify(listener, timeout(1000)).onAnimationEnd(eq(anim), eq(false), floatThat( 123 verify(listener, timeout(1000)).onAnimationEnd(eq(anim), eq(false), floatThat( 154 verify(listener, timeout(1000)).onAnimationEnd(eq(animHighFriction), eq(false), floatThat( 206 verify(listener, timeout(1000)).onAnimationEnd(eq(animHighThreshold), eq(false), floatThat(
|
H A D | SpringTests.java | 31 import static org.mockito.Mockito.timeout; 107 verify(listener, timeout(1000)).onAnimationEnd(anim, false, 1f, 0f); 146 verify(mockListener, timeout(1000).atLeast(10)).onAnimationUpdate(eq(anim), lt(1000f), 148 verify(listener, timeout(1000)).onAnimationEnd(anim, false, 1000f, 0f); 225 verify(mockListener, timeout(2000)).onAnimationEnd(anim3, false, 0, 0); 287 verify(mockListener, timeout(2000)).onAnimationEnd(anim2, false, 0, 0); 347 verify(mockListener, timeout(2000)).onAnimationEnd(springAnims[1], false, 0f, 0f); 415 verify(endListener, timeout(1000)).onAnimationEnd(anim, false, 0.5f, 0f); 480 verify(mockEndListener, timeout(2000)).onAnimationEnd(anim, false, 0f, 0f); 513 verify(mockEndListener, timeout(150 [all...] |
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiObject.java | 50 // set a default timeout to 5.5s, since ANR threshold is 5s 162 * @param timeout in milliseconds 166 protected AccessibilityNodeInfo findAccessibilityNodeInfo(long timeout) { argument 170 while (currentMills <= timeout) { 179 if(timeout > 0) { 430 * @param timeout timeout before giving up on waiting for a new window 435 public boolean clickAndWaitForNewWindow(long timeout) throws UiObjectNotFoundException { argument 436 Tracer.trace(timeout); 846 * until the timeout ha 853 waitForExists(long timeout) argument 879 waitUntilGone(long timeout) argument [all...] |
H A D | UiAutomatorBridge.java | 94 public void waitForIdle(long timeout) { argument 96 mUiAutomation.waitForIdle(QUIET_TIME_TO_BE_CONSIDERD_IDLE_STATE, timeout);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | ActivityTestsBase.java | 168 boolean timeout = false; 173 timeout = true; 187 if (timeout) {
|
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/ |
H A D | BroadcastInterceptingContext.java | 58 public abstract void assertNotReceived(long timeout, TimeUnit unit) argument 101 public void assertNotReceived(long timeout, TimeUnit unit) argument 104 final Intent intent = get(timeout, unit);
|
/frameworks/base/core/java/android/os/ |
H A D | Handler.java | 471 * If timeout occurs then this method returns <code>false</code> but the runnable 481 * @param timeout The timeout in milliseconds, or 0 to wait indefinitely. 491 public final boolean runWithScissors(final Runnable r, long timeout) { argument 495 if (timeout < 0) { 496 throw new IllegalArgumentException("timeout must be non-negative"); 505 return br.postAndWait(this, timeout); 818 public boolean postAndWait(Handler handler, long timeout) { argument 824 if (timeout > 0) { 825 final long expirationTime = SystemClock.uptimeMillis() + timeout; [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderAction.java | 89 * @param timeout the time to wait if another rendering is happening. 96 public Result init(long timeout) { argument 99 Result result = acquireLock(timeout); 139 * The preparation can fail if another rendering took too long and the timeout was elapsed. 147 * @param timeout the time to wait if another rendering is happening. 155 public Result acquire(long timeout) { argument 162 Result result = acquireLock(timeout); 179 * @param timeout the time to wait if another rendering is happening. 185 private Result acquireLock(long timeout) { argument 189 boolean acquired = lock.tryLock(timeout, TimeUni [all...] |
/frameworks/native/cmds/dumpstate/ |
H A D | DumpstateUtil.cpp | 93 CommandOptions::CommandOptionsBuilder::CommandOptionsBuilder(int64_t timeout) : values(timeout) { argument 126 CommandOptions::CommandOptionsValues::CommandOptionsValues(int64_t timeout) argument 127 : timeout_(timeout), 157 CommandOptions::CommandOptionsBuilder CommandOptions::WithTimeout(int64_t timeout) { argument 158 return CommandOptions::CommandOptionsBuilder(timeout);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothServerSocket.java | 141 * timeout 148 * Block until a connection is established, with timeout. 155 * timeout 157 public BluetoothSocket accept(int timeout) throws IOException { argument 158 return mSocket.accept(timeout);
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | CaptureCollector.java | 312 * @param timeout a timeout to use for this call. 313 * @param unit the units to use for the timeout. 317 public boolean queueRequest(RequestHolder holder, LegacyRequest legacy, long timeout, argument 321 long nanos = unit.toNanos(timeout); 368 * @param timeout a timeout to use for this call. 369 * @param unit the units to use for the timeout. 373 public boolean waitForEmpty(long timeout, TimeUnit unit) throws InterruptedException { argument 374 long nanos = unit.toNanos(timeout); 398 waitForPreviewsEmpty(long timeout, TimeUnit unit) argument 430 waitForRequestCompleted(RequestHolder holder, long timeout, TimeUnit unit, MutableLong timestamp) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | DumpUtils.java | 43 * trying to acquire, we use a short timeout to avoid deadlocks. The process 47 final String prefix, long timeout) { 56 }, timeout)) { 46 dumpAsync(Handler handler, final Dump dump, PrintWriter pw, final String prefix, long timeout) argument
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
H A D | DownloadManagerBaseTest.java | 183 * Waits for a given download to finish, or until the timeout expires. 185 * @param timeout maximum time to wait, in milliseconds 189 public boolean waitForDownloadToFinish(long id, long timeout) throws InterruptedException { argument 193 if (SystemClock.uptimeMillis() - startTime > timeout) { 197 wait(timeout); 205 * Waits for multiple downloads to finish, or until timeout expires. 207 * @param timeout maximum time to wait, in milliseconds 211 public boolean waitForMultipleDownloadsToFinish(Set<Long> ids, long timeout) argument 216 if (SystemClock.uptimeMillis() - startTime > timeout) { 220 wait(timeout); 363 waitForMultipleDownloads(Set<Long> ids, long timeout) argument [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
H A D | CameraDeviceBinderTest.java | 56 // Wait for capture result timeout value: 1500ms 58 // Wait for flush timeout value: 1000ms 60 // Wait for idle timeout value: 2000ms 441 verify(mMockCb, timeout(WAIT_FOR_COMPLETE_TIMEOUT_MS).times(1)).onResultReceived( 445 verify(mMockCb, timeout(WAIT_FOR_COMPLETE_TIMEOUT_MS).atLeast(NUM_CALLBACKS_CHECKED)) 459 verify(mMockCb, timeout(WAIT_FOR_COMPLETE_TIMEOUT_MS).times(1)).onCaptureStarted( 464 verify(mMockCb, timeout(WAIT_FOR_COMPLETE_TIMEOUT_MS).atLeast(NUM_CALLBACKS_CHECKED)) 491 verify(mMockCb, timeout(WAIT_FOR_IDLE_TIMEOUT_MS).times(1)).onDeviceIdle(); 501 verify(mMockCb, timeout(WAIT_FOR_IDLE_TIMEOUT_MS).times(2)).onDeviceIdle(); 528 verify(mMockCb, timeout(WAIT_FOR_FLUSH_TIMEOUT_M [all...] |
/frameworks/native/cmds/lshal/ |
H A D | Timeout.h | 64 bool timeout(std::chrono::duration<R, P> delay, std::function<void(void)> &&func) { function in namespace:android::lshal 87 bool success = timeout(IPC_CALL_WAIT, [&ret, &boundFunc] {
|
/frameworks/av/media/libaudioclient/ |
H A D | AudioTrackShared.cpp | 83 // To facilitate quicker recovery from server failure, this value limits the timeout per each futex 85 // FIXME May not be compatible with audio tunneling requirements where timeout should be in the 126 } timeout; local 128 timeout = TIMEOUT_ZERO; 130 timeout = TIMEOUT_ZERO; 132 timeout = TIMEOUT_INFINITE; 134 timeout = TIMEOUT_FINITE; 236 switch (timeout) { 244 timeout = TIMEOUT_CONTINUE; 269 LOG_ALWAYS_FATAL("obtainBuffer() timeout 426 } timeout; local [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | JpegCompressor.h | 59 bool waitForDone(nsecs_t timeout);
|
/frameworks/base/core/java/android/net/ |
H A D | SntpClient.java | 82 * @param timeout network timeout in milliseconds. 85 public boolean requestTime(String host, int timeout) { argument 94 return requestTime(address, NTP_PORT, timeout); 97 public boolean requestTime(InetAddress address, int port, int timeout) { argument 102 socket.setSoTimeout(timeout);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | ParallelPackageParserTest.java | 47 @Test(timeout = 1000)
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | BridgeRenderSession.java | 85 public Result measure(long timeout) { argument 89 mLastResult = mSession.acquire(timeout); 104 public Result render(long timeout, boolean forceMeasure) { argument 108 mLastResult = mSession.acquire(timeout);
|
/frameworks/native/libs/vr/libpdx_uds/private/uds/ |
H A D | service_dispatcher.h | 25 int ReceiveAndDispatch(int timeout) override;
|