1supDomain: DeviceForStrategy
2
3	supDomain: EnforcedAudible
4
5		domain: UnreachableDevices
6			conf: Calibration
7				component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
8					# no enforced_audible on remote submix (e.g. WFD)
9					remote_submix = 0
10					hdmi_arc = 0
11					spdif = 0
12					aux_line = 0
13					speaker_safe = 0
14
15		domain: Speaker
16			conf: Selected
17				#
18				# strategy STRATEGY_ENFORCED_AUDIBLE uses same routing policy as STRATEGY_SONIFICATION
19				# except:
20				#    - when in call where it doesn't default to STRATEGY_PHONE behavior
21				#    - in countries where not enforced in which case it follows STRATEGY_MEDIA
22				#
23				AvailableOutputDevices Includes Speaker
24				ANY
25					ForceUseForSystem Is ForceSystemEnforced
26					ALL
27						ForceUseForMedia Is ForceSpeaker
28						AvailableOutputDevices Excludes RemoteSubmix
29						ANY
30							ForceUseForMedia IsNot ForceNoBtA2dp
31							AvailableOutputDevices Excludes BluetoothA2dp
32							AvailableOutputDevices Excludes BluetoothA2dpHeadphones
33							AvailableOutputDevices Excludes BluetoothA2dpSpeaker
34					#
35					# Speaker is also the fallback device if any of the device from Device2 domain
36					# is selected.
37					#
38					ALL
39						AvailableOutputDevices Excludes RemoteSubmix
40						AvailableOutputDevices Excludes WiredHeadphone
41						AvailableOutputDevices Excludes Line
42						AvailableOutputDevices Excludes WiredHeadset
43						AvailableOutputDevices Excludes UsbAccessory
44						AvailableOutputDevices Excludes UsbDevice
45						AvailableOutputDevices Excludes DgtlDockHeadset
46						AvailableOutputDevices Excludes Hdmi
47						ANY
48							AvailableOutputDevices Excludes AnlgDockHeadset
49							ForceUseForDock IsNot ForceAnalogDock
50
51				component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
52					speaker = 1
53
54			conf: NotSelected
55				component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
56					speaker = 0
57
58		domain: Device2
59			conf: RemoteSubmix
60				AvailableOutputDevices Includes RemoteSubmix
61
62				component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
63					remote_submix = 1
64					earpiece = 0
65					wired_headset = 0
66					wired_headphone = 0
67					bluetooth_sco = 0
68					bluetooth_sco_headset = 0
69					bluetooth_sco_carkit = 0
70					bluetooth_a2dp = 0
71					bluetooth_a2dp_headphones = 0
72					bluetooth_a2dp_speaker = 0
73					hdmi = 0
74					angl_dock_headset = 0
75					dgtl_dock_headset = 0
76					usb_accessory = 0
77					usb_device = 0
78					telephony_tx = 0
79					line = 0
80					fm = 0
81					speaker_safe = 0
82
83			conf: BluetoothA2dp
84				AvailableOutputDevices Includes BluetoothA2dp
85				ForceUseForMedia IsNot ForceNoBtA2dp
86
87				component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
88					remote_submix = 0
89					earpiece = 0
90					wired_headset = 0
91					wired_headphone = 0
92					bluetooth_sco = 0
93					bluetooth_sco_headset = 0
94					bluetooth_sco_carkit = 0
95					bluetooth_a2dp = 1
96					bluetooth_a2dp_headphones = 0
97					bluetooth_a2dp_speaker = 0
98					hdmi = 0
99					angl_dock_headset = 0
100					dgtl_dock_headset = 0
101					usb_accessory = 0
102					usb_device = 0
103					telephony_tx = 0
104					line = 0
105					fm = 0
106					speaker_safe = 0
107
108			conf: BluetoothA2dpHeadphones
109				AvailableOutputDevices Includes BluetoothA2dpHeadphones
110				ForceUseForMedia IsNot ForceNoBtA2dp
111
112				component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
113					remote_submix = 0
114					earpiece = 0
115					wired_headset = 0
116					wired_headphone = 0
117					bluetooth_sco = 0
118					bluetooth_sco_headset = 0
119					bluetooth_sco_carkit = 0
120					bluetooth_a2dp = 0
121					bluetooth_a2dp_headphones = 1
122					bluetooth_a2dp_speaker = 0
123					hdmi = 0
124					angl_dock_headset = 0
125					dgtl_dock_headset = 0
126					usb_accessory = 0
127					usb_device = 0
128					telephony_tx = 0
129					line = 0
130					fm = 0
131					speaker_safe = 0
132
133			conf: BluetoothA2dpSpeaker
134				AvailableOutputDevices Includes BluetoothA2dpSpeaker
135				ForceUseForMedia IsNot ForceNoBtA2dp
136
137				component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
138					remote_submix = 0
139					earpiece = 0
140					wired_headset = 0
141					wired_headphone = 0
142					bluetooth_sco = 0
143					bluetooth_sco_headset = 0
144					bluetooth_sco_carkit = 0
145					bluetooth_a2dp = 0
146					bluetooth_a2dp_headphones = 0
147					bluetooth_a2dp_speaker = 1
148					hdmi = 0
149					angl_dock_headset = 0
150					dgtl_dock_headset = 0
151					usb_accessory = 0
152					usb_device = 0
153					telephony_tx = 0
154					line = 0
155					fm = 0
156					speaker_safe = 0
157
158			conf: WiredHeadphone
159				ForceUseForMedia IsNot ForceSpeaker
160				AvailableOutputDevices Includes WiredHeadphone
161
162				component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
163					remote_submix = 0
164					earpiece = 0
165					wired_headset = 0
166					wired_headphone = 1
167					bluetooth_sco = 0
168					bluetooth_sco_headset = 0
169					bluetooth_sco_carkit = 0
170					bluetooth_a2dp = 0
171					bluetooth_a2dp_headphones = 0
172					bluetooth_a2dp_speaker = 0
173					hdmi = 0
174					angl_dock_headset = 0
175					dgtl_dock_headset = 0
176					usb_accessory = 0
177					usb_device = 0
178					telephony_tx = 0
179					line = 0
180					fm = 0
181					speaker_safe = 0
182
183			conf: Line
184				ForceUseForMedia IsNot ForceSpeaker
185				AvailableOutputDevices Includes Line
186
187				component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
188					remote_submix = 0
189					earpiece = 0
190					wired_headset = 0
191					wired_headphone = 0
192					bluetooth_sco = 0
193					bluetooth_sco_headset = 0
194					bluetooth_sco_carkit = 0
195					bluetooth_a2dp = 0
196					bluetooth_a2dp_headphones = 0
197					bluetooth_a2dp_speaker = 0
198					hdmi = 0
199					angl_dock_headset = 0
200					dgtl_dock_headset = 0
201					usb_accessory = 0
202					usb_device = 0
203					telephony_tx = 0
204					line = 1
205					fm = 0
206					speaker_safe = 0
207
208			conf: WiredHeadset
209				ForceUseForMedia IsNot ForceSpeaker
210				AvailableOutputDevices Includes WiredHeadset
211
212				component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
213					remote_submix = 0
214					earpiece = 0
215					wired_headset = 1
216					wired_headphone = 0
217					bluetooth_sco = 0
218					bluetooth_sco_headset = 0
219					bluetooth_sco_carkit = 0
220					bluetooth_a2dp = 0
221					bluetooth_a2dp_headphones = 0
222					bluetooth_a2dp_speaker = 0
223					hdmi = 0
224					angl_dock_headset = 0
225					dgtl_dock_headset = 0
226					usb_accessory = 0
227					usb_device = 0
228					telephony_tx = 0
229					line = 0
230					fm = 0
231					speaker_safe = 0
232
233			conf: UsbAccessory
234				ForceUseForMedia IsNot ForceSpeaker
235				AvailableOutputDevices Includes UsbAccessory
236
237				component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
238					remote_submix = 0
239					earpiece = 0
240					wired_headset = 0
241					wired_headphone = 0
242					bluetooth_sco = 0
243					bluetooth_sco_headset = 0
244					bluetooth_sco_carkit = 0
245					bluetooth_a2dp = 0
246					bluetooth_a2dp_headphones = 0
247					bluetooth_a2dp_speaker = 0
248					hdmi = 0
249					angl_dock_headset = 0
250					dgtl_dock_headset = 0
251					usb_accessory = 1
252					usb_device = 0
253					telephony_tx = 0
254					line = 0
255					fm = 0
256					speaker_safe = 0
257
258			conf: UsbDevice
259				ForceUseForMedia IsNot ForceSpeaker
260				AvailableOutputDevices Includes UsbDevice
261
262				component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
263					remote_submix = 0
264					earpiece = 0
265					wired_headset = 0
266					wired_headphone = 0
267					bluetooth_sco = 0
268					bluetooth_sco_headset = 0
269					bluetooth_sco_carkit = 0
270					bluetooth_a2dp = 0
271					bluetooth_a2dp_headphones = 0
272					bluetooth_a2dp_speaker = 0
273					hdmi = 0
274					angl_dock_headset = 0
275					dgtl_dock_headset = 0
276					usb_accessory = 0
277					usb_device = 1
278					telephony_tx = 0
279					line = 0
280					fm = 0
281					speaker_safe = 0
282
283			conf: DgtlDockHeadset
284				ForceUseForMedia IsNot ForceSpeaker
285				AvailableOutputDevices Includes DgtlDockHeadset
286
287				component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
288					remote_submix = 0
289					earpiece = 0
290					wired_headset = 0
291					wired_headphone = 0
292					bluetooth_sco = 0
293					bluetooth_sco_headset = 0
294					bluetooth_sco_carkit = 0
295					bluetooth_a2dp = 0
296					bluetooth_a2dp_headphones = 0
297					bluetooth_a2dp_speaker = 0
298					hdmi = 0
299					angl_dock_headset = 0
300					dgtl_dock_headset = 1
301					usb_accessory = 0
302					usb_device = 0
303					telephony_tx = 0
304					line = 0
305					fm = 0
306					speaker_safe = 0
307
308			conf: Hdmi
309				ForceUseForMedia IsNot ForceSpeaker
310				AvailableOutputDevices Includes Hdmi
311
312				component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
313					remote_submix = 0
314					earpiece = 0
315					wired_headset = 0
316					wired_headphone = 0
317					bluetooth_sco = 0
318					bluetooth_sco_headset = 0
319					bluetooth_sco_carkit = 0
320					bluetooth_a2dp = 0
321					bluetooth_a2dp_headphones = 0
322					bluetooth_a2dp_speaker = 0
323					hdmi = 1
324					angl_dock_headset = 0
325					dgtl_dock_headset = 0
326					usb_accessory = 0
327					usb_device = 0
328					telephony_tx = 0
329					line = 0
330					fm = 0
331					speaker_safe = 0
332
333			conf: AnlgDockHeadset
334				ForceUseForMedia IsNot ForceSpeaker
335				ForceUseForDock Is ForceAnalogDock
336				AvailableOutputDevices Includes AnlgDockHeadset
337
338				component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask
339					remote_submix = 0
340					earpiece = 0
341					wired_headset = 0
342					wired_headphone = 0
343					bluetooth_sco = 0
344					bluetooth_sco_headset = 0
345					bluetooth_sco_carkit = 0
346					bluetooth_a2dp = 0
347					bluetooth_a2dp_headphones = 0
348					bluetooth_a2dp_speaker = 0
349					hdmi = 0
350					angl_dock_headset = 1
351					dgtl_dock_headset = 0
352					usb_accessory = 0
353					usb_device = 0
354					telephony_tx = 0
355					line = 0
356					fm = 0
357					speaker_safe = 0
358
359