Home
last modified time | relevance | path

Searched refs:timeNanos (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/services/oboeservice/
DAAudioServiceStreamMMAP.cpp153 int64_t *timeNanos) { in getFreeRunningPosition() argument
162 aaudio_result_t result = serviceEndpointMMAP->getFreeRunningPosition(positionFrames, timeNanos); in getFreeRunningPosition()
164 Timestamp timestamp(*positionFrames, *timeNanos); in getFreeRunningPosition()
167 *timeNanos = timestamp.getNanoseconds(); in getFreeRunningPosition()
176 int64_t *timeNanos) { in getHardwareTimestamp() argument
190 *timeNanos = timestamp.getNanoseconds() + serviceEndpointMMAP->getHardwareTimeOffsetNanos(); in getHardwareTimestamp()
DAAudioServiceEndpointShared.cpp183 int64_t *timeNanos) { in getFreeRunningPosition() argument
187 *timeNanos = timestamp.getNanoseconds(); in getFreeRunningPosition()
195 int64_t *timeNanos) { in getTimestamp() argument
196 …aaudio_result_t result = mStreamInternal->getTimestamp(CLOCK_MONOTONIC, positionFrames, timeNanos); in getTimestamp()
DAAudioServiceStreamMMAP.h78 aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) override;
80 aaudio_result_t getHardwareTimestamp(int64_t *positionFrames, int64_t *timeNanos) override;
DAAudioServiceStreamShared.cpp243 int64_t *timeNanos) { in getFreeRunningPosition() argument
248 *timeNanos = timestamp.getNanoseconds(); in getFreeRunningPosition()
257 int64_t *timeNanos) { in getHardwareTimestamp() argument
266 aaudio_result_t result = endpoint->getTimestamp(&position, timeNanos); in getHardwareTimestamp()
DAAudioServiceEndpointShared.h51 aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) override;
53 aaudio_result_t getTimestamp(int64_t *positionFrames, int64_t *timeNanos) override;
DAAudioServiceStreamShared.h96 aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) override;
98 aaudio_result_t getHardwareTimestamp(int64_t *positionFrames, int64_t *timeNanos) override;
DAAudioServiceEndpointMMAP.h66 aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) override;
68 aaudio_result_t getTimestamp(int64_t *positionFrames, int64_t *timeNanos) override;
DAAudioServiceEndpoint.h78 virtual aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) = 0;
87 virtual aaudio_result_t getTimestamp(int64_t *positionFrames, int64_t *timeNanos) = 0;
DAAudioServiceStreamBase.h282 virtual aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) = 0;
284 virtual aaudio_result_t getHardwareTimestamp(int64_t *positionFrames, int64_t *timeNanos) = 0;
DAAudioServiceEndpointMMAP.cpp306 int64_t *timeNanos) { in getFreeRunningPosition() argument
323 *timeNanos = position.time_nanoseconds; in getFreeRunningPosition()
329 int64_t *timeNanos) { in getTimestamp() argument
/frameworks/base/location/java/android/location/
DGnssClock.java155 public void setTimeNanos(long timeNanos) { in setTimeNanos() argument
156 mTimeNanos = timeNanos; in setTimeNanos()