OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:timeoutMs
(Results
1 - 25
of
112
) sorted by null
1
2
3
4
5
/frameworks/volley/src/com/android/volley/toolbox/
RequestFuture.java
100
private synchronized T doGet(Long
timeoutMs
)
110
if (
timeoutMs
== null) {
112
} else if (
timeoutMs
> 0) {
113
wait(
timeoutMs
);
HttpClientStack.java
78
int
timeoutMs
= request.getTimeoutMs();
82
HttpConnectionParams.setSoTimeout(httpParams,
timeoutMs
);
HurlStack.java
164
int
timeoutMs
= request.getTimeoutMs();
165
connection.setConnectTimeout(
timeoutMs
);
166
connection.setReadTimeout(
timeoutMs
);
/cts/tests/src/android/app/cts/
ActivityTestsBase.java
145
public int waitForResultOrThrow(int
timeoutMs
) {
146
return waitForResultOrThrow(
timeoutMs
, null);
149
public int waitForResultOrThrow(int
timeoutMs
, String expected) {
150
final int res = waitForResult(
timeoutMs
, expected);
163
public int waitForResult(int
timeoutMs
, String expected) {
166
final long endTime = System.currentTimeMillis() +
timeoutMs
;
/frameworks/base/core/tests/coretests/src/android/app/activity/
ActivityTestsBase.java
143
public int waitForResultOrThrow(int
timeoutMs
) {
144
return waitForResultOrThrow(
timeoutMs
, null);
147
public int waitForResultOrThrow(int
timeoutMs
, String expected) {
148
int res = waitForResult(
timeoutMs
, expected);
163
public int waitForResult(int
timeoutMs
, String expected) {
166
long endTime = System.currentTimeMillis() +
timeoutMs
;
/cts/tests/tests/media/src/android/media/cts/
CompositionTextureView.java
100
public boolean waitForSurfaceReady(long
timeoutMs
) throws Exception {
104
if (mInitWaitSemaphore.tryAcquire(
timeoutMs
, TimeUnit.MILLISECONDS)) {
MediaPlayerTestBase.java
61
public synchronized boolean waitForSignal(long
timeoutMs
) throws InterruptedException {
62
return waitForCountedSignals(1,
timeoutMs
) > 0;
65
public synchronized int waitForCountedSignals(int targetCount, long
timeoutMs
)
67
if (
timeoutMs
== 0) {
70
long deadline = System.currentTimeMillis() +
timeoutMs
;
OutputSurface.java
254
* @param
timeoutMs
257
public boolean checkForNewImage(int
timeoutMs
) {
263
mFrameSyncObject.wait(
timeoutMs
);
MediaRandomTest.java
116
public Watchdog(long
timeoutMs
) {
117
mTimeoutMs =
timeoutMs
;
EncodeVirtualDisplayWithCompositionTest.java
[
all
...]
/libcore/luni/src/main/java/libcore/io/
IoBridge.java
107
* Connects socket 'fd' to 'inetAddress' on 'port', with a the given '
timeoutMs
'.
108
* Use
timeoutMs
== 0 for a blocking connect with no timeout.
110
public static boolean connect(FileDescriptor fd, InetAddress inetAddress, int port, int
timeoutMs
) throws SocketException, SocketTimeoutException {
112
return connectErrno(fd, inetAddress, port,
timeoutMs
);
114
throw new ConnectException(connectDetail(inetAddress, port,
timeoutMs
, errnoException), errnoException);
124
private static boolean connectErrno(FileDescriptor fd, InetAddress inetAddress, int port, int
timeoutMs
) throws ErrnoException, IOException {
126
if (
timeoutMs
== 0) {
142
long finishTimeMs = System.currentTimeMillis() +
timeoutMs
;
159
throw new SocketTimeoutException(connectDetail(inetAddress, port,
timeoutMs
, null));
161
} while (!IoBridge.isConnected(fd, inetAddress, port,
timeoutMs
, remainingTimeoutMs))
[
all
...]
BlockGuardOs.java
113
@Override public int poll(StructPollfd[] fds, int
timeoutMs
) throws ErrnoException {
116
if (
timeoutMs
!= 0) {
119
return os.poll(fds,
timeoutMs
);
ForwardingOs.java
100
public int poll(StructPollfd[] fds, int
timeoutMs
) throws ErrnoException { return os.poll(fds,
timeoutMs
); }
/external/srec/portable/include/
ptrd.h
177
* @param
timeoutMs
The amount of time (in millisecs) to wait for
186
asr_uint32_t
timeoutMs
);
342
* @param
timeoutMs
Timeout in milliseconds.
348
asr_uint32_t
timeoutMs
);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
MffFilterTestCase.java
117
protected void process(long
timeoutMs
)
120
mProcessResult.get(
timeoutMs
, TimeUnit.MILLISECONDS);
/cts/tests/tests/holo/src/android/holo/cts/
LayoutAdapter.java
65
long
timeoutMs
) {
70
mTimeoutMs =
timeoutMs
;
301
long
timeoutMs
) {
302
addLayout(new LayoutInfo(displayName, fileName, layout, modifier,
timeoutMs
));
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardMessageArea.java
150
public void setTimeout(int
timeoutMs
) {
151
mMessageArea.mTimeout =
timeoutMs
;
/system/media/audio_utils/
echo_reference.c
330
uint32_t
timeoutMs
= (uint32_t)((1000 * buffer->frame_count) / er->rd_sampling_rate / 2);
333
ts.tv_sec =
timeoutMs
/1000;
334
ts.tv_nsec =
timeoutMs
%1000;
340
timeoutMs
, er->frames_in, buffer->frame_count);
/frameworks/base/services/java/com/android/server/
NativeDaemonConnector.java
561
public NativeDaemonEvent remove(int cmdNum, int
timeoutMs
, String logCmd) {
581
result = found.responses.poll(
timeoutMs
, TimeUnit.MILLISECONDS);
/developers/build/gradle/wrapper/
gradle-wrapper.jar
/developers/build/prebuilts/gradle/ActionBarCompat-Basic/gradle/wrapper/
gradle-wrapper.jar
/developers/build/prebuilts/gradle/ActionBarCompat-ListPopupMenu/gradle/wrapper/
gradle-wrapper.jar
/developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/gradle/wrapper/
gradle-wrapper.jar
/developers/build/prebuilts/gradle/ActionBarCompat-Styled/gradle/wrapper/
gradle-wrapper.jar
/developers/build/prebuilts/gradle/ActivityInstrumentation/gradle/wrapper/
gradle-wrapper.jar
Completed in 4271 milliseconds
1
2
3
4
5