/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioPolicyConfig.java | 39 protected final ArrayList<AudioMix> mMixes; 53 AudioPolicyConfig(ArrayList<AudioMix> mixes) { in AudioPolicyConfig() 63 public void addMix(AudioMix mix) throws IllegalArgumentException { in addMix() 70 public ArrayList<AudioMix> getMixes() { in getMixes() 87 for (AudioMix mix : mMixes) { in writeToParcel() 115 mMixes = new ArrayList<AudioMix>(); in AudioPolicyConfig() 118 final AudioMix.Builder mixBuilder = new AudioMix.Builder(); in AudioPolicyConfig() 170 for(AudioMix mix : mMixes) { in toLogFriendlyString() 236 for (AudioMix mix : mMixes) { in toCompactLogString() 246 case AudioMix.MIX_TYPE_PLAYERS: in mixTypePrefix() [all …]
|
D | AudioPolicy.java | 170 private ArrayList<AudioMix> mMixes; 185 mMixes = new ArrayList<AudioMix>(); in Builder() 196 public Builder addMix(@NonNull AudioMix mix) throws IllegalArgumentException { in addMix() 313 for (AudioMix mix : mMixes) { in build() 314 mix.mCallbackFlags |= AudioMix.CALLBACK_FLAG_NOTIFY_ACTIVITY; in build() 335 public int attachMixes(@NonNull List<AudioMix> mixes) { in attachMixes() 343 final ArrayList<AudioMix> zeMixes = new ArrayList<AudioMix>(mixes.size()); in attachMixes() 344 for (AudioMix mix : mixes) { in attachMixes() 374 public int detachMixes(@NonNull List<AudioMix> mixes) { in detachMixes() 382 final ArrayList<AudioMix> zeMixes = new ArrayList<AudioMix>(mixes.size()); in detachMixes() [all …]
|
D | AudioMix.java | 36 public class AudioMix { class 61 private AudioMix(AudioMixingRule rule, AudioFormat format, int routeFlags, int callbackFlags, in AudioMix() method in AudioMix 249 final AudioMix that = (AudioMix) o; in equals() 410 public AudioMix build() throws IllegalArgumentException { in build() 433 if (mRule.getTargetMixType() != AudioMix.MIX_TYPE_PLAYERS) { in build() 452 String error = AudioMix.canBeUsedForPrivilegedMediaCapture(mFormat); in build() 457 return new AudioMix(mRule, mFormat, mRouteFlags, mCallbackFlags, mDeviceSystemType, in build()
|
D | AudioMixingRule.java | 326 private int mTargetMixType = AudioMix.MIX_TYPE_INVALID; 541 if (mTargetMixType == AudioMix.MIX_TYPE_INVALID) { in addRuleInternal() 543 mTargetMixType = AudioMix.MIX_TYPE_PLAYERS; in addRuleInternal() 545 mTargetMixType = AudioMix.MIX_TYPE_RECORDERS; in addRuleInternal() 549 mTargetMixType = AudioMix.MIX_TYPE_PLAYERS; in addRuleInternal() 551 } else if ((isPlayerRule(rule) && (mTargetMixType != AudioMix.MIX_TYPE_PLAYERS)) in addRuleInternal() 552 || (isRecorderRule(rule)) && (mTargetMixType != AudioMix.MIX_TYPE_RECORDERS)) in addRuleInternal()
|
/frameworks/av/media/libaudioclient/ |
D | AudioPolicy.cpp | 78 status_t AudioMix::readFromParcel(Parcel *parcel) in readFromParcel() 103 status_t AudioMix::writeToParcel(Parcel *parcel) const in writeToParcel() 138 void AudioMix::setExcludeUid(uid_t uid) const { in setExcludeUid() 145 void AudioMix::setMatchUid(uid_t uid) const { in setMatchUid() 152 bool AudioMix::hasUidRule(bool match, uid_t uid) const { in hasUidRule() 163 bool AudioMix::hasMatchUidRule() const { in hasMatchUidRule() 172 void AudioMix::setExcludeUserId(int userId) const { in setExcludeUserId() 179 void AudioMix::setMatchUserId(int userId) const { in setMatchUserId() 186 bool AudioMix::hasUserIdRule(bool match, int userId) const { in hasUserIdRule() 197 bool AudioMix::hasMatchUserIdRule() const { in hasMatchUserIdRule() [all …]
|
D | PolicyAidlConversion.cpp | 65 return AudioMix::kCbFlagNotifyActivity; in aidl2legacy_AudioMixCallbackFlag_uint32_t() 73 case AudioMix::kCbFlagNotifyActivity: in legacy2aidl_uint32_t_AudioMixCallbackFlag() 228 ConversionResult<AudioMix> 229 aidl2legacy_AudioMix(const media::AudioMix& aidl) { in aidl2legacy_AudioMix() 230 AudioMix legacy; in aidl2legacy_AudioMix() 246 ConversionResult<media::AudioMix> 247 legacy2aidl_AudioMix(const AudioMix& legacy) { in legacy2aidl_AudioMix() 248 media::AudioMix aidl; in legacy2aidl_AudioMix()
|
D | Android.bp | 378 "aidl/android/media/AudioMix.aidl",
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioPolicyMix.h | 35 class AudioPolicyMix : public AudioMix, public RefBase { 37 AudioPolicyMix(const AudioMix &mix) : AudioMix(mix) {} in AudioPolicyMix() 58 status_t registerMix(AudioMix mix, sp<SwAudioOutputDescriptor> desc); 60 status_t unregisterMix(const AudioMix& mix); 127 MixMatchStatus mixMatch(const AudioMix* mix, size_t mixIndex,
|
/frameworks/base/media/java/android/media/ |
D | AudioPlaybackCaptureConfiguration.java | 21 import android.media.audiopolicy.AudioMix; 131 @NonNull AudioMix createAudioMix(@NonNull AudioFormat audioFormat) { in createAudioMix() 132 return new AudioMix.Builder(mAudioMixingRule) in createAudioMix() 134 .setRouteFlags(AudioMix.ROUTE_FLAG_LOOP_BACK | AudioMix.ROUTE_FLAG_RENDER) in createAudioMix()
|
D | AudioRecord.java | 34 import android.media.audiopolicy.AudioMix; 773 AudioMix audioMix = mAudioPlaybackCaptureConfiguration.createAudioMix(mFormat); in buildAudioPlaybackCaptureRecord()
|
D | AudioSystem.java | 28 import android.media.audiopolicy.AudioMix; 1694 public static native int registerPolicyMixes(ArrayList<AudioMix> mixes, boolean register); in registerPolicyMixes()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | PolicyAidlConversion.h | 82 ConversionResult<AudioMix> 83 aidl2legacy_AudioMix(const media::AudioMix& aidl); 84 ConversionResult<media::AudioMix> 85 legacy2aidl_AudioMix(const AudioMix& legacy);
|
D | AudioPolicy.h | 84 class AudioMix { 90 AudioMix() {} in AudioMix() function 91 AudioMix(Vector<AudioMixMatchCriterion> criteria, uint32_t mixType, audio_config_t format, in AudioMix() function
|
D | AudioSystem.h | 392 static status_t registerPolicyMixes(const Vector<AudioMix>& mixes, bool registration);
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | AudioMix.aidl | 29 parcelable AudioMix {
|
D | IAudioPolicyService.aidl | 28 import android.media.AudioMix; 252 void registerPolicyMixes(in AudioMix[] mixes, boolean registration); in registerPolicyMixes()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioSystemAdapter.java | 23 import android.media.audiopolicy.AudioMix; 449 public int registerPolicyMixes(ArrayList<AudioMix> mixes, boolean register) { in registerPolicyMixes()
|
D | AudioService.java | 103 import android.media.audiopolicy.AudioMix; 7768 AudioMix.ROUTE_FLAG_LOOP_BACK_RENDER)) { in hasMediaDynamicPolicy() 9238 ArrayList<AudioMix> voiceCommunicationCaptureMixes = null; in isPolicyRegisterAllowed() 9247 for (AudioMix mix : policyConfig.getMixes()) { in isPolicyRegisterAllowed() 9269 voiceCommunicationCaptureMixes = new ArrayList<AudioMix>(); in isPolicyRegisterAllowed() 9300 for (AudioMix mix : voiceCommunicationCaptureMixes) { in isPolicyRegisterAllowed() 9614 for (AudioMix mix : policy.getMixes()) { in onDynPolicyMixStateUpdate() 9929 for (AudioMix mix : mMixes) { in hasMixAffectingUsage() 9943 for (AudioMix mix : mMixes) { in hasMixRoutedToDevices() 9958 int addMixes(@NonNull ArrayList<AudioMix> mixes) { in addMixes() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyMix.cpp | 81 status_t AudioPolicyMixCollection::registerMix(AudioMix mix, sp<SwAudioOutputDescriptor> desc) in registerMix() 104 status_t AudioPolicyMixCollection::unregisterMix(const AudioMix& mix) in unregisterMix() 205 const AudioMix* mix, size_t mixIndex, const audio_attributes_t& attributes, uid_t uid) { in mixMatch()
|
D | AudioInputDescriptor.cpp | 336 if ((policyMix != NULL) && ((policyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) in setClientActive() 342 if ((policyMix != NULL) && ((policyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) in setClientActive()
|
D | AudioOutputDescriptor.cpp | 117 if ((policyMix != NULL) && ((policyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) { in setClientActive()
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 254 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes) = 0; 255 virtual status_t unregisterPolicyMixes(Vector<AudioMix> mixes) = 0;
|
/frameworks/base/core/api/ |
D | test-lint-baseline.txt | 184 BannedThrow: android.media.audiopolicy.AudioMix.Builder#Builder(android.media.audiopolicy.AudioMixi… 186 BannedThrow: android.media.audiopolicy.AudioMix.Builder#build(): 188 BannedThrow: android.media.audiopolicy.AudioMix.Builder#setDevice(android.media.AudioDeviceInfo): 190 BannedThrow: android.media.audiopolicy.AudioMix.Builder#setFormat(android.media.AudioFormat): 192 BannedThrow: android.media.audiopolicy.AudioMix.Builder#setRouteFlags(int): 202 …w: android.media.audiopolicy.AudioPolicy#createAudioRecordSink(android.media.audiopolicy.AudioMix): 204 …: android.media.audiopolicy.AudioPolicy#createAudioTrackSource(android.media.audiopolicy.AudioMix): 208 …nedThrow: android.media.audiopolicy.AudioPolicy.Builder#addMix(android.media.audiopolicy.AudioMix): 508 IllegalStateException: android.media.audiopolicy.AudioMix.Builder#build(): 622 MissingGetterMatchingBuilder: android.media.audiopolicy.AudioMix.Builder#setDevice(android.media.Au… [all …]
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 265 virtual status_t registerPolicyMixes(const Vector<AudioMix>& mixes); 266 virtual status_t unregisterPolicyMixes(Vector<AudioMix> mixes);
|
/frameworks/av/services/audiopolicy/fuzzer/ |
D | audiopolicy_fuzzer.cpp | 525 Vector<AudioMix> mAudioMixes; 543 AudioMix myAudioMix(myMixMatchCriteria, mixType, audioConfig, mixFlag, in addPolicyMix()
|