Lines Matching refs:endpoint
136 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in open() local
137 if (endpoint == nullptr) { in open()
154 setSampleRate(endpoint->getSampleRate()); in open()
155 } else if (getSampleRate() != endpoint->getSampleRate()) { in open()
157 __func__, getSampleRate(), endpoint->getSampleRate()); in open()
164 setSamplesPerFrame(endpoint->getSamplesPerFrame()); in open()
165 } else if (getSamplesPerFrame() != endpoint->getSamplesPerFrame()) { in open()
167 __func__, getSamplesPerFrame(), endpoint->getSamplesPerFrame()); in open()
193 result = endpoint->registerStream(keep); in open()
260 sp<AAudioServiceEndpoint> endpoint = mServiceEndpointWeak.promote(); in getHardwareTimestamp() local
261 if (endpoint == nullptr) { in getHardwareTimestamp()
266 aaudio_result_t result = endpoint->getTimestamp(&position, timeNanos); in getHardwareTimestamp()