Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteControllerTest.java721 private void verifyConnectBluetoothDevice(int audioType) { in verifyConnectBluetoothDevice() argument
725 mController.sendMessageWithSessionInfo(BT_DEVICE_ADDED, audioType, BLUETOOTH_DEVICE_1); in verifyConnectBluetoothDevice()
732 mController.sendMessageWithSessionInfo(BT_ACTIVE_DEVICE_PRESENT, audioType, BT_ADDRESS_1); in verifyConnectBluetoothDevice()
733 if (audioType == AudioRoute.TYPE_BLUETOOTH_SCO) { in verifyConnectBluetoothDevice()
750 if (audioType == AudioRoute.TYPE_BLUETOOTH_HA) { in verifyConnectBluetoothDevice()
753 mController.sendMessageWithSessionInfo(BT_DEVICE_ADDED, audioType, hearingAidDevice2); in verifyConnectBluetoothDevice()
763 private void verifyDisconnectBluetoothDevice(int audioType) { in verifyDisconnectBluetoothDevice() argument
764 mController.sendMessageWithSessionInfo(BT_DEVICE_REMOVED, audioType, BLUETOOTH_DEVICE_1); in verifyDisconnectBluetoothDevice()
768 if (audioType == AudioRoute.TYPE_BLUETOOTH_SCO) { in verifyDisconnectBluetoothDevice()
DCallAudioRouteStateMachineTest.java1374 private void verifySetAndClearHeadsetCommunicationDevice(int audioType) { in verifySetAndClearHeadsetCommunicationDevice() argument
1390 when(headset.getType()).thenReturn(audioType); in verifySetAndClearHeadsetCommunicationDevice()
1417 assertEquals(audioType, infoArgumentCaptor.getValue().getType()); in verifySetAndClearHeadsetCommunicationDevice()
DBluetoothDeviceManagerTest.java823 private AudioDeviceInfo createMockAudioDeviceInfo(String address, int audioType) { in createMockAudioDeviceInfo() argument
825 when(mockAudioDeviceInfo.getType()).thenReturn(audioType); in createMockAudioDeviceInfo()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DSectionParser.java1601 AtscAudioTrack.AudioType audioType = AtscAudioTrack.AudioType.forNumber(audioTypeInt); in parseIso639Language() local
1602 if (audioType == null) { in parseIso639Language()
1603 audioType = AtscAudioTrack.AudioType.AUDIOTYPE_UNDEFINED; in parseIso639Language()
1608 .setAudioType(audioType) in parseIso639Language()