/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
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);
|
AudioInputDescriptor.h | 30 class AudioMix; 47 AudioMix *mPolicyMix; // non NULL when used by a dynamic policy
|
AudioSession.h | 42 AudioMix* policyMix, 75 AudioMix* mPolicyMix; // non NULL when used by a dynamic policy
|
AudioOutputDescriptor.h | 30 class AudioMix; 127 AudioMix *mPolicyMix; // non NULL when used by a dynamic policy
|
/frameworks/base/media/java/android/media/audiopolicy/ |
AudioPolicyConfig.java | 38 protected ArrayList<AudioMix> mMixes; 47 AudioPolicyConfig(ArrayList<AudioMix> mixes) { 52 * Add an {@link AudioMix} to be part of the audio policy being built. 53 * @param mix a non-null {@link AudioMix} to be part of the audio policy. 57 public void addMix(AudioMix mix) throws IllegalArgumentException { 59 throw new IllegalArgumentException("Illegal null AudioMix argument"); 64 public ArrayList<AudioMix> getMixes() { 81 for (AudioMix mix : mMixes) { 103 mMixes = new ArrayList<AudioMix>(); 106 final AudioMix.Builder mixBuilder = new AudioMix.Builder() [all...] |
AudioPolicy.java | 126 private ArrayList<AudioMix> mMixes; 138 mMixes = new ArrayList<AudioMix>(); 143 * Add an {@link AudioMix} to be part of the audio policy being built. 144 * @param mix a non-null {@link AudioMix} to be part of the audio policy. 149 public Builder addMix(@NonNull AudioMix mix) throws IllegalArgumentException { 151 throw new IllegalArgumentException("Illegal null AudioMix argument"); 194 for (AudioMix mix : mMixes) { 195 mix.mCallbackFlags |= AudioMix.CALLBACK_FLAG_NOTIFY_ACTIVITY; 240 private void checkMixReadyToUse(AudioMix mix, boolean forTrack) 243 String msg = forTrack ? "Invalid null AudioMix for AudioTrack creation [all...] |
AudioMix.java | 34 public class AudioMix { 52 private AudioMix(AudioMixingRule rule, AudioFormat format, int routeFlags, int callbackFlags, 63 // CALLBACK_FLAG_* values: keep in sync with AudioMix::kCbFlag* values defined 177 * Builder class for {@link AudioMix} objects 273 * {@link AudioMix#ROUTE_FLAG_LOOP_BACK}. 274 * @param routeFlags one of {@link AudioMix#ROUTE_FLAG_LOOP_BACK}, 275 * {@link AudioMix#ROUTE_FLAG_RENDER} 287 + Integer.toHexString(routeFlags) + "when configuring an AudioMix"); 291 + Integer.toHexString(routeFlags) + "when configuring an AudioMix"); 300 * specify {@link AudioMix#ROUTE_FLAG_RENDER} [all...] |
AudioMixingRule.java | 209 private int mTargetMixType = AudioMix.MIX_TYPE_INVALID; 369 if (mTargetMixType == AudioMix.MIX_TYPE_INVALID) { 371 mTargetMixType = AudioMix.MIX_TYPE_PLAYERS; 373 mTargetMixType = AudioMix.MIX_TYPE_RECORDERS; 375 } else if (((mTargetMixType == AudioMix.MIX_TYPE_PLAYERS) && !isPlayerRule(rule)) 376 || ((mTargetMixType == AudioMix.MIX_TYPE_RECORDERS) && isPlayerRule(rule)))
|
/frameworks/av/include/media/ |
AudioPolicy.h | 29 // Keep in sync with AudioMix.java, AudioMixingRule.java, AudioPolicyConfig.java 75 class AudioMix { 77 // flag on an AudioMix indicating the activity on this mix (IDLE, MIXING) 81 AudioMix() {} 82 AudioMix(Vector<AudioMixMatchCriterion> criteria, uint32_t mixType, audio_config_t format,
|
IAudioPolicyService.h | 163 virtual status_t registerPolicyMixes(Vector<AudioMix> mixes, bool registration) = 0;
|
AudioSystem.h | 329 static status_t registerPolicyMixes(Vector<AudioMix> mixes, bool registration);
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
AudioPolicyMix.cpp | 44 void AudioPolicyMix::setMix(AudioMix &mix) 49 android::AudioMix *AudioPolicyMix::getMix() 54 status_t AudioPolicyMixCollection::registerMix(String8 address, AudioMix mix, 114 AudioMix *mix = policyMix->getMix(); 233 AudioMix **policyMix) 236 AudioMix *mix = valueAt(i)->getMix(); 259 status_t AudioPolicyMixCollection::getInputMixForAttr(audio_attributes_t attr, AudioMix **policyMix) 270 AudioMix *mix = policyMix->getMix(); 281 AudioMix *mix = audioPolicyMix->getMix();
|
AudioSession.cpp | 37 AudioMix* policyMix, 80 if ((mPolicyMix != NULL) && ((mPolicyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0))
|
AudioOutputDescriptor.cpp | 316 if ((mPolicyMix != NULL) && ((mPolicyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) 323 if ((mPolicyMix != NULL) && ((mPolicyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0))
|
/packages/services/Car/tests/carservice_test/src/android/media/tests/ |
AudioPolicyTest.java | 25 import android.media.audiopolicy.AudioMix; 64 AudioMix mediaMix = createAudioMix(AudioAttributes.CONTENT_TYPE_UNKNOWN, 87 private static AudioMix createAudioMix(int contentType, int usage) { 99 return new AudioMix.Builder(audioMixingRule)
|
/frameworks/av/media/libmedia/ |
AudioPolicy.cpp | 60 // AudioMix implementation 63 status_t AudioMix::readFromParcel(Parcel *parcel) 86 status_t AudioMix::writeToParcel(Parcel *parcel) const
|
IAudioPolicyService.cpp | 707 virtual status_t registerPolicyMixes(Vector<AudioMix> mixes, bool registration) [all...] |
/frameworks/av/services/audiopolicy/ |
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/ |
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); [all...] |
AudioPolicyManager.cpp | [all...] |
/frameworks/base/media/java/android/media/ |
AudioSystem.java | 21 import android.media.audiopolicy.AudioMix; [all...] |
/frameworks/av/services/audiopolicy/service/ |
AudioPolicyInterfaceImpl.cpp | 681 status_t AudioPolicyService::registerPolicyMixes(Vector<AudioMix> mixes, bool registration)
|
AudioPolicyInterfaceImplLegacy.cpp | 605 status_t AudioPolicyService::registerPolicyMixes(Vector<AudioMix> mixes __unused,
|
AudioPolicyService.h | 199 virtual status_t registerPolicyMixes(Vector<AudioMix> mixes, bool registration);
|
/frameworks/base/core/jni/ |
android_media_AudioSystem.cpp | [all...] |