Lines Matching refs:mModule

107           mInstance(instance), mModule(module), mVendorExt(vext),  in DeviceHalAidl()
129 if (mModule == nullptr) return NO_INIT; in getSupportedModes()
151 if (mModule == nullptr) return NO_INIT; in initCheck()
159 if (mModule == nullptr) return NO_INIT; in setVoiceVolume()
173 if (mModule == nullptr) return NO_INIT; in setMasterVolume()
174 return statusTFromBinderStatus(mModule->setMasterVolume(volume)); in setMasterVolume()
180 if (mModule == nullptr) return NO_INIT; in getMasterVolume()
184 return statusTFromBinderStatus(mModule->getMasterVolume(volume)); in getMasterVolume()
190 if (mModule == nullptr) return NO_INIT; in setMode()
195 return statusTFromBinderStatus(mModule->updateAudioMode(audioMode)); in setMode()
201 if (mModule == nullptr) return NO_INIT; in setMicMute()
202 return statusTFromBinderStatus(mModule->setMicMute(state)); in setMicMute()
208 if (mModule == nullptr) return NO_INIT; in getMicMute()
212 return statusTFromBinderStatus(mModule->getMicMute(state)); in getMicMute()
218 if (mModule == nullptr) return NO_INIT; in setMasterMute()
219 return statusTFromBinderStatus(mModule->setMasterMute(state)); in setMasterMute()
225 if (mModule == nullptr) return NO_INIT; in getMasterMute()
229 return statusTFromBinderStatus(mModule->getMasterMute(state)); in getMasterMute()
235 if (mModule == nullptr) return NO_INIT; in setParameters()
257 return parseAndSetVendorParameters(mVendorExt, mModule, parameters); in setParameters()
263 if (mModule == nullptr) return NO_INIT; in getParameters()
275 return parseAndGetVendorParameters(mVendorExt, mModule, parameterKeys, values); in getParameters()
281 if (mModule == nullptr) return NO_INIT; in getInputBufferSize()
433 if (mModule == nullptr) return NO_INIT; in openOutputStream()
479 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mModule->openOutputStream(args, &ret))); in openOutputStream()
514 if (mModule == nullptr) return NO_INIT; in openInputStream()
554 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mModule->openInputStream(args, &ret))); in openInputStream()
586 if (mModule == nullptr) return NO_INIT; in createAudioPatch()
654 if (mModule == nullptr) return NO_INIT; in releaseAudioPatch()
689 if (mModule == nullptr) return NO_INIT; in getAudioPort()
720 if (mModule == nullptr) return NO_INIT; in getAudioMixPort()
742 if (mModule == nullptr) return NO_INIT; in setAudioPortConfig()
759 if (!mModule) return {}; in getMicrophoneInfo()
764 status_t status = statusTFromBinderStatus(mModule->getMicrophones(&aidlInfo)); in getMicrophoneInfo()
785 if (mModule == nullptr) return NO_INIT; in getMicrophones()
807 if (mModule == nullptr) return NO_INIT; in addDeviceEffect()
829 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mModule->addDeviceEffect( in addDeviceEffect()
838 if (mModule == nullptr) return NO_INIT; in removeDeviceEffect()
860 return statusTFromBinderStatus(mModule->removeDeviceEffect( in removeDeviceEffect()
869 if (mModule == nullptr) return NO_INIT; in getMmapPolicyInfos()
876 mModule->getMmapPolicyInfos(mmapPolicyType, &mmapPolicyInfos)); status != OK) { in getMmapPolicyInfos()
889 if (mModule == nullptr) return NO_INIT; in getAAudioMixerBurstCount()
891 if (mModule->getAAudioMixerBurstCount(&mixerBurstCount).isOk()) { in getAAudioMixerBurstCount()
900 if (mModule == nullptr) return NO_INIT; in getAAudioHardwareBurstMinUsec()
902 if (mModule->getAAudioHardwareBurstMinUsec(&hardwareBurstMinUsec).isOk()) { in getAAudioHardwareBurstMinUsec()
911 if (mModule == nullptr) return NO_INIT; in getHwAvSync()
913 RETURN_STATUS_IF_ERROR(statusTFromBinderStatus(mModule->generateHwAvSyncId(&aidlHwAvSync))); in getHwAvSync()
920 if (mModule == nullptr) return NO_INIT; in dump()
923 return mModule->dump(fd, Args(newArgs).args(), newArgs.size()); in dump()
929 if (mModule == nullptr) return NO_INIT; in supportsBluetoothVariableLatency()
933 return statusTFromBinderStatus(mModule->supportsVariableLatency(supports)); in supportsBluetoothVariableLatency()
962 if (mModule == nullptr) return NO_INIT; in prepareToDisconnectExternalDevice()
998 if (mModule == nullptr) return NO_INIT; in setConnectedState()
1028 if (mModule == nullptr) return NO_INIT; in setSimulateDeviceConnections()
1034 status_t status = statusTFromBinderStatus(mModule->setModuleDebug(debug)); in setSimulateDeviceConnections()
1267 mModule->updateScreenState(isTurnedOn.value())); in filterAndUpdateScreenParameters()
1283 return statusTFromBinderStatus(mModule->updateScreenRotation(rotation)); in filterAndUpdateScreenParameters()