HomeSort by relevance Sort by last modified time
    Searched defs:timeoutMs (Results 1 - 25 of 475) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/tests/net/java/com/android/internal/util/
TestUtils.java 30 * Block until the given Handler thread becomes idle, or until timeoutMs has passed.
32 public static void waitForIdleHandler(HandlerThread handlerThread, long timeoutMs) {
33 waitForIdleHandler(handlerThread.getThreadHandler(), timeoutMs);
37 * Block until the given Looper becomes idle, or until timeoutMs has passed.
39 public static void waitForIdleLooper(Looper looper, long timeoutMs) {
40 waitForIdleHandler(new Handler(looper), timeoutMs);
44 * Block until the given Handler becomes idle, or until timeoutMs has passed.
46 public static void waitForIdleHandler(Handler handler, long timeoutMs) {
49 if (!cv.block(timeoutMs)) {
50 fail(handler.toString() + " did not become idle after " + timeoutMs + " ms")
    [all...]
  /frameworks/base/services/net/java/android/net/util/
NetdService.java 83 long timeoutMs = 0;
94 timeoutMs = Math.min(timeoutMs + BASE_TIMEOUT_MS, MAX_TIMEOUT_MS);
95 timeoutMs = Math.min(timeoutMs, remaining);
97 Thread.sleep(timeoutMs);
  /frameworks/base/cmds/incidentd/src/
Section.h 42 const int64_t timeoutMs; // each section must have a timeout
47 Section(int id, int64_t timeoutMs = REMOTE_CALL_TIMEOUT_MS, bool userdebugAndEngOnly = false,
82 int64_t timeoutMs = 5000 /* 5 seconds */);
112 WorkerThreadSection(int id, int64_t timeoutMs = REMOTE_CALL_TIMEOUT_MS,
126 CommandSection(int id, int64_t timeoutMs, const char* command, ...);
176 TombstoneSection(int id, const char* type, int64_t timeoutMs = 30000 /* 30 seconds */);
  /frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/
StateWaiter.java 91 * @param timeoutMs how long to wait in milliseconds
97 public void waitForState(int state, long timeoutMs) {
100 waitForAnyOfStates(Arrays.asList(stateArray), timeoutMs);
112 * @param timeoutMs how long to wait in milliseconds
120 public int waitForAnyOfStates(Collection<Integer> states, final long timeoutMs) {
136 long timeoutLeft = timeoutMs;
160 s.append(timeoutMs);
  /external/volley/src/main/java/com/android/volley/toolbox/
HttpClientStack.java 86 int timeoutMs = request.getTimeoutMs();
90 HttpConnectionParams.setSoTimeout(httpParams, timeoutMs);
HurlStack.java 181 int timeoutMs = request.getTimeoutMs();
182 connection.setConnectTimeout(timeoutMs);
183 connection.setReadTimeout(timeoutMs);
  /frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
BlockingSessionCallback.java 134 * @param timeoutMs how many milliseconds to wait for
137 * @throws TimeoutRuntimeException if waiting for more than {@long timeoutMs}
139 public CameraCaptureSession waitAndGetSession(long timeoutMs) {
141 return mSessionFuture.get(timeoutMs, TimeUnit.MILLISECONDS);
144 String.format("Failed to get session after %s milliseconds", timeoutMs), e);
228 * @param timeoutMs how many milliseconds to wait for
230 * @throws TimeoutRuntimeException if waiting for more than {@long timeoutMs}
233 CameraCaptureSession session, Surface surface, long timeoutMs) {
240 long waitTimeRemaining = timeoutMs;
243 mPreparedSurfaces.wait(timeoutMs);
    [all...]
  /frameworks/support/compat/src/androidTest/java/androidx/core/provider/
SelfDestructiveThreadTest.java 51 private void waitUntilDestruction(SelfDestructiveThread thread, long timeoutMs) {
56 System.nanoTime() + TimeUnit.MILLISECONDS.toNanos(timeoutMs);
182 final int timeoutMs = 300;
187 waitMillis(timeoutMs * 3); // Wait longer than timeout.
190 }, timeoutMs);
  /packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DatabaseResultTask.java 147 final long timeoutMs = mFeatureProvider.smartSearchRankingTimeoutMs(mContext);
148 List<Pair<String, Float>> searchRankScores = rankerTask.get(timeoutMs,
  /system/media/audio_utils/
echo_reference.c 332 uint32_t timeoutMs = (uint32_t)((1000 * buffer->frame_count) / er->rd_sampling_rate / 2);
337 ts.tv_sec += timeoutMs/1000;
338 ts.tv_nsec += (timeoutMs%1000) * 1000000;
349 timeoutMs, er->frames_in, buffer->frame_count);
  /cts/tests/tests/widget/src/android/widget/cts/
AbsListView_ScrollTest.java 327 int timeoutMs = durationMs > 0 ? 5000 + durationMs : 5000;
329 latch.await(timeoutMs, TimeUnit.MILLISECONDS));
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
OverviewProxyService.java 315 final long timeoutMs = (long) Math.scalb(BACKOFF_MILLIS, mConnectionBackoffAttempts);
316 mHandler.postDelayed(mConnectionRunnable, timeoutMs);
319 + " will try again in " + timeoutMs + "ms");
  /frameworks/support/compat/src/main/java/androidx/core/content/res/
FontResourcesParserCompat.java 80 int timeoutMs) {
83 mTimeoutMs = timeoutMs;
199 int timeoutMs = array.getInteger(R.styleable.FontFamily_fontProviderFetchTimeout,
208 new FontRequest(authority, providerPackage, query, certs), strategy, timeoutMs);
  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityGestureDispatchTest.java 228 public void dispatch(GestureDescription gesture, int timeoutMs) {
229 await(dispatchGesture(mService, gesture), timeoutMs, MILLISECONDS);
  /cts/tests/tests/midi/src/android/midi/cts/
MidiEchoTest.java 128 * @param timeoutMs
131 public synchronized void waitForMessages(int count, int timeoutMs)
133 long endTimeMs = System.currentTimeMillis() + timeoutMs + 1;
134 long timeToWait = timeoutMs + 1;
351 final int timeoutMs = 20;
353 receiver.waitForMessages(numMessages, timeoutMs);
393 final int timeoutMs = 100;
395 receiver.waitForMessages(numMessages, timeoutMs);
455 final int timeoutMs = 500;
458 receiver.waitForMessages(messageReceivedIndex + 1, timeoutMs);
    [all...]
  /cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
AbstractRestrictBackgroundNetworkTestCase.java 220 protected String sendOrderedBroadcast(Intent intent, int timeoutMs) throws Exception {
236 final String resultData = result.poll(timeoutMs, TimeUnit.MILLISECONDS);
237 Log.d(TAG, "Ordered broadcast response after " + timeoutMs + "ms: " + resultData );
386 int timeoutMs = 500;
400 + "Sleeping " + timeoutMs + "ms before trying again");
406 SystemClock.sleep(timeoutMs);
409 timeoutMs = Math.min(timeoutMs*2, NETWORK_TIMEOUT_MS);
    [all...]
  /cts/tests/camera/src/android/hardware/camera2/cts/
CaptureRequestTest.java     [all...]
  /developers/build/prebuilts/androidtv/leanback/gradle/wrapper/
gradle-wrapper.jar 
  /developers/build/prebuilts/gradle/ActionBarCompat-Basic/gradle/wrapper/
gradle-wrapper.jar 
  /developers/build/prebuilts/gradle/ActionBarCompat-ListPopupMenu/gradle/wrapper/
gradle-wrapper.jar 
  /developers/build/prebuilts/gradle/ActionBarCompat-Styled/gradle/wrapper/
gradle-wrapper.jar 
  /developers/build/prebuilts/gradle/ActiveNotifications/gradle/wrapper/
gradle-wrapper.jar 
  /developers/build/prebuilts/gradle/ActivityInstrumentation/gradle/wrapper/
gradle-wrapper.jar 
  /developers/build/prebuilts/gradle/ActivitySceneTransitionBasic/gradle/wrapper/
gradle-wrapper.jar 
  /developers/build/prebuilts/gradle/AgendaData/gradle/wrapper/
gradle-wrapper.jar 

Completed in 901 milliseconds

1 2 3 4 5 6 7 8 91011>>