/frameworks/base/services/java/com/android/server/ |
Watchdog.java | 391 long timeout = TIME_TO_WAIT; local 395 // to timeout on is asleep as well and won't have a chance to run, causing a false 398 while (timeout > 0 && !mForceKillSystem) { 400 wait(timeout); // notifyAll() is called when mForceKillSystem is set 404 timeout = TIME_TO_WAIT - (SystemClock.uptimeMillis() - start);
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
ReliabilityTestActivity.java | 43 public static final String PARAM_TIMEOUT = "Timeout"; 119 private void navigate(String url, int timeout) { 132 if(timeout != 0) { 133 //set a timer with specified timeout (in ms) 135 timeout); local 163 Log.v(LOGTAG, "Page timeout triggered, progress = " + progress); 268 Log.v(LOGTAG, "JavaScript timeout, count=" + timeoutCounter);
|
/hardware/ti/wlan/wl1271/wpa_supplicant_lib/ |
driver_ti.c | 269 int scan_type, res, timeout, scan_probe_flag = 0; local 307 timeout = 30; 308 wpa_printf(MSG_DEBUG, "Scan requested (ret=%d) - scan timeout %d sec", 309 res, timeout); 311 eloop_register_timeout(timeout, 0, wpa_driver_wext_scan_timeout, [all...] |
/libcore/luni/src/test/java/tests/java/sql/ |
QueryTimeoutTest.java | 56 * longer time than the timeout value set. Hence, this part tests getting 60 * one executes its statement with a timeout value. This way, the test ensures 72 * the threads execute their statement with a timeout value set, this is to 73 * verify that the correct statements are affected by the timeout, while the 76 * timeout. Verifies that the correct exception is thrown. 77 * 4. Tests that the query timeout value is not forgotten after the execution of a statement. 84 private static final int TIMEOUT = 1; // In seconds 209 * table before returning. This is necessary since timeout is checked 211 * read, the query still has not exceeded the timeout. 225 private int timeout; field in class:QueryTimeoutTest.StatementExecutor 462 int timeout = (i % 2 == 0) ? TIMEOUT : 0; local 491 int timeout = (i % 2 == 0) ? TIMEOUT : 0; local [all...] |
/libcore/sqlite-jdbc/src/main/java/SQLite/JDBC2z/ |
JDBCConnection.java | 41 * Timeout for Database.exec() 43 protected int timeout = 1000000; field in class:JDBCConnection 61 * Base time value for timeout handling. 81 if (t1 - t0 > timeout) { 100 if (t1 - t0 > timeout) { 480 public boolean isValid(int timeout) throws SQLException {
|
/libcore/support/src/test/java/tests/support/ |
Support_TestWebServer.java | 46 /* timeout on client connections */ 47 int timeout = 0; field in class:Support_TestWebServer 49 /* Default socket timeout value */ 63 /* timeout on client connections */ 97 * Initialize a new server with default port and timeout. 105 * Initialize a new server with default timeout. 115 * Initialize a new server with default timeout and disabled log. 128 * Initialize a new server with default port and timeout. 131 * @param timeout Indicates the period of time to wait until a socket is 135 public int initServer(int port, int timeout, boolean log) throws Exception [all...] |
/packages/apps/Email/src/org/apache/commons/io/ |
FileUtils.java | 1068 int timeout = 0; local [all...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SkbContainer.java | 172 * Used to timeout a press if user holds the key for a long time. 559 * When user presses a key for a long time, the timeout interval to 566 * {@link #LONG_PRESS_KEYNUM1} key events, this timeout interval will be 573 * {@link #LONG_PRESS_KEYNUM2} key events, this timeout interval will be 580 * {@link #LONG_PRESS_KEYNUM1} key events, timeout interval 587 * {@link #LONG_PRESS_KEYNUM2} key events, timeout interval 624 long timeout; local 626 timeout = LONG_PRESS_TIMEOUT1; 628 timeout = LONG_PRESS_TIMEOUT2; 630 timeout = LONG_PRESS_TIMEOUT3 [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/scsi/ |
sg.h | 55 unsigned int timeout; /* [i] MAX_UINT->no timeout (unit: millisec) */ member in struct:sg_io_hdr 253 #define SG_SET_TIMEOUT 0x2201 /* Set timeout; *(int *)arg==timeout. */ 254 #define SG_GET_TIMEOUT 0x2202 /* Get timeout; return timeout. */
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/ |
msm_kgsl.h | 96 unsigned int timeout; member in struct:kgsl_device_waittimestamp
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/ |
msm_kgsl.h | 96 unsigned int timeout; member in struct:kgsl_device_waittimestamp
|
/system/core/debuggerd/ |
debuggerd.c | 665 extern int get_event(struct input_event* event, int timeout); 698 int timeout = abs((int)(codes[s])) * ms; local 699 int res = get_event(&e, timeout);
|
/system/core/init/ |
init.c | 734 int nr, i, timeout = -1; local 762 timeout = (process_needs_restart - gettime()) * 1000; 763 if (timeout < 0) 764 timeout = 0; 768 timeout = 0; 772 if (timeout < 0 || timeout > BOOTCHART_POLLING_MS) 773 timeout = BOOTCHART_POLLING_MS; 781 nr = poll(ufds, fd_count, timeout);
|
/system/core/logcat/ |
logcat.cpp | 269 timeval timeout = { 0, 5000 /* 5ms */ }; // If we oversleep it's ok, i.e. ignore EINTR. local 274 result = select(max + 1, &readset, NULL, NULL, sleep ? NULL : &timeout); 308 // we did our short timeout trick and there's nothing new
|
/system/wlan/ti/wilink_6_1/wpa_supplicant_lib/ |
driver_ti.c | 269 int scan_type, res, timeout, scan_probe_flag = 0; local 307 timeout = 30; 308 wpa_printf(MSG_DEBUG, "Scan requested (ret=%d) - scan timeout %d sec", 309 res, timeout); 311 eloop_register_timeout(timeout, 0, wpa_driver_wext_scan_timeout, [all...] |
/bionic/libc/kernel/common/linux/ |
fd.h | 102 unsigned long timeout; member in struct:floppy_drive_params
|
/bionic/libc/kernel/common/linux/sunrpc/ |
xprt.h | 99 struct rpc_timeout timeout; member in struct:rpc_xprt
|
/development/ndk/platforms/android-3/include/linux/ |
fd.h | 102 unsigned long timeout; member in struct:floppy_drive_params
|
/development/ndk/platforms/android-3/include/linux/sunrpc/ |
xprt.h | 99 struct rpc_timeout timeout; member in struct:rpc_xprt
|
/external/apache-http/src/org/apache/http/impl/client/ |
DefaultRequestDirector.java | 296 long timeout = ConnManagerParams.getTimeout(params); local 325 managedConn = connRequest.getConnection(timeout, TimeUnit.MILLISECONDS); [all...] |
/external/bluetooth/bluez/tools/ |
hciconfig.c | 1340 unsigned int timeout; local 1343 if (sscanf(opt,"%5u", &timeout) != 1) { 1353 cp.timeout = htobs((uint16_t) timeout); 1355 if (timeout < 0x01 || timeout > 0xFFFF) 1356 printf("Warning: page timeout out of range!\n"); 1359 fprintf(stderr, "Can't set page timeout on hci%d: %s (%d)\n", 1364 uint16_t timeout; local 1373 fprintf(stderr, "Can't read page timeout on hci%d: %s (%d)\n" [all...] |
/external/bluetooth/hcidump/parser/ |
lmp.c | 507 uint16_t timeout = LMP_U16(frm); local 519 printf("sniff timeout %d\n", timeout); 938 uint16_t timeout = LMP_U16(frm); local 941 printf("supervision timeout %d\n", timeout); 1096 uint16_t timeout = LMP_U16(frm); local 1103 printf("min sniff timeout %d\n", timeout);
|
/external/dbus/bus/ |
activation.c | 35 #include <dbus/dbus-timeout.h> 94 DBusTimeout *timeout; member in struct:__anon3138 142 handle_timeout_callback (DBusTimeout *timeout, 147 while (!dbus_timeout_handle (pending_activation->timeout)) 177 pending_activation->timeout, 182 if (pending_activation->timeout) 183 _dbus_timeout_unref (pending_activation->timeout); 836 _dbus_verbose ("Restoring pending activation for service %s, has timeout = %d\n", [all...] |
connection.c | 33 #include <dbus/dbus-timeout.h> 57 DBusTimeout *expire_timeout; /**< Timeout for expiring incomplete connections. */ 241 _dbus_assert_not_reached ("setting timeout functions to NULL failed"); 327 connection_timeout_callback (DBusTimeout *timeout, 333 dbus_timeout_handle (timeout); 337 add_connection_timeout (DBusTimeout *timeout, 343 timeout, connection_timeout_callback, connection, NULL); 347 remove_connection_timeout (DBusTimeout *timeout, 353 timeout, connection_timeout_callback, connection); local 413 call_timeout_callback (DBusTimeout *timeout, [all...] |
/external/dhcpcd/ |
client.c | 135 struct timeval timeout; member in struct:if_state 438 * We just set the timeout to 1 second. */ 485 timerclear(&state->timeout); 581 if (options->timeout > 0 && 585 state->stop.tv_sec = options->timeout; 589 state->exit.tv_sec = options->timeout; 652 timeval_to_double(&state->timeout)); 687 timerclear(&state->timeout); 688 /* We need to set a timeout so we fall through gracefully */ 724 if (timerisset(&state->timeout)) { [all...] |