/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
D | AudioProductStrategyTest.java | 24 import android.media.audiopolicy.AudioProductStrategy; 37 List<AudioProductStrategy> audioProductStrategies = in testGetProductStrategies() 38 AudioProductStrategy.getAudioProductStrategies(); in testGetProductStrategies() 43 for (final AudioProductStrategy aps : audioProductStrategies) { in testGetProductStrategies() 68 List<AudioProductStrategy> audioProductStrategies = in testAudioAttributesFromStreamTypes() 69 AudioProductStrategy.getAudioProductStrategies(); in testAudioAttributesFromStreamTypes() 76 AudioProductStrategy.getAudioAttributesForStrategyWithLegacyStreamType( in testAudioAttributesFromStreamTypes() 85 AudioProductStrategy.getLegacyStreamTypeForStrategyWithAudioAttributes( in testAudioAttributesFromStreamTypes() 91 AudioProductStrategy.getLegacyStreamTypeForStrategyWithAudioAttributes( in testAudioAttributesFromStreamTypes() 103 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.sDefaultAttributes; 66 if (!aa.equals(AudioProductStrategy.sDefaultAttributes)) { in storeAllVolumes() 92 if (!aa.equals(AudioProductStrategy.sDefaultAttributes)) { 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/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() 113 public static @NonNull AudioProductStrategy createInvalidAudioProductStrategy(int id) { in createInvalidAudioProductStrategy() 114 return new AudioProductStrategy("dummy strategy", id, new AudioAttributesGroup[0]); in createInvalidAudioProductStrategy() 126 for (final AudioProductStrategy productStrategy : in getAudioAttributesForStrategyWithLegacyStreamType() 127 AudioProductStrategy.getAudioProductStrategies()) { in getAudioAttributesForStrategyWithLegacyStreamType() 147 for (final AudioProductStrategy productStrategy : in getLegacyStreamTypeForStrategyWithAudioAttributes() [all …]
|
D | AudioProductStrategy.aidl | 18 parcelable AudioProductStrategy;
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioProductStrategy.h | 28 class AudioProductStrategy : public Parcelable 31 AudioProductStrategy() {} in AudioProductStrategy() function 32 AudioProductStrategy(const std::string &name, const std::vector<AudioAttributes> &attributes, in AudioProductStrategy() function 63 using AudioProductStrategyVector = std::vector<AudioProductStrategy>;
|
/frameworks/av/media/libaudioclient/ |
D | AudioProductStrategy.cpp | 26 status_t AudioProductStrategy::readFromParcel(const Parcel *parcel) in readFromParcel() 46 status_t AudioProductStrategy::writeToParcel(Parcel *parcel) const in writeToParcel() 74 bool AudioProductStrategy::attributesMatches(const audio_attributes_t refAttributes, in attributesMatches()
|
D | Android.bp | 22 "AudioProductStrategy.cpp",
|
D | AudioSystem.cpp | 1550 return AudioProductStrategy::attributesMatches( in attributesToStreamType()
|
D | IAudioPolicyService.cpp | 1283 AudioProductStrategy strategy; 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 | 31 import android.media.audiopolicy.AudioProductStrategy; 196 for (final AudioProductStrategy productStrategy : in getVolumeGroupIdForLegacyStreamType() 206 AudioProductStrategy.sDefaultAttributes)) in getVolumeGroupIdForLegacyStreamType() 213 for (final AudioProductStrategy productStrategy : in getAudioAttributesForLegacyStreamType()
|
/frameworks/base/media/java/android/media/ |
D | AudioAttributes.java | 24 import android.media.audiopolicy.AudioProductStrategy; 952 if (AudioProductStrategy.getAudioProductStrategies().size() > 0) { in setInternalLegacyStreamType() 954 AudioProductStrategy.getAudioAttributesForStrategyWithLegacyStreamType( in setInternalLegacyStreamType() 1388 if (AudioProductStrategy.getAudioProductStrategies().size() > 0) { in toVolumeStreamType() 1389 return AudioProductStrategy.getLegacyStreamTypeForStrategyWithAudioAttributes(aa); in toVolumeStreamType()
|
D | IAudioService.aidl | 38 import android.media.audiopolicy.AudioProductStrategy; 117 List<AudioProductStrategy> getAudioProductStrategies(); in getAudioProductStrategies()
|
D | AudioManager.java | 44 import android.media.audiopolicy.AudioProductStrategy; 1599 public boolean setPreferredDeviceForStrategy(@NonNull AudioProductStrategy strategy, in setPreferredDeviceForStrategy() 1622 public boolean removePreferredDeviceForStrategy(@NonNull AudioProductStrategy strategy) { in removePreferredDeviceForStrategy() 1644 @NonNull AudioProductStrategy strategy) { in getPreferredDeviceForStrategy() 1676 void onPreferredDeviceForStrategyChanged(@NonNull AudioProductStrategy strategy, in onPreferredDeviceForStrategyChanged() 1787 final AudioProductStrategy strategy = in dispatchPrefDeviceChanged() 1788 AudioProductStrategy.getAudioProductStrategyWithId(strategyId); in dispatchPrefDeviceChanged() 6094 public static List<AudioProductStrategy> getAudioProductStrategies() { in getAudioProductStrategies()
|
/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 | AudioService.java | 97 import android.media.audiopolicy.AudioProductStrategy; 702 if (AudioProductStrategy.getAudioProductStrategies().size() > 0) { in AudioService() 707 AudioProductStrategy.getAudioAttributesForStrategyWithLegacyStreamType( in AudioService() 1234 public List<AudioProductStrategy> getAudioProductStrategies() { in getAudioProductStrategies() 1237 return AudioProductStrategy.getAudioProductStrategies(); in getAudioProductStrategies() 2796 return getVolumeGroupIdForAttributesInt(AudioProductStrategy.sDefaultAttributes); in getVolumeGroupIdForAttributes() 2801 for (final AudioProductStrategy productStrategy : in getVolumeGroupIdForAttributesInt() 2802 AudioProductStrategy.getAudioProductStrategies()) { in getVolumeGroupIdForAttributesInt() 5223 .anyMatch(aa -> !aa.equals(AudioProductStrategy.sDefaultAttributes)); in ensureValidAttributes() 5271 private AudioAttributes mAudioAttributes = AudioProductStrategy.sDefaultAttributes; [all …]
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 4139 …O_ROUTING) public static java.util.List<android.media.audiopolicy.AudioProductStrategy> getAudioPr… 4145 …eAttributes getPreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy); 4153 … boolean removePreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy); 4160 … setPreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy, @NonNull a… 4180 …ferredDeviceForStrategyChanged(@NonNull android.media.audiopolicy.AudioProductStrategy, @Nullable … 4367 public final class AudioProductStrategy implements android.os.Parcelable { 4368 …method @NonNull public static android.media.audiopolicy.AudioProductStrategy createInvalidAudioPro… 4374 …static final android.os.Parcelable.Creator<android.media.audiopolicy.AudioProductStrategy> CREATOR;
|
/frameworks/base/api/ |
D | system-current.txt | 4191 …O_ROUTING) public static java.util.List<android.media.audiopolicy.AudioProductStrategy> getAudioPr… 4197 …eAttributes getPreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy); 4205 … boolean removePreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy); 4212 … setPreferredDeviceForStrategy(@NonNull android.media.audiopolicy.AudioProductStrategy, @NonNull a… 4232 …ferredDeviceForStrategyChanged(@NonNull android.media.audiopolicy.AudioProductStrategy, @Nullable … 4419 public final class AudioProductStrategy implements android.os.Parcelable { 4420 …method @NonNull public static android.media.audiopolicy.AudioProductStrategy createInvalidAudioPro… 4426 …static final android.os.Parcelable.Creator<android.media.audiopolicy.AudioProductStrategy> CREATOR;
|
/frameworks/base/config/ |
D | preloaded-classes | 3927 android.media.audiopolicy.AudioProductStrategy$1 3928 android.media.audiopolicy.AudioProductStrategy$AudioAttributesGroup$1 3929 android.media.audiopolicy.AudioProductStrategy$AudioAttributesGroup 3930 android.media.audiopolicy.AudioProductStrategy
|
D | boot-image-profile.txt | 13454 HSPLandroid/media/audiopolicy/AudioProductStrategy$AudioAttributesGroup;-><init>(II[Landroid/media/… 13455 HSPLandroid/media/audiopolicy/AudioProductStrategy$AudioAttributesGroup;->getAudioAttributes()Landr… 13456 HSPLandroid/media/audiopolicy/AudioProductStrategy$AudioAttributesGroup;->getStreamType()I 13457 HSPLandroid/media/audiopolicy/AudioProductStrategy$AudioAttributesGroup;->supportsAttributes(Landro… 13458 HSPLandroid/media/audiopolicy/AudioProductStrategy$AudioAttributesGroup;->supportsStreamType(I)Z 13459 …PLandroid/media/audiopolicy/AudioProductStrategy;-><init>(Ljava/lang/String;I[Landroid/media/audio… 13460 HSPLandroid/media/audiopolicy/AudioProductStrategy;->access$100(Landroid/media/AudioAttributes;Land… 13461 HSPLandroid/media/audiopolicy/AudioProductStrategy;->attributesMatches(Landroid/media/AudioAttribut… 13462 HSPLandroid/media/audiopolicy/AudioProductStrategy;->getAudioAttributesForLegacyStreamType(I)Landro… 13463 HSPLandroid/media/audiopolicy/AudioProductStrategy;->getAudioAttributesForStrategyWithLegacyStreamT… [all …]
|