OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:timeoutmillis
(Results
1 - 25
of
178
) sorted by null
1
2
3
4
5
6
7
8
/external/droiddriver/src/io/appium/droiddriver/actions/
BaseAction.java
23
private final long
timeoutMillis
;
27
return
timeoutMillis
;
30
protected BaseAction(long
timeoutMillis
) {
31
this.
timeoutMillis
=
timeoutMillis
;
ClickAction.java
38
public DoubleClick(long
timeoutMillis
) {
39
super(
timeoutMillis
);
51
public LongClick(long
timeoutMillis
) {
52
super(
timeoutMillis
);
67
public SingleClick(long
timeoutMillis
) {
68
super(
timeoutMillis
);
83
protected ClickAction(long
timeoutMillis
) {
84
super(
timeoutMillis
);
EventAction.java
27
protected EventAction(long
timeoutMillis
) {
28
super(
timeoutMillis
);
KeyAction.java
28
protected KeyAction(long
timeoutMillis
, boolean checkFocused) {
29
super(
timeoutMillis
);
TextAction.java
45
* Defaults
timeoutMillis
to 100.
51
public TextAction(String text, long
timeoutMillis
, boolean checkFocused) {
52
super(
timeoutMillis
, checkFocused);
/external/droiddriver/src/io/appium/droiddriver/base/
DefaultPoller.java
36
private long
timeoutMillis
= 10000;
51
return
timeoutMillis
;
55
public void setTimeoutMillis(long
timeoutMillis
) {
56
this.
timeoutMillis
=
timeoutMillis
;
61
return pollFor(driver, finder, checker,
timeoutMillis
);
66
long
timeoutMillis
) {
67
long end = SystemClock.uptimeMillis() +
timeoutMillis
;
93
"Timed out after %d milliseconds waiting for %s %s",
timeoutMillis
, finder, checker));
/external/droiddriver/src/io/appium/droiddriver/actions/accessibility/
AccessibilityClickAction.java
35
protected AccessibilityClickAction(long
timeoutMillis
) {
36
super(
timeoutMillis
);
40
public DoubleClick(long
timeoutMillis
) {
41
super(
timeoutMillis
);
51
public LongClick(long
timeoutMillis
) {
52
super(
timeoutMillis
);
66
public SingleClick(long
timeoutMillis
) {
67
super(
timeoutMillis
);
AccessibilityAction.java
30
protected AccessibilityAction(long
timeoutMillis
) {
31
super(
timeoutMillis
);
AccessibilityScrollAction.java
38
public AccessibilityScrollAction(PhysicalDirection direction, long
timeoutMillis
) {
39
super(
timeoutMillis
);
/packages/services/Telephony/tests/src/com/android/
TelephonyTestBase.java
48
protected final void waitForHandlerAction(Handler h, long
timeoutMillis
) {
53
lock.await(
timeoutMillis
, TimeUnit.MILLISECONDS);
60
protected final void waitForHandlerActionDelayed(Handler h, long
timeoutMillis
, long delayMs) {
65
lock.await(
timeoutMillis
, TimeUnit.MILLISECONDS);
/frameworks/base/core/java/android/os/
SynchronousResultReceiver.java
63
public @NonNull Result awaitResult(long
timeoutMillis
) throws TimeoutException {
64
final long deadline = System.currentTimeMillis() +
timeoutMillis
;
65
while (
timeoutMillis
>= 0) {
67
return mFuture.get(
timeoutMillis
, TimeUnit.MILLISECONDS);
74
timeoutMillis
-= deadline - System.currentTimeMillis();
SystemService.java
105
public static void waitForState(String service, State state, long
timeoutMillis
)
107
final long endMillis = SystemClock.elapsedRealtime() +
timeoutMillis
;
117
+ "; waited " +
timeoutMillis
+ "ms for " + state);
121
sPropertyLock.wait(
timeoutMillis
);
/system/core/include/utils/
Log.h
44
int
timeoutMillis
, const char* message);
64
#define ALOGD_IF_SLOW(
timeoutMillis
, message) \
65
android::LogIfSlow _logIfSlow(LOG_TAG, ANDROID_LOG_DEBUG,
timeoutMillis
, message);
/frameworks/base/native/android/
looper.cpp
52
int ALooper_pollOnce(int
timeoutMillis
, int* outFd, int* outEvents, void** outData) {
60
return looper->pollOnce(
timeoutMillis
, outFd, outEvents, outData);
63
int ALooper_pollAll(int
timeoutMillis
, int* outFd, int* outEvents, void** outData) {
71
return looper->pollAll(
timeoutMillis
, outFd, outEvents, outData);
/external/droiddriver/src/io/appium/droiddriver/actions/view/
ViewAction.java
30
protected ViewAction(long
timeoutMillis
) {
31
super(
timeoutMillis
);
CloseKeyboardAction.java
42
/** Defaults
timeoutMillis
to 2000 */
48
* @param
timeoutMillis
the value returned by {@link #getTimeoutMillis}
52
public CloseKeyboardAction(long
timeoutMillis
, long keyboardDismissalDelayMillis) {
53
super(
timeoutMillis
);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
HttpUrlConnectionBuilder.java
103
public HttpUrlConnectionBuilder setConnectTimeout(int
timeoutMillis
) {
104
if (
timeoutMillis
< 0) {
106
+
timeoutMillis
);
108
mConnectTimeoutMillis =
timeoutMillis
;
118
public HttpUrlConnectionBuilder setReadTimeout(int
timeoutMillis
) {
119
if (
timeoutMillis
< 0) {
121
+
timeoutMillis
);
123
mReadTimeoutMillis =
timeoutMillis
;
/system/core/libutils/
Log.cpp
25
int
timeoutMillis
, const char* message) :
26
mTag(tag), mPriority(priority), mTimeoutMillis(
timeoutMillis
), mMessage(message),
/external/droiddriver/src/io/appium/droiddriver/
Poller.java
134
* {@link UnsatisfiedConditionException}, up to {@code
timeoutMillis
}.
138
<T> T pollFor(DroidDriver driver, Finder finder, ConditionChecker<T> checker, long
timeoutMillis
);
151
* Sets default
timeoutMillis
.
153
void setTimeoutMillis(long
timeoutMillis
);
156
* @return default
timeoutMillis
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
AdvertiseSettingsTest.java
46
final int
timeoutMillis
= 60 * 1000;
51
.setTimeout(
timeoutMillis
)
60
assertEquals(
timeoutMillis
, settingsFromParcel.getTimeout());
/external/droiddriver/src/io/appium/droiddriver/instrumentation/
InstrumentationDriver.java
87
long
timeoutMillis
= getPoller().getTimeoutMillis();
88
long end = SystemClock.uptimeMillis() +
timeoutMillis
;
96
"Cannot find the running activity after %d milliseconds",
timeoutMillis
));
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
RecordingCallback.java
52
long
timeoutMillis
= TimeUnit.NANOSECONDS.toMillis(System.nanoTime()) + TIMEOUT_MILLIS;
63
if (nowMillis >=
timeoutMillis
) break;
64
wait(
timeoutMillis
- nowMillis);
/external/droiddriver/src/io/appium/droiddriver/uiautomation/
UiAutomationDriver.java
83
final long
timeoutMillis
= getPoller().getTimeoutMillis();
88
uiAutomation.waitForIdle(idleTimeoutMillis,
timeoutMillis
);
96
long end = SystemClock.uptimeMillis() +
timeoutMillis
;
112
timeoutMillis
));
/frameworks/volley/src/test/java/com/android/volley/mock/
WaitableQueue.java
35
public void waitUntilEmpty(long
timeoutMillis
)
38
if (!mStopEvent.tryAcquire(
timeoutMillis
, TimeUnit.MILLISECONDS)) {
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
TelecomTestCase.java
52
protected final void waitForHandlerAction(Handler h, long
timeoutMillis
) {
57
lock.await(
timeoutMillis
, TimeUnit.MILLISECONDS);
Completed in 1271 milliseconds
1
2
3
4
5
6
7
8