HomeSort by relevance Sort by last modified time
    Searched refs:Timeout (Results 1 - 25 of 595) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/tests/autofillservice/src/android/autofillservice/cts/
Timeouts.java 25 * Timeout until framework binds / unbinds from service.
27 static final Timeout CONNECTION_TIMEOUT = new Timeout("CONNECTION_TIMEOUT", 5000, 2F, 10000);
30 * Timeout until framework unbinds from a service.
34 static final Timeout IDLE_UNBIND_TIMEOUT = new Timeout("IDLE_UNBIND_TIMEOUT", 10000, 2F, 10000);
37 * Timeout to get the expected number of fill events.
39 static final Timeout FILL_EVENTS_TIMEOUT = new Timeout("FILL_EVENTS_TIMEOUT", 5000, 2F, 10000);
42 * Timeout for expected autofill requests
    [all...]
TimeoutTest.java 46 assertThrows(IllegalArgumentException.class, ()-> new Timeout(null, 1, 2, 2));
47 assertThrows(IllegalArgumentException.class, ()-> new Timeout("", 1, 2, 2));
49 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, -1, 2, 2));
50 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 0, 2, 2));
52 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, -1, 2));
53 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 0, 2));
54 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 1, 2));
56 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 2, -1));
57 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 2, 0));
59 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 2, 2, 1))
64 final Timeout timeout = new Timeout(NAME, 1, 2, 5); local
73 final Timeout timeout = new Timeout(NAME, 1, 2, 5); local
88 final Timeout timeout = new Timeout(NAME, 1, 2, 5); local
101 final Timeout timeout = new Timeout(NAME, 100, 2, 500); local
109 final Timeout timeout = new Timeout(NAME, 100, 2, 500); local
117 final Timeout timeout = new Timeout(NAME, 100, 2, 500); local
    [all...]
RetryableException.java 27 private final Timeout mTimeout;
30 this((Timeout) null, msg);
34 this((Timeout) null, String.format(format, args));
38 this((Timeout) null, cause, String.format(format, args), cause);
41 public RetryableException(@Nullable Timeout timeout, String msg) {
43 this.mTimeout = timeout;
46 public RetryableException(@Nullable Timeout timeout, String format, Object...args) {
48 this.mTimeout = timeout;
    [all...]
  /external/nist-sip/java/javax/sip/
Timeout.java 3 public enum Timeout {
TimeoutEvent.java 4 private Timeout mTimeout;
7 Timeout timeout) {
9 mTimeout = timeout;
13 Timeout timeout) {
15 mTimeout = timeout;
18 public Timeout getTimeout() {
  /external/okhttp/okio/okio/src/main/java/okio/
ForwardingTimeout.java 21 /** A {@link Timeout} which forwards calls to another. Useful for subclassing. */
22 public class ForwardingTimeout extends Timeout {
23 private Timeout delegate;
25 public ForwardingTimeout(Timeout delegate) {
30 /** {@link Timeout} instance to which this instance is currently delegating. */
31 public final Timeout delegate() {
35 public final ForwardingTimeout setDelegate(Timeout delegate) {
41 @Override public Timeout timeout(long timeout, TimeUnit unit) method in class:ForwardingTimeout
    [all...]
Timeout.java 30 * This class offers two complementary controls to define a timeout policy.
42 public class Timeout {
44 * An empty timeout that neither tracks nor detects timeouts. Use this when
48 public static final Timeout NONE = new Timeout() {
49 @Override public Timeout timeout(long timeout, TimeUnit unit) {
53 @Override public Timeout deadlineNanoTime(long deadlineNanoTime) {
69 public Timeout() {
80 public Timeout timeout(long timeout, TimeUnit unit) { method in class:Timeout
    [all...]
Source.java 70 /** Returns the timeout for this source. */
71 Timeout timeout(); method in interface:Source
Sink.java 58 /** Returns the timeout for this sink. */
59 Timeout timeout(); method in interface:Sink
  /external/junit/src/main/java/org/junit/rules/
Timeout.java 10 * The Timeout Rule applies the same timeout to all test methods in a class:
15 * public Timeout globalTimeout= new Timeout(20);
29 * Each test is run in a new thread. If the specified timeout elapses before
34 * A specified timeout of 0 will be interpreted as not set, however tests will
40 public class Timeout implements TestRule {
41 private final long timeout; field in class:Timeout
54 * Create a {@code Timeout} instance with the timeout specifie
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
Timeout.java 20 * This class holds the remaining timeout value.
22 public class Timeout {
27 * Initialize timeout value.
30 public Timeout(long msec) {
35 * Return true if the timeout has already expired.
43 * Return the remaining timeout value.
P2pBroadcastReceiverTest.java 70 * @param msec timeout value.
72 * within the given timeout.
78 Timeout t = new Timeout(msec);
97 * @param msec timeout value
99 * established within the given timeout.
103 Timeout t = new Timeout(msec);
124 Timeout t = new Timeout(msec)
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/
SetWatchdogTimer.c 22 @param Timeout The number of seconds to set the watchdog timer to.
24 @param WatchdogCode The numeric code to log on a watchdog timer timeout
26 Loaders and operating systems may use other timeout
35 @return EFI_SUCCESS Timeout has been set
44 IN UINTN Timeout,
60 // Attempt to set the timeout
62 Status = gWatchdogTimer->SetTimerPeriod (gWatchdogTimer, MultU64x32 (Timeout, WATCHDOG_TIMER_CALIBRATE_PER_SECOND));
  /external/mockito/src/main/java/org/mockito/verification/
Timeout.java 17 * Typically, you won't use this class explicitly. Instead use timeout() method on Mockito class.
20 public class Timeout extends VerificationWrapper<VerificationOverTimeImpl> implements VerificationWithTimeout {
25 * Typically, you won't use this class explicitly. Instead use timeout() method on Mockito class.
28 public Timeout(long millis, VerificationMode delegate) {
35 Timeout(long pollingPeriodMillis, long millis, VerificationMode delegate) {
42 Timeout(long pollingPeriodMillis, VerificationMode delegate, Timer timer) {
46 Timeout(VerificationOverTimeImpl verificationOverTime) {
52 return new Timeout(wrappedVerification.copyWithVerificationMode(newVerificationMode));
  /device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
recvfrom.c 64 UINT64 Timeout;
92 // Get the timeout
102 // Compute the timeout
104 Timeout = TimeVal.tv_sec;
105 Timeout *= 1000 * 1000;
106 Timeout += TimeVal.tv_usec;
107 Timeout *= 10;
110 // The timer is only necessary if a timeout is running
115 if ( 0 != Timeout ) {
129 Timeout );
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RecvDgram/
RecvDgram.c 50 struct timeval Timeout;
65 Timeout.tv_sec = 5;
66 Timeout.tv_usec = 0;
70 &Timeout,
71 sizeof ( Timeout ));
73 Print ( L"ERROR - Unable to set the receive timeout, errno: %d\r\n", errno );
  /external/syslinux/gnu-efi/gnu-efi-3.0/lib/
event.c 75 IN UINT64 Timeout OPTIONAL
83 if (Timeout) {
95 uefi_call_wrapper(BS->SetTimer, 3, TimerEvent, TimerRelative, Timeout);
118 // No timeout... just wait on the event
132 IN UINTN Timeout,
143 PrintAt (Column, Row, String, Timeout);
150 } while (Timeout > 0);
  /prebuilts/go/darwin-x86/src/context/
net_test.go 18 if !err.Timeout() || !err.Temporary() {
19 t.Fatalf("Timeout() = %v, Temporary() = %v, want true, true", err.Timeout(), err.Temporary())
  /prebuilts/go/linux-x86/src/context/
net_test.go 18 if !err.Timeout() || !err.Temporary() {
19 t.Fatalf("Timeout() = %v, Temporary() = %v, want true, true", err.Timeout(), err.Temporary())
  /external/mockito/src/test/java/org/mockito/verification/
TimeoutTest.java 31 Timeout t = new Timeout(1, mode, timer);
45 Timeout t = new Timeout(1, mode, timer);
63 Timeout t = new Timeout(1, mode, timer);
77 Timeout t = new Timeout(10, mode, timer);
  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/
UsbMassCbi.c 167 @param Timeout The time to wait the command to finish
178 IN UINT32 Timeout
198 Timeout = Timeout / USB_MASS_1_MILLISECOND;
211 Timeout,
244 @param Timeout The time to wait for the command to execute
257 IN UINT32 Timeout
288 Timeout = Timeout / USB_MASS_1_MILLISECOND;
307 Timeout,
    [all...]
UsbMassBot.c 166 UINTN Timeout;
185 Timeout = USB_BOT_SEND_CBW_TIMEOUT / USB_MASS_1_MILLISECOND;
195 Timeout,
225 @param Timeout The time to wait the command to complete
239 IN UINT32 Timeout
263 Timeout = Timeout / USB_MASS_1_MILLISECOND;
270 Timeout,
325 UINTN Timeout;
331 Timeout = USB_BOT_RECV_CSW_TIMEOUT / USB_MASS_1_MILLISECOND;
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
icmpapi.h 16 DWORD WINAPI IcmpSendEcho(HANDLE IcmpHandle,IPAddr DestinationAddress,LPVOID RequestData,WORD RequestSize,PIP_OPTION_INFORMATION RequestOptions,LPVOID ReplyBuffer,DWORD ReplySize,DWORD Timeout);
19 DWORD WINAPI IcmpSendEcho2(HANDLE IcmpHandle,HANDLE Event,PIO_APC_ROUTINE ApcRoutine,PVOID ApcContext,IPAddr DestinationAddress,LPVOID RequestData,WORD RequestSize,PIP_OPTION_INFORMATION RequestOptions,LPVOID ReplyBuffer,DWORD ReplySize,DWORD Timeout);
20 DWORD WINAPI Icmp6SendEcho2(HANDLE IcmpHandle,HANDLE Event,PIO_APC_ROUTINE ApcRoutine,PVOID ApcContext,struct sockaddr_in6 *SourceAddress,struct sockaddr_in6 *DestinationAddress,LPVOID RequestData,WORD RequestSize,PIP_OPTION_INFORMATION RequestOptions,LPVOID ReplyBuffer,DWORD ReplySize,DWORD Timeout);
22 DWORD WINAPI IcmpSendEcho2(HANDLE IcmpHandle,HANDLE Event,FARPROC ApcRoutine,PVOID ApcContext,IPAddr DestinationAddress,LPVOID RequestData,WORD RequestSize,PIP_OPTION_INFORMATION RequestOptions,LPVOID ReplyBuffer,DWORD ReplySize,DWORD Timeout);
23 DWORD WINAPI Icmp6SendEcho2(HANDLE IcmpHandle,HANDLE Event,FARPROC ApcRoutine,PVOID ApcContext,struct sockaddr_in6 *SourceAddress,struct sockaddr_in6 *DestinationAddress,LPVOID RequestData,WORD RequestSize,PIP_OPTION_INFORMATION RequestOptions,LPVOID ReplyBuffer,DWORD ReplySize,DWORD Timeout);
  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciDxe/
EhciReg.c 220 @param Timeout The time to wait before abort (in millisecond).
232 IN UINT32 Timeout
237 for (Index = 0; Index < Timeout / EHC_SYNC_POLL_INTERVAL + 1; Index++) {
264 UINT32 TimeOut;
278 TimeOut = 40;
279 while (TimeOut-- != 0) {
300 @param Timeout The time to wait before abort (in millisecond, ms).
309 IN UINT32 Timeout
317 Status = EhcWaitOpRegBit (Ehc, EHC_USBSTS_OFFSET, USBSTS_IAA, TRUE, Timeout);
354 @param Timeout The time to wait before abort (in millisecond, ms).
    [all...]
  /device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
BluetoothHc.h 37 @param Timeout Indicating the transfer should be completed within this time frame. The units are
38 in milliseconds. If Timeout is 0, then the caller must wait for the function to
46 @retval EFI_TIMEOUT Sending HCI command packet fail due to timeout.
56 IN UINTN Timeout
67 @param Timeout Indicating the transfer should be completed within this time frame. The units are
68 in milliseconds. If Timeout is 0, then the caller must wait for the function to
76 @retval EFI_TIMEOUT Receiving HCI event packet fail due to timeout.
86 IN UINTN Timeout
143 @param Timeout Indicating the transfer should be completed within this time frame. The units are
144 in milliseconds. If Timeout is 0, then the caller must wait for the function to
    [all...]

Completed in 473 milliseconds

1 2 3 4 5 6 7 8 91011>>