Home
last modified time | relevance | path

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

/frameworks/av/services/oboeservice/
DAAudioServiceStreamMMAP.cpp148 int64_t *timeNanos) { in getFreeRunningPosition() argument
157 aaudio_result_t result = serviceEndpointMMAP->getFreeRunningPosition(positionFrames, timeNanos); in getFreeRunningPosition()
159 Timestamp timestamp(*positionFrames, *timeNanos); in getFreeRunningPosition()
162 *timeNanos = timestamp.getNanoseconds(); in getFreeRunningPosition()
171 int64_t *timeNanos) { in getHardwareTimestamp() argument
185 *timeNanos = timestamp.getNanoseconds() + serviceEndpointMMAP->getHardwareTimeOffsetNanos(); in getHardwareTimestamp()
DAAudioServiceEndpointShared.cpp182 int64_t *timeNanos) { in getFreeRunningPosition() argument
186 *timeNanos = timestamp.getNanoseconds(); in getFreeRunningPosition()
194 int64_t *timeNanos) { in getTimestamp() argument
195 return 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;
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.cpp241 int64_t *timeNanos) { in getFreeRunningPosition() argument
246 *timeNanos = timestamp.getNanoseconds(); in getFreeRunningPosition()
255 int64_t *timeNanos) { in getHardwareTimestamp() argument
264 aaudio_result_t result = endpoint->getTimestamp(&position, timeNanos); in getHardwareTimestamp()
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;
80 virtual aaudio_result_t getTimestamp(int64_t *positionFrames, int64_t *timeNanos) = 0;
DAAudioServiceStreamBase.h268 virtual aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) = 0;
270 virtual aaudio_result_t getHardwareTimestamp(int64_t *positionFrames, int64_t *timeNanos) = 0;
DAAudioServiceEndpointMMAP.cpp331 int64_t *timeNanos) { in getFreeRunningPosition() argument
348 *timeNanos = position.time_nanoseconds; in getFreeRunningPosition()
354 int64_t *timeNanos) { in getTimestamp() argument
/frameworks/base/location/java/android/location/
DGnssClock.java148 public void setTimeNanos(long timeNanos) { in setTimeNanos() argument
149 mTimeNanos = timeNanos; in setTimeNanos()