/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | EventsTest.java | 119 * Variant constructor that auto-releases the FutureWaiter after the specified timeout. 121 * @param timeout 123 public FutureReleaseListener(FutureWaiter future, long timeout) { argument 131 }, timeout); 416 // Set the listener to automatically timeout after an uncanceled animation 443 // Set the listener to automatically timeout after an uncanceled animation
|
/frameworks/base/services/java/com/android/server/ |
H A D | NativeDaemonConnector.java | 291 * final terminal response. Note that the timeout does not count time in 299 public NativeDaemonEvent[] execute(int timeout, String cmd, Object... args) argument 330 event = mResponseQueue.remove(sequenceNumber, timeout, sentCmd); 536 // let any waiter timeout waiting for this 555 // note that the timeout does not count time in deep sleep. If you don't want
|
H A D | ConnectivityService.java | 2108 final int timeout; 2111 timeout = Settings.Global.getInt(mContext.getContentResolver(), 2117 timeout = Settings.Global.getInt(mContext.getContentResolver(), 2122 timeout = 0; 2125 if (timeout > 0 && iface != null) { 2127 mNetd.addIdleTimer(iface, timeout, Integer.toString(type)); 2761 log("NetTransition Wakelock for " + causedBy + " released by timeout");
|
/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/app/ |
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/net/ |
H A D | LocalSocketImpl.java | 230 /** note timeout presently ignored */ 231 protected void connect(LocalSocketAddress address, int timeout) argument
|
/frameworks/base/services/java/com/android/server/power/ |
H A D | PowerManagerService.java | 79 // Message: Sent when a user activity timeout occurs to update the power state. 117 // When the user activity timeout expires, the device may start napping or go to sleep. 141 // Default and minimum screen off timeout in milliseconds. 146 // This is subtracted from the end of the screen off timeout so the 147 // minimum screen off timeout should be longer than this. 151 // off timeout. If the screen off timeout is very short then we want the 152 // dim timeout to also be quite short so that most of the time is spent on. 167 // If the battery level drops by this percentage and the user activity timeout 271 // draining faster than it is charging and the user activity timeout ha [all...] |
/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 | BluetoothSocket.java | 388 /*package*/ BluetoothSocket accept(int timeout) throws IOException { argument
|
/frameworks/base/services/input/ |
H A D | PointerController.cpp | 197 // Remove the inactivity timeout, since we are fading now. 474 nsecs_t timeout = mLocked.inactivityTimeout == INACTIVITY_TIMEOUT_SHORT local 476 mLooper->sendMessageDelayed(timeout, mHandler, MSG_INACTIVITY_TIMEOUT);
|
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/services/java/com/android/server/display/ |
H A D | DisplayManagerService.java | 202 long timeout = SystemClock.uptimeMillis() + WAIT_FOR_DEFAULT_DISPLAY_TIMEOUT; 204 long delay = timeout - SystemClock.uptimeMillis(); 209 Slog.d(TAG, "waitForDefaultDisplay: waiting, timeout=" + delay);
|
/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/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/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 | ActiveServices.java | 1832 ServiceRecord timeout = null; 1837 timeout = sr; 1844 if (timeout != null && mAm.mLruProcesses.contains(proc)) { 1845 Slog.w(TAG, "Timeout executing service: " + timeout); 1846 anrMessage = "Executing service " + timeout.shortName; 1936 // Short timeout, since blocking here can
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardHostView.java | 365 public void userActivity(long timeout) { 367 mViewMediatorCallback.userActivity(timeout); 507 // don't show timeout dialog because we show account unlock screen next 669 public void userActivity(long timeout) {
|
/frameworks/base/services/jni/ |
H A D | com_android_server_location_GpsLocationProvider.cpp | 194 notification->notify_flags, notification->timeout,
|
/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/base/core/java/android/webkit/ |
H A D | CallbackProxy.java | 1516 Message timeout = obtainMessage(JS_TIMEOUT, result); 1517 sendMessageToUiThreadSync(timeout);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderSessionImpl.java | 162 * @param timeout the time to wait if another rendering is happening. 170 public Result init(long timeout) { argument 171 Result result = super.init(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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | QuickSettings.java | 791 private void dismissBrightnessDialog(int timeout) { argument 794 mHandler.postDelayed(mDismissBrightnessDialogRunnable, timeout);
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
H A D | Am.java | 559 System.out.println("Status: " + (result.timeout ? "timeout" : "ok"));
|