Lines Matching refs:mPrimaryHardwareDev
174 mPrimaryHardwareDev(NULL), in AudioFlinger()
1163 if (mPrimaryHardwareDev == nullptr) { in setMode()
1166 sp<DeviceHalInterface> dev = mPrimaryHardwareDev->hwDevice(); in setMode()
1199 if (mPrimaryHardwareDev == nullptr) { in setMicMute()
1202 sp<DeviceHalInterface> primaryDev = mPrimaryHardwareDev->hwDevice(); in setMicMute()
1227 if (mPrimaryHardwareDev == nullptr) { in getMicMute()
1230 sp<DeviceHalInterface> primaryDev = mPrimaryHardwareDev->hwDevice(); in getMicMute()
1652 if (mPrimaryHardwareDev == nullptr) { in getInputBufferSize()
1657 sp<DeviceHalInterface> dev = mPrimaryHardwareDev->hwDevice(); in getInputBufferSize()
1740 if (mPrimaryHardwareDev == nullptr) { in setVoiceVolume()
1743 sp<DeviceHalInterface> dev = mPrimaryHardwareDev->hwDevice(); in setVoiceVolume()
2227 mPrimaryHardwareDev = audioDevice; in loadHwModule_l()
2229 mPrimaryHardwareDev->hwDevice()->setMode(mMode); in loadHwModule_l()
2344 if (mPrimaryHardwareDev == nullptr) { in getAudioHwSyncForSession()
2347 dev = mPrimaryHardwareDev->hwDevice(); in getAudioHwSyncForSession()
2581 if ((mPrimaryHardwareDev == nullptr) && (flags & AUDIO_OUTPUT_FLAG_PRIMARY)) { in openOutput()
2583 mPrimaryHardwareDev = playbackThread->getOutput()->audioHwDev; in openOutput()
2586 mPrimaryHardwareDev->hwDevice()->setMode(mMode); in openOutput()
3254 if (mPrimaryHardwareDev == nullptr) { in primaryPlaybackThread_l()
3263 if (output != NULL && output->audioHwDev == mPrimaryHardwareDev) { in primaryPlaybackThread_l()