Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DAdiDeviceState.java144 @AudioDeviceInfo.AudioDeviceType int audioDeviceCategory) { in setAudioDeviceCategory()
145 mAudioDeviceCategory = audioDeviceCategory; in setAudioDeviceCategory()
266 int audioDeviceCategory = AUDIO_DEVICE_CATEGORY_UNKNOWN; in fromPersistedString() local
268 audioDeviceCategory = Integer.parseInt(fields[6]); in fromPersistedString()
275 deviceState.setAudioDeviceCategory(audioDeviceCategory); in fromPersistedString()
DSoundDoseHelper.java582 final ISoundDose.AudioDeviceCategory audioDeviceCategory = in setAudioDeviceCategory() local
584 audioDeviceCategory.address = address; in setAudioDeviceCategory()
585 audioDeviceCategory.internalAudioType = internalAudioType; in setAudioDeviceCategory()
586 audioDeviceCategory.csdCompatible = isHeadphone; in setAudioDeviceCategory()
587 soundDose.setAudioDeviceCategory(audioDeviceCategory); in setAudioDeviceCategory()
596 final ISoundDose.AudioDeviceCategory audioDeviceCategory = in initCachedAudioDeviceCategories() local
598 audioDeviceCategory.address = state.getDeviceAddress(); in initCachedAudioDeviceCategories()
599 audioDeviceCategory.internalAudioType = state.getInternalDeviceType(); in initCachedAudioDeviceCategories()
600 audioDeviceCategory.csdCompatible = in initCachedAudioDeviceCategories()
602 mCachedAudioDeviceCategories.add(audioDeviceCategory); in initCachedAudioDeviceCategories()
/frameworks/base/media/java/android/media/
DAudioManager.java7260 public static String audioDeviceCategoryToString(int audioDeviceCategory) { in audioDeviceCategoryToString() argument
7261 switch (audioDeviceCategory) { in audioDeviceCategoryToString()
7272 audioDeviceCategory).toString(); in audioDeviceCategoryToString()