Home
last modified time | relevance | path

Searched refs:AudioVolumeGroup (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/media/java/android/media/audiopolicy/
DAudioVolumeGroup.java40 public final class AudioVolumeGroup implements Parcelable { class
62 private static List<AudioVolumeGroup> sAudioVolumeGroups;
69 public static List<AudioVolumeGroup> getAudioVolumeGroups() { in getAudioVolumeGroups()
80 private static List<AudioVolumeGroup> initializeAudioVolumeGroups() { in initializeAudioVolumeGroups()
81 ArrayList<AudioVolumeGroup> avgList = new ArrayList<>(); in initializeAudioVolumeGroups()
90 ArrayList<AudioVolumeGroup> groups); in native_list_audio_volume_groups()
97 AudioVolumeGroup(@NonNull String name, int id, in AudioVolumeGroup() method in AudioVolumeGroup
114 AudioVolumeGroup thatAvg = (AudioVolumeGroup) o; in equals()
167 public static final Parcelable.Creator<AudioVolumeGroup> CREATOR =
168 new Parcelable.Creator<AudioVolumeGroup>() {
[all …]
DAudioProductStrategy.java284 return AudioVolumeGroup.DEFAULT_VOLUME_GROUP; in getVolumeGroupIdForLegacyStreamType()
300 return AudioVolumeGroup.DEFAULT_VOLUME_GROUP; in getVolumeGroupIdForAudioAttributes()
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DAudioVolumeGroupTest.java24 import android.media.audiopolicy.AudioVolumeGroup;
38 List<AudioVolumeGroup> audioVolumeGroup = AudioVolumeGroup.getAudioVolumeGroups(); in testGetVolumeGroupsFromNonServiceCaller()
49 final List<AudioVolumeGroup> audioVolumeGroup = mAudioManager.getAudioVolumeGroups(); in testGetVolumeGroups()
57 for (final AudioVolumeGroup avg : audioVolumeGroup) { in testGetVolumeGroups()
59 assertNotEquals(avgId, AudioVolumeGroup.DEFAULT_VOLUME_GROUP); in testGetVolumeGroups()
79 if (groupId != AudioVolumeGroup.DEFAULT_VOLUME_GROUP) { in testGetVolumeGroups()
111 if (groupId != AudioVolumeGroup.DEFAULT_VOLUME_GROUP) { in testGetVolumeGroups()
DAudioManagerTest.java27 import android.media.audiopolicy.AudioVolumeGroup;
45 List<AudioVolumeGroup> audioVolumeGroups = mAudioManager.getAudioVolumeGroups(); in testGetAndValidateProductStrategies()
62 volumeGroupId, AudioVolumeGroup.DEFAULT_VOLUME_GROUP); in testGetAndValidateProductStrategies()
65 AudioVolumeGroup audioVolumeGroup = null; in testGetAndValidateProductStrategies()
66 for (final AudioVolumeGroup avg : audioVolumeGroups) { in testGetAndValidateProductStrategies()
106 List<AudioVolumeGroup> audioVolumeGroups = mAudioManager.getAudioVolumeGroups(); in testGetAndValidateVolumeGroups()
114 for (final AudioVolumeGroup audioVolumeGroup : audioVolumeGroups) { in testGetAndValidateVolumeGroups()
130 if (groupId != AudioVolumeGroup.DEFAULT_VOLUME_GROUP) { in testGetAndValidateVolumeGroups()
160 if (groupId != AudioVolumeGroup.DEFAULT_VOLUME_GROUP) { in testGetAndValidateVolumeGroups()
252 List<AudioVolumeGroup> audioVolumeGroups = mAudioManager.getAudioVolumeGroups(); in testVolumeGroupCallback()
[all …]
DAudioVolumesTestBase.java24 import android.media.audiopolicy.AudioVolumeGroup;
57 List<AudioVolumeGroup> audioVolumeGroups = mAudioManager.getAudioVolumeGroups(); in storeAllVolumes()
58 for (final AudioVolumeGroup avg : audioVolumeGroups) { in storeAllVolumes()
85 List<AudioVolumeGroup> audioVolumeGroups = mAudioManager.getAudioVolumeGroups(); in restoreAllVolumes()
87 for (final AudioVolumeGroup avg : audioVolumeGroups) { in restoreAllVolumes()
DAudioVolumeGroupChangeHandlerTest.java24 import android.media.audiopolicy.AudioVolumeGroup;
84 List<AudioVolumeGroup> audioVolumeGroups = mAudioManager.getAudioVolumeGroups(); in testCallbackReceived()
88 for (final AudioVolumeGroup audioVolumeGroup : audioVolumeGroups) { in testCallbackReceived()
138 List<AudioVolumeGroup> audioVolumeGroups = mAudioManager.getAudioVolumeGroups(); in testMultipleCallbackReceived()
142 for (final AudioVolumeGroup audioVolumeGroup : audioVolumeGroups) { in testMultipleCallbackReceived()
DAudioProductStrategyTest.java25 import android.media.audiopolicy.AudioVolumeGroup;
59 assertNotEquals(volumeGroupFromStream, AudioVolumeGroup.DEFAULT_VOLUME_GROUP); in testGetProductStrategies()
129 assertNotEquals(volumeGroupFromStream, AudioVolumeGroup.DEFAULT_VOLUME_GROUP); in testAudioAttributesFromStreamTypes()
203 volumeGroupFromStream, AudioVolumeGroup.DEFAULT_VOLUME_GROUP); in testAudioAttributesToStreamTypes()
/frameworks/av/media/libaudioclient/include/media/
DAudioVolumeGroup.h27 class AudioVolumeGroup : public Parcelable
30 AudioVolumeGroup() {} in AudioVolumeGroup() function
31 AudioVolumeGroup(const std::string &name, in AudioVolumeGroup() function
52 using AudioVolumeGroupVector = std::vector<AudioVolumeGroup>;
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java32 import android.media.audiopolicy.AudioVolumeGroup;
199 if (volumeGroupId != AudioVolumeGroup.DEFAULT_VOLUME_GROUP) { in getVolumeGroupIdForLegacyStreamType()
207 .filter(volumeGroupId -> volumeGroupId != AudioVolumeGroup.DEFAULT_VOLUME_GROUP) in getVolumeGroupIdForLegacyStreamType()
209 .orElse(AudioVolumeGroup.DEFAULT_VOLUME_GROUP); in getVolumeGroupIdForLegacyStreamType()
559 if (volumeGroup != AudioVolumeGroup.DEFAULT_VOLUME_GROUP in onReceive()
592 if (mVolumeGroupId != AudioVolumeGroup.DEFAULT_VOLUME_GROUP) { in registerVolumeGroupCb()
599 if (mVolumeGroupId != AudioVolumeGroup.DEFAULT_VOLUME_GROUP) { in unregisterVolumeGroupCb()
612 || mVolumeGroupId == AudioVolumeGroup.DEFAULT_VOLUME_GROUP) { in handleMessage()
/frameworks/av/media/libaudioclient/
DAudioVolumeGroup.cpp29 status_t AudioVolumeGroup::readFromParcel(const Parcel *parcel) in readFromParcel()
54 status_t AudioVolumeGroup::writeToParcel(Parcel *parcel) const in writeToParcel()
DAndroid.bp23 "AudioVolumeGroup.cpp",
DIAudioPolicyService.cpp1331 AudioVolumeGroup group; in listAudioVolumeGroups()
/frameworks/base/media/java/android/media/
DIAudioService.aidl39 import android.media.audiopolicy.AudioVolumeGroup;
101 List<AudioVolumeGroup> getAudioVolumeGroups(); in getAudioVolumeGroups()
DAudioManager.java45 import android.media.audiopolicy.AudioVolumeGroup;
6114 public static List<AudioVolumeGroup> getAudioVolumeGroups() { in getAudioVolumeGroups()
/frameworks/base/core/jni/
Dandroid_media_AudioVolumeGroups.cpp62 JNIEnv *env, jobject *jGroup, const AudioVolumeGroup &group) in convertAudioVolumeGroupsFromNative()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java98 import android.media.audiopolicy.AudioVolumeGroup;
1245 public List<AudioVolumeGroup> getAudioVolumeGroups() { in getAudioVolumeGroups()
1248 return AudioVolumeGroup.getAudioVolumeGroups(); in getAudioVolumeGroups()
2491 private AudioVolumeGroup getAudioVolumeGroupById(int volumeGroupId) { in getAudioVolumeGroupById()
2492 for (final AudioVolumeGroup avg : AudioVolumeGroup.getAudioVolumeGroups()) { in getAudioVolumeGroupById()
2791 if (volumeGroupId != AudioVolumeGroup.DEFAULT_VOLUME_GROUP) { in getVolumeGroupIdForAttributes()
2804 if (volumeGroupId != AudioVolumeGroup.DEFAULT_VOLUME_GROUP) { in getVolumeGroupIdForAttributesInt()
2808 return AudioVolumeGroup.DEFAULT_VOLUME_GROUP; in getVolumeGroupIdForAttributesInt()
5201 for (final AudioVolumeGroup avg : getAudioVolumeGroups()) { in initVolumeGroupStates()
5221 private void ensureValidAttributes(AudioVolumeGroup avg) { in ensureValidAttributes()
[all …]
/frameworks/base/non-updatable-api/
Dsystem-current.txt4140 …DIO_ROUTING) public static java.util.List<android.media.audiopolicy.AudioVolumeGroup> getAudioVolu…
4377 public final class AudioVolumeGroup implements android.os.Parcelable {
4384 …lic static final android.os.Parcelable.Creator<android.media.audiopolicy.AudioVolumeGroup> CREATOR;
/frameworks/base/config/
Dpreloaded-classes3931 android.media.audiopolicy.AudioVolumeGroup$1
3932 android.media.audiopolicy.AudioVolumeGroup
Dboot-image-profile.txt44122 Landroid/media/audiopolicy/AudioVolumeGroup$1;
44123 Landroid/media/audiopolicy/AudioVolumeGroup;
/frameworks/base/api/
Dsystem-current.txt4192 …DIO_ROUTING) public static java.util.List<android.media.audiopolicy.AudioVolumeGroup> getAudioVolu…
4429 public final class AudioVolumeGroup implements android.os.Parcelable {
4436 …lic static final android.os.Parcelable.Creator<android.media.audiopolicy.AudioVolumeGroup> CREATOR;
/frameworks/base/services/
Dart-profile9104 …tate;-><init>(Lcom/android/server/audio/AudioService;Landroid/media/audiopolicy/AudioVolumeGroup;)V
9105 …>(Lcom/android/server/audio/AudioService;Landroid/media/audiopolicy/AudioVolumeGroup;Lcom/android/…
9245 …id/server/audio/AudioService;->ensureValidAttributes(Landroid/media/audiopolicy/AudioVolumeGroup;)V