Home
last modified time | relevance | path

Searched refs:CrosIds (Results 1 – 25 of 61) sorted by relevance

123

/external/autotest/client/cros/chameleon/
Daudio_level.py44 ids.CrosIds.HDMI: _AudioLevel.DIGITAL,
45 ids.CrosIds.HEADPHONE: _AudioLevel.LINE_LEVEL,
46 ids.CrosIds.SPEAKER: _AudioLevel.LINE_LEVEL,
47 ids.CrosIds.BLUETOOTH_HEADPHONE: _AudioLevel.DIGITAL,
48 ids.CrosIds.USBOUT: _AudioLevel.DIGITAL,
58 ids.CrosIds.EXTERNAL_MIC: _AudioLevel.MIC_LEVEL,
59 ids.CrosIds.INTERNAL_MIC: _AudioLevel.MIC_LEVEL,
60 ids.CrosIds.BLUETOOTH_MIC: _AudioLevel.DIGITAL,
61 ids.CrosIds.USBIN: _AudioLevel.DIGITAL,
Dchameleon_audio_helper.py86 (ids.CrosIds.HDMI, ids.ChameleonIds.HDMI):
88 (ids.CrosIds.HEADPHONE, ids.ChameleonIds.LINEIN):
90 (ids.ChameleonIds.LINEOUT, ids.CrosIds.EXTERNAL_MIC):
102 (ids.CrosIds.BLUETOOTH_HEADPHONE,
106 ids.CrosIds.BLUETOOTH_MIC):
108 (ids.CrosIds.USBOUT, ids.ChameleonIds.USBIN):
110 (ids.ChameleonIds.USBOUT, ids.CrosIds.USBIN):
299 ids.CrosIds.USBIN, ids.CrosIds.USBOUT
301 is_internal_mic = audio_port.port_id == ids.CrosIds.INTERNAL_MIC
302 is_hotwording = audio_port.port_id == ids.CrosIds.HOTWORDING
Daudio_test_utils.py33 chameleon_audio_ids.CrosIds.HDMI: 'HDMI',
34 chameleon_audio_ids.CrosIds.HEADPHONE: 'HEADPHONE',
35 chameleon_audio_ids.CrosIds.EXTERNAL_MIC: 'MIC',
36 chameleon_audio_ids.CrosIds.SPEAKER: 'INTERNAL_SPEAKER',
37 chameleon_audio_ids.CrosIds.INTERNAL_MIC: 'INTERNAL_MIC',
38 chameleon_audio_ids.CrosIds.BLUETOOTH_HEADPHONE: 'BLUETOOTH',
39 chameleon_audio_ids.CrosIds.BLUETOOTH_MIC: 'BLUETOOTH',
40 chameleon_audio_ids.CrosIds.USBIN: 'USB',
41 chameleon_audio_ids.CrosIds.USBOUT: 'USB',
450 elif source_id == chameleon_audio_ids.CrosIds.SPEAKER:
[all …]
Dchameleon_audio_ids.py26 class CrosIds(object): class
138 for cls in [ChameleonIds, CrosIds, PeripheralIds]:
142 for cls in [ChameleonIds, CrosIds, PeripheralIds]:
Daudio_board.py93 ids.CrosIds.HEADPHONE: 'Cros device headphone',
94 ids.CrosIds.EXTERNAL_MIC: 'Cros device external microphone',
/external/autotest/server/site_tests/audio_AudioVolume/
Daudio_AudioVolume.py38 if source_id == chameleon_audio_ids.CrosIds.SPEAKER:
40 elif source_id == chameleon_audio_ids.CrosIds.HEADPHONE:
42 elif source_id == chameleon_audio_ids.CrosIds.HDMI:
44 elif source_id == chameleon_audio_ids.CrosIds.USBOUT:
60 if source_id == chameleon_audio_ids.CrosIds.SPEAKER:
62 elif source_id == chameleon_audio_ids.CrosIds.HEADPHONE:
64 elif source_id == chameleon_audio_ids.CrosIds.HDMI:
66 elif source_id == chameleon_audio_ids.CrosIds.USBOUT:
72 if source_id == chameleon_audio_ids.CrosIds.SPEAKER:
82 if (source_id == chameleon_audio_ids.CrosIds.SPEAKER
Dcontrol.headphone31 source_id=chameleon_audio_ids.CrosIds.HEADPHONE,
Dcontrol.speaker31 source_id=chameleon_audio_ids.CrosIds.SPEAKER,
Dcontrol.hdmi31 source_id=chameleon_audio_ids.CrosIds.HDMI,
Dcontrol.usb31 source_id=chameleon_audio_ids.CrosIds.USBOUT,
/external/autotest/server/site_tests/audio_AudioAfterReboot/
Daudio_AudioAfterReboot.py169 if ((bind_from == chameleon_audio_ids.CrosIds.HEADPHONE
170 or bind_to == chameleon_audio_ids.CrosIds.EXTERNAL_MIC)
179 if (recorder == chameleon_audio_ids.CrosIds.INTERNAL_MIC and
184 if (source == chameleon_audio_ids.CrosIds.SPEAKER
200 if (source == chameleon_audio_ids.CrosIds.SPEAKER
201 or bind_to == chameleon_audio_ids.CrosIds.EXTERNAL_MIC):
/external/autotest/server/site_tests/audio_AudioAfterSuspend/
Daudio_AudioAfterSuspend.py201 if ((bind_from == chameleon_audio_ids.CrosIds.HEADPHONE or
202 bind_to == chameleon_audio_ids.CrosIds.EXTERNAL_MIC) and
211 if (recorder == chameleon_audio_ids.CrosIds.INTERNAL_MIC and
215 if (source == chameleon_audio_ids.CrosIds.SPEAKER and
227 if (source == chameleon_audio_ids.CrosIds.SPEAKER
228 or bind_to == chameleon_audio_ids.CrosIds.EXTERNAL_MIC):
/external/autotest/server/site_tests/audio_AudioPinnedStream/
Daudio_AudioPinnedStream.py50 chameleon_audio_ids.CrosIds.HEADPHONE)
54 chameleon_audio_ids.CrosIds.USBOUT)
61 chameleon_audio_ids.CrosIds.EXTERNAL_MIC)
65 chameleon_audio_ids.CrosIds.USBIN)
/external/autotest/server/site_tests/audio_AudioWebRTCLoopback/
Daudio_AudioWebRTCLoopback.py91 chameleon_audio_ids.CrosIds.HEADPHONE)
97 usb_in = widget_factory.create_widget(chameleon_audio_ids.CrosIds.USBIN)
/external/autotest/server/site_tests/audio_AudioBasicUSBPlaybackRecord/
Daudio_AudioBasicUSBPlaybackRecord.py43 chameleon_audio_ids.CrosIds.USBOUT)
52 chameleon_audio_ids.CrosIds.USBIN)
/external/autotest/server/site_tests/audio_AudioBasicBluetoothPlaybackRecord/
Daudio_AudioBasicBluetoothPlaybackRecord.py131 chameleon_audio_ids.CrosIds.BLUETOOTH_HEADPHONE)
144 chameleon_audio_ids.CrosIds.BLUETOOTH_MIC)
/external/autotest/server/site_tests/audio_AudioBluetoothConnectionStability/
Daudio_AudioBluetoothConnectionStability.py50 chameleon_audio_ids.CrosIds.BLUETOOTH_HEADPHONE)
/external/autotest/server/site_tests/audio_AudioArtifacts/
Dcontrol.usb32 source_id=chameleon_audio_ids.CrosIds.USBOUT,
Dcontrol.a2dp32 source_id=chameleon_audio_ids.CrosIds.BLUETOOTH_HEADPHONE,
Dcontrol.hdmi32 source_id=chameleon_audio_ids.CrosIds.HDMI,
Dcontrol.headphone32 source_id=chameleon_audio_ids.CrosIds.HEADPHONE,
Dcontrol.headphone.150s32 source_id=chameleon_audio_ids.CrosIds.HEADPHONE,
Dcontrol.speaker32 source_id=chameleon_audio_ids.CrosIds.SPEAKER,
Dcontrol.volume_changing_headphone32 source_id=chameleon_audio_ids.CrosIds.HEADPHONE,
Dcontrol.mute_headphone32 source_id=chameleon_audio_ids.CrosIds.HEADPHONE,

123