/frameworks/base/services/net/java/android/net/dhcp/ |
H A D | DhcpClient.java | 76 * the server NAKs or a timeout if it doesn't. 102 // a blocking operation with a 30-second timeout. We pick 36 seconds so we can send packets at 669 * Retransmits packets using jittered exponential backoff with an optional timeout. Packet 671 * sets mTimeout to a positive value, then timeout() is called by an AlarmManager alarm mTimeout 677 * sent by the receive thread. They may also set mTimeout and implement timeout. 704 timeout(); 720 protected void timeout() {} method in class:DhcpClient.PacketRetransmittingState 734 long timeout = jitterTimer(mTimer); 735 long alarmTime = now + timeout; 813 protected void timeout() { method in class:DhcpClient.DhcpRequestingState [all...] |
H A D | DhcpPacket.java | 37 // DHCP client timeout. 1188 byte[] mac, Integer timeout, Inet4Address netMask, Inet4Address bcAddr, 1195 pkt.mLeaseTime = timeout; 1208 byte[] mac, Integer timeout, Inet4Address netMask, Inet4Address bcAddr, 1215 pkt.mLeaseTime = timeout; 1186 buildOfferPacket(int encap, int transactionId, boolean broadcast, Inet4Address serverIpAddr, Inet4Address clientIpAddr, byte[] mac, Integer timeout, Inet4Address netMask, Inet4Address bcAddr, List<Inet4Address> gateways, List<Inet4Address> dnsServers, Inet4Address dhcpServerIdentifier, String domainName) argument 1206 buildAckPacket(int encap, int transactionId, boolean broadcast, Inet4Address serverIpAddr, Inet4Address clientIpAddr, byte[] mac, Integer timeout, Inet4Address netMask, Inet4Address bcAddr, List<Inet4Address> gateways, List<Inet4Address> dnsServers, Inet4Address dhcpServerIdentifier, String domainName) argument
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | CaptureSequencer.cpp | 83 status_t CaptureSequencer::waitUntilIdle(nsecs_t timeout) { argument 91 res = mStateChanged.waitRelative(mStateMutex, timeout); 94 timeout -= (systemTime() - startTime);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGattServer.java | 77 // registration timeout 341 int timeout, int status) { 344 " timeout=" + timeout + " status=" + status); 350 timeout, status);
|
/frameworks/base/core/java/android/provider/ |
H A D | FontsContract.java | 349 final AtomicBoolean timeout = new AtomicBoolean(false); 366 if (!timeout.get()) { 393 timeout.set(true);
|
/frameworks/base/core/java/android/widget/ |
H A D | MediaController.java | 352 * automatically after 'timeout' milliseconds of inactivity. 353 * @param timeout The timeout in milliseconds. Use 0 to show 356 public void show(int timeout) { argument 374 if (timeout != 0 && !mAccessibilityManager.isTouchExplorationEnabled()) { 376 postDelayed(mFadeOut, timeout); 465 show(sDefaultTimeout); // start timeout
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | CachedBluetoothDevice.java | 548 long timeout = MAX_UUID_DELAY_FOR_AUTO_CONNECT; 550 timeout = MAX_HOGP_DELAY_FOR_AUTO_CONNECT; 563 && ((mConnectAttempted + timeout) > SystemClock.elapsedRealtime())) {
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | InputMonitor.java | 214 * Returns a new timeout to continue waiting in nanoseconds, or 0 to abort dispatch. 261 // Notify the activity manager about the timeout and let it decide whether 269 // Wait a bit longer and timeout again later. 274 // Notify the activity manager about the timeout and let it decide whether 276 long timeout = ActivityManager.getService().inputDispatchingTimedOut( 278 if (timeout >= 0) { 280 // Wait a bit longer and timeout again later. 281 return timeout * 1000000L; // nanoseconds
|
/frameworks/support/compat/java/android/support/v4/provider/ |
H A D | FontsContractCompat.java | 205 final @Nullable TextView targetView, @FetchStrategy int strategy, int timeout, 216 if (isBlockingFetch && timeout == FontResourcesParserCompat.INFINITE_TIMEOUT_VALUE) { 234 return sBackgroundThread.postAndWait(fetcher, timeout); 204 getFontSync(final Context context, final FontRequest request, final @Nullable TextView targetView, @FetchStrategy int strategy, int timeout, final int style) argument
|
/frameworks/support/compat/tests/java/android/support/v4/app/ |
H A D | NotificationCompatTest.java | 86 long timeout = 23552; 88 .setTimeoutAfter(timeout) 91 assertEquals(timeout, NotificationCompat.getTimeoutAfter(n));
|
/frameworks/native/libs/gui/ |
H A D | IGraphicBufferProducer.cpp | 420 virtual status_t setDequeueTimeout(nsecs_t timeout) { argument 423 data.writeInt64(timeout); 626 status_t setDequeueTimeout(nsecs_t timeout) override { 627 return mBase->setDequeueTimeout(timeout); 855 nsecs_t timeout = data.readInt64(); local 856 status_t result = setDequeueTimeout(timeout);
|
/frameworks/base/core/java/android/os/ |
H A D | PowerManager.java | 272 * Flag for {@link WakeLock#release(int)} when called due to timeout. 327 * User activity flag: If already dimmed, extend the dim timeout 338 * reset the user activity timeout. This flag is useful for applying 360 * Go to sleep reason code: Going to sleep due to a screen timeout. 1323 * Acquires the wake lock with a timeout. 1326 * the wake lock was created. The lock will be released after the given timeout 1330 * @param timeout The timeout after which to release the wake lock, in milliseconds. 1332 public void acquire(long timeout) { argument 1335 mHandler.postDelayed(mReleaser, timeout); [all...] |
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
H A D | FullBackupEngine.java | 137 final long timeout = isSharedStorage ? 146 timeout,
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
H A D | Hwc2TestBuffer.cpp | 280 if (mCv.wait_for(lock, std::chrono::seconds(2)) == std::cv_status::timeout) 295 if (mCv.wait_for(lock, std::chrono::seconds(2)) == std::cv_status::timeout)
|
/frameworks/native/vulkan/libvulkan/ |
H A D | driver_gen.cpp | 60 VKAPI_ATTR VkResult checkedAcquireNextImageKHR(VkDevice device, VkSwapchainKHR swapchain, uint64_t timeout, VkSemaphore semaphore, VkFence fence, uint32_t* pImageIndex) { argument 62 return AcquireNextImageKHR(device, swapchain, timeout, semaphore, fence, pImageIndex);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Device.h | 110 status_t waitUntilRequestReceived(int32_t requestId, nsecs_t timeout) override; 150 status_t waitForNextFrame(nsecs_t timeout) override; 512 status_t waitUntilStateThenRelock(bool active, nsecs_t timeout); 692 * within the timeout. 694 status_t waitUntilRequestProcessed(int32_t requestId, nsecs_t timeout);
|
/frameworks/base/services/tests/notification/src/com/android/server/notification/ |
H A D | BuzzBeepBlinkTest.java | 36 import static org.mockito.Mockito.timeout; 361 verify(mVibrator, timeout(MAX_VIBRATION_DELAY).times(1)).vibrate(anyInt(), anyString(), 590 verify(mVibrator, timeout(MAX_VIBRATION_DELAY).times(1)).vibrate(anyInt(), anyString(), 622 verify(mVibrator, timeout(MAX_VIBRATION_DELAY).times(1)).vibrate(anyInt(), anyString(),
|
/frameworks/native/include/gui/ |
H A D | IGraphicBufferProducer.h | 192 // * TIMED_OUT - the timeout set by setDequeueTimeout was exceeded while 266 // * TIMED_OUT - the timeout set by setDequeueTimeout was exceeded while 565 // This timeout also affects the attachBuffer call, which will block if 570 // timeout of -1. If set (to a value other than -1), this will disable 578 virtual status_t setDequeueTimeout(nsecs_t timeout) = 0;
|
/frameworks/native/libs/gui/include/gui/ |
H A D | IGraphicBufferProducer.h | 192 // * TIMED_OUT - the timeout set by setDequeueTimeout was exceeded while 266 // * TIMED_OUT - the timeout set by setDequeueTimeout was exceeded while 565 // This timeout also affects the attachBuffer call, which will block if 570 // timeout of -1. If set (to a value other than -1), this will disable 578 virtual status_t setDequeueTimeout(nsecs_t timeout) = 0;
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
H A D | GLES30.spec | 80 GLenum glClientWaitSync ( GLsync sync, GLbitfield flags, GLuint64 timeout ) 81 void glWaitSync ( GLsync sync, GLbitfield flags, GLuint64 timeout )
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
H A D | GuidedStepFragmentTest.java | 24 import static org.mockito.Mockito.timeout; 127 verify(first, timeout(ON_DESTROY_TIMEOUT).times(1)).onDestroy(); 231 verify(first, timeout(ON_DESTROY_TIMEOUT).times(1)).onDestroy(); 365 verify(first, timeout(ON_DESTROY_TIMEOUT).times(1)).onDestroy();
|
H A D | GuidedStepSupportFragmentTest.java | 27 import static org.mockito.Mockito.timeout; 130 verify(first, timeout(ON_DESTROY_TIMEOUT).times(1)).onDestroy(); 234 verify(first, timeout(ON_DESTROY_TIMEOUT).times(1)).onDestroy(); 368 verify(first, timeout(ON_DESTROY_TIMEOUT).times(1)).onDestroy();
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | NetworkManagementService.java | 289 public final int timeout; field in class:NetworkManagementService.IdleTimerParams 293 IdleTimerParams(int timeout, int type) { argument 294 this.timeout = timeout; 1469 public void addIdleTimer(String iface, int timeout, final int type) { argument 1483 mConnector.execute("idletimer", "add", iface, Integer.toString(timeout), 1488 mActiveIdleTimers.put(iface, new IdleTimerParams(timeout, type)); 1518 Integer.toString(params.timeout), Integer.toString(params.type)); 2449 pw.print(" timeout="); pw.print(params.timeout); [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
H A D | WifiAwareStateManager.java | 1195 + "timeout or a race condition with cancel) -- msg=" + msg); 1337 WakeupMessage timeout = new WakeupMessage(mContext, getHandler(), 1340 mDataPathConfirmTimeoutMessages.put(networkSpecifier, timeout); 1341 timeout.schedule( 1355 WakeupMessage timeout = mDataPathConfirmTimeoutMessages.remove( 1357 if (timeout != null) { 1358 timeout.cancel(); 1588 WakeupMessage timeout = new WakeupMessage(mContext, getHandler(), 1591 mDataPathConfirmTimeoutMessages.put(networkSpecifier, timeout); 1592 timeout [all...] |
/frameworks/base/core/java/android/app/ |
H A D | IApplicationThread.aidl | 140 void scheduleTranslucentConversionComplete(IBinder token, boolean timeout);
|