Searched refs:timeout (Results 226 - 250 of 281) sorted by relevance

1234567891011>>

/frameworks/native/opengl/include/EGL/
H A Deglext.h154 typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
159 EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
1255 typedef EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCNVPROC) (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout);
1262 EGLAPI EGLint EGLAPIENTRY eglClientWaitSyncNV (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout);
/frameworks/native/opengl/include/GLES/
H A Dglext.h567 typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
568 typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
575 GL_API GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);
576 GL_API void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnectionPool.java160 // If timeout is set, setup idle connection handler
202 // Mark it released so it can be closed after idle timeout
723 // Wait to be unparked (may already have happened), a timeout, or interruption.
1017 * Set up the handler based on the provided looper and timeout.
1085 " Idle connection timeout: " + mConfiguration.idleConnectionTimeoutMs);
1155 IdleConnectionHandler(Looper looper, long timeout) { argument
1157 mTimeout = timeout;
/frameworks/base/core/tests/coretests/src/android/animation/
H A DAnimatorSetActivityTest.java349 long timeout = s.getTotalDuration() * 2;
352 while (wait < timeout) {
/frameworks/base/opengl/java/android/opengl/
H A DGLES30.java1420 // C function GLenum glClientWaitSync ( GLsync sync, GLbitfield flags, GLuint64 timeout )
1425 long timeout
1428 // C function void glWaitSync ( GLsync sync, GLbitfield flags, GLuint64 timeout )
1433 long timeout
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderSessionImpl.java156 * @param timeout the time to wait if another rendering is happening.
164 public Result init(long timeout) { argument
165 Result result = super.init(timeout);
/frameworks/native/libs/gui/bufferqueue/1.0/
H A DH2BGraphicBufferProducer.cpp1185 status_t H2BGraphicBufferProducer::setDequeueTimeout(nsecs_t timeout) { argument
1186 return toStatusT(mBase->setDequeueTimeout(static_cast<int64_t>(timeout)));
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseStaggeredGridLayoutManagerTest.java553 public void assertNoLayout(String msg, long timeout) throws Throwable { argument
554 layoutLatch.await(timeout, TimeUnit.SECONDS);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp1147 status_t Camera3Device::waitUntilRequestReceived(int32_t requestId, nsecs_t timeout) { argument
1151 return mRequestThread->waitUntilRequestProcessed(requestId, timeout);
1648 status_t Camera3Device::waitUntilStateThenRelock(bool active, nsecs_t timeout) { argument
1671 res = mStatusChanged.waitRelative(mLock, timeout);
1713 status_t Camera3Device::waitForNextFrame(nsecs_t timeout) { argument
1719 res = mResultSignal.waitRelative(mOutputLock, timeout);
1724 __FUNCTION__, mId.string(), timeout, strerror(-res), res);
3867 int32_t requestId, nsecs_t timeout) {
3874 res = mLatestRequestSignal.waitRelative(mLatestRequestMutex, timeout);
3877 timeout
3866 waitUntilRequestProcessed( int32_t requestId, nsecs_t timeout) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h689 mSessionID.c_str(), "timeout", &timeoutStr)) {
695 ALOGW("server specified malformed timeout '%s'",
700 ALOGW("server specified too short a timeout "
708 ALOGI("server specified timeout of %lu secs.",
715 // Remove options, i.e. ";timeout=90"
1152 // Post new timeout in order to make sure to use
1183 // Disable the access unit timeout until we resumed
1244 // Start new timeoutgeneration to avoid getting timeout
1298 // Post new timeout in order to make sure to use
1350 // performed, since new timeout message
1957 sp<AMessage> timeout = new AMessage('tiou', this); local
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeDialogImpl.java505 final int timeout = computeTimeoutH();
507 .obtainMessage(H.DISMISS, Events.DISMISS_REASON_TIMEOUT, 0), timeout);
508 if (D.BUG) Log.d(TAG, "rescheduleTimeout " + timeout + " " + Debug.getCaller());
/frameworks/base/services/core/java/com/android/server/location/
H A DGnssLocationProvider.java704 // Create a separate wake lock for xtra downloader as it may be released due to timeout.
1058 // This wakelock may have time-out, if a timeout was specified.
1059 // Catch (and ignore) any timeout exceptions.
1064 Log.i(TAG, "Wakelock timeout & release race exception in "
2070 int timeout,
2082 ", timeout: " + timeout +
2097 notification.timeout = timeout;
2066 reportNiNotification( int notificationId, int niType, int notifyFlags, int timeout, int defaultResponse, String requestorId, String text, int requestorIdEncoding, int textEncoding ) argument
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAdapter.java1194 public void setDiscoverableTimeout(int timeout) { argument
1198 if (mService != null) mService.setDiscoverableTimeout(timeout);
/frameworks/base/core/java/android/view/
H A DWindowManager.java1925 * Sets the number of milliseconds before the user activity timeout occurs
1926 * when this window has focus. A value of -1 uses the standard timeout.
1927 * A value of 0 uses the minimum support display timeout.
1929 * This property can only be used to reduce the user specified display timeout;
1930 * it can never make the timeout longer than it normally would be.
1957 * Sets a timeout in milliseconds before which the window will be hidden
2087 public final void setUserActivityTimeout(long timeout) { argument
2088 userActivityTimeout = timeout;
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java1969 void finishedInputEvent(int seq, boolean handled, boolean timeout) { argument
1981 if (timeout) {
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayManagerService.java311 long timeout = SystemClock.uptimeMillis()
315 long delay = timeout - SystemClock.uptimeMillis();
323 Slog.d(TAG, "waitForDefaultDisplay: waiting, timeout=" + delay);
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
H A DShortcutManagerTestUtils.java722 final long timeout = System.currentTimeMillis() + (timeoutSeconds * 1000L);
723 while (System.currentTimeMillis() < timeout) {
/frameworks/native/cmds/dumpstate/
H A Dutils.cpp69 /* Most simple commands have 10 as timeout, so 5 is a good estimate */
715 * timeout as the weight. It's a good approximation for most cases, except when calling dumpsys,
716 * where its weight should be much higher proportionally to its timeout.
725 long timeout = dumpsysTimeout > 0 ? dumpsysTimeout : options.Timeout(); local
726 std::vector<std::string> dumpsys = {"/system/bin/dumpsys", "-t", std::to_string(timeout)};
973 dprintf(fd, "dumping failed, likely due to a timeout\n");
1110 dprintf(fd, "dumping failed, likely due to a timeout\n");
/frameworks/native/vulkan/libvulkan/
H A Dswapchain.cpp1196 uint64_t timeout,
1209 timeout != UINT64_MAX,
1194 AcquireNextImageKHR(VkDevice device, VkSwapchainKHR swapchain_handle, uint64_t timeout, VkSemaphore semaphore, VkFence vk_fence, uint32_t* image_index) argument
/frameworks/base/services/core/java/com/android/server/am/
H A DActiveServices.java804 // This was up for longer than the timeout, so just remove immediately.
2335 Slog.i(TAG, "Launched service must call startForeground() within timeout: " + r);
2340 Slog.i(TAG, "Service already foreground; no new timeout: " + r);
3334 ServiceRecord timeout = null;
3339 timeout = sr;
3346 if (timeout != null && mAm.mLruProcesses.contains(proc)) {
3347 Slog.w(TAG, "Timeout executing service: " + timeout);
3350 pw.println(timeout);
3351 timeout.dump(pw, " ");
3356 anrMessage = "executing service " + timeout
[all...]
H A DActivityStarter.java849 && !outResult.timeout && outResult.who == null);
860 outResult.timeout = false;
867 // Note: the timeout variable is not currently not ever set.
873 } while (!outResult.timeout && outResult.who == null);
H A DActivityStackSupervisor.java1138 result.timeout = false;
1168 void reportActivityLaunchedLocked(boolean timeout, ActivityRecord r, argument
1175 w.timeout = timeout;
3179 boolean shutdownLocked(int timeout) { argument
3183 final long endTime = System.currentTimeMillis() + timeout;
3860 // Short timeout, since blocking here can
4526 Slog.w(TAG, "Sleep timeout! Sleeping now.");
4534 Slog.w(TAG, "Launch timeout has expired, giving up wake lock!");
/frameworks/native/services/inputflinger/
H A DInputDispatcher.cpp66 // Default input dispatching timeout if there is no focused application or paused window
67 // from which to determine an appropriate dispatching timeout.
80 // that the first event be finished. This value extends the ANR timeout by the specified
249 // Wait for callback or timeout or wake. (make sure we round up, not down)
274 // Essentially we start a short timeout when an app switch key (HOME / ENDCALL) has
968 nsecs_t timeout; local
970 timeout = windowHandle->getDispatchingTimeout(DEFAULT_INPUT_DISPATCHING_TIMEOUT);
972 timeout = applicationHandle->getDispatchingTimeout(
975 timeout = DEFAULT_INPUT_DISPATCHING_TIMEOUT;
980 mInputTargetWaitTimeoutTime = currentTime + timeout;
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DConnectivityService.java275 * after a timeout if no network is found (typically 1 min).
308 * indicates a timeout period is over - check if we had a network yet or not
309 * and if not, call the timeout callback (but leave the request live until they
1667 final int timeout;
1672 timeout = Settings.Global.getInt(mContext.getContentResolver(),
1678 timeout = Settings.Global.getInt(mContext.getContentResolver(),
1684 timeout = 0;
1687 if (timeout > 0 && iface != null && type != ConnectivityManager.TYPE_NONE) {
1689 mNetd.addIdleTimer(iface, timeout, type);
2459 log("releasing " + nri.request + " (timeout)");
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvInputManager.java2401 void finishedInputEvent(int seq, boolean handled, boolean timeout) { argument
2412 if (timeout) {

Completed in 723 milliseconds

1234567891011>>