OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NANOS_PER_MILLI
(Results
1 - 18
of
18
) sorted by null
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
BufferPeriod.java
76
int diffInMilli = (int) ((diffInNano + Constant.
NANOS_PER_MILLI
- 1) /
77
Constant.
NANOS_PER_MILLI
);
80
int timeStampInMilli = (int) ((timeStampInNano + Constant.
NANOS_PER_MILLI
- 1) /
81
Constant.
NANOS_PER_MILLI
);
96
long delta = diffInNano - (long) mExpectedBufferPeriod * Constant.
NANOS_PER_MILLI
;
136
return Math.sqrt(mVar) / (double) Constant.
NANOS_PER_MILLI
;
Constant.java
26
public static final long
NANOS_PER_MILLI
= 1000000;
/external/opencensus-java/api/src/main/java/io/opencensus/common/
TimeUtils.java
26
static final long
NANOS_PER_MILLI
= 1000 * 1000;
27
static final long NANOS_PER_SECOND =
NANOS_PER_MILLI
* MILLIS_PER_SECOND;
Duration.java
22
import static io.opencensus.common.TimeUtils.
NANOS_PER_MILLI
;
88
int nanos = (int) (millis % MILLIS_PER_SECOND *
NANOS_PER_MILLI
);
Timestamp.java
22
import static io.opencensus.common.TimeUtils.
NANOS_PER_MILLI
;
88
return create(secs, (int) (mos *
NANOS_PER_MILLI
)); // Safe int *
NANOS_PER_MILLI
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
FakeSensorOperation.java
31
private static final int
NANOS_PER_MILLI
= 1000000;
63
Thread.sleep(delayNs /
NANOS_PER_MILLI
, (int) (delayNs %
NANOS_PER_MILLI
));
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
SensorSynchronizationTestActivity.java
32
private final double
NANOS_PER_MILLI
= 1e6;
111
(maxTimestamp - minTimestamp) /
NANOS_PER_MILLI
;
115
(accMovementTimestamp - minTimestamp) /
NANOS_PER_MILLI
,
116
(magMovementTimestamp - minTimestamp) /
NANOS_PER_MILLI
,
117
(gyrMovementTimestamp - minTimestamp) /
NANOS_PER_MILLI
));
/developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/
EventScheduler.java
32
private static final long
NANOS_PER_MILLI
= 1000000;
231
millisToWait = 1 + (nanosToWait /
NANOS_PER_MILLI
);
/developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/
EventScheduler.java
32
private static final long
NANOS_PER_MILLI
= 1000000;
231
millisToWait = 1 + (nanosToWait /
NANOS_PER_MILLI
);
/developers/samples/android/common/src/java/com/example/android/common/midi/
EventScheduler.java
32
private static final long
NANOS_PER_MILLI
= 1000000;
231
millisToWait = 1 + (nanosToWait /
NANOS_PER_MILLI
);
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
EventScheduler.java
32
private static final long
NANOS_PER_MILLI
= 1000000;
231
millisToWait = 1 + (nanosToWait /
NANOS_PER_MILLI
);
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
EventScheduler.java
32
private static final long
NANOS_PER_MILLI
= 1000000;
231
millisToWait = 1 + (nanosToWait /
NANOS_PER_MILLI
);
/external/drrickorang/LoopbackApp/app/src/main/cpp/
loopback.h
37
#define
NANOS_PER_MILLI
1000000
jni_native.c
156
double scaled = (double) result / ((double)
NANOS_PER_MILLI
* (double)
NANOS_PER_MILLI
);
190
double scaled = (double) result / ((double)
NANOS_PER_MILLI
* (double)
NANOS_PER_MILLI
);
sles.cpp
382
(short) ((callbackDuration +
NANOS_PER_MILLI
- 1) /
NANOS_PER_MILLI
);
384
(int) ((timeStamp +
NANOS_PER_MILLI
- 1) /
NANOS_PER_MILLI
);
403
int diff_in_milli = (int) ((diff_in_nano +
NANOS_PER_MILLI
- 1) /
NANOS_PER_MILLI
);
418
int64_t delta = diff_in_nano - (int64_t) expectedBufferPeriod *
NANOS_PER_MILLI
;
[
all
...]
/cts/tests/sensor/src/android/hardware/cts/helpers/
SensorCtsHelper.java
35
private static final long
NANOS_PER_MILLI
= 1000000;
176
Thread.sleep(durationNs /
NANOS_PER_MILLI
, (int) (durationNs %
NANOS_PER_MILLI
));
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
CensusStatsModule.java
70
private static final double
NANOS_PER_MILLI
= TimeUnit.MILLISECONDS.toNanos(1);
392
.put(RpcMeasureConstants.RPC_CLIENT_ROUNDTRIP_LATENCY, roundtripNanos /
NANOS_PER_MILLI
)
592
.put(RpcMeasureConstants.RPC_SERVER_SERVER_LATENCY, elapsedTimeNanos /
NANOS_PER_MILLI
)
/external/grpc-grpc-java/core/
grpc-core-1.14.0.jar
Completed in 1004 milliseconds