/frameworks/rs/tests/lldb/ |
H A D | run_tests.py | 208 self.timeout = int(_choice(args.timeout, config.timeout)) 519 state.timeout, 532 (util_constants.RC_TEST_TIMEOUT, ('timeout', log.error)),
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | CameraTestUtils.java | 328 * @param timeout Timeout value for the wait. 331 public Image getImage(long timeout) throws InterruptedException { argument 332 Image image = mQueue.poll(timeout, TimeUnit.MILLISECONDS); 333 assertNotNull("Wait for an image timed out in " + timeout + "ms", image); 433 public CaptureResult getCaptureResult(long timeout) { argument 434 return getTotalCaptureResult(timeout); 437 public TotalCaptureResult getCaptureResult(long timeout, long timestamp) { argument 442 result = mQueue.poll(timeout, TimeUnit.MILLISECONDS); 445 "Wait for a capture result timed out in " + timeout + "ms"); 458 public TotalCaptureResult getTotalCaptureResult(long timeout) { argument [all...] |
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerFunctionalTest.java | 84 // it is expected to timeout as download never finishes 368 long timeout = 60 * 1000; // wait only 60 seconds before giving up 384 WAIT_FOR_DOWNLOAD_POLL_TIME, timeout);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | Camera2CaptureRequestTest.java | 285 // make sure timeout is long enough for long exposure time 286 long timeout = WAIT_FOR_RESULT_TIMEOUT_MS + expTimes[i]; 287 CaptureResult result = listener.getCaptureResult(timeout);
|
/frameworks/base/services/core/java/com/android/server/job/ |
H A D | JobSchedulerShellCommand.java | 49 case "timeout": 50 return timeout(pw); 179 private int timeout(PrintWriter pw) throws Exception { method in class:JobSchedulerShellCommand 180 checkPermission("force timeout jobs"); 304 checkPermission("force timeout jobs"); 391 pw.println(" timeout [-u | --user USER_ID] [PACKAGE] [JOB_ID]"); 392 pw.println(" Trigger immediate timeout of currently executing jobs, as if their."); 393 pw.println(" execution timeout had expired.");
|
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
H A D | TextToSpeechTests.java | 248 public static void awaitCountDown(CountDownLatch latch, long timeout, TimeUnit unit) argument 250 Assert.assertTrue("Waited too long for method call", latch.await(timeout, unit));
|
/frameworks/native/include/gui/ |
H A D | Surface.h | 126 status_t setDequeueTimeout(nsecs_t timeout); 133 bool waitForNextFrame(uint64_t lastFrame, nsecs_t timeout);
|
/frameworks/native/libs/gui/include/gui/ |
H A D | Surface.h | 126 status_t setDequeueTimeout(nsecs_t timeout); 133 bool waitForNextFrame(uint64_t lastFrame, nsecs_t timeout);
|
/frameworks/native/libs/gui/tests/ |
H A D | Malicious.cpp | 86 status_t setDequeueTimeout(nsecs_t timeout) override { 87 return mProducer->setDequeueTimeout(timeout);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
H A D | WifiP2pNative.java | 388 * Initiate a P2P service discovery with a (optional) timeout. 390 * @param timeout Max time to be spent is peforming discovery. 395 public boolean p2pFind(int timeout) { argument 396 return mSupplicantP2pIfaceHal.find(timeout); 415 * timeout occurs, the Listen State operation must be skipped.
|
/frameworks/base/core/java/android/accounts/ |
H A D | AccountManager.java | 2268 private Bundle internalGetResult(Long timeout, TimeUnit unit) argument 2274 if (timeout == null) { 2277 return get(timeout, unit); 2313 public Bundle getResult(long timeout, TimeUnit unit) argument 2315 return internalGetResult(timeout, unit); 2454 private T internalGetResult(Long timeout, TimeUnit unit) argument 2460 if (timeout == null) { 2463 return get(timeout, unit); 2499 public T getResult(long timeout, TimeUnit unit) argument 2501 return internalGetResult(timeout, uni [all...] |
/frameworks/av/media/libaudioclient/ |
H A D | AudioTrack.cpp | 1631 struct timespec timeout; local 1638 timeout.tv_sec = ms / 1000; 1639 timeout.tv_nsec = (int) (ms % 1000) * 1000000; 1640 requested = &timeout; 1710 // FIXME starts the requested timeout and elapsed over from scratch 1957 struct timespec timeout; local 1958 timeout.tv_sec = WAIT_STREAM_END_TIMEOUT_SEC; 1959 timeout.tv_nsec = 0; 1961 status_t status = proxy->waitStreamEndDone(&timeout); 2077 struct timespec timeout; local [all...] |
/frameworks/native/cmds/dumpstate/ |
H A D | dumpstate.cpp | 245 if (ds.AddZipEntryFromFd(ZIP_ROOT_DIR + name, fd, /* timeout = */ 0ms) != OK) { 360 MYLOGE("Failed to stat %s or trace creation timeout\n", trace_path); 667 /* bugreport timeout factor adjustment */ 677 /* timeout in ms to read a list of buffers */ 733 std::chrono::milliseconds timeout = 0ms) { 762 auto end = start + timeout; 767 if (timeout.count() > 0) { 768 // lambda to recalculate the timeout. 782 entry_name.c_str(), strerror(errno), timeout.count()); 890 // calculate timeout 1108 RunDumpsysTextByPriority(const std::string& title, int priority, std::chrono::milliseconds timeout, std::chrono::milliseconds service_timeout) argument 1145 RunDumpsysText(const std::string& title, int priority, std::chrono::milliseconds timeout, std::chrono::milliseconds service_timeout) argument 1155 RunDumpsysTextNormalPriority(const std::string& title, std::chrono::milliseconds timeout, std::chrono::milliseconds service_timeout) argument 1167 RunDumpsysProto(const std::string& title, int priority, std::chrono::milliseconds timeout, std::chrono::milliseconds service_timeout) argument [all...] |
/frameworks/av/services/camera/libcameraservice/utils/ |
H A D | ClientManager.h | 327 * Block until the given client is no longer in the active clients list, or the timeout 330 * Returns NO_ERROR if this succeeded, -ETIMEDOUT on a timeout, or a negative error code on 334 nsecs_t timeout) const; 622 nsecs_t timeout) const { 628 // Figure out what time in the future we should hit the timeout 629 nsecs_t failTime = systemTime(SYSTEM_TIME_MONOTONIC) + timeout; 640 ret = mRemovedCondition.waitRelative(mLock, timeout); 644 timeout = failTime - systemTime(SYSTEM_TIME_MONOTONIC);
|
/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 671 * Retransmits packets using jittered exponential backoff with an optional timeout. Packet 673 * sets mTimeout to a positive value, then timeout() is called by an AlarmManager alarm mTimeout 679 * sent by the receive thread. They may also set mTimeout and implement timeout. 706 timeout(); 722 protected void timeout() {} method in class:DhcpClient.PacketRetransmittingState 736 long timeout = jitterTimer(mTimer); 737 long alarmTime = now + timeout; 815 protected void timeout() { method in class:DhcpClient.DhcpRequestingState [all...] |
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | AppIdleHistory.java | 130 // When should the bucket active state timeout, in elapsed timebase, if greater than 136 // under any active state timeout, so that it becomes applicable after the active state 137 // timeout expires. 217 * Mark the app as used and update the bucket if necessary. If there is a timeout specified 219 * bucket at least until the timeout is reached. This can be used to keep the app in an 226 * @param timeout set the timeout of the specified bucket, if non-zero. Can only be used 231 int newBucket, int usageReason, long elapsedRealtime, long timeout) { 232 // Set the timeout if applicable 233 if (timeout > elapsedRealtim 230 reportUsage(AppUsageHistory appUsageHistory, String packageName, int newBucket, int usageReason, long elapsedRealtime, long timeout) argument 281 reportUsage(String packageName, int userId, int newBucket, int usageReason, long nowElapsed, long timeout) argument [all...] |
/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 | 75 // registration timeout 357 int timeout, int status) { 361 + " timeout=" + timeout + " status=" + status); 368 timeout, status);
|
/frameworks/base/core/java/android/provider/ |
H A D | FontsContract.java | 353 final AtomicBoolean timeout = new AtomicBoolean(false); 370 if (!timeout.get()) { 397 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/SystemUI/src/com/android/systemui/volume/ |
H A D | CarVolumeDialogImpl.java | 224 final int timeout = computeTimeoutH(); 226 .obtainMessage(H.DISMISS, Events.DISMISS_REASON_TIMEOUT, 0), timeout); 229 Log.d(TAG, "rescheduleTimeout " + timeout + " " + Debug.getCaller());
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | InputMonitor.java | 223 * Returns a new timeout to continue waiting in nanoseconds, or 0 to abort dispatch. 270 // Notify the activity manager about the timeout and let it decide whether 278 // Wait a bit longer and timeout again later. 283 // Notify the activity manager about the timeout and let it decide whether 285 long timeout = ActivityManager.getService().inputDispatchingTimedOut( 287 if (timeout >= 0) { 289 // Wait a bit longer and timeout again later. 290 return timeout * 1000000L; // nanoseconds
|
/frameworks/support/compat/src/main/java/androidx/core/provider/ |
H A D | FontsContractCompat.java | 232 final @Nullable Handler handler, boolean isBlockingFetch, int timeout, 243 if (isBlockingFetch && timeout == FontResourcesParserCompat.INFINITE_TIMEOUT_VALUE) { 269 return sBackgroundThread.postAndWait(fetcher, timeout).mTypeface; 230 getFontSync(final Context context, final FontRequest request, final @Nullable ResourcesCompat.FontCallback fontCallback, final @Nullable Handler handler, boolean isBlockingFetch, int timeout, final int style) argument
|
/frameworks/native/libs/gui/ |
H A D | IGraphicBufferProducer.cpp | 423 virtual status_t setDequeueTimeout(nsecs_t timeout) { argument 426 data.writeInt64(timeout); 629 status_t setDequeueTimeout(nsecs_t timeout) override { 630 return mBase->setDequeueTimeout(timeout); 931 nsecs_t timeout = data.readInt64(); local 932 status_t result = setDequeueTimeout(timeout);
|
/frameworks/base/core/java/android/app/ |
H A D | IApplicationThread.aidl | 120 void scheduleTranslucentConversionComplete(IBinder token, boolean timeout);
|