Lines Matching refs:mPrimaryHardwareDev
173 mPrimaryHardwareDev(NULL), in AudioFlinger()
1153 if (mPrimaryHardwareDev == nullptr) { in setMode()
1156 sp<DeviceHalInterface> dev = mPrimaryHardwareDev->hwDevice(); in setMode()
1185 if (mPrimaryHardwareDev == nullptr) { in setMicMute()
1188 sp<DeviceHalInterface> primaryDev = mPrimaryHardwareDev->hwDevice(); in setMicMute()
1213 if (mPrimaryHardwareDev == nullptr) { in getMicMute()
1216 sp<DeviceHalInterface> primaryDev = mPrimaryHardwareDev->hwDevice(); in getMicMute()
1638 if (mPrimaryHardwareDev == nullptr) { in getInputBufferSize()
1648 sp<DeviceHalInterface> dev = mPrimaryHardwareDev->hwDevice(); in getInputBufferSize()
1702 if (mPrimaryHardwareDev == nullptr) { in setVoiceVolume()
1705 sp<DeviceHalInterface> dev = mPrimaryHardwareDev->hwDevice(); in setVoiceVolume()
2181 mPrimaryHardwareDev = audioDevice; in loadHwModule_l()
2183 mPrimaryHardwareDev->hwDevice()->setMode(mMode); in loadHwModule_l()
2298 if (mPrimaryHardwareDev == nullptr) { in getAudioHwSyncForSession()
2301 dev = mPrimaryHardwareDev->hwDevice(); in getAudioHwSyncForSession()
2535 if ((mPrimaryHardwareDev == nullptr) && (flags & AUDIO_OUTPUT_FLAG_PRIMARY)) { in openOutput()
2537 mPrimaryHardwareDev = playbackThread->getOutput()->audioHwDev; in openOutput()
2540 mPrimaryHardwareDev->hwDevice()->setMode(mMode); in openOutput()
3207 if (mPrimaryHardwareDev == nullptr) { in primaryPlaybackThread_l()
3216 if (output != NULL && output->audioHwDev == mPrimaryHardwareDev) { in primaryPlaybackThread_l()