/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
AudioPolicyMix.h | 42 android::AudioMix *getMix(); 44 void setMix(AudioMix &mix); 49 AudioMix mMix; // Audio policy mix descriptor 59 status_t registerMix(const String8& address, AudioMix mix, sp<SwAudioOutputDescriptor> desc); 79 AudioMix **policyMix); 81 status_t getInputMixForAttr(audio_attributes_t attr, AudioMix **policyMix);
|
AudioSession.h | 42 AudioMix* policyMix, 75 AudioMix* mPolicyMix; // non NULL when used by a dynamic policy
|
AudioInputDescriptor.h | 30 class AudioMix; 47 AudioMix *mPolicyMix; // non NULL when used by a dynamic policy
|
AudioOutputDescriptor.h | 32 class AudioMix; 129 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...] |
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...] |
AudioPolicy.java | 131 private ArrayList<AudioMix> mMixes; 144 mMixes = new ArrayList<AudioMix>(); 149 * Add an {@link AudioMix} to be part of the audio policy being built. 150 * @param mix a non-null {@link AudioMix} to be part of the audio policy. 155 public Builder addMix(@NonNull AudioMix mix) throws IllegalArgumentException { 157 throw new IllegalArgumentException("Illegal null AudioMix argument"); 223 for (AudioMix mix : mMixes) { 224 mix.mCallbackFlags |= AudioMix.CALLBACK_FLAG_NOTIFY_ACTIVITY; 273 private void checkMixReadyToUse(AudioMix mix, boolean forTrack) 276 String msg = forTrack ? "Invalid null AudioMix for AudioTrack creation [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/media/libaudioclient/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(const Vector<AudioMix>& mixes, bool registration) = 0;
|
AudioSystem.h | 331 static status_t registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration);
|
/frameworks/av/media/libaudioclient/ |
AudioPolicy.cpp | 60 // AudioMix implementation 63 status_t AudioMix::readFromParcel(Parcel *parcel) 86 status_t AudioMix::writeToParcel(Parcel *parcel) const
|
IAudioPolicyService.cpp | 720 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration) [all...] |
/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/services/audiopolicy/common/managerdefinitions/src/ |
AudioPolicyMix.cpp | 45 void AudioPolicyMix::setMix(AudioMix &mix) 50 android::AudioMix *AudioPolicyMix::getMix() 115 status_t AudioPolicyMixCollection::registerMix(const String8& address, AudioMix mix, 175 AudioMix *mix = policyMix->getMix(); 294 AudioMix **policyMix) 297 AudioMix *mix = valueAt(i)->getMix(); 320 status_t AudioPolicyMixCollection::getInputMixForAttr(audio_attributes_t attr, AudioMix **policyMix) 331 AudioMix *mix = policyMix->getMix(); 342 AudioMix *mix = audioPolicyMix->getMix();
|
AudioSession.cpp | 39 AudioMix* policyMix, 82 if ((mPolicyMix != NULL) && ((mPolicyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0))
|
AudioOutputDescriptor.cpp | 317 if ((mPolicyMix != NULL) && ((mPolicyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) 324 if ((mPolicyMix != NULL) && ((mPolicyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0))
|
/tools/loganalysis/tests/src/com/android/loganalysis/rule/ |
WakelockRuleTest.java | 64 wakelock.addWakeLock("AudioMix", "1013", 1979, 3, 86 wakelock.addWakeLock("AudioMix", "1013", 1979, 3,
|
/frameworks/av/services/audiopolicy/engine/interface/ |
AudioPolicyManagerObserver.h | 35 * HwModule collections, AudioMix, ...
|
/frameworks/av/services/audiopolicy/managerdefault/ |
AudioPolicyManager.h | 226 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes); 227 virtual status_t unregisterPolicyMixes(Vector<AudioMix> mixes); 646 AudioMix *policyMix); [all...] |
/packages/services/Car/service/src/com/android/car/ |
CarAudioService.java | 33 import android.media.audiopolicy.AudioMix; 351 AudioMix audioMix = new AudioMix.Builder(mixingRuleBuilder.build()) 354 .setRouteFlags(AudioMix.ROUTE_FLAG_RENDER) 356 audioPolicyBuilder.addMix(audioMix); [all...] |
/frameworks/av/services/audiopolicy/ |
AudioPolicyInterface.h | 233 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes) = 0; 234 virtual status_t unregisterPolicyMixes(Vector<AudioMix> mixes) = 0;
|
/frameworks/base/media/java/android/media/ |
AudioSystem.java | 21 import android.media.audiopolicy.AudioMix; [all...] |
/frameworks/av/services/audiopolicy/service/ |
AudioPolicyInterfaceImpl.cpp | 712 status_t AudioPolicyService::registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration)
|
AudioPolicyService.h | 195 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration);
|