Home
last modified time | relevance | path

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

12345678910>>...12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DCellularNetworkValidatorTest.java113 int timeout = 1000; in testValidateSuccess() local
126 int timeout = 100; in testValidateTimeout() local
140 int timeout = 100; in testValidateFailure() local
151 int timeout = 100; in testNetworkAvailableNotValidated() local
169 int timeout = 1000; in testSkipRecentlyValidatedNetwork() local
192 int timeout = 1000; in testDoNotSkipIfValidationFailed() local
214 int timeout = 1000; in testDoNotSkipIfCacheExpires() local
240 int timeout = 1000; in testNetworkCachingOfMultipleSub() local
295 int timeout = 1000; in testNetworkCachingOfMultipleNetworks() local
327 int timeout = 1000; in testNetworkCachingOverflow() local
[all …]
/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/av/media/utils/tests/
Dtimecheck_tests.cpp38 (bool timeout, float elapsedMs) { in TEST()
49 TEST(timecheck_tests, timeout) { in TEST() argument
57 (bool timeout, float elapsedMs) { in TEST()
61 }, 1ms /* timeoutDuration */, {} /* secondChanceDuration */, false /* crash */); in TEST()
/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.java241 int index, byte[] buffer, int length, int timeout) { in controlTransfer()
266 byte[] buffer, int offset, int length, int timeout) { in controlTransfer()
293 byte[] buffer, int length, int timeout) { in bulkTransfer()
313 byte[] buffer, int offset, int length, int timeout) { in bulkTransfer()
393 public UsbRequest requestWait(long timeout) throws TimeoutException { in requestWait()
440 int index, byte[] buffer, int offset, int length, int timeout); in native_control_request()
442 int offset, int length, int timeout); in native_bulk_request()
443 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/base/services/core/java/com/android/server/pm/
DVerificationUtils.java57 long timeout = Settings.Global.getLong(context.getContentResolver(), in getDefaultVerificationTimeout() local
70 long timeout = Settings.Global.getLong(context.getContentResolver(), in getDefaultStreamingVerificationTimeout() local
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java114 public Result init(long timeout) { in init()
176 public Result acquire(long timeout) { in acquire()
206 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/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
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/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/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/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/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/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridgeRenderSession.java94 public Result measure(long timeout) { in measure()
113 public Result render(long timeout, boolean forceMeasure) { in render()
/frameworks/av/media/utils/
DTimeCheck.cpp296 (bool timeout, float elapsedMs) { in makeTimeCheckStatsForClassMethod()
302 }, {} /* timeoutDuration */, {} /* secondChanceDuration */, false /* crashOnTimeout */); in makeTimeCheckStatsForClassMethod()
/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_client.cpp146 bool BufferHubQueue::WaitForBuffers(int timeout) { in WaitForBuffers()
362 Status<std::shared_ptr<BufferHubBase>> BufferHubQueue::Dequeue(int timeout, in Dequeue()
580 int timeout, size_t* slot, LocalHandle* release_fence) { in Dequeue()
586 int timeout, size_t* slot, DvrNativeBufferMetadata* out_meta, in Dequeue()
755 int timeout, size_t* slot, void* meta, size_t user_metadata_size, in Dequeue()
784 int timeout, size_t* slot, DvrNativeBufferMetadata* out_meta, in Dequeue()

12345678910>>...12