/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioPolicyConfig.java | 38 protected ArrayList<AudioMix> mMixes; 47 AudioPolicyConfig(ArrayList<AudioMix> mixes) { in AudioPolicyConfig() 57 public void addMix(AudioMix mix) throws IllegalArgumentException { in addMix() 64 public ArrayList<AudioMix> getMixes() { in getMixes() 81 for (AudioMix mix : mMixes) { in writeToParcel() 103 mMixes = new ArrayList<AudioMix>(); in AudioPolicyConfig() 106 final AudioMix.Builder mixBuilder = new AudioMix.Builder(); in AudioPolicyConfig() 151 for(AudioMix mix : mMixes) { in toLogFriendlyString() 205 for (AudioMix mix : mMixes) { in setRegistration() 207 if ((mix.getRouteFlags() & AudioMix.ROUTE_FLAG_LOOP_BACK) == in setRegistration() [all …]
|
D | AudioPolicy.java | 126 private ArrayList<AudioMix> mMixes; 138 mMixes = new ArrayList<AudioMix>(); in Builder() 149 public Builder addMix(@NonNull AudioMix mix) throws IllegalArgumentException { in addMix() 194 for (AudioMix mix : mMixes) { in build() 195 mix.mCallbackFlags |= AudioMix.CALLBACK_FLAG_NOTIFY_ACTIVITY; in build() 240 private void checkMixReadyToUse(AudioMix mix, boolean forTrack) in checkMixReadyToUse() 250 if ((mix.getRouteFlags() & AudioMix.ROUTE_FLAG_LOOP_BACK) != AudioMix.ROUTE_FLAG_LOOP_BACK) in checkMixReadyToUse() 254 if (forTrack && (mix.getMixType() != AudioMix.MIX_TYPE_RECORDERS)) { in checkMixReadyToUse() 258 if (!forTrack && (mix.getMixType() != AudioMix.MIX_TYPE_PLAYERS)) { in checkMixReadyToUse() 330 public AudioRecord createAudioRecordSink(AudioMix mix) throws IllegalArgumentException { in createAudioRecordSink() [all …]
|
D | AudioMixingRule.java | 209 private int mTargetMixType = AudioMix.MIX_TYPE_INVALID; 369 if (mTargetMixType == AudioMix.MIX_TYPE_INVALID) { in addRuleInternal() 371 mTargetMixType = AudioMix.MIX_TYPE_PLAYERS; in addRuleInternal() 373 mTargetMixType = AudioMix.MIX_TYPE_RECORDERS; in addRuleInternal() 375 } else if (((mTargetMixType == AudioMix.MIX_TYPE_PLAYERS) && !isPlayerRule(rule)) in addRuleInternal() 376 || ((mTargetMixType == AudioMix.MIX_TYPE_RECORDERS) && isPlayerRule(rule))) in addRuleInternal()
|
D | AudioMix.java | 34 public class AudioMix { class 52 private AudioMix(AudioMixingRule rule, AudioFormat format, int routeFlags, int callbackFlags, in AudioMix() method in AudioMix 325 public AudioMix build() throws IllegalArgumentException { in build() 353 if (mRule.getTargetMixType() != AudioMix.MIX_TYPE_PLAYERS) { in build() 371 return new AudioMix(mRule, mFormat, mRouteFlags, mCallbackFlags, mDeviceSystemType, in build()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioPolicyMix.h | 42 android::AudioMix *getMix(); 44 void setMix(AudioMix &mix); 47 AudioMix mMix; // Audio policy mix descriptor 57 status_t registerMix(String8 address, AudioMix mix, sp<SwAudioOutputDescriptor> desc); 77 AudioMix **policyMix); 79 status_t getInputMixForAttr(audio_attributes_t attr, AudioMix **policyMix);
|
D | AudioInputDescriptor.h | 30 class AudioMix; variable 47 AudioMix *mPolicyMix; // non NULL when used by a dynamic policy
|
D | AudioSession.h | 42 AudioMix* policyMix, 75 AudioMix* mPolicyMix; // non NULL when used by a dynamic policy
|
D | AudioOutputDescriptor.h | 30 class AudioMix; variable 127 AudioMix *mPolicyMix; // non NULL when used by a dynamic policy
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyMix.cpp | 44 void AudioPolicyMix::setMix(AudioMix &mix) in setMix() 49 android::AudioMix *AudioPolicyMix::getMix() in getMix() 54 status_t AudioPolicyMixCollection::registerMix(String8 address, AudioMix mix, in registerMix() 114 AudioMix *mix = policyMix->getMix(); in getOutputForAttr() 233 AudioMix **policyMix) in getDeviceAndMixForInputSource() 236 AudioMix *mix = valueAt(i)->getMix(); in getDeviceAndMixForInputSource() 259 status_t AudioPolicyMixCollection::getInputMixForAttr(audio_attributes_t attr, AudioMix **policyMix) in getInputMixForAttr() 270 AudioMix *mix = policyMix->getMix(); in getInputMixForAttr() 281 AudioMix *mix = audioPolicyMix->getMix(); in getInputMixForAttr()
|
D | AudioSession.cpp | 37 AudioMix* policyMix, in AudioSession() 80 if ((mPolicyMix != NULL) && ((mPolicyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) in changeActiveCount()
|
D | AudioOutputDescriptor.cpp | 316 if ((mPolicyMix != NULL) && ((mPolicyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) in changeRefCount() 323 if ((mPolicyMix != NULL) && ((mPolicyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) in changeRefCount()
|
/frameworks/av/include/media/ |
D | AudioPolicy.h | 75 class AudioMix { 81 AudioMix() {} in AudioMix() function 82 AudioMix(Vector<AudioMixMatchCriterion> criteria, uint32_t mixType, audio_config_t format, in AudioMix() function
|
D | IAudioPolicyService.h | 163 virtual status_t registerPolicyMixes(Vector<AudioMix> mixes, bool registration) = 0;
|
D | AudioSystem.h | 329 static status_t registerPolicyMixes(Vector<AudioMix> mixes, bool registration);
|
/frameworks/av/media/libmedia/ |
D | AudioPolicy.cpp | 63 status_t AudioMix::readFromParcel(Parcel *parcel) in readFromParcel() 86 status_t AudioMix::writeToParcel(Parcel *parcel) const in writeToParcel()
|
D | IAudioPolicyService.cpp | 707 virtual status_t registerPolicyMixes(Vector<AudioMix> mixes, bool registration) in registerPolicyMixes() 1313 Vector<AudioMix> mixes; in onTransact() 1319 AudioMix mix; in onTransact()
|
D | AudioSystem.cpp | 1169 status_t AudioSystem::registerPolicyMixes(Vector<AudioMix> mixes, bool registration) in registerPolicyMixes()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 225 virtual status_t registerPolicyMixes(Vector<AudioMix> mixes); 226 virtual status_t unregisterPolicyMixes(Vector<AudioMix> mixes); 630 AudioMix *policyMix); 644 AudioMix **policyMix = NULL);
|
D | AudioPolicyManager.cpp | 1093 AudioMix *policyMix = NULL; in startOutput() 1384 AudioMix *policyMix = NULL; in getInputForAttr() 1460 AudioMix *policyMix) in getInputForDevice() 1650 && ((inputDesc->mPolicyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) { in startInput() 1714 && ((inputDesc->mPolicyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) { in stopInput() 2045 status_t AudioPolicyManager::registerPolicyMixes(Vector<AudioMix> mixes) in registerPolicyMixes() 2148 status_t AudioPolicyManager::unregisterPolicyMixes(Vector<AudioMix> mixes) in unregisterPolicyMixes() 4873 AudioMix **policyMix) in AudioPolicyManager()
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 223 virtual status_t registerPolicyMixes(Vector<AudioMix> mixes) = 0; 224 virtual status_t unregisterPolicyMixes(Vector<AudioMix> mixes) = 0;
|
/frameworks/base/media/java/android/media/ |
D | AudioSystem.java | 21 import android.media.audiopolicy.AudioMix; 723 public static native int registerPolicyMixes(ArrayList<AudioMix> mixes, boolean register); in registerPolicyMixes()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImplLegacy.cpp | 605 status_t AudioPolicyService::registerPolicyMixes(Vector<AudioMix> mixes __unused, in registerPolicyMixes()
|
D | AudioPolicyInterfaceImpl.cpp | 681 status_t AudioPolicyService::registerPolicyMixes(Vector<AudioMix> mixes, bool registration) in registerPolicyMixes()
|
D | AudioPolicyService.h | 199 virtual status_t registerPolicyMixes(Vector<AudioMix> mixes, bool registration);
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 1571 AudioMix *nAudioMix, in convertAudioMixToNative() 1668 Vector <AudioMix> mixes; in android_media_AudioSystem_registerPolicyMixes() 1675 AudioMix mix; in android_media_AudioSystem_registerPolicyMixes()
|