Lines Matching refs:mPrimaryHardwareDev
1355 if (mPrimaryHardwareDev == nullptr) { in setMode()
1358 sp<DeviceHalInterface> dev = mPrimaryHardwareDev.load()->hwDevice(); in setMode()
1392 if (mPrimaryHardwareDev == nullptr) { in setMicMute()
1395 sp<DeviceHalInterface> primaryDev = mPrimaryHardwareDev.load()->hwDevice(); in setMicMute()
1420 if (mPrimaryHardwareDev == nullptr) { in getMicMute()
1423 sp<DeviceHalInterface> primaryDev = mPrimaryHardwareDev.load()->hwDevice(); in getMicMute()
1938 if (mPrimaryHardwareDev == nullptr) { in getInputBufferSize()
2056 if (mPrimaryHardwareDev == nullptr) { in setVoiceVolume()
2059 sp<DeviceHalInterface> dev = mPrimaryHardwareDev.load()->hwDevice(); in setVoiceVolume()
2620 mPrimaryHardwareDev = audioDevice; in loadHwModule_ll()
2622 mPrimaryHardwareDev.load()->hwDevice()->setMode(mMode); in loadHwModule_ll()
2784 if (mPrimaryHardwareDev == nullptr) { in getAudioHwSyncForSession()
2787 dev = mPrimaryHardwareDev.load()->hwDevice(); in getAudioHwSyncForSession()
3054 if ((mPrimaryHardwareDev == nullptr) && (flags & AUDIO_OUTPUT_FLAG_PRIMARY)) { in openOutput()
3056 mPrimaryHardwareDev = playbackThread->getOutput()->audioHwDev; in openOutput()
3059 mPrimaryHardwareDev.load()->hwDevice()->setMode(mMode); in openOutput()
3816 if (mPrimaryHardwareDev == nullptr) { in primaryPlaybackThread_l()
3825 if (output != NULL && output->audioHwDev == mPrimaryHardwareDev) { in primaryPlaybackThread_l()