/frameworks/av/libvideoeditor/osal/inc/ |
H A D | M4OSA_Mutex.h | 42 M4OSA_UInt32 timeout );
|
H A D | M4OSA_Semaphore.h | 43 M4OSA_Int32 timeout );
|
/frameworks/av/libvideoeditor/osal/src/ |
H A D | M4OSA_Mutex.c | 119 * "timeout" is reached. This is a blocking call. 121 * @param timeout:(IN) Time out in milliseconds 129 M4OSA_ERR M4OSA_mutexLock(M4OSA_Context context, M4OSA_UInt32 timeout) argument 138 context, timeout); 154 if ( M4OSA_WAIT_FOREVER == timeout) 165 while ( ( EBUSY == result ) && ( 0 < timeout ) ) 168 if (1 <= timeout) 171 timeout -= 1; 175 ts.tv_nsec = timeout * 1000000; 176 timeout [all...] |
H A D | M4OSA_Semaphore.c | 118 * @note If "timeout" value is M4OSA_WAIT_FOREVER, the calling thread 121 * @param timeout:(IN) Time out in milliseconds 129 M4OSA_ERR M4OSA_semaphoreWait(M4OSA_Context context, M4OSA_Int32 timeout) argument 137 context, timeout); 145 if ( (M4OSA_Int32)M4OSA_WAIT_FOREVER == timeout) 158 while ( ((EBUSY == result) || (EAGAIN == result)) && ( 0 < timeout ) ) 161 if (1 <= timeout) 164 timeout -= 1; 168 ts.tv_nsec = timeout * 1000000; 169 timeout [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | MyHandler.h | 525 mSessionID.c_str(), "timeout", &timeoutStr)) { 531 ALOGW("server specified malformed timeout '%s'", 536 ALOGW("server specified too short a timeout " 544 ALOGI("server specified timeout of %lu secs.", 551 // Remove options, i.e. ";timeout=90" 643 sp<AMessage> timeout = new AMessage('tiou', id()); local 644 timeout->post(kStartupTimeoutUs); 900 // Disable the access unit timeout until we resumed
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | Camera2Device.cpp | 232 status_t Camera2Device::waitUntilRequestReceived(int32_t requestId, nsecs_t timeout) { argument 234 return mRequestQueue.waitForDequeue(requestId, timeout); 479 status_t Camera2Device::waitForNextFrame(nsecs_t timeout) { argument 480 return mFrameQueue.waitForBuffer(timeout); 704 status_t Camera2Device::MetadataQueue::waitForBuffer(nsecs_t timeout) argument 709 res = notEmpty.waitRelative(mMutex,timeout); 716 nsecs_t timeout) { 722 res = mNewRequestId.waitRelative(mMutex, timeout); 725 timeout -= (systemTime() - startTime); 715 waitForDequeue(int32_t id, nsecs_t timeout) argument
|
H A D | Camera2Device.h | 71 * HAL. Returns TIMED_OUT if the timeout duration is reached. Returns 74 status_t waitUntilRequestReceived(int32_t requestId, nsecs_t timeout); 154 * Wait for a new frame to be produced, with timeout in nanoseconds. 157 status_t waitForNextFrame(nsecs_t timeout); 235 status_t waitForBuffer(nsecs_t timeout); 238 status_t waitForDequeue(int32_t id, nsecs_t timeout);
|
/frameworks/av/services/camera/libcameraservice/camera2/ |
H A D | CaptureSequencer.cpp | 76 status_t CaptureSequencer::waitUntilIdle(nsecs_t timeout) { argument 84 res = mStateChanged.waitRelative(mStateMutex, timeout); 87 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/base/cmds/am/src/com/android/commands/am/ |
H A D | Am.java | 559 System.out.println("Status: " + (result.timeout ? "timeout" : "ok"));
|
/frameworks/base/core/java/android/accounts/ |
H A D | AccountManager.java | 1399 private Bundle internalGetResult(Long timeout, TimeUnit unit) argument 1405 if (timeout == null) { 1408 return get(timeout, unit); 1442 public Bundle getResult(long timeout, TimeUnit unit) argument 1444 return internalGetResult(timeout, unit); 1567 private T internalGetResult(Long timeout, TimeUnit unit) argument 1573 if (timeout == null) { 1576 return get(timeout, unit); 1610 public T getResult(long timeout, TimeUnit unit) argument 1612 return internalGetResult(timeout, uni [all...] |
H A D | AccountManagerFuture.java | 103 * will be thrown rather than the call returning normally. If a timeout is specified then 105 * @param timeout the maximum time to wait 106 * @param unit the time unit of the timeout argument. This must not be null. 115 V getResult(long timeout, TimeUnit unit) argument
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityManagerNative.java | 3461 public boolean shutdown(int timeout) throws RemoteException argument 3466 data.writeInt(timeout);
|
H A D | IActivityManager.java | 272 public boolean shutdown(int timeout) throws RemoteException; argument 423 public boolean timeout; field in class:IActivityManager.WaitResult 437 dest.writeInt(timeout ? 1 : 0); 456 timeout = source.readInt() != 0;
|
/frameworks/base/core/java/android/app/admin/ |
H A D | DevicePolicyManager.java | 762 * Called by a device admin to set the password expiration timeout. Calling this method 766 * <p>The provided timeout is the time delta in ms and will be added to the current time. 767 * For example, to have the password expire 5 days from now, timeout would be 768 * 5 * 86400 * 1000 = 432000000 ms for timeout. 770 * <p>To disable password expiration, a value of 0 may be used for timeout. 777 * @param timeout The limit (in ms) that a password can remain in effect. A value of 0 780 public void setPasswordExpirationTimeout(ComponentName admin, long timeout) { argument 783 mService.setPasswordExpirationTimeout(admin, timeout, UserHandle.myUserId()); 791 * Get the password expiration timeout for the given admin. The expiration timeout i [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothAdapter.java | 721 public void setDiscoverableTimeout(int timeout) { argument 725 if (mService != null) mService.setDiscoverableTimeout(timeout);
|
H A D | BluetoothServerSocket.java | 114 * timeout 121 * Block until a connection is established, with timeout. 128 * timeout 130 public BluetoothSocket accept(int timeout) throws IOException { argument 131 return mSocket.accept(timeout);
|
H A D | BluetoothSocket.java | 388 /*package*/ BluetoothSocket accept(int timeout) throws IOException { argument
|
H A D | IBluetooth.aidl | 47 boolean setDiscoverableTimeout(int timeout);
|
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbDeviceConnection.java | 119 * @param timeout in milliseconds 124 int index, byte[] buffer, int length, int timeout) { 125 return native_control_request(requestType, request, value, index, buffer, length, timeout); 135 * @param timeout in milliseconds 139 public int bulkTransfer(UsbEndpoint endpoint, byte[] buffer, int length, int timeout) { argument 140 return native_bulk_request(endpoint.getAddress(), buffer, length, timeout); 178 int index, byte[] buffer, int length, int timeout); 179 private native int native_bulk_request(int endpoint, byte[] buffer, int length, int timeout); argument 123 controlTransfer(int requestType, int request, int value, int index, byte[] buffer, int length, int timeout) argument 177 native_control_request(int requestType, int request, int value, int index, byte[] buffer, int length, int timeout) argument
|
/frameworks/base/core/java/android/net/ |
H A D | DnsPinger.java | 59 /** Short socket timeout so we don't block one any 'receive' call */ 90 * Send a new ping via a socket. arg1 is ID, arg2 is timeout, obj is InetAddress to ping 103 int timeout; field in class:DnsPinger.ActivePing 147 newActivePing.timeout = msg.arg2; 204 // A timeout here doesn't mean anything - squelsh this exception 220 curPing.start + curPing.timeout) { 264 * @param timeout timeout for ping 267 public int pingDnsAsync(InetAddress dns, int timeout, int delay) { argument 269 sendMessageDelayed(obtainMessage(ACTION_PING_DNS, id, timeout, [all...] |
H A D | LinkSocket.java | 137 * @param timeout the timeout value in milliseconds or 0 for infinite timeout 141 * @throws SocketTimeoutException if the timeout fires 143 public void connect(String dstName, int dstPort, int timeout) argument 145 if (DBG) log("connect(dstName, dstPort, timeout) EX"); 159 if (DBG) log("connect(dstName, dstPort, timeout) EX"); 164 * by the SocketAddress with the specified timeout. 165 * @deprecated Use {@code connect(String dstName, int dstPort, int timeout)} 171 * @throws SocketTimeoutException if the timeout expire 175 connect(SocketAddress remoteAddr, int timeout) argument 205 connect(int timeout) argument [all...] |
H A D | LocalSocket.java | 252 public void connect(LocalSocketAddress endpoint, int timeout) argument
|