Home
last modified time | relevance | path

Searched defs:timeout (Results 1 – 25 of 244) sorted by relevance

12345678910

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCellularNetworkValidatorTest.java108 int timeout = 1000; in testValidateSuccess() local
121 int timeout = 100; in testValidateTimeout() local
135 int timeout = 100; in testValidateFailure() local
146 int timeout = 100; in testNetworkAvailableNotValidated() local
164 int timeout = 1000; in testSkipRecentlyValidatedNetwork() local
187 int timeout = 1000; in testDoNotSkipIfValidationFailed() local
209 int timeout = 1000; in testDoNotSkipIfCacheExpires() local
235 int timeout = 1000; in testNetworkCachingOfMultipleSub() local
290 int timeout = 1000; in testNetworkCachingOfMultipleNetworks() local
322 int timeout = 1000; in testNetworkCachingOverflow() local
[all …]
DTestExecutorService.java89 public T get(long timeout, TimeUnit unit) in get()
141 public boolean awaitTermination(long timeout, TimeUnit unit) { in awaitTermination()
167 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, in invokeAll()
178 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) { in invokeAny()
/frameworks/base/tests/testables/src/android/testing/
DPollingCheck.java33 public PollingCheck(long timeout) { in PollingCheck()
44 long timeout = mTimeout; in run() local
62 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) in check()
85 public static void waitFor(long timeout, final PollingCheckCondition condition) { in waitFor()
86 new PollingCheck(timeout) { in waitFor() argument
/frameworks/base/core/tests/coretests/src/android/util/
DPollingCheck.java43 public PollingCheck(long timeout) { in PollingCheck()
57 long timeout = mTimeout; in run() local
95 public static void waitFor(long timeout, final PollingCheckCondition condition) { in waitFor()
96 new PollingCheck(timeout) { in waitFor() argument
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DConfigurator.java79 public Configurator setWaitForIdleTimeout(long timeout) { in setWaitForIdleTimeout()
115 public Configurator setWaitForSelectorTimeout(long timeout) { in setWaitForSelectorTimeout()
149 public Configurator setScrollAcknowledgmentTimeout(long timeout) { in setScrollAcknowledgmentTimeout()
183 public Configurator setActionAcknowledgmentTimeout(long timeout) { in setActionAcknowledgmentTimeout()
DInteractionController.java156 AccessibilityEventFilter filter, long timeout) { in runAndWaitForEvents()
185 final int eventType, long timeout) { in sendKeyAndWaitForEvent()
233 public boolean clickAndSync(final int x, final int y, long timeout) { in clickAndSync()
252 public boolean clickAndWaitForNewWindow(final int x, final int y, long timeout) { in clickAndWaitForNewWindow()
/frameworks/opt/net/voip/src/java/android/net/sip/
DISipSession.aidl116 void makeCall(in SipProfile callee, String sessionDescription, int timeout); in makeCall()
127 void answerCall(String sessionDescription, int timeout); in answerCall()
147 void changeCall(String sessionDescription, int timeout); in changeCall()
/frameworks/base/core/java/android/hardware/usb/
DUsbDeviceConnection.java213 int index, byte[] buffer, int length, int timeout) { in controlTransfer()
238 byte[] buffer, int offset, int length, int timeout) { in controlTransfer()
265 byte[] buffer, int length, int timeout) { in bulkTransfer()
285 byte[] buffer, int offset, int length, int timeout) { in bulkTransfer()
365 public UsbRequest requestWait(long timeout) throws TimeoutException { in requestWait()
412 int index, byte[] buffer, int offset, int length, int timeout); in native_control_request()
414 int offset, int length, int timeout); in native_bulk_request()
415 private native UsbRequest native_request_wait(long timeout) throws TimeoutException; in native_request_wait()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java156 protected boolean waitForNetworkState(int networkType, State expectedState, long timeout) { in waitForNetworkState()
175 protected boolean waitForWifiState(int expectedState, long timeout) { in waitForWifiState()
194 protected boolean waitForWifiApState(int expectedState, long timeout) { in waitForWifiApState()
219 protected boolean waitForTetherStateChange(long timeout) { in waitForTetherStateChange()
417 protected boolean waitForActiveNetworkConnection(long timeout) { in waitForActiveNetworkConnection()
433 protected boolean waitUntilNoActiveNetworkConnection(long timeout) { in waitUntilNoActiveNetworkConnection()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java102 public Result init(long timeout) { in init()
163 public Result acquire(long timeout) { in acquire()
193 private Result acquireLock(long timeout) { in acquireLock()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingStateCallback.java153 public void waitForState(int state, long timeout) { in waitForState()
156 waitForAnyOfStates(Arrays.asList(stateArray), timeout); in waitForState() local
172 public int waitForAnyOfStates(Collection<Integer> states, final long timeout) { in waitForAnyOfStates()
DBlockingOfflineSessionCallback.java170 public void waitForState(int state, long timeout) { in waitForState()
173 waitForAnyOfStates(Arrays.asList(stateArray), timeout); in waitForState() local
189 public int waitForAnyOfStates(Collection<Integer> states, final long timeout) { in waitForAnyOfStates()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridgeRenderSession.java82 public Result measure(long timeout) { in measure()
101 public Result render(long timeout, boolean forceMeasure) { in render()
/frameworks/base/tests/RollbackTest/MultiUserRollbackTest/src/com/android/tests/rollback/host/
DMultiUserRollbackTest.java113 final long timeout = TimeUnit.MINUTES.toMillis(10); in runPhaseForUsers() local
117 phase, userId, timeout)); in runPhaseForUsers() local
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSystemServiceTestsBase.java58 boolean waitHandlerIdle(Handler handler, long timeout) { in waitHandlerIdle()
62 boolean runWithScissors(Handler handler, Runnable r, long timeout) { in runWithScissors()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DBackupAgentTimeoutParametersTest.java119 long timeout = mParameters.getQuotaExceededTimeoutMillis(); in testGetQuotaExceededTimeoutMillis_returnsDefaultValue() local
131 long timeout = mParameters.getQuotaExceededTimeoutMillis(); in testGetQuotaExceededTimeoutMillis_whenSettingSet_returnsSetValue() local
/frameworks/base/core/java/org/apache/http/params/
DHttpConnectionParams.java83 public static void setSoTimeout(final HttpParams params, int timeout) { in setSoTimeout()
187 public static void setConnectionTimeout(final HttpParams params, int timeout) { in setConnectionTimeout()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DMockScheduledExecutorService.java129 public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException { in awaitTermination()
165 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, in invokeAll()
177 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAny()
253 public V get(long timeout, TimeUnit unit) in get()
/frameworks/native/libs/vr/libdvr/
Ddvr_buffer_queue.cpp54 int DvrWriteBufferQueue::Dequeue(int timeout, DvrWriteBuffer* write_buffer, in Dequeue()
70 int DvrWriteBufferQueue::GainBuffer(int timeout, in GainBuffer()
292 int dvrWriteBufferQueueGainBuffer(DvrWriteBufferQueue* write_queue, int timeout, in dvrWriteBufferQueueGainBuffer()
341 int DvrReadBufferQueue::AcquireBuffer(int timeout, in AcquireBuffer()
491 int dvrReadBufferQueueDequeue(DvrReadBufferQueue* read_queue, int timeout, in dvrReadBufferQueueDequeue()
504 int dvrReadBufferQueueAcquireBuffer(DvrReadBufferQueue* read_queue, int timeout, in dvrReadBufferQueueAcquireBuffer()
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/location/
DHandlerThreadingDomainTest.java222 CountDownLatch latch, long timeout, TimeUnit timeUnit) { in awaitWithRuntimeException()
252 boolean waitForCompletion(long timeout, TimeUnit unit) { in waitForCompletion()
256 void assertCompletesWithin(long timeout, TimeUnit unit) { in assertCompletesWithin()
/frameworks/base/core/java/android/bluetooth/le/
DPeriodicAdvertisingManager.java103 public void registerSync(ScanResult scanResult, int skip, int timeout, in registerSync()
131 public void registerSync(ScanResult scanResult, int skip, int timeout, in registerSync()
/frameworks/base/services/tests/servicestests/src/com/android/server/apphibernation/
DHibernationStateDiskStoreTest.java186 public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException { in awaitTermination()
212 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, in invokeAll()
224 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAny()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DServiceRestarterTest.java203 long timeout) throws Exception { in startServiceAndWait()
215 long timeout) throws Exception { in killUidAndWait()
252 boolean waitFor(int expectedImportance, long timeout) throws Exception { in waitFor()
/frameworks/base/core/java/android/accounts/
DAccountManagerFuture.java113 V getResult(long timeout, TimeUnit unit) in getResult()
/frameworks/av/media/libwatchdog/
DWatchdog.cpp30 Watchdog::Watchdog(::std::chrono::steady_clock::duration timeout) { in Watchdog()

12345678910