Home
last modified time | relevance | path

Searched refs:TEST_SAMPLE_RATE (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/
DBluetoothAudioConfigTest.java35 private static final int TEST_SAMPLE_RATE = 44; field in BluetoothAudioConfigTest
42 TEST_SAMPLE_RATE, TEST_CHANNEL_COUNT, AudioFormat.ENCODING_PCM_16BIT); in createBluetoothAudioConfig()
44 assertThat(audioConfig.getSampleRate()).isEqualTo(TEST_SAMPLE_RATE); in createBluetoothAudioConfig()
53 TEST_SAMPLE_RATE, TEST_CHANNEL_COUNT, AudioFormat.ENCODING_PCM_16BIT); in writeToParcel()
71 TEST_SAMPLE_RATE, TEST_CHANNEL_COUNT, AudioFormat.ENCODING_PCM_16BIT); in bluetoothAudioConfigHashCode()
87 TEST_SAMPLE_RATE, TEST_CHANNEL_COUNT, AudioFormat.ENCODING_PCM_16BIT); in bluetoothAudioConfigToString()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dpsink/
DA2dpSinkServiceTest.java76 private static final int TEST_SAMPLE_RATE = 44; field in A2dpSinkServiceTest
264 StackEvent.audioConfigChanged(mDevice1, TEST_SAMPLE_RATE, TEST_CHANNEL_COUNT); in testGetAudioConfiguration()
270 TEST_SAMPLE_RATE, TEST_CHANNEL_COUNT, AudioFormat.ENCODING_PCM_16BIT); in testGetAudioConfiguration()
279 StackEvent.audioConfigChanged(null, TEST_SAMPLE_RATE, TEST_CHANNEL_COUNT); in testOnAudioConfigChanged_withNullDevice_eventDropped()
290 StackEvent.audioConfigChanged(mDevice1, TEST_SAMPLE_RATE, TEST_CHANNEL_COUNT); in testOnAudioConfigChanged_withUnknownDevice_eventDropped()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DHidlVehicleStubUnitTest.java76 private static final float TEST_SAMPLE_RATE = 3.0f; field in HidlVehicleStubUnitTest
359 aidlOptions.sampleRate = TEST_SAMPLE_RATE; in testSubscribeHidl()
363 hidlOptions.sampleRate = TEST_SAMPLE_RATE; in testSubscribeHidl()
DAidlVehicleStubUnitTest.java95 private static final float TEST_SAMPLE_RATE = 3.0f; field in AidlVehicleStubUnitTest
246 option.sampleRate = TEST_SAMPLE_RATE; in testSubscribeAidl()