/frameworks/base/core/java/android/os/ |
H A D | PowerManager.java | 266 * User activity flag: Do not restart the user activity timeout or brighten 286 * Go to sleep reason code: Going to sleep due to a screen timeout. 689 * Acquires the wake lock with a timeout. 692 * the wake lock was created. The lock will be released after the given timeout 696 * @param timeout The timeout after which to release the wake lock, in milliseconds. 698 public void acquire(long timeout) { argument 701 mHandler.postDelayed(mReleaser, timeout);
|
H A D | AsyncTask.java | 489 * @param timeout Time to wait before cancelling the operation. 490 * @param unit The time unit for the timeout. 500 public final Result get(long timeout, TimeUnit unit) throws InterruptedException, argument 502 return mFuture.get(timeout, unit);
|
H A D | INetworkManagementService.aidl | 339 void addIdleTimer(String iface, int timeout, String label);
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
H A D | ConnectivityManagerTestActivity.java | 369 public boolean waitForNetworkState(int networkType, State expectedState, long timeout) { argument 372 if ((System.currentTimeMillis() - startTime) > timeout) { 405 public boolean waitForWifiState(int expectedState, long timeout) { argument 408 if ((System.currentTimeMillis() - startTime) > timeout) { 433 public boolean waitForWifiAPState(int expectedState, long timeout) { argument 436 if ((System.currentTimeMillis() - startTime) > timeout) { 461 * @param timeout is the maximum waiting time 465 public int waitForTetherStateChange(long timeout) { argument 468 if ((System.currentTimeMillis() - startTime) > timeout) { 550 // ping test timeout [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | BridgeRenderSession.java | 84 public Result render(long timeout) { argument 87 mLastResult = mSession.acquire(timeout);
|
/frameworks/base/voip/java/android/net/sip/ |
H A D | SipAudioCall.java | 615 * timed out if the call is not established within {@code timeout} seconds 621 * @param timeout the timeout value in seconds. Default value (defined by 622 * SIP protocol) is used if {@code timeout} is zero or negative. 629 int timeout) throws SipException { 641 timeout); 665 * within {@code timeout} seconds and 669 * @param timeout the timeout value in seconds. Default value (defined by 670 * SIP protocol) is used if {@code timeout} i 628 makeCall(SipProfile peerProfile, SipSession sipSession, int timeout) argument 674 holdCall(int timeout) argument 697 answerCall(int timeout) argument 724 continueCall(int timeout) argument [all...] |
H A D | SipManager.java | 304 * out if the call is not established within {@code timeout} seconds and 312 * @param timeout the timeout value in seconds. Default value (defined by 313 * SIP protocol) is used if {@code timeout} is zero or negative. 321 SipProfile peerProfile, SipAudioCall.Listener listener, int timeout) 329 call.makeCall(peerProfile, s, timeout); 335 * timed out if the call is not established within {@code timeout} seconds 344 * @param timeout the timeout value in seconds. Default value (defined by 345 * SIP protocol) is used if {@code timeout} i 320 makeAudioCall(SipProfile localProfile, SipProfile peerProfile, SipAudioCall.Listener listener, int timeout) argument 352 makeAudioCall(String localProfileUri, String peerProfileUri, SipAudioCall.Listener listener, int timeout) argument [all...] |
/frameworks/av/services/camera/libcameraservice/ |
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/base/services/java/com/android/server/ |
H A D | Watchdog.java | 383 long timeout = TIME_TO_WAIT; 387 // to timeout on is asleep as well and won't have a chance to run, causing a false 390 while (timeout > 0 && !mForceKillSystem) { 392 wait(timeout); // notifyAll() is called when mForceKillSystem is set 396 timeout = TIME_TO_WAIT - (SystemClock.uptimeMillis() - start);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
H A D | LocationBasedCountryDetectorTest.java | 265 long timeout = 1000; 266 TestCountryDetector detector = new TestCountryDetector(country, provider, timeout) { 325 long timeout = 1000; 326 TestCountryDetector detector = new TestCountryDetector(country, provider, timeout);
|
/frameworks/native/opengl/include/EGL/ |
H A D | eglext.h | 142 EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); 148 typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout); 206 EGLint eglClientWaitSyncNV (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout); 213 typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCNVPROC) (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout);
|
/frameworks/base/core/java/android/text/method/ |
H A D | MultiTapKeyListener.java | 215 // Set up the callback so we can remove the timeout if the 243 Timeout[] timeout = buf.getSpans(0, buf.length(), Timeout.class); 245 for (int i = 0; i < timeout.length; i++) { 246 Timeout t = timeout[i];
|
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/ |
H A D | PowerTestActivity.java | 115 private void navigate(String url, int timeout) { argument 128 if(timeout != 0) { 129 //set a timer with specified timeout (in ms) 131 timeout); 159 Log.v(LOGTAG, "Page timeout triggered, progress = " + progress);
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | ReliabilityTestActivity.java | 119 private void navigate(String url, int timeout) { argument 132 if(timeout != 0) { 133 //set a timer with specified timeout (in ms) 135 timeout); 163 Log.v(LOGTAG, "Page timeout triggered, progress = " + progress); 268 Log.v(LOGTAG, "JavaScript timeout, count=" + timeoutCounter);
|
H A D | LayoutTestsAutoTest.java | 305 private void runTestAndWaitUntilDone(TestShellActivity activity, String test, int timeout, boolean ignoreResult, int testNumber) { argument 315 Log.v(LOGTAG, "layout timeout: " + url); 344 intent.putExtra(TestShellActivity.TIMEOUT_IN_MILLIS, timeout); 390 int timeout = runner.mTimeoutInMillis; 391 if (timeout <= 0) { 392 timeout = DEFAULT_TIMEOUT_IN_MILLIS;
|
/frameworks/base/core/jni/ |
H A D | android_net_LocalSocketImpl.cpp | 342 * send and receive timeouts. Note: The incoming timeout 345 struct timeval timeout; local 346 timeout.tv_sec = intValue / 1000; 347 timeout.tv_usec = (intValue % 1000) * 1000; 350 (void *)&timeout, sizeof(timeout)); 354 (void *)&timeout, sizeof(timeout));
|
H A D | android_util_EventLog.cpp | 165 struct timeval timeout = {0, 0}; local 172 timeout.tv_usec = 5000; 174 int r = select(fd + 1, &readset, NULL, NULL, &timeout);
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
H A D | ConnectionUtil.java | 358 * @param timeout to wait for download to finish 361 public boolean startDownloadAndWait(String targetUrl, long timeout) { argument 371 if ((System.currentTimeMillis() - startTime) > timeout) { 373 " within " + timeout); 431 * @param timeout in milliseconds 434 public boolean waitForNetworkState(int networkType, State expectedState, long timeout) { argument 437 if ((System.currentTimeMillis() - startTime) > timeout) { 480 * Wait for a given wifi state to occur within a given timeout. 482 * @param timeout for the state to be set in milliseconds. 483 * @return true if the state was achieved within the timeout, fals 485 waitForWifiState(int expectedState, long timeout) argument [all...] |
/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...] |
/frameworks/base/voip/java/com/android/server/sip/ |
H A D | SipSessionGroup.java | 148 // of timeout values 552 void start(final int timeout) { argument 555 sleep(timeout); 556 if (mRunning) timeout(); 566 private void timeout() { method in class:SipSessionGroup.SipSessionImpl.SessionTimer 572 private synchronized void sleep(int timeout) { argument 574 this.wait(timeout * 1000); 679 int timeout) { 681 timeout)); 684 public void answerCall(String sessionDescription, int timeout) { argument 678 makeCall(SipProfile peerProfile, String sessionDescription, int timeout) argument 696 changeCall(String sessionDescription, int timeout) argument 1325 startSessionTimer(int timeout) argument 1774 MakeCallCommand(SipProfile peerProfile, String sessionDescription, int timeout) argument [all...] |
/frameworks/base/location/java/com/android/internal/location/ |
H A D | GpsNetInitiatedHandler.java | 54 public static final String NI_INTENT_KEY_TIMEOUT = "timeout"; 105 public int timeout; field in class:GpsNetInitiatedHandler.GpsNiNotification 168 // A note about timeout 172 // In some GPS hardware, the GPS driver (under HAL) can handle the timeout case 175 // However, the UI should at least close the dialog when timeout. Further, 176 // for more general handling, timeout response should be added to the Handler here. 248 intent.putExtra(NI_INTENT_KEY_TIMEOUT, notif.timeout); 252 ", timeout: " + notif.timeout);
|
/frameworks/base/core/java/android/net/ |
H A D | LocalSocket.java | 252 public void connect(LocalSocketAddress endpoint, int timeout) argument
|
/frameworks/base/core/java/android/nfc/tech/ |
H A D | MifareClassic.java | 588 * Set the {@link #transceive} timeout in milliseconds. 590 * <p>The timeout only applies to {@link #transceive} on this object, 593 * <p>Setting a longer timeout may be useful when performing 599 * @param timeout timeout value in milliseconds 601 public void setTimeout(int timeout) { argument 603 int err = mTag.getTagService().setTimeout(TagTechnology.MIFARE_CLASSIC, timeout); 605 throw new IllegalArgumentException("The supplied timeout is not valid"); 613 * Get the current {@link #transceive} timeout in milliseconds. 617 * @return timeout valu [all...] |
/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | ViewPropertyAnimatorTest.java | 101 * Variant constructor that auto-releases the FutureWaiter after the specified timeout. 103 * @param timeout 105 public FutureReleaseListener(FutureWaiter future, long timeout) { argument 113 }, timeout); 302 // Set the listener to automatically timeout after an uncanceled animation
|
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
H A D | TextToSpeechTests.java | 225 public static void awaitCountDown(CountDownLatch latch, long timeout, TimeUnit unit) argument 227 Assert.assertTrue("Waited too long for method call", latch.await(timeout, unit));
|