/frameworks/base/voip/java/com/android/server/sip/ |
H A D | SipWakeLock.java | 42 synchronized void acquire(long timeout) { argument 48 mTimerWakeLock.acquire(timeout);
|
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/ |
H A D | InteractionController.java | 101 // Read the long press timeout setting. 131 String message = "Error reading long press timeout setting."; 144 * timeout period specified, the call will return anyway. 147 * @param timeout 149 * @return True if busy state is detected else false for timeout waiting for busy state 151 public boolean clickAndWaitForEvent(final int x, final int y, long timeout, argument 153 return clickAndWaitForEvents(x, y, timeout, false, eventType); 162 * @param timeout 167 public boolean clickAndWaitForEvents(final int x, final int y, long timeout, argument 169 String logString = String.format("clickAndWaitForEvents(%d, %d, %d, %s, %d)", x, y, timeout, 193 runAndWaitForEvent(Runnable command, long timeout, int eventType) argument 207 runAndWaitForEvents(Runnable command, long timeout, final boolean waitForAll, final int eventTypesMask) argument 267 sendKeyAndWaitForEvent(final int keyCode, final int metaState, final int eventType, long timeout) argument 317 clickAndWaitForNewWindow(final int x, final int y, long timeout) argument [all...] |
H A D | UiObject.java | 37 // set a default timeout to 5.5s, since ANR threshold is 5s 131 * @param timeout in milliseconds 134 protected AccessibilityNodeInfo findAccessibilityNodeInfo(long timeout) { argument 145 while (currentMills <= timeout) { 153 if(timeout > 0) { 330 * @param timeout timeout before giving up on waiting for a new window 334 public boolean clickAndWaitForNewWindow(long timeout) throws UiObjectNotFoundException { argument 341 rect.centerX(), rect.centerY(), timeout); 684 * until the timeout ha 690 waitForExists(long timeout) argument 714 waitUntilGone(long timeout) argument [all...] |
H A D | UiAutomatorBridge.java | 137 public void waitForIdle(long timeout) { argument 138 waitForIdle(QUIET_TIME_TO_BE_CONSIDERD_IDLE_STATE, timeout);
|
/frameworks/base/core/java/android/net/ |
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 | 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 | SntpClient.java | 70 * @param timeout network timeout in milliseconds. 73 public boolean requestTime(String host, int timeout) { argument 77 socket.setSoTimeout(timeout);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | NetInitiatedActivity.java | 52 private int timeout = -1; field in class:NetInitiatedActivity 99 timeout = intent.getIntExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_TIMEOUT, default_response_timeout); 101 if (DEBUG) Log.d(TAG, "onCreate() : notificationId: " + notificationId + " timeout: " + timeout + " default_response:" + default_response); 103 mHandler.sendMessageDelayed(mHandler.obtainMessage(GPS_NO_RESPONSE_TIME_OUT), (timeout * 1000));
|
/frameworks/base/core/java/android/nfc/tech/ |
H A D | MifareUltralight.java | 227 * Set the {@link #transceive} timeout in milliseconds. 229 * <p>The timeout only applies to {@link #transceive} on this object, 232 * <p>Setting a longer timeout may be useful when performing 238 * @param timeout timeout value in milliseconds 240 public void setTimeout(int timeout) { argument 243 TagTechnology.MIFARE_ULTRALIGHT, timeout); 245 throw new IllegalArgumentException("The supplied timeout is not valid"); 253 * Get the current {@link #transceive} timeout in milliseconds. 257 * @return timeout valu [all...] |
/frameworks/native/libs/ui/ |
H A D | Fence.cpp | 45 status_t Fence::wait(unsigned int timeout) { argument 50 int err = sync_wait(mFenceFd, timeout);
|
/frameworks/support/volley/src/com/android/volley/toolbox/ |
H A D | RequestFuture.java | 95 public T get(long timeout, TimeUnit unit) argument 97 return doGet(TimeUnit.MILLISECONDS.convert(timeout, unit));
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | TransferPipe.java | 79 String prefix, String[] args, long timeout) throws IOException, RemoteException { 92 tp.go(out, timeout); 104 String[] args, long timeout) throws IOException, RemoteException { 117 tp.go(out, timeout); 127 void go(FileDescriptor out, long timeout) throws IOException { argument 131 mEndTime = SystemClock.uptimeMillis() + timeout; 78 go(Caller caller, IInterface iface, FileDescriptor out, String prefix, String[] args, long timeout) argument 103 goDump(IBinder binder, FileDescriptor out, String[] args, long timeout) argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderAction.java | 87 * @param timeout the time to wait if another rendering is happening. 94 public Result init(long timeout) { argument 97 Result result = acquireLock(timeout); 137 * The preparation can fail if another rendering took too long and the timeout was elapsed. 145 * @param timeout the time to wait if another rendering is happening. 153 public Result acquire(long timeout) { argument 160 Result result = acquireLock(timeout); 177 * @param timeout the time to wait if another rendering is happening. 183 private Result acquireLock(long timeout) { argument 187 boolean acquired = lock.tryLock(timeout, TimeUni [all...] |
/frameworks/base/voip/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...] |
/frameworks/base/core/java/android/net/arp/ |
H A D | ArpPeer.java | 80 * Returns the MAC address (or null if timeout) for the requested 86 long timeout = SystemClock.elapsedRealtime() + timeoutMillis; 107 while (SystemClock.elapsedRealtime() < timeout) { 108 long duration = (long) timeout - SystemClock.elapsedRealtime();
|
/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/core/java/android/os/ |
H A D | Handler.java | 434 * If timeout occurs then this method returns <code>false</code> but the runnable 439 * @param timeout The timeout in milliseconds, or 0 to wait indefinitely. 449 public final boolean runWithScissors(final Runnable r, long timeout) { argument 453 if (timeout < 0) { 454 throw new IllegalArgumentException("timeout must be non-negative"); 463 return br.postAndWait(this, timeout); 754 public boolean postAndWait(Handler handler, long timeout) { argument 760 if (timeout > 0) { 761 final long expirationTime = SystemClock.uptimeMillis() + timeout; [all...] |
/frameworks/av/services/camera/libcameraservice/camera2/ |
H A D | JpegCompressor.h | 59 bool waitForDone(nsecs_t timeout);
|
H A D | JpegCompressor.cpp | 159 bool JpegCompressor::waitForDone(nsecs_t timeout) { argument 164 res = mDone.waitRelative(mBusyMutex, timeout);
|
/frameworks/base/core/jni/ |
H A D | android_hardware_UsbDeviceConnection.cpp | 145 jbyteArray buffer, jint length, jint timeout) 163 value, index, bufferBytes, length, timeout); 173 jint endpoint, jbyteArray buffer, jint length, jint timeout) 190 jint result = usb_device_bulk_transfer(device, endpoint, bufferBytes, length, timeout); 143 android_hardware_UsbDeviceConnection_control_request(JNIEnv *env, jobject thiz, jint requestType, jint request, jint value, jint index, jbyteArray buffer, jint length, jint timeout) argument 172 android_hardware_UsbDeviceConnection_bulk_request(JNIEnv *env, jobject thiz, jint endpoint, jbyteArray buffer, jint length, jint timeout) argument
|
/frameworks/native/include/ui/ |
H A D | Fence.h | 58 // wait waits for up to timeout milliseconds for the fence to signal. If 59 // the fence signals then NO_ERROR is returned. If the timeout expires 60 // before the fence signals then -ETIME is returned. A timeout of 63 status_t wait(unsigned int timeout);
|
/frameworks/rs/ |
H A D | rsThreadIO.h | 48 void setTimeoutCallback(void (*)(void *), void *, uint64_t timeout);
|
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsThreadIO.h | 48 void setTimeoutCallback(void (*)(void *), void *, uint64_t timeout);
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiNative.java | 526 public boolean p2pFind(int timeout) { argument 527 if (timeout <= 0) { 530 return doBooleanCommand("P2P_FIND " + timeout); 541 public boolean p2pListen(int timeout) { argument 542 if (timeout <= 0) { 545 return doBooleanCommand("P2P_LISTEN " + timeout);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | IBluetooth.aidl | 47 boolean setDiscoverableTimeout(int timeout);
|