Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicyConfig.java41 protected final ArrayList<AudioMix> mMixes; field in AudioPolicyConfig
52 mMixes = conf.mMixes; in AudioPolicyConfig()
56 mMixes = mixes; in AudioPolicyConfig()
69 mMixes.add(mix); in addMix()
73 return mMixes; in getMixes()
78 return Objects.hash(mMixes); in hashCode()
88 dest.writeInt(mMixes.size()); in writeToParcel()
89 for (AudioMix mix : mMixes) { in writeToParcel()
111 mMixes = new ArrayList<AudioMix>(); in AudioPolicyConfig()
137 mMixes.add(mixBuilder.build()); in AudioPolicyConfig()
[all …]
DAudioPolicy.java138 private ArrayList<AudioMix> mMixes; field in AudioPolicy.Builder
152 mMixes = new ArrayList<AudioMix>(); in Builder()
167 mMixes.add(mix); in addMix()
247 for (AudioMix mix : mMixes) { in build()
255 return new AudioPolicy(new AudioPolicyConfig(mMixes), mContext, mLooper, in build()
387 if (!mConfig.mMixes.contains(mix)) { in checkMixReadyToUse()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java7938 AudioSystem.registerPolicyMixes(mMixes, false); in release()
7943 for (AudioMix mix : mMixes) { in hasMixAffectingUsage()
7953 synchronized (mMixes) { in addMixes()
7954 AudioSystem.registerPolicyMixes(mMixes, false); in addMixes()
7956 AudioSystem.registerPolicyMixes(mMixes, true); in addMixes()
7962 synchronized (mMixes) { in removeMixes()
7963 AudioSystem.registerPolicyMixes(mMixes, false); in removeMixes()
7965 AudioSystem.registerPolicyMixes(mMixes, true); in removeMixes()
7971 AudioSystem.registerPolicyMixes(mMixes, true); in connectMixes()