/frameworks/av/media/libaudioclient/ |
D | AudioProductStrategy.cpp | 26 status_t AudioProductStrategy::readFromParcel(const Parcel* parcel) { in readFromParcel() 27 media::AudioProductStrategy aidl; in readFromParcel() 33 status_t AudioProductStrategy::writeToParcel(Parcel* parcel) const { in writeToParcel() 34 media::AudioProductStrategy aidl = VALUE_OR_RETURN_STATUS( in writeToParcel() 39 ConversionResult<media::AudioProductStrategy> 40 legacy2aidl_AudioProductStrategy(const AudioProductStrategy& legacy) { in legacy2aidl_AudioProductStrategy() 41 media::AudioProductStrategy aidl; in legacy2aidl_AudioProductStrategy() 51 ConversionResult<AudioProductStrategy> 52 aidl2legacy_AudioProductStrategy(const media::AudioProductStrategy& aidl) { in aidl2legacy_AudioProductStrategy() 53 return AudioProductStrategy( in aidl2legacy_AudioProductStrategy() [all …]
|
D | Android.bp | 53 "AudioProductStrategy.cpp", 384 "aidl/android/media/AudioProductStrategy.aidl",
|
D | AudioSystem.cpp | 2069 std::vector<media::AudioProductStrategy> strategiesAidl; in listAudioProductStrategies() 2107 return AudioProductStrategy::attributesMatches( in attributesToStreamType()
|
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
D | AudioProductStrategyTest.java | 25 import android.media.audiopolicy.AudioProductStrategy; 38 List<AudioProductStrategy> audioProductStrategies = in testGetProductStrategies() 39 AudioProductStrategy.getAudioProductStrategies(); in testGetProductStrategies() 44 for (final AudioProductStrategy aps : audioProductStrategies) { in testGetProductStrategies() 69 List<AudioProductStrategy> audioProductStrategies = in testAudioAttributesFromStreamTypes() 70 AudioProductStrategy.getAudioProductStrategies(); in testAudioAttributesFromStreamTypes() 77 AudioProductStrategy.getAudioAttributesForStrategyWithLegacyStreamType( in testAudioAttributesFromStreamTypes() 86 AudioProductStrategy.getLegacyStreamTypeForStrategyWithAudioAttributes( in testAudioAttributesFromStreamTypes() 92 AudioProductStrategy.getLegacyStreamTypeForStrategyWithAudioAttributes( in testAudioAttributesFromStreamTypes() 104 for (final AudioProductStrategy aps : audioProductStrategies) { in testAudioAttributesFromStreamTypes() [all …]
|
D | AudioVolumeGroupTest.java | 23 import android.media.audiopolicy.AudioProductStrategy; 53 final List<AudioProductStrategy> audioProductStrategies = in testGetVolumeGroups() 77 for (final AudioProductStrategy aps : audioProductStrategies) { in testGetVolumeGroups() 109 for (final AudioProductStrategy aps : audioProductStrategies) { in testGetVolumeGroups()
|
D | AudioVolumesTestBase.java | 23 import android.media.audiopolicy.AudioProductStrategy; 40 AudioProductStrategy.getDefaultAttributes(); 61 if (!aa.equals(AudioProductStrategy.getDefaultAttributes())) { in storeAllVolumes() 87 if (!aa.equals(AudioProductStrategy.getDefaultAttributes())) { in restoreAllVolumes()
|
D | AudioManagerTest.java | 26 import android.media.audiopolicy.AudioProductStrategy; 41 List<AudioProductStrategy> audioProductStrategies = in testGetAndValidateProductStrategies() 49 for (final AudioProductStrategy audioProductStrategy : audioProductStrategies) { in testGetAndValidateProductStrategies() 109 List<AudioProductStrategy> audioProductStrategies = in testGetAndValidateVolumeGroups() 128 for (final AudioProductStrategy strategy : audioProductStrategies) { in testGetAndValidateVolumeGroups() 157 for (final AudioProductStrategy strategy : audioProductStrategies) { in testGetAndValidateVolumeGroups()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioProductStrategy.h | 30 class AudioProductStrategy : public Parcelable 33 AudioProductStrategy() {} in AudioProductStrategy() function 34 AudioProductStrategy(const std::string &name, const std::vector<AudioAttributes> &attributes, in AudioProductStrategy() function 65 using AudioProductStrategyVector = std::vector<AudioProductStrategy>; 68 ConversionResult<media::AudioProductStrategy> 69 legacy2aidl_AudioProductStrategy(const AudioProductStrategy& legacy); 70 ConversionResult<AudioProductStrategy> 71 aidl2legacy_AudioProductStrategy(const media::AudioProductStrategy& aidl);
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioProductStrategy.java | 43 public final class AudioProductStrategy implements Parcelable { class 66 private static List<AudioProductStrategy> sAudioProductStrategies; 73 public static List<AudioProductStrategy> getAudioProductStrategies() { in getAudioProductStrategies() 91 public static @Nullable AudioProductStrategy getAudioProductStrategyWithId(int id) { in getAudioProductStrategyWithId() 96 for (AudioProductStrategy strategy : sAudioProductStrategies) { in getAudioProductStrategyWithId() 112 public static @NonNull AudioProductStrategy createInvalidAudioProductStrategy(int id) { in createInvalidAudioProductStrategy() 113 return new AudioProductStrategy("dummy strategy", id, new AudioAttributesGroup[0]); in createInvalidAudioProductStrategy() 125 for (final AudioProductStrategy productStrategy : in getAudioAttributesForStrategyWithLegacyStreamType() 126 AudioProductStrategy.getAudioProductStrategies()) { in getAudioAttributesForStrategyWithLegacyStreamType() 146 for (final AudioProductStrategy productStrategy : in getLegacyStreamTypeForStrategyWithAudioAttributes() [all …]
|
D | AudioProductStrategy.aidl | 18 parcelable AudioProductStrategy;
|
/frameworks/layoutlib/bridge/src/android/media/ |
D | AudioManager.java | 25 import android.media.audiopolicy.AudioProductStrategy; 147 …public boolean setPreferredDeviceForStrategy(AudioProductStrategy strategy, AudioDeviceAttributes … in setPreferredDeviceForStrategy() 151 public boolean removePreferredDeviceForStrategy(AudioProductStrategy strategy) { in removePreferredDeviceForStrategy() 155 public AudioDeviceAttributes getPreferredDeviceForStrategy(AudioProductStrategy strategy) { in getPreferredDeviceForStrategy() 159 …public boolean setPreferredDevicesForStrategy(AudioProductStrategy strategy, List<AudioDeviceAttri… in setPreferredDevicesForStrategy() 163 … public List<AudioDeviceAttributes> getPreferredDevicesForStrategy(AudioProductStrategy strategy) { in getPreferredDevicesForStrategy() 610 …void onPreferredDevicesForStrategyChanged(AudioProductStrategy var1, List<AudioDeviceAttributes> v… in onPreferredDevicesForStrategyChanged() 614 … void onPreferredDeviceForStrategyChanged(AudioProductStrategy var1, AudioDeviceAttributes var2); in onPreferredDeviceForStrategyChanged()
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | AudioProductStrategy.aidl | 24 parcelable AudioProductStrategy {
|
D | IAudioPolicyService.aidl | 34 import android.media.AudioProductStrategy; 315 AudioProductStrategy[] listAudioProductStrategies(); in listAudioProductStrategies()
|
/frameworks/av/services/audiopolicy/engine/common/src/ |
D | ProductStrategy.cpp | 69 return AudioProductStrategy::attributesMatches(supportedAttr.mAttributes, attr); in matches() 78 return AudioProductStrategy::attributesMatches(supportedAttr.mAttributes, attr); }); in getStreamTypeForAttributes() 126 if (AudioProductStrategy::attributesMatches(supportedAttr.mAttributes, attr)) { in getVolumeGroupForAttributes()
|
/frameworks/base/core/java/android/preference/ |
D | SeekBarVolumizer.java | 33 import android.media.audiopolicy.AudioProductStrategy; 231 for (final AudioProductStrategy productStrategy : in getVolumeGroupIdForLegacyStreamType() 241 AudioProductStrategy.getDefaultAttributes())) in getVolumeGroupIdForLegacyStreamType() 248 for (final AudioProductStrategy productStrategy : in getAudioAttributesForLegacyStreamType()
|
/frameworks/base/media/java/android/media/ |
D | AudioAttributes.java | 26 import android.media.audiopolicy.AudioProductStrategy; 1164 if (AudioProductStrategy.getAudioProductStrategies().size() > 0) { in setInternalLegacyStreamType() 1166 AudioProductStrategy.getAudioAttributesForStrategyWithLegacyStreamType( in setInternalLegacyStreamType() 1722 if (AudioProductStrategy.getAudioProductStrategies().size() > 0) { in toVolumeStreamType() 1723 return AudioProductStrategy.getLegacyStreamTypeForStrategyWithAudioAttributes(aa); in toVolumeStreamType()
|
D | IAudioService.aidl | 52 import android.media.audiopolicy.AudioProductStrategy; 150 List<AudioProductStrategy> getAudioProductStrategies(); in getAudioProductStrategies()
|
D | AudioManager.java | 47 import android.media.audiopolicy.AudioProductStrategy; 1411 return AudioProductStrategy.getVolumeGroupIdForAudioAttributes(attributes, in getVolumeGroupIdForAttributes() 1890 public boolean setPreferredDeviceForStrategy(@NonNull AudioProductStrategy strategy, in setPreferredDeviceForStrategy() 1906 public boolean removePreferredDeviceForStrategy(@NonNull AudioProductStrategy strategy) { in removePreferredDeviceForStrategy() 1931 @NonNull AudioProductStrategy strategy) { in getPreferredDeviceForStrategy() 1951 public boolean setPreferredDevicesForStrategy(@NonNull AudioProductStrategy strategy, in setPreferredDevicesForStrategy() 1984 @NonNull AudioProductStrategy strategy) { in getPreferredDevicesForStrategy() 2019 void onPreferredDeviceForStrategyChanged(@NonNull AudioProductStrategy strategy, in onPreferredDeviceForStrategyChanged() 2049 void onPreferredDevicesForStrategyChanged(@NonNull AudioProductStrategy strategy, in onPreferredDevicesForStrategyChanged() 2194 final AudioProductStrategy strategy = in dispatchPrefDevicesChanged() [all …]
|
D | AudioSystem.java | 32 import android.media.audiopolicy.AudioProductStrategy; 1713 AudioProductStrategy.getAudioAttributesForStrategyWithLegacyStreamType(stream); in getDevicesForStream()
|
/frameworks/base/core/jni/ |
D | android_media_AudioProductStrategies.cpp | 73 JNIEnv *env, jobject *jAudioStrategy, const AudioProductStrategy &strategy) in convertAudioProductStrategiesFromNative()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioDeviceBroker.java | 41 import android.media.audiopolicy.AudioProductStrategy; 190 List<AudioProductStrategy> strategies = AudioProductStrategy.getAudioProductStrategies(); in initRoutingStrategyIds() 193 for (AudioProductStrategy strategy : strategies) { in initRoutingStrategyIds() 521 AudioProductStrategy.getAudioAttributesForStrategyWithLegacyStreamType( in updateActiveCommunicationDevice()
|
D | AudioService.java | 126 import android.media.audiopolicy.AudioProductStrategy; 1049 if (AudioProductStrategy.getAudioProductStrategies().size() > 0) { in AudioService() 1054 AudioProductStrategy.getAudioAttributesForStrategyWithLegacyStreamType( in AudioService() 1959 public List<AudioProductStrategy> getAudioProductStrategies() { in getAudioProductStrategies() 1962 return AudioProductStrategy.getAudioProductStrategies(); in getAudioProductStrategies() 6982 AudioProductStrategy.getAudioAttributesForStrategyWithLegacyStreamType(stream); in getDeviceSetForStreamDirect() 7435 .anyMatch(aa -> !aa.equals(AudioProductStrategy.getDefaultAttributes())); in ensureValidAttributes() 7488 AudioProductStrategy.getAudioAttributesForStrategyWithLegacyStreamType(stream); in getVolumeGroupForStreamType() 7492 return AudioProductStrategy.getVolumeGroupIdForAudioAttributes( in getVolumeGroupForStreamType() 7506 private AudioAttributes mAudioAttributes = AudioProductStrategy.getDefaultAttributes();
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 2046 std::vector<media::AudioProductStrategy>* _aidl_return) { in listAudioProductStrategies() 2056 convertContainer<std::vector<media::AudioProductStrategy>>( in listAudioProductStrategies()
|
D | AudioPolicyService.h | 226 std::vector<media::AudioProductStrategy>* _aidl_return) override;
|
/frameworks/base/core/api/ |
D | system-current.txt | 6168 …O_ROUTING) public static java.util.List<android.media.audiopolicy.AudioProductStrategy> getAudioPr… 6179 …eAttributes getPreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy); 6181 …ttributes> getPreferredDevicesForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy); 6196 … boolean removePreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy); 6206 … setPreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy, @NonNull a… 6207 …setPreferredDevicesForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy, @NonNull j… 6247 …ferredDeviceForStrategyChanged(@NonNull android.media.audiopolicy.AudioProductStrategy, @Nullable … 6255 …erredDevicesForStrategyChanged(@NonNull android.media.audiopolicy.AudioProductStrategy, @NonNull j… 6557 public final class AudioProductStrategy implements android.os.Parcelable { 6558 …method @NonNull public static android.media.audiopolicy.AudioProductStrategy createInvalidAudioPro… [all …]
|