HomeSort by relevance Sort by last modified time
    Searched defs:timeout (Results 151 - 175 of 1817) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/
3-1.c 12 * unlock the lock, this wait shall be terminate when the specified timeout expires.
40 #define TIMEOUT 3
59 struct timespec timeout, ts; local
74 timeout.tv_sec = currsec1.tv_sec + TIMEOUT;
75 timeout.tv_nsec = currsec1.tv_usec * 1000;
77 printf("thread: attempt timed write lock, %d secs\n", TIMEOUT);
78 rc = pthread_rwlock_timedwrlock(&rwlock, &timeout);
135 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT);
173 /* If the shared data is not altered by child after TIMEOUT*2 seconds
    [all...]
  /external/okhttp/okio/okio/src/test/java/okio/
MockSink.java 61 @Override public Timeout timeout() { method in class:MockSink
62 log.add("timeout()");
63 return Timeout.NONE;
AsyncTimeoutTest.java 37 private final List<Timeout> timedOut = new CopyOnWriteArrayList<Timeout>();
44 a.timeout( 250, TimeUnit.MILLISECONDS);
45 b.timeout( 500, TimeUnit.MILLISECONDS);
46 c.timeout( 750, TimeUnit.MILLISECONDS);
47 d.timeout(1000, TimeUnit.MILLISECONDS);
51 AsyncTimeout timeout = new RecordingAsyncTimeout(); local
52 timeout.timeout(0, TimeUnit.MILLISECONDS);
53 timeout.enter()
135 RecordingAsyncTimeout timeout = new RecordingAsyncTimeout(); local
144 RecordingAsyncTimeout timeout = new RecordingAsyncTimeout(); local
154 RecordingAsyncTimeout timeout = new RecordingAsyncTimeout(); local
164 RecordingAsyncTimeout timeout = new RecordingAsyncTimeout(); local
174 RecordingAsyncTimeout timeout = new RecordingAsyncTimeout(); local
192 AsyncTimeout timeout = new AsyncTimeout(); local
213 AsyncTimeout timeout = new AsyncTimeout(); local
234 AsyncTimeout timeout = new AsyncTimeout(); local
252 AsyncTimeout timeout = new AsyncTimeout(); local
    [all...]
  /frameworks/base/tests/testables/src/android/testing/
AndroidTestingRunner.java 49 // Can't seem to get reference to timeout parameter from here, so set default to 10 mins.
75 long timeout = this.getTimeout(method.getAnnotation(Test.class)); local
76 if (timeout <= 0L && mTimeout > 0L) {
77 timeout = mTimeout;
80 return timeout <= 0L ? next : new FailOnTimeout(next, timeout);
84 return annotation == null ? 0L : annotation.timeout();
  /frameworks/native/cmds/lshal/
Timeout.h 64 bool timeout(std::chrono::duration<R, P> delay, std::function<void(void)> &&func) { function in namespace:android::lshal
88 bool success = timeout(wait, [&ret, &boundFunc] {
  /frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
CtsMockitoUtils.java 31 public static VerificationMode within(long timeout) {
32 return new Within(timeout);
39 public Within(long timeout) {
40 mTimeout = timeout;
45 long timeout = mTimeout; local
49 while (timeout > 0) {
57 // Found our match within our timeout. Mark all invocations as verified
67 timeout -= TIME_SLICE;
  /prebuilts/go/darwin-x86/src/os/
error.go 22 type timeout interface { type
23 Timeout() bool
35 // Timeout reports whether this error represents a timeout.
36 func (e *PathError) Timeout() bool {
37 t, ok := e.Err.(timeout)
38 return ok && t.Timeout()
49 // Timeout reports whether this error represents a timeout.
50 func (e *SyscallError) Timeout() bool
    [all...]
  /prebuilts/go/linux-x86/src/os/
error.go 22 type timeout interface { type
23 Timeout() bool
35 // Timeout reports whether this error represents a timeout.
36 func (e *PathError) Timeout() bool {
37 t, ok := e.Err.(timeout)
38 return ok && t.Timeout()
49 // Timeout reports whether this error represents a timeout.
50 func (e *SyscallError) Timeout() bool
    [all...]
  /system/bt/service/common/bluetooth/
advertise_settings.h 64 AdvertiseSettings(Mode mode, base::TimeDelta timeout,
78 const base::TimeDelta& timeout() const { return timeout_; } function in class:bluetooth::AdvertiseSettings
  /system/core/debuggerd/tombstoned/
intercept_manager.cpp 59 reason = "due to timeout";
89 LOG(WARNING) << "tombstoned didn't receive InterceptRequest before timeout";
163 struct timeval timeout = { .tv_sec = 10, .tv_usec = 0 }; local
164 event_add(intercept->intercept_event, &timeout);
179 struct timeval timeout = { 1, 0 }; local
184 event_add(intercept_event, &timeout);
  /system/extras/slideshow/
slideshow.cpp 81 LOGE("usage: slideshow [-t timeout] image.png [image2.png ...] last.png\n");
90 long int timeout = NEXT_TIMEOUT_MS; local
96 timeout = strtol(optarg, NULL, 0);
98 if (timeout < 0 || timeout >= LONG_MAX) {
99 timeout = NEXT_TIMEOUT_MS;
100 LOGE("invalid timeout %s, defaulting to %ld\n", optarg,
101 timeout);
120 * timeout or user input */
126 long int timeout_remaining = timeout;
    [all...]
  /system/extras/tests/timetest/
rtc_test.cpp 105 int timeout; local
106 for (timeout = timeout_num; timeout && (roll.tm_year == save.tm_year); --timeout) {
143 for (timeout = timeout_num; timeout && (roll.tm_year == tm.tm_year); --timeout) {
148 EXPECT_LT(timeout_num * 5 / 100, timeout);
149 EXPECT_GT(timeout_num * 95 / 100, timeout);
  /system/media/audio_utils/tests/
fifo_multiprocess.cpp 166 struct timespec timeout = { local
170 const ssize_t actual = reader.read(&value, 1, &timeout);
  /system/netd/server/
NetlinkListener.cpp 111 const double timeout = 3600; local
113 ASSIGN_OR_RETURN(auto revents, sys.ppoll(fds, events, timeout));
  /system/update_engine/update_manager/
evaluation_context.cc 106 Time EvaluationContext::MonotonicDeadline(TimeDelta timeout) {
107 return (timeout.is_max() ? Time::Max() :
108 clock_->GetMonotonicTime() + timeout);
180 TimeDelta timeout = std::min( local
194 timeout = std::min(timeout, it.first->GetPollInterval());
204 if (!waiting_for_value_change && timeout.is_max())
207 // Ensure that we take into account the expiration timeout.
209 timeout_marks_expiration_ = expiration < timeout;
211 timeout = expiration
    [all...]
  /bionic/libc/kernel/uapi/linux/netfilter/
xt_set.h 60 __u32 timeout; member in struct:xt_set_info_target_v2
73 __u32 timeout; member in struct:xt_set_info_target_v3
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/os/
TimeoutResetActivity.java 30 * Activity resets the screen timeout to its original timeout. Used devices without Device Admin.
34 /** Set the timeout to the default to reset the activity to if not specified. */
37 * Empirically determined buffer time in milliseconds between setting short timeout time and
38 * resetting the timeout.
41 /** Short timeout to trigger screen off. */
59 private static void setUserActivityTimeout(WindowManager.LayoutParams params, long timeout) {
61 getUserActivityTimeoutField(params).setLong(params, timeout);
62 Log.d(TAG, "UserActivityTimeout set to " + timeout);
75 // to restore timeout after shutof
101 long timeout = getIntent().getLongExtra(EXTRA_OLD_TIMEOUT, FALLBACK_TIMEOUT); local
    [all...]
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
TestUtils.java 56 * Wait until {@code predicate} is satisfied, or fail, with a given timeout.
65 final long timeout = SystemClock.uptimeMillis() + timeoutSecond * 1000; local
66 while (SystemClock.uptimeMillis() < timeout) {
74 failWithLog("Timeout: " + message);
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
ContactsContract_DirectoryTest.java 73 final long timeout = SystemClock.elapsedRealtime() + DIRECTORY_WAIT_TIMEOUT_SEC * 1000; local
75 while (SystemClock.elapsedRealtime() < timeout) {
  /cts/tests/tests/view/src/android/view/cts/
LongPressBackTest.java 71 long timeout = ViewConfiguration.get(mActivity).getDeviceGlobalActionKeyTimeout(); local
72 SystemClock.sleep(timeout + 500);
  /device/google/marlin/dataservices/datatop/src/
datatop.c 92 struct timeval tv, timeout; local
124 timeout.tv_sec = usr_cl_opts.poll_per;
125 timeout.tv_usec = 0;
126 //ftime is right before timeout calculations for most acurate calculations
129 timersub(&timeout,&polltime, &timeout);
130 inp = select(1, &rfds, NULL, NULL, &timeout);
  /device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/Phy/MvPhyDxe/
MvPhyDxe.c 50 #define TIMEOUT 500
71 INTN timeout = TIMEOUT; local
77 while ((Reg & BMCR_RESET) && timeout--) {
191 DEBUG((DEBUG_ERROR," TIMEOUT !\n"));
319 DEBUG((DEBUG_ERROR, "timeout\n"));
  /device/linaro/hikey/bluetooth/
async_fd_watcher.cc 50 const std::chrono::milliseconds timeout,
52 // Add timeout and callback
56 timeout_ms_ = timeout;
125 struct timeval timeout; local
128 timeout.tv_sec = timeout_ms_.count() / 1000;
129 timeout.tv_usec = (timeout_ms_.count() % 1000) * 1000;
130 timeout_ptr = &timeout;
140 // Timeout.
142 // Allow the timeout callback to modify the timeout
    [all...]
  /external/adhd/cras/src/server/
cras_dbus.c 82 struct DBusTimeout *timeout = data; local
88 dbus_timeout_get_interval(timeout),
89 dbus_timeout_callback, timeout);
90 dbus_timeout_set_data(timeout, t, NULL);
92 if (!dbus_timeout_handle(timeout))
93 syslog(LOG_WARNING, "Failed to handle D-Bus timeout.");
96 static dbus_bool_t dbus_timeout_add(DBusTimeout *timeout, void *arg)
99 struct cras_timer *t = dbus_timeout_get_data(timeout);
102 dbus_timeout_set_data(timeout, NULL, NULL);
106 if (dbus_timeout_get_enabled(timeout)) {
    [all...]
  /external/adhd/cras/src/tests/
file_wait_unittest.cc 55 struct timespec timeout = {0, 100000000}; local
82 EXPECT_EQ(1, cras_poll(&poll_fd, 1, &timeout, NULL));
101 struct timespec timeout = {0, 100000000}; local
160 EXPECT_EQ(1, cras_poll(&poll_fd, 1, &timeout, NULL));
170 timeout.tv_sec = 0;
171 timeout.tv_nsec = 100000000;
172 EXPECT_EQ(1, cras_poll(&poll_fd, 1, &timeout, NULL));
179 timeout.tv_sec = 0;
180 timeout.tv_nsec = 100000000;
181 EXPECT_EQ(1, cras_poll(&poll_fd, 1, &timeout, NULL))
    [all...]

Completed in 594 milliseconds

1 2 3 4 5 67 8 91011>>