/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/ |
H A D | UiDevice.java | 373 * Default wait timeout is 10 seconds 381 * @param timeout in milliseconds 637 * @param timeout the timeout for the wait 639 * @return true if a window update occurred, false if timeout has elapsed or if the current 642 public boolean waitForWindowUpdate(final String packageName, long timeout) { argument 664 emptyRunnable, checkWindowUpdate, timeout);
|
/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/core/java/android/net/dhcp/ |
H A D | DhcpPacket.java | 835 byte[] mac, Integer timeout, InetAddress netMask, InetAddress bcAddr, 842 pkt.mLeaseTime = timeout; 855 byte[] mac, Integer timeout, InetAddress netMask, InetAddress bcAddr, 862 pkt.mLeaseTime = timeout; 833 buildOfferPacket(int encap, int transactionId, boolean broadcast, InetAddress serverIpAddr, InetAddress clientIpAddr, byte[] mac, Integer timeout, InetAddress netMask, InetAddress bcAddr, InetAddress gateway, List<InetAddress> dnsServers, InetAddress dhcpServerIdentifier, String domainName) argument 853 buildAckPacket(int encap, int transactionId, boolean broadcast, InetAddress serverIpAddr, InetAddress clientIpAddr, byte[] mac, Integer timeout, InetAddress netMask, InetAddress bcAddr, InetAddress gateway, List<InetAddress> dnsServers, InetAddress dhcpServerIdentifier, String domainName) argument
|
/frameworks/base/services/common_time/ |
H A D | common_time_server.cpp | 68 // timeout value representing an infinite timeout 76 // timeout used when waiting for a response to a WhoIsMaster request 92 // timeout used when waiting for a response to a WhoIsMaster request 208 int rc, timeout; local 231 timeout = static_cast<int>(t1 < t2 ? t1 : t2); 236 rc = poll(pfds, eventCnt, timeout); 680 // If we have no socket, then this must be a timeout to retry socket setup. 705 return becomeMaster("initial timeout"); 714 return becomeInitial("timeout pani [all...] |
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | TestShellActivity.java | 95 throw new RuntimeException("WebView dump timeout, is it pegged?"); 125 private void setDumpTimeout(long timeout) { argument 126 Log.v(LOGTAG, "setting dump timeout at " + timeout); 128 mHandler.sendMessageDelayed(msg, timeout); 215 // Create a timeout timer 304 public void dump(boolean timeout, String webkitData) { argument 322 if (timeout) { 710 Log.v(LOGTAG, "JavaScript timeout"); 768 // "notifyDone" will never come out so it's just wasting time till timeout kick [all...] |
/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/native/opengl/libs/EGL/ |
H A D | eglApi.cpp | 828 ALOGE("FrameCompletion: timeout waiting for fence"); 1217 EGLint flags, EGLTimeKHR timeout) 1228 dp->disp.dpy, sync, flags, timeout); 1216 eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout) argument
|
/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
|
/frameworks/base/services/java/com/android/server/ |
H A D | DevicePolicyManagerService.java | 313 out.startTag(null, "password-expiration-timeout"); 315 out.endTag(null, "password-expiration-timeout"); 393 } else if ("password-expiration-timeout".equals(tag)) { 1247 public void setPasswordExpirationTimeout(ComponentName who, long timeout, int userHandle) { argument 1253 if (timeout < 0) { 1259 final long expiration = timeout > 0L ? (timeout + System.currentTimeMillis()) : 0L; 1261 ap.passwordExpirationTimeout = timeout; 1262 if (timeout > 0L) { 1285 long timeout [all...] |
H A D | NetworkManagementService.java | 166 public final int timeout; field in class:NetworkManagementService.IdleTimerParams 170 IdleTimerParams(int timeout, String label) { argument 171 this.timeout = timeout; 1076 public void addIdleTimer(String iface, int timeout, String label) { argument 1090 mConnector.execute("idletimer", "add", iface, Integer.toString(timeout), label); 1094 mActiveIdleTimers.put(iface, new IdleTimerParams(timeout, label)); 1112 Integer.toString(params.timeout), params.label);
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityStack.java | 319 Slog.w(TAG, "Sleep timeout! Sleeping now."); 329 Slog.w(TAG, "Activity pause timeout for " + r); 350 Slog.w(TAG, "Activity idle timeout for " + r); 366 Slog.w(TAG, "Activity destroy timeout for " + r); 382 Slog.w(TAG, "Launch timeout has expired, giving up wake lock!"); 396 Slog.w(TAG, "Activity stop timeout for " + r); 1001 // Schedule a pause timeout in case the app doesn't respond. 1031 final void activityPaused(IBinder token, boolean timeout) { argument 1033 TAG, "Activity paused: token=" + token + ", timeout=" + timeout); 3307 reportActivityLaunchedLocked(boolean timeout, ActivityRecord r, long thisTime, long totalTime) argument [all...] |
H A D | ActivityManagerService.java | 250 // How long we wait until we timeout on key dispatching. 253 // How long we wait until we timeout on key dispatching during instrumentation. 4069 app.processName, app.setAdj, "start timeout"); 4086 Slog.w(TAG, "Spurious process start timeout - pid not known for " + app); 7098 public boolean shutdown(int timeout) { argument 7113 final long endTime = System.currentTimeMillis() + timeout; 7221 // let those wait until either the timeout, or the next start 9964 // Short timeout, since blocking here can 14331 Slog.w(TAG, "User switch timeout: from " + oldUserId + " to " + newUserId);
|
/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/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/services/java/com/android/server/location/ |
H A D | GpsLocationProvider.java | 1345 int timeout, 1358 ", timeout: " + timeout + 1373 notification.timeout = timeout; 1341 reportNiNotification( int notificationId, int niType, int notifyFlags, int timeout, int defaultResponse, String requestorId, String text, int requestorIdEncoding, int textEncoding, String extras ) argument
|
/frameworks/native/opengl/libagl/ |
H A D | egl.cpp | 2115 EGLTimeKHR timeout) 2114 eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout) argument
|
/frameworks/base/services/input/ |
H A D | InputDispatcher.cpp | 65 // Default input dispatching timeout if there is no focused application or paused window 66 // from which to determine an appropriate dispatching timeout. 79 // that the first event be finished. This value extends the ANR timeout by the specified 240 // Wait for callback or timeout or wake. (make sure we round up, not down) 265 // Essentially we start a short timeout when an app switch key (HOME / ENDCALL) has 946 nsecs_t timeout; local 948 timeout = windowHandle->getDispatchingTimeout(DEFAULT_INPUT_DISPATCHING_TIMEOUT); 950 timeout = applicationHandle->getDispatchingTimeout( 953 timeout = DEFAULT_INPUT_DISPATCHING_TIMEOUT; 958 mInputTargetWaitTimeoutTime = currentTime + timeout; [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 896 void setTimeout(long timeout) { argument 897 mTimeout = timeout; 4136 public void setRadioScanningTimeout(long timeout) { argument 4138 mPhoneSignalScanningTimer.setTimeout(timeout);
|