Home
last modified time | relevance | path

Searched refs:mMixes (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicyConfig.java41 protected final ArrayList<AudioMix> mMixes; field in AudioPolicyConfig
50 mMixes = conf.mMixes; in AudioPolicyConfig()
55 mMixes = mixes; in AudioPolicyConfig()
68 mMixes.add(mix); in addMix()
72 return mMixes; in getMixes()
77 return Objects.hash(mMixes); in hashCode()
87 dest.writeInt(mMixes.size()); in writeToParcel()
88 for (AudioMix mix : mMixes) { in writeToParcel()
95 mMixes = new ArrayList<>(nbMixes); in AudioPolicyConfig()
97 mMixes.add(AudioMix.CREATOR.createFromParcel(in)); in AudioPolicyConfig()
[all …]
DAudioPolicy.java192 private ArrayList<AudioMix> mMixes; field in AudioPolicy.Builder
207 mMixes = new ArrayList<AudioMix>(); in Builder()
225 mMixes.add(mix); in addMix()
338 for (AudioMix mix : mMixes) { in build()
346 return new AudioPolicy(new AudioPolicyConfig(mMixes), mContext, mLooper, in build()
804 return mConfig.mMixes.stream().allMatch(mix -> mix.getRouteFlags() in isLoopbackRenderPolicy()
811 for (AudioMix mix : mConfig.mMixes) { in isCallRedirectionPolicy()
844 if (!mConfig.mMixes.contains(mix)) { in checkMixReadyToUse()
/frameworks/av/media/libaudioclient/tests/
Daudiorouting_tests.cpp156 mMixes.push(mix); in SetUp()
157 if (OK == AudioSystem::registerPolicyMixes(mMixes, true)) { in SetUp()
165 EXPECT_EQ(OK, AudioSystem::registerPolicyMixes(mMixes, false)); in TearDown()
171 Vector<AudioMix> mMixes; member in AudioRoutingTest
255 EXPECT_EQ(OK, AudioSystem::registerPolicyMixes(mMixes, false)); in TEST_F()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java13516 for (AudioMix mix : mMixes) { in binderDied()
13553 synchronized (mMixes) { in release()
13554 removeMixes(new ArrayList(mMixes)); in release()
13557 mAudioSystem.registerPolicyMixes(mMixes, false); in release()
13571 for (AudioMix mix : mMixes) { in hasMixAffectingUsage()
13585 for (AudioMix mix : mMixes) { in hasMixRoutedToDevices()
13601 synchronized (mMixes) { in addMixes()
13620 synchronized (mMixes) { in removeMixes()
13629 for (AudioMix mix : mMixes) { in connectMixes()
13632 return mAudioSystem.registerPolicyMixes(mMixes, true); in connectMixes()
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt24471 Landroid/media/audiopolicy/AudioPolicy$Builder;->mMixes:Ljava/util/ArrayList;
24519 Landroid/media/audiopolicy/AudioPolicyConfig;->mMixes:Ljava/util/ArrayList;