Home
last modified time | relevance | path

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

/frameworks/av/services/oboeservice/
DAAudioServiceStreamMMAP.cpp208 aaudio_result_t AAudioServiceStreamMMAP::getFreeRunningPosition_l(int64_t *positionFrames, in getFreeRunningPosition_l() argument
218 aaudio_result_t result = serviceEndpointMMAP->getFreeRunningPosition(positionFrames, timeNanos); in getFreeRunningPosition_l()
220 Timestamp timestamp(*positionFrames, *timeNanos); in getFreeRunningPosition_l()
222 *positionFrames = timestamp.getPosition(); in getFreeRunningPosition_l()
232 aaudio_result_t AAudioServiceStreamMMAP::getHardwareTimestamp_l(int64_t *positionFrames, in getHardwareTimestamp_l() argument
247 *positionFrames = (int64_t) position; in getHardwareTimestamp_l()
255 *positionFrames = timestamp.getPosition(); in getHardwareTimestamp_l()
DAAudioServiceEndpointShared.cpp195 aaudio_result_t AAudioServiceEndpointShared::getFreeRunningPosition(int64_t *positionFrames, in getFreeRunningPosition() argument
199 *positionFrames = timestamp.getPosition(); in getFreeRunningPosition()
207 aaudio_result_t AAudioServiceEndpointShared::getTimestamp(int64_t *positionFrames, in getTimestamp() argument
209 …aaudio_result_t result = mStreamInternal->getTimestamp(CLOCK_MONOTONIC, positionFrames, timeNanos); in getTimestamp()
DAAudioServiceEndpointMMAP.h74 aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) override
77 aaudio_result_t getTimestamp(int64_t *positionFrames, int64_t *timeNanos) override;
95 aaudio_result_t getExternalPosition(uint64_t *positionFrames, int64_t *timeNanos)
DAAudioServiceEndpointShared.h55 aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) override;
57 aaudio_result_t getTimestamp(int64_t *positionFrames, int64_t *timeNanos) override;
DAAudioServiceStreamShared.cpp234 aaudio_result_t AAudioServiceStreamShared::getFreeRunningPosition_l(int64_t *positionFrames, in getFreeRunningPosition_l() argument
239 *positionFrames = timestamp.getPosition(); in getFreeRunningPosition_l()
248 aaudio_result_t AAudioServiceStreamShared::getHardwareTimestamp_l(int64_t *positionFrames, in getHardwareTimestamp_l() argument
266 *positionFrames = position; in getHardwareTimestamp_l()
DAAudioServiceStreamShared.h96 int64_t *positionFrames, int64_t *timeNanos) REQUIRES(mLock) override;
99 int64_t *positionFrames, int64_t *timeNanos) REQUIRES(mLock) override;
DAAudioServiceStreamMMAP.h85 aaudio_result_t getFreeRunningPosition_l(int64_t *positionFrames,
89 int64_t *positionFrames, int64_t *timeNanos) REQUIRES(mLock) override;
DAAudioServiceEndpoint.h97 virtual aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) = 0;
106 virtual aaudio_result_t getTimestamp(int64_t *positionFrames, int64_t *timeNanos) = 0;
DAAudioServiceEndpointMMAP.cpp417 aaudio_result_t AAudioServiceEndpointMMAP::getFreeRunningPosition(int64_t *positionFrames, in getFreeRunningPosition() argument
436 *positionFrames = mFramesTransferred.get(); in getFreeRunningPosition()
526 aaudio_result_t AAudioServiceEndpointMMAP::getExternalPosition(uint64_t *positionFrames, in getExternalPosition() argument
606 *positionFrames = tempPositionFrames; in getExternalPosition()
DAAudioServiceStreamBase.h303 int64_t *positionFrames, int64_t *timeNanos) = 0;
305 virtual aaudio_result_t getHardwareTimestamp_l(int64_t *positionFrames, int64_t *timeNanos) = 0;
/frameworks/av/media/libaudiohal/impl/
DStreamHalHidl.cpp246 position->position_frames = hidlPosition.positionFrames; in getMmapPosition()