OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:timeunit
(Results
226 - 250
of
737
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
ImportantNoticeUtils.java
29
import java.util.concurrent.
TimeUnit
;
43
static final long TIMEOUT_OF_IMPORTANT_NOTICE =
TimeUnit
.HOURS.toMillis(23);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
BinaryDictionaryUtilsTests.java
31
import java.util.concurrent.
TimeUnit
;
54
String.valueOf(
TimeUnit
.MILLISECONDS.toSeconds(System.currentTimeMillis())));
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
StepCounterTestActivity.java
39
import java.util.concurrent.
TimeUnit
;
50
TimeUnit
.MILLISECONDS.toNanos(500);
54
private static final long MAX_TOLERANCE_STEP_TIME_NANOS =
TimeUnit
.SECONDS.toNanos(10);
155
Thread.sleep(
TimeUnit
.SECONDS.toMillis(TEST_DURATION_SECONDS));
SignificantMotionTestActivity.java
34
import java.util.concurrent.
TimeUnit
;
47
TimeUnit
.MILLISECONDS.toNanos(500);
271
mCountDownLatch.await(TRIGGER_MAX_DELAY_SECONDS,
TimeUnit
.SECONDS);
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
LauncherAppsTests.java
46
import java.util.concurrent.
TimeUnit
;
211
if (mSemaphore.tryAcquire(5,
TimeUnit
.SECONDS)) {
241
if (mSemaphore.tryAcquire(5,
TimeUnit
.SECONDS)) {
265
if (mSemaphore.tryAcquire(5,
TimeUnit
.SECONDS)) {
/cts/tests/tests/content/src/android/content/cts/
ContentResolverSyncTestCase.java
33
import java.util.concurrent.
TimeUnit
;
107
if (!latch.await(latchTimeoutMs,
TimeUnit
.MILLISECONDS)) {
131
latch.await(latchTimeoutMillis,
TimeUnit
.MILLISECONDS);
147
latch.await(latchTimeoutMillis,
TimeUnit
.MILLISECONDS);
/cts/tests/tests/graphics/src/android/opengl/cts/
OpenGlEsVersionCtsActivity.java
28
import java.util.concurrent.
TimeUnit
;
80
mSurfaceCreatedLatch.await(TIMEOUT_SECONDS,
TimeUnit
.SECONDS);
87
mSurfaceCreatedLatch.await(TIMEOUT_SECONDS,
TimeUnit
.SECONDS);
94
mSurfaceCreatedLatch.await(TIMEOUT_SECONDS,
TimeUnit
.SECONDS);
/external/apache-http/src/org/apache/http/impl/conn/
IdleConnectionHandler.java
36
import java.util.concurrent.
TimeUnit
;
78
public void add(HttpConnection connection, long validDuration,
TimeUnit
unit) {
119
//@@@ add
TimeUnit
argument here?
186
TimeValues(long now, long validDuration,
TimeUnit
validUnit) {
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
TransitionTest.java
21
import java.util.concurrent.
TimeUnit
;
211
TimeUnit
.MILLISECONDS);
253
TimeUnit
.MILLISECONDS);
303
TimeUnit
.MILLISECONDS);
/external/chromium_org/third_party/icu/source/i18n/unicode/
tmutfmt.h
58
* TimeUnitAmount* source = new TimeUnitAmount(2,
TimeUnit
::UTIMEUNIT_YEAR, status);
218
Hashtable* fTimeUnitToCountToPatterns[
TimeUnit
::UTIMEUNIT_FIELD_COUNT];
241
TimeUnit
::UTimeUnitFields field, const UnicodeString&,
254
static const char* getTimeUnitName(
TimeUnit
::UTimeUnitFields field, UErrorCode& status);
/frameworks/base/core/tests/coretests/src/android/animation/
AnimatorInflaterTest.java
23
import java.util.concurrent.
TimeUnit
;
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
TextToSpeechTests.java
33
import java.util.concurrent.
TimeUnit
;
177
awaitCountDown(latch, 5,
TimeUnit
.SECONDS);
191
awaitCountDown(latch, 5,
TimeUnit
.SECONDS);
230
public static void awaitCountDown(CountDownLatch latch, long timeout,
TimeUnit
unit)
/libcore/luni/src/main/java/java/util/concurrent/
AbstractExecutorService.java
151
f = ecs.poll(nanos,
TimeUnit
.NANOSECONDS);
192
long timeout,
TimeUnit
unit)
229
long timeout,
TimeUnit
unit)
258
f.get(nanos,
TimeUnit
.NANOSECONDS);
/packages/apps/Stk/src/com/android/stk/
StkApp.java
54
switch (duration.
timeUnit
) {
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
UserHistoryDictionaryTests.java
36
import java.util.concurrent.
TimeUnit
;
71
final int timeToElapse = (int)
TimeUnit
.DAYS.toSeconds(3);
78
final int timeToElapse = (int)
TimeUnit
.DAYS.toSeconds(365);
117
(int)
TimeUnit
.MILLISECONDS.toSeconds(System.currentTimeMillis()),
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
ApplicationRestrictionsTest.java
25
import java.util.concurrent.
TimeUnit
;
179
assertTrue(mOnRegisteredSemaphore.tryAcquire(5,
TimeUnit
.SECONDS));
187
assertTrue(mOnRestrictionSemaphore.tryAcquire(5,
TimeUnit
.SECONDS));
/cts/tests/tests/speech/src/android/speech/tts/cts/
TextToSpeechWrapper.java
26
import java.util.concurrent.
TimeUnit
;
123
long timeOutNanos =
TimeUnit
.MILLISECONDS.toNanos(TTS_INIT_MAX_WAIT_TIME);
159
long timeOutNanos =
TimeUnit
.MILLISECONDS.toNanos(TTS_INIT_MAX_WAIT_TIME);
/developers/build/prebuilts/gradle/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/
GeofenceTransitionsIntentService.java
38
import java.util.concurrent.
TimeUnit
;
78
mGoogleApiClient.blockingConnect(CONNECTION_TIME_OUT_MS,
TimeUnit
.MILLISECONDS);
101
mGoogleApiClient.blockingConnect(CONNECTION_TIME_OUT_MS,
TimeUnit
.MILLISECONDS);
/developers/samples/android/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/
GeofenceTransitionsIntentService.java
38
import java.util.concurrent.
TimeUnit
;
78
mGoogleApiClient.blockingConnect(CONNECTION_TIME_OUT_MS,
TimeUnit
.MILLISECONDS);
101
mGoogleApiClient.blockingConnect(CONNECTION_TIME_OUT_MS,
TimeUnit
.MILLISECONDS);
/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/
GeofenceTransitionsIntentService.java
38
import java.util.concurrent.
TimeUnit
;
78
mGoogleApiClient.blockingConnect(CONNECTION_TIME_OUT_MS,
TimeUnit
.MILLISECONDS);
101
mGoogleApiClient.blockingConnect(CONNECTION_TIME_OUT_MS,
TimeUnit
.MILLISECONDS);
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/printing/
PrintingControllerTest.java
30
import java.util.concurrent.
TimeUnit
;
129
result.get(TEST_TIMEOUT,
TimeUnit
.MILLISECONDS);
159
PrintingControllerImpl result = task.get(TEST_TIMEOUT,
TimeUnit
.MILLISECONDS);
/external/guava/guava/src/com/google/common/util/concurrent/
SimpleTimeLimiter.java
36
import java.util.concurrent.
TimeUnit
;
85
final long timeoutDuration, final
TimeUnit
timeoutUnit) {
121
TimeUnit
timeoutUnit, boolean amInterruptible) throws Exception {
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
MapMaker.java
26
import java.util.concurrent.
TimeUnit
;
188
MapMaker expiration(long duration,
TimeUnit
unit) {
193
MapMaker expireAfterWrite(long duration,
TimeUnit
unit) {
/external/guava/guava-tests/test/com/google/common/base/
StopwatchTest.java
19
import static java.util.concurrent.
TimeUnit
.MICROSECONDS;
20
import static java.util.concurrent.
TimeUnit
.MILLISECONDS;
21
import static java.util.concurrent.
TimeUnit
.NANOSECONDS;
/external/guava/guava-tests/test/com/google/common/util/concurrent/
JdkFutureAdaptersTest.java
24
import static java.util.concurrent.
TimeUnit
.SECONDS;
36
import java.util.concurrent.
TimeUnit
;
147
public V get(long timeout,
TimeUnit
unit) {
Completed in 3832 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>