Lines Matching refs:mAudioPolicyManager
37 if (mAudioPolicyManager == NULL) { in setDeviceConnectionState()
51 return mAudioPolicyManager->setDeviceConnectionState(device, state, in setDeviceConnectionState()
59 if (mAudioPolicyManager == NULL) { in getDeviceConnectionState()
63 return mAudioPolicyManager->getDeviceConnectionState(device, in getDeviceConnectionState()
72 if (mAudioPolicyManager == NULL) { in handleDeviceConfigChange()
82 return mAudioPolicyManager->handleDeviceConfigChange(device, device_address, in handleDeviceConfigChange()
88 if (mAudioPolicyManager == NULL) { in setPhoneState()
108 mAudioPolicyManager->setPhoneState(state); in setPhoneState()
122 if (mAudioPolicyManager == NULL) { in setForceUse()
139 mAudioPolicyManager->setForceUse(usage, config); in setForceUse()
145 if (mAudioPolicyManager == NULL) { in getForceUse()
152 return mAudioPolicyManager->getForceUse(usage); in getForceUse()
160 if (mAudioPolicyManager == NULL) { in getOutput()
166 return mAudioPolicyManager->getOutput(stream); in getOutput()
181 if (mAudioPolicyManager == NULL) { in getOutputForAttr()
202 status_t result = mAudioPolicyManager->getOutputForAttr(attr, output, session, stream, uid, in getOutputForAttr()
213 mAudioPolicyManager->releaseOutput(*portId); in getOutputForAttr()
218 result = mAudioPolicyManager->getOutputForAttr(attr, output, session, stream, uid, config, in getOutputForAttr()
248 if (mAudioPolicyManager == NULL) { in startOutput()
267 status_t status = mAudioPolicyManager->startOutput(portId); in startOutput()
276 if (mAudioPolicyManager == NULL) { in stopOutput()
302 status_t status = mAudioPolicyManager->stopOutput(portId); in doStopOutput()
311 if (mAudioPolicyManager == NULL) { in releaseOutput()
335 mAudioPolicyManager->releaseOutput(portId); in doReleaseOutput()
350 if (mAudioPolicyManager == NULL) { in getInputForAttr()
410 status = mAudioPolicyManager->getInputForAttr(attr, input, riid, session, uid, in getInputForAttr()
449 mAudioPolicyManager->releaseInput(*portId); in getInputForAttr()
473 status_t status = mAudioPolicyManager->getAudioPort(&port); in getDeviceTypeStrForPortId()
482 if (mAudioPolicyManager == NULL) { in startInput()
512 status = mAudioPolicyManager->startInput(portId); in startInput()
592 if (mAudioPolicyManager == NULL) { in stopInput()
612 return mAudioPolicyManager->stopInput(portId); in stopInput()
617 if (mAudioPolicyManager == NULL) { in releaseInput()
653 mAudioPolicyManager->releaseInput(portId); in releaseInput()
661 if (mAudioPolicyManager == NULL) { in initStreamVolume()
672 mAudioPolicyManager->initStreamVolume(stream, indexMin, indexMax); in initStreamVolume()
680 if (mAudioPolicyManager == NULL) { in setStreamVolumeIndex()
691 return mAudioPolicyManager->setStreamVolumeIndex(stream, in setStreamVolumeIndex()
700 if (mAudioPolicyManager == NULL) { in getStreamVolumeIndex()
708 return mAudioPolicyManager->getStreamVolumeIndex(stream, in getStreamVolumeIndex()
716 if (mAudioPolicyManager == NULL) { in setVolumeIndexForAttributes()
724 return mAudioPolicyManager->setVolumeIndexForAttributes(attributes, index, device); in setVolumeIndexForAttributes()
730 if (mAudioPolicyManager == NULL) { in getVolumeIndexForAttributes()
735 return mAudioPolicyManager->getVolumeIndexForAttributes(attributes, index, device); in getVolumeIndexForAttributes()
741 if (mAudioPolicyManager == NULL) { in getMinVolumeIndexForAttributes()
746 return mAudioPolicyManager->getMinVolumeIndexForAttributes(attributes, index); in getMinVolumeIndexForAttributes()
752 if (mAudioPolicyManager == NULL) { in getMaxVolumeIndexForAttributes()
757 return mAudioPolicyManager->getMaxVolumeIndexForAttributes(attributes, index); in getMaxVolumeIndexForAttributes()
765 if (mAudioPolicyManager == NULL) { in getStrategyForStream()
770 return mAudioPolicyManager->getStrategyForStream(stream); in getStrategyForStream()
780 if (mAudioPolicyManager == NULL) { in getDevicesForStream()
785 return mAudioPolicyManager->getDevicesForStream(stream); in getDevicesForStream()
791 if (mAudioPolicyManager == NULL) { in getOutputForEffect()
796 return mAudioPolicyManager->getOutputForEffect(desc); in getOutputForEffect()
805 if (mAudioPolicyManager == NULL) { in registerEffect()
810 return mAudioPolicyManager->registerEffect(desc, io, strategy, session, id); in registerEffect()
815 if (mAudioPolicyManager == NULL) { in unregisterEffect()
820 return mAudioPolicyManager->unregisterEffect(id); in unregisterEffect()
825 if (mAudioPolicyManager == NULL) { in setEffectEnabled()
830 return mAudioPolicyManager->setEffectEnabled(id, enabled); in setEffectEnabled()
835 if (mAudioPolicyManager == NULL) { in moveEffectsToIo()
840 return mAudioPolicyManager->moveEffectsToIo(ids, io); in moveEffectsToIo()
848 if (mAudioPolicyManager == NULL) { in isStreamActive()
853 return mAudioPolicyManager->isStreamActive(stream, inPastMs); in isStreamActive()
861 if (mAudioPolicyManager == NULL) { in isStreamActiveRemotely()
866 return mAudioPolicyManager->isStreamActiveRemotely(stream, inPastMs); in isStreamActiveRemotely()
871 if (mAudioPolicyManager == NULL) { in isSourceActive()
876 return mAudioPolicyManager->isSourceActive(source); in isSourceActive()
881 if (mAudioPolicyManager == NULL) { in getAudioPolicyEffects()
975 if (mAudioPolicyManager == NULL) { in setAllowedCapturePolicy()
984 return mAudioPolicyManager->setAllowedCapturePolicy(uid, capturePolicy); in setAllowedCapturePolicy()
989 if (mAudioPolicyManager == NULL) { in isOffloadSupported()
995 return mAudioPolicyManager->isOffloadSupported(info); in isOffloadSupported()
1000 if (mAudioPolicyManager == NULL) { in isDirectOutputSupported()
1005 return mAudioPolicyManager->isDirectOutputSupported(config, attributes); in isDirectOutputSupported()
1016 if (mAudioPolicyManager == NULL) { in listAudioPorts()
1020 return mAudioPolicyManager->listAudioPorts(role, type, num_ports, ports, generation); in listAudioPorts()
1026 if (mAudioPolicyManager == NULL) { in getAudioPort()
1030 return mAudioPolicyManager->getAudioPort(port); in getAudioPort()
1040 if (mAudioPolicyManager == NULL) { in createAudioPatch()
1044 return mAudioPolicyManager->createAudioPatch(patch, handle, in createAudioPatch()
1054 if (mAudioPolicyManager == NULL) { in releaseAudioPatch()
1058 return mAudioPolicyManager->releaseAudioPatch(handle, in releaseAudioPatch()
1067 if (mAudioPolicyManager == NULL) { in listAudioPatches()
1071 return mAudioPolicyManager->listAudioPatches(num_patches, patches, generation); in listAudioPatches()
1080 if (mAudioPolicyManager == NULL) { in setAudioPortConfig()
1084 return mAudioPolicyManager->setAudioPortConfig(config); in setAudioPortConfig()
1092 if (mAudioPolicyManager == NULL) { in acquireSoundTriggerSession()
1096 return mAudioPolicyManager->acquireSoundTriggerSession(session, ioHandle, device); in acquireSoundTriggerSession()
1102 if (mAudioPolicyManager == NULL) { in releaseSoundTriggerSession()
1106 return mAudioPolicyManager->releaseSoundTriggerSession(session); in releaseSoundTriggerSession()
1128 if (mAudioPolicyManager == NULL) { in registerPolicyMixes()
1133 return mAudioPolicyManager->registerPolicyMixes(mixes); in registerPolicyMixes()
1135 return mAudioPolicyManager->unregisterPolicyMixes(mixes); in registerPolicyMixes()
1145 if (mAudioPolicyManager == NULL) { in setUidDeviceAffinities()
1149 return mAudioPolicyManager->setUidDeviceAffinities(uid, devices); in setUidDeviceAffinities()
1157 if (mAudioPolicyManager == NULL) { in removeUidDeviceAffinities()
1161 return mAudioPolicyManager->removeUidDeviceAffinities(uid); in removeUidDeviceAffinities()
1169 if (mAudioPolicyManager == NULL) { in startAudioSource()
1175 return mAudioPolicyManager->startAudioSource(source, attributes, portId, callingUid); in startAudioSource()
1181 if (mAudioPolicyManager == NULL) { in stopAudioSource()
1185 return mAudioPolicyManager->stopAudioSource(portId); in stopAudioSource()
1190 if (mAudioPolicyManager == NULL) { in setMasterMono()
1198 return mAudioPolicyManager->setMasterMono(mono); in setMasterMono()
1203 if (mAudioPolicyManager == NULL) { in getMasterMono()
1208 return mAudioPolicyManager->getMasterMono(mono); in getMasterMono()
1215 if (mAudioPolicyManager == NULL) { in getStreamVolumeDB()
1220 return mAudioPolicyManager->getStreamVolumeDB(stream, index, device); in getStreamVolumeDB()
1228 if (mAudioPolicyManager == NULL) { in getSurroundFormats()
1233 return mAudioPolicyManager->getSurroundFormats(numSurroundFormats, surroundFormats, in getSurroundFormats()
1240 if (mAudioPolicyManager == NULL) { in getHwOffloadEncodingFormatsSupportedForA2DP()
1245 return mAudioPolicyManager->getHwOffloadEncodingFormatsSupportedForA2DP(formats); in getHwOffloadEncodingFormatsSupportedForA2DP()
1250 if (mAudioPolicyManager == NULL) { in setSurroundFormatEnabled()
1255 return mAudioPolicyManager->setSurroundFormatEnabled(audioFormat, enabled); in setSurroundFormatEnabled()
1274 if (mAudioPolicyManager == NULL) { in isHapticPlaybackSupported()
1280 return mAudioPolicyManager->isHapticPlaybackSupported(); in isHapticPlaybackSupported()
1285 if (mAudioPolicyManager == NULL) { in listAudioProductStrategies()
1289 return mAudioPolicyManager->listAudioProductStrategies(strategies); in listAudioProductStrategies()
1295 if (mAudioPolicyManager == NULL) { in getProductStrategyFromAudioAttributes()
1299 return mAudioPolicyManager->getProductStrategyFromAudioAttributes(aa, productStrategy); in getProductStrategyFromAudioAttributes()
1304 if (mAudioPolicyManager == NULL) { in listAudioVolumeGroups()
1308 return mAudioPolicyManager->listAudioVolumeGroups(groups); in listAudioVolumeGroups()
1314 if (mAudioPolicyManager == NULL) { in getVolumeGroupFromAudioAttributes()
1318 return mAudioPolicyManager->getVolumeGroupFromAudioAttributes(aa, volumeGroup); in getVolumeGroupFromAudioAttributes()