/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioPolicyConfig.java | 36 protected ArrayList<AudioMix> mMixes; 45 AudioPolicyConfig(ArrayList<AudioMix> mixes) { in AudioPolicyConfig() 55 public void addMix(AudioMix mix) throws IllegalArgumentException { in addMix() 62 public ArrayList<AudioMix> getMixes() { in getMixes() 79 for (AudioMix mix : mMixes) { in writeToParcel() 98 mMixes = new ArrayList<AudioMix>(); in AudioPolicyConfig() 101 final AudioMix.Builder mixBuilder = new AudioMix.Builder(); in AudioPolicyConfig() 144 for(AudioMix mix : mMixes) { in toLogFriendlyString() 190 for (AudioMix mix : mMixes) { in setRegistration() 201 if (type == AudioMix.MIX_TYPE_PLAYERS) return "p"; in mixTypeId() [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 | 143 private int mTargetMixType = AudioMix.MIX_TYPE_INVALID; 220 if (mTargetMixType == AudioMix.MIX_TYPE_INVALID) { in addRuleInt() 222 mTargetMixType = AudioMix.MIX_TYPE_PLAYERS; in addRuleInt() 224 mTargetMixType = AudioMix.MIX_TYPE_RECORDERS; in addRuleInt() 226 } else if (((mTargetMixType == AudioMix.MIX_TYPE_PLAYERS) && !isPlayerRule(rule)) in addRuleInt() 227 || ((mTargetMixType == AudioMix.MIX_TYPE_RECORDERS) && isPlayerRule(rule))) in addRuleInt()
|
D | AudioMix.java | 32 public class AudioMix { class 45 private AudioMix(AudioMixingRule rule, AudioFormat format, int routeFlags, int callbackFlags) { in AudioMix() method in AudioMix 271 public AudioMix build() throws IllegalArgumentException { in build() 286 return new AudioMix(mRule, mFormat, mRouteFlags, mCallbackFlags); 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); 76 AudioMix **policyMix); 78 status_t getInputMixForAttr(audio_attributes_t attr, AudioMix **policyMix);
|
D | AudioInputDescriptor.h | 28 class AudioMix; variable 44 AudioMix *mPolicyMix; // non NULL when used by a dynamic policy
|
D | AudioOutputDescriptor.h | 29 class AudioMix; variable 122 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() 106 AudioMix *mix = policyMix->getMix(); in getOutputForAttr() 144 AudioMix **policyMix) in getDeviceAndMixForInputSource() 147 AudioMix *mix = valueAt(i)->getMix(); in getDeviceAndMixForInputSource() 170 status_t AudioPolicyMixCollection::getInputMixForAttr(audio_attributes_t attr, AudioMix **policyMix) in getInputMixForAttr() 183 AudioMix *mix = audioPolicyMix->getMix(); in getInputMixForAttr()
|
D | AudioOutputDescriptor.cpp | 318 if ((mPolicyMix != NULL) && ((mPolicyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) in changeRefCount() 325 if ((mPolicyMix != NULL) && ((mPolicyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) in changeRefCount()
|
/frameworks/av/include/media/ |
D | AudioPolicy.h | 71 class AudioMix { 77 AudioMix() {} in AudioMix() function 78 AudioMix(Vector<AttributeMatchCriterion> criteria, uint32_t mixType, audio_config_t format, in AudioMix() function
|
D | IAudioPolicyService.h | 162 virtual status_t registerPolicyMixes(Vector<AudioMix> mixes, bool registration) = 0;
|
D | AudioSystem.h | 315 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() 85 status_t AudioMix::writeToParcel(Parcel *parcel) const in writeToParcel()
|
D | IAudioPolicyService.cpp | 703 virtual status_t registerPolicyMixes(Vector<AudioMix> mixes, bool registration) in registerPolicyMixes() 1273 Vector<AudioMix> mixes; in onTransact() 1279 AudioMix mix; in onTransact()
|
D | AudioSystem.cpp | 1133 status_t AudioSystem::registerPolicyMixes(Vector<AudioMix> mixes, bool registration) in registerPolicyMixes()
|
/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/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 223 virtual status_t registerPolicyMixes(Vector<AudioMix> mixes); 224 virtual status_t unregisterPolicyMixes(Vector<AudioMix> mixes); 609 AudioMix **policyMix = NULL);
|
D | AudioPolicyManager.cpp | 1307 AudioMix *policyMix = NULL; in getInputForAttr() 1505 && ((inputDesc->mPolicyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) { in startInput() 1569 && ((inputDesc->mPolicyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) { in stopInput() 1882 status_t AudioPolicyManager::registerPolicyMixes(Vector<AudioMix> mixes) in registerPolicyMixes() 1929 status_t AudioPolicyManager::unregisterPolicyMixes(Vector<AudioMix> mixes) in unregisterPolicyMixes() 4485 AudioMix **policyMix) in getDeviceAndMixForInputSource()
|
/frameworks/base/media/java/android/media/ |
D | AudioSystem.java | 21 import android.media.audiopolicy.AudioMix; 650 public static native int registerPolicyMixes(ArrayList<AudioMix> mixes, boolean register); in registerPolicyMixes()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImplLegacy.cpp | 604 status_t AudioPolicyService::registerPolicyMixes(Vector<AudioMix> mixes __unused, in registerPolicyMixes()
|
D | AudioPolicyService.h | 198 virtual status_t registerPolicyMixes(Vector<AudioMix> mixes, bool registration);
|
D | AudioPolicyInterfaceImpl.cpp | 663 status_t AudioPolicyService::registerPolicyMixes(Vector<AudioMix> mixes, bool registration) in registerPolicyMixes()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 1492 AudioMix *nAudioMix, in convertAudioMixToNative() 1577 Vector <AudioMix> mixes; in android_media_AudioSystem_registerPolicyMixes() 1584 AudioMix mix; in android_media_AudioSystem_registerPolicyMixes()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 74 import android.media.audiopolicy.AudioMix; 6092 for (AudioMix mix : policy.getMixes()) { in onDynPolicyMixStateUpdate()
|
/frameworks/base/ |
D | preloaded-classes | 1270 android.media.audiopolicy.AudioMix
|