/frameworks/av/media/libaaudio/examples/utils/ |
H A D | AAudioExampleUtils.h | 129 struct timespec *timeout, void *addr2, int val3) { 131 op, val1, timeout, 161 * -ETIMEDOUT if a timeout occurs, 128 sys_futex(void *addr1, int op, int val1, struct timespec *timeout, void *addr2, int val3) argument
|
/frameworks/av/media/libaaudio/src/utility/ |
H A D | AAudioUtilities.h | 296 int timeout = 3; local 303 } while ((after != before) && (after > 0) && (--timeout > 0));
|
/frameworks/av/media/libaudioclient/ |
H A D | AudioRecord.cpp | 812 struct timespec timeout; local 819 timeout.tv_sec = ms / 1000; 820 timeout.tv_nsec = (int) (ms % 1000) * 1000000; 821 requested = &timeout; 881 // FIXME starts the requested timeout and elapsed over from scratch 1107 struct timespec timeout; local 1110 timeout.tv_sec = ns / 1000000000LL; 1111 timeout.tv_nsec = ns % 1000000000LL; 1112 ALOGV("timeout %ld.%03d", timeout [all...] |
H A D | AudioTrack.cpp | 1696 struct timespec timeout; local 1703 timeout.tv_sec = ms / 1000; 1704 timeout.tv_nsec = (int) (ms % 1000) * 1000000; 1705 requested = &timeout; 1775 // FIXME starts the requested timeout and elapsed over from scratch 2022 struct timespec timeout; local 2023 timeout.tv_sec = WAIT_STREAM_END_TIMEOUT_SEC; 2024 timeout.tv_nsec = 0; 2026 status_t status = proxy->waitStreamEndDone(&timeout); 2142 struct timespec timeout; local [all...] |
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 127 } timeout; local 129 timeout = TIMEOUT_ZERO; 131 timeout = TIMEOUT_ZERO; 133 timeout = TIMEOUT_INFINITE; 135 timeout = TIMEOUT_FINITE; 237 switch (timeout) { 245 timeout = TIMEOUT_CONTINUE; 270 LOG_ALWAYS_FATAL("obtainBuffer() timeout 431 } timeout; local [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | RTSPSource.cpp | 281 void NuPlayer::RTSPSource::setEOSTimeout(bool audio, int64_t timeout) { argument 283 mEOSTimeoutAudio = timeout; 285 mEOSTimeoutVideo = timeout;
|
H A D | RTSPSource.h | 150 void setEOSTimeout(bool audio, int64_t timeout);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | MyHandler.h | 689 mSessionID.c_str(), "timeout", &timeoutStr)) { 695 ALOGW("server specified malformed timeout '%s'", 700 ALOGW("server specified too short a timeout " 708 ALOGI("server specified timeout of %lu secs.", 715 // Remove options, i.e. ";timeout=90" 1152 // Post new timeout in order to make sure to use 1183 // Disable the access unit timeout until we resumed 1244 // Start new timeoutgeneration to avoid getting timeout 1298 // Post new timeout in order to make sure to use 1350 // performed, since new timeout message 1957 sp<AMessage> timeout = new AMessage('tiou', this); local [all...] |
/frameworks/av/services/audioflinger/ |
H A D | Tracks.cpp | 1421 struct timespec timeout; local 1422 timeout.tv_sec = waitTimeMs / 1000; 1423 timeout.tv_nsec = (int) (waitTimeMs % 1000) * 1000000; 1424 status_t status = mClientProxy->obtainBuffer(&buf, &timeout);
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | CaptureSequencer.cpp | 83 status_t CaptureSequencer::waitUntilIdle(nsecs_t timeout) { argument 91 res = mStateChanged.waitRelative(mStateMutex, timeout); 94 timeout -= (systemTime() - startTime);
|
H A D | CaptureSequencer.h | 59 status_t waitUntilIdle(nsecs_t timeout);
|
H A D | JpegCompressor.cpp | 159 bool JpegCompressor::waitForDone(nsecs_t timeout) { argument 164 res = mDone.waitRelative(mBusyMutex, timeout);
|
H A D | JpegCompressor.h | 59 bool waitForDone(nsecs_t timeout);
|
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | CameraDeviceBase.h | 106 * HAL. Returns TIMED_OUT if the timeout duration is reached. Returns 110 nsecs_t timeout) = 0; 281 * Wait for a new frame to be produced, with timeout in nanoseconds. 285 virtual status_t waitForNextFrame(nsecs_t timeout) = 0;
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Device.cpp | 1147 status_t Camera3Device::waitUntilRequestReceived(int32_t requestId, nsecs_t timeout) { argument 1151 return mRequestThread->waitUntilRequestProcessed(requestId, timeout); 1648 status_t Camera3Device::waitUntilStateThenRelock(bool active, nsecs_t timeout) { argument 1671 res = mStatusChanged.waitRelative(mLock, timeout); 1713 status_t Camera3Device::waitForNextFrame(nsecs_t timeout) { argument 1719 res = mResultSignal.waitRelative(mOutputLock, timeout); 1724 __FUNCTION__, mId.string(), timeout, strerror(-res), res); 3867 int32_t requestId, nsecs_t timeout) { 3874 res = mLatestRequestSignal.waitRelative(mLatestRequestMutex, timeout); 3877 timeout 3866 waitUntilRequestProcessed( int32_t requestId, nsecs_t timeout) argument [all...] |
H A D | Camera3Device.h | 110 status_t waitUntilRequestReceived(int32_t requestId, nsecs_t timeout) override; 150 status_t waitForNextFrame(nsecs_t timeout) override; 512 status_t waitUntilStateThenRelock(bool active, nsecs_t timeout); 692 * within the timeout. 694 status_t waitUntilRequestProcessed(int32_t requestId, nsecs_t timeout);
|
/frameworks/av/services/camera/libcameraservice/utils/ |
H A D | ClientManager.h | 327 * Block until the given client is no longer in the active clients list, or the timeout 330 * Returns NO_ERROR if this succeeded, -ETIMEDOUT on a timeout, or a negative error code on 334 nsecs_t timeout) const; 622 nsecs_t timeout) const { 628 // Figure out what time in the future we should hit the timeout 629 nsecs_t failTime = systemTime(SYSTEM_TIME_MONOTONIC) + timeout; 640 ret = mRemovedCondition.waitRelative(mLock, timeout); 644 timeout = failTime - systemTime(SYSTEM_TIME_MONOTONIC);
|
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
H A D | Bmgr.java | 262 public void waitForCompletion(long timeout) { argument 265 final long targetTime = SystemClock.elapsedRealtime() + timeout; 267 // Wait until either we're done, or we've reached a stated positive timeout 268 while (!done && (timeout <= 0 || SystemClock.elapsedRealtime() < targetTime)) {
|
/frameworks/base/cmds/incidentd/src/ |
H A D | FdBuffer.cpp | 52 FdBuffer::read(int fd, int64_t timeout) argument 77 int64_t remainingTime = (mStartTime + timeout) - uptimeMillis();
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | Configurator.java | 38 // This short timeout to make sure we get the very last in cases where the above isn't true. 65 * Sets the timeout for waiting for the user interface to go into an idle 71 * timeout elapses (whichever occurs first), the object will start to wait 75 * @param timeout Timeout value in milliseconds 79 public Configurator setWaitForIdleTimeout(long timeout) { argument 80 mWaitForIdleTimeout = timeout; 85 * Gets the current timeout used for waiting for the user interface to go 91 * timeout elapses (whichever occurs first), the object will start to wait 95 * @return Current timeout value in milliseconds 103 * Sets the timeout fo 115 setWaitForSelectorTimeout(long timeout) argument 149 setScrollAcknowledgmentTimeout(long timeout) argument 183 setActionAcknowledgmentTimeout(long timeout) argument [all...] |
H A D | InteractionController.java | 152 * @param timeout 156 AccessibilityEventFilter filter, long timeout) { 160 timeout); 176 * timeout period specified, the call will return anyway with false. 181 * @param timeout 185 final int eventType, long timeout) { 202 return runAndWaitForEvents(command, new WaitForAnyEventPredicate(eventType), timeout) 230 * @param timeout waiting for event 231 * @return true if events are received, else false if timeout. 233 public boolean clickAndSync(final int x, final int y, long timeout) { argument 155 runAndWaitForEvents(Runnable command, AccessibilityEventFilter filter, long timeout) argument 184 sendKeyAndWaitForEvent(final int keyCode, final int metaState, final int eventType, long timeout) argument 252 clickAndWaitForNewWindow(final int x, final int y, 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);
|
H A D | UiDevice.java | 473 * Default wait timeout is 10 seconds 483 * @param timeout in milliseconds 486 public void waitForIdle(long timeout) { argument 487 Tracer.trace(timeout); 488 getAutomatorBridge().waitForIdle(timeout); 785 * @param timeout the timeout for the wait 787 * @return true if a window update occurred, false if timeout has elapsed or if the current 791 public boolean waitForWindowUpdate(final String packageName, long timeout) { argument 792 Tracer.trace(packageName, timeout); [all...] |
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...] |
/frameworks/base/core/java/android/accounts/ |
H A D | AccountManager.java | 2263 private Bundle internalGetResult(Long timeout, TimeUnit unit) argument 2269 if (timeout == null) { 2272 return get(timeout, unit); 2308 public Bundle getResult(long timeout, TimeUnit unit) argument 2310 return internalGetResult(timeout, unit); 2445 private T internalGetResult(Long timeout, TimeUnit unit) argument 2451 if (timeout == null) { 2454 return get(timeout, unit); 2490 public T getResult(long timeout, TimeUnit unit) argument 2492 return internalGetResult(timeout, uni [all...] |