OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nanoTime
(Results
1 - 25
of
167
) sorted by null
1
2
3
4
5
6
7
/frameworks/base/media/java/android/media/
AudioTimestamp.java
41
* in the same units and timebase as {@link java.lang.System#
nanoTime
}.
43
public long
nanoTime
;
/libcore/jsr166-tests/src/test/java/jsr166/
SystemTest.java
30
long n1 = System.
nanoTime
();
32
long n2 = System.
nanoTime
();
48
long n1 = System.
nanoTime
();
54
long n2 = System.
nanoTime
();
/external/okhttp/okio/src/main/java/okio/
Deadline.java
43
deadlineNanos = System.
nanoTime
() + unit.toNanos(timeout);
48
return System.
nanoTime
() - deadlineNanos >= 0; // Subtract to avoid overflow!
/frameworks/base/tools/layoutlib/bridge/src/android/os/
SystemClock_Delegate.java
34
private static long sBootTimeNano = System.
nanoTime
();
65
return System.
nanoTime
() - sBootTimeNano;
/art/test/028-array-write/src/
Main.java
47
start = System.
nanoTime
();
50
end = System.
nanoTime
();
63
start = System.
nanoTime
();
68
end = System.
nanoTime
();
/external/guava/guava/src/com/google/common/base/
Platform.java
35
/** Calls {@link System#
nanoTime
()}. */
37
return System.
nanoTime
();
/external/guava/guava-tests/test/com/google/common/util/concurrent/
SimpleTimeLimiterTest.java
59
long start = System.
nanoTime
();
72
long start = System.
nanoTime
();
88
long start = System.
nanoTime
();
104
long start = System.
nanoTime
();
123
long start = System.
nanoTime
();
133
long start = System.
nanoTime
();
151
long start = System.
nanoTime
();
164
long start = System.
nanoTime
();
175
long nanos = System.
nanoTime
() - startNanos;
InterruptionUtil.java
122
long end = System.
nanoTime
() + remainingNanos;
131
remainingNanos = end - System.
nanoTime
();
/external/guava/guava-testlib/src/com/google/common/testing/
GcFinalization.java
120
final long deadline = System.
nanoTime
() + SECONDS.toNanos(timeoutSeconds);
139
} while (System.
nanoTime
() - deadline < 0);
155
final long deadline = System.
nanoTime
() + SECONDS.toNanos(timeoutSeconds);
169
} while (System.
nanoTime
() - deadline < 0);
208
final long deadline = System.
nanoTime
() + SECONDS.toNanos(timeoutSeconds);
220
} while (System.
nanoTime
() - deadline < 0);
/libcore/luni/src/test/java/libcore/java/lang/ref/
ReferenceQueueTest.java
53
long startNanos = System.
nanoTime
();
55
long durationNanos = System.
nanoTime
() - startNanos;
75
long startNanos = System.
nanoTime
();
77
long durationNanos = System.
nanoTime
() - startNanos;
85
long startNanos = System.
nanoTime
();
87
long durationNanos = System.
nanoTime
() - startNanos;
/art/test/030-bad-finalizer/src/
Main.java
54
start = System.
nanoTime
();
58
end = System.
nanoTime
();
/cts/tests/tests/view/src/android/view/animation/cts/
AnimationTestCtsActivity.java
54
long start = System.
nanoTime
();
55
while (!mIsVisible && (System.
nanoTime
() - start) < VISIBLE_TIMEOUT) {
/external/guava/guava/src/com/google/common/util/concurrent/
Uninterruptibles.java
78
long end = System.
nanoTime
() + remainingNanos;
86
remainingNanos = end - System.
nanoTime
();
159
long end = System.
nanoTime
() + remainingNanos;
167
remainingNanos = end - System.
nanoTime
();
188
long end = System.
nanoTime
() + remainingNanos;
196
remainingNanos = end - System.
nanoTime
();
257
long end = System.
nanoTime
() + remainingNanos;
265
remainingNanos = end - System.
nanoTime
();
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
Ping.java
34
sent = System.
nanoTime
();
39
received = System.
nanoTime
();
/art/test/133-static-invoke-super/src/
Main.java
40
long time0 = System.
nanoTime
();
42
long time1 = System.
nanoTime
();
44
long time2 = System.
nanoTime
();
/art/test/023-many-interfaces/src/
ManyInterfaces.java
205
start = System.
nanoTime
();
207
end = System.
nanoTime
();
210
start = System.
nanoTime
();
212
end = System.
nanoTime
();
215
start = System.
nanoTime
();
217
end = System.
nanoTime
();
220
start = System.
nanoTime
();
222
end = System.
nanoTime
();
225
start = System.
nanoTime
();
227
end = System.
nanoTime
();
[
all
...]
/external/owasp/sanitizer/src/tests/org/owasp/html/
Benchmark.java
82
t0 = System.
nanoTime
();
86
t1 = System.
nanoTime
();
91
t2 = System.
nanoTime
();
95
t3 = System.
nanoTime
();
100
t4 = System.
nanoTime
();
104
t5 = System.
nanoTime
();
/external/conscrypt/src/platform/java/org/conscrypt/
PinFailureLogger.java
41
lastLoggedNanos = System.
nanoTime
();
66
long currentTimeNanos = System.
nanoTime
();
/libcore/luni/src/main/java/java/net/
AddressCache.java
77
* The absolute expiry time in nanoseconds. Nanoseconds from System.
nanoTime
is ideal
86
this.expiryNanos = System.
nanoTime
() + TTL_NANOS;
105
if (entry != null && entry.expiryNanos >= System.
nanoTime
()) {
/external/guava/guava/src/com/google/common/collect/
Queues.java
207
* This code performs one System.
nanoTime
() more than necessary, and in return, the time to
211
long deadline = System.
nanoTime
() + unit.toNanos(timeout);
218
E e = q.poll(deadline - System.
nanoTime
(), TimeUnit.NANOSECONDS);
245
long deadline = System.
nanoTime
() + unit.toNanos(timeout);
257
e = q.poll(deadline - System.
nanoTime
(), TimeUnit.NANOSECONDS);
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
OkHttp.java
64
long start = System.
nanoTime
();
68
long finish = System.
nanoTime
();
UrlConnection.java
61
long start = System.
nanoTime
();
70
long finish = System.
nanoTime
();
/frameworks/base/services/core/java/com/android/server/webkit/
WebViewUpdateService.java
119
final long timeoutTimeMs = System.
nanoTime
() / NS_PER_MS + WAIT_TIMEOUT_MS;
123
final long timeNowMs = System.
nanoTime
() / NS_PER_MS;
/libcore/luni/src/main/java/java/lang/ref/
ReferenceQueue.java
111
long startTime = System.
nanoTime
();
117
long nanosElapsed = System.
nanoTime
() - startTime;
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
ProviderPerfActivity.java
301
long lastTime = System.
nanoTime
();
304
sumNanos += System.
nanoTime
() - lastTime;
324
long lastTime = System.
nanoTime
();
329
sumNanos += System.
nanoTime
() - lastTime;
371
long lastTime = System.
nanoTime
();
373
long nowTime = System.
nanoTime
();
396
long lastTime = System.
nanoTime
();
401
long nowTime = System.
nanoTime
();
422
long startTime = System.
nanoTime
();
433
long duration = System.
nanoTime
() - startTime
[
all
...]
Completed in 3703 milliseconds
1
2
3
4
5
6
7