Lines Matching refs:afc

206             const sp<IAudioFlinger>& af, const sp<AudioSystem::AudioFlingerClient>& afc) {  in onServiceCreate()
208 af->registerClient(afc); in onServiceCreate()
217 static void onClearService(const sp<AudioSystem::AudioFlingerClient>& afc) { in onClearService()
218 afc->clearIoCache(); in onClearService()
251 const sp<AudioFlingerClient> afc = getAudioFlingerClient(); in getIoDescriptor() local
252 if (afc != 0) { in getIoDescriptor()
253 desc = afc->getIoDescriptor(ioHandle); in getIoDescriptor()
528 const sp<AudioFlingerClient> afc = getAudioFlingerClient(); in getInputBufferSize() local
529 if (afc == 0) { in getInputBufferSize()
532 return afc->getInputBufferSize(sampleRate, format, channelMask, buffSize); in getInputBufferSize()
1799 const sp<AudioFlingerClient> afc = getAudioFlingerClient(); in addAudioDeviceCallback() local
1800 if (afc == 0) { in addAudioDeviceCallback()
1803 status_t status = afc->addAudioDeviceCallback(callback, audioIo, portId); in addAudioDeviceCallback()
1807 af->registerClient(afc); in addAudioDeviceCallback()
1816 const sp<AudioFlingerClient> afc = getAudioFlingerClient(); in removeAudioDeviceCallback() local
1817 if (afc == 0) { in removeAudioDeviceCallback()
1820 return afc->removeAudioDeviceCallback(callback, audioIo, portId); in removeAudioDeviceCallback()
1825 const sp<AudioFlingerClient> afc = getAudioFlingerClient(); in addSupportedLatencyModesCallback() local
1826 if (afc == 0) { in addSupportedLatencyModesCallback()
1829 return afc->addSupportedLatencyModesCallback(callback); in addSupportedLatencyModesCallback()
1834 const sp<AudioFlingerClient> afc = getAudioFlingerClient(); in removeSupportedLatencyModesCallback() local
1835 if (afc == 0) { in removeSupportedLatencyModesCallback()
1838 return afc->removeSupportedLatencyModesCallback(callback); in removeSupportedLatencyModesCallback()