Searched refs:audioFormat (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothAudioConfig.java | 36 public BluetoothAudioConfig(int sampleRate, int channelConfig, int audioFormat) { in BluetoothAudioConfig() argument 39 mAudioFormat = audioFormat; in BluetoothAudioConfig() 79 int audioFormat = in.readInt(); 80 return new BluetoothAudioConfig(sampleRate, channelConfig, audioFormat);
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/displaysound/ |
D | AdvancedVolumeFragmentTest.java | 128 ArgumentCaptor<Integer> audioFormat = ArgumentCaptor.forClass(Integer.class); in testOnPreferenceTreeClick_withFormatDisabled_disablesFormatInAudioManager() local 131 audioFormat.capture(), formatEnabled.capture()); in testOnPreferenceTreeClick_withFormatDisabled_disablesFormatInAudioManager() 132 assertThat(audioFormat.getValue()).isEqualTo(AudioFormat.ENCODING_DTS); in testOnPreferenceTreeClick_withFormatDisabled_disablesFormatInAudioManager() 156 ArgumentCaptor<Integer> audioFormat = ArgumentCaptor.forClass(Integer.class); in testOnPreferenceTreeClick_withFormatEnabled_enablesFormatInAudioManager() local 159 audioFormat.capture(), formatEnabled.capture()); in testOnPreferenceTreeClick_withFormatEnabled_enablesFormatInAudioManager() 160 assertThat(audioFormat.getValue()).isEqualTo(AudioFormat.ENCODING_DTS); in testOnPreferenceTreeClick_withFormatEnabled_enablesFormatInAudioManager() 192 ArgumentCaptor<Integer> audioFormat = ArgumentCaptor.forClass(Integer.class); in testOnPreferenceTreeClick_withDTSFormatsDisabled_disablesFormatInAudioManager() local 195 audioFormat.capture(), formatEnabled.capture()); in testOnPreferenceTreeClick_withDTSFormatsDisabled_disablesFormatInAudioManager() 207 assertThat(audioFormat.getAllValues()).containsExactlyElementsIn(expectedFormats); in testOnPreferenceTreeClick_withDTSFormatsDisabled_disablesFormatInAudioManager() 239 ArgumentCaptor<Integer> audioFormat = ArgumentCaptor.forClass(Integer.class); in testOnPreferenceTreeClick_withDTSFormatsEnabled_enablesFormatInAudioManager() local [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/ |
D | SoundFormatPreferenceController.java | 175 private void setSurroundFormatEnabled(int audioFormat, boolean enabled) { in setSurroundFormatEnabled() argument 176 mAudioManager.setSurroundFormatEnabled(audioFormat, enabled); in setSurroundFormatEnabled() 178 if (audioFormat == AudioFormat.ENCODING_DTS_HD) { in setSurroundFormatEnabled() 180 } else if (audioFormat == AudioFormat.ENCODING_DTS_UHD_P1) { in setSurroundFormatEnabled()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/display/displaysound/ |
D | SoundFormatPreferenceController.java | 194 private void setSurroundFormatEnabled(int audioFormat, boolean enabled) { in setSurroundFormatEnabled() argument 195 mAudioManager.setSurroundFormatEnabled(audioFormat, enabled); in setSurroundFormatEnabled() 197 if (audioFormat == AudioFormat.ENCODING_DTS_HD) { in setSurroundFormatEnabled() 199 } else if (audioFormat == AudioFormat.ENCODING_DTS_UHD_P1) { in setSurroundFormatEnabled()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | AudioPolicyTest.java | 100 AudioFormat audioFormat = new AudioFormat.Builder() in createAudioMix() local 109 .setFormat(audioFormat) in createAudioMix()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioDeviceInfo.java | 412 private static boolean isEncodingLinearPcm(int audioFormat) { in isEncodingLinearPcm() argument 413 switch (audioFormat) { in isEncodingLinearPcm()
|