Searched refs:NS_PER_MS (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/ |
D | ProximityClassifierTest.java | 45 private static final long NS_PER_MS = 1000000; field in ProximityClassifierTest 140 return new ProximitySensor.ProximityEvent(covered, timestampMs * NS_PER_MS); in createSensorEvent()
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 185 private static final long NS_PER_MS = 1000000; field in MotionEvent 1706 downTime * NS_PER_MS, eventTime * NS_PER_MS, in obtain() 1891 downTime * NS_PER_MS, eventTime * NS_PER_MS, in obtain() 2190 return nativeGetDownTimeNanos(mNativePtr) / NS_PER_MS; in getDownTime() 2201 nativeSetDownTimeNanos(mNativePtr, downTime * NS_PER_MS); in setDownTime() 2213 return nativeGetEventTimeNanos(mNativePtr, HISTORY_CURRENT) / NS_PER_MS; in getEventTime() 2800 return nativeGetEventTimeNanos(mNativePtr, pos) / NS_PER_MS; in getHistoricalEventTime() 3278 nativeAddBatch(mNativePtr, eventTime * NS_PER_MS, pc, metaState); in addBatch() 3294 nativeAddBatch(mNativePtr, eventTime * NS_PER_MS, pointerCoords, metaState); in addBatch()
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdater.java | 336 final long NS_PER_MS = 1000000; in waitForAndGetProvider() local 337 final long timeoutTimeMs = System.nanoTime() / NS_PER_MS + WAIT_TIMEOUT_MS; in waitForAndGetProvider() 343 final long timeNowMs = System.nanoTime() / NS_PER_MS; in waitForAndGetProvider()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | LegacyMetadataMapper.java | 60 private static final long NS_PER_MS = 1000000; field in LegacyMetadataMapper 1216 long baseDuration = APPROXIMATE_CAPTURE_DELAY_MS * NS_PER_MS; // 200ms for capture in calculateJpegStallDuration() 1218 long stallPerArea = APPROXIMATE_JPEG_ENCODE_TIME_MS * NS_PER_MS / in calculateJpegStallDuration()
|
/frameworks/av/services/audioflinger/ |
D | Threads.cpp | 6174 const int64_t NS_PER_MS = 1000000; in computeWaitTimeNs_l() local 6176 kMinNormalSinkBufferSizeMs * NS_PER_MS : PlaybackThread::computeWaitTimeNs_l(); in computeWaitTimeNs_l()
|