1supDomain: DeviceForStrategy
2
3	supDomain: Phone
4
5		domain: UnreachableDevices
6			conf: Calibration
7				component: /Policy/policy/strategies/phone/selected_output_devices/mask
8					# no sonification on remote submix (e.g. WFD)
9					remote_submix = 0
10					hdmi_arc = 0
11					aux_line = 0
12					spdif = 0
13					fm = 0
14					speaker_safe = 0
15
16		domain: Device
17			conf: ScoCarkit
18				AvailableOutputDevices Includes BluetoothScoCarkit
19				ForceUseForCommunication Is ForceBtSco
20
21				component: /Policy/policy/strategies/phone/selected_output_devices/mask
22					earpiece = 0
23					wired_headset = 0
24					wired_headphone = 0
25					bluetooth_sco = 0
26					bluetooth_sco_headset = 0
27					bluetooth_sco_carkit = 1
28					bluetooth_a2dp = 0
29					bluetooth_a2dp_headphones = 0
30					bluetooth_a2dp_speaker = 0
31					hdmi = 0
32					angl_dock_headset = 0
33					dgtl_dock_headset = 0
34					usb_accessory = 0
35					usb_device = 0
36					telephony_tx = 0
37					line = 0
38					speaker = 0
39
40			conf: BluetoothScoHeadset
41				AvailableOutputDevices Includes BluetoothScoHeadset
42				ForceUseForCommunication Is ForceBtSco
43
44				component: /Policy/policy/strategies/phone/selected_output_devices/mask
45					earpiece = 0
46					wired_headset = 0
47					wired_headphone = 0
48					bluetooth_sco = 0
49					bluetooth_sco_headset = 1
50					bluetooth_sco_carkit = 0
51					bluetooth_a2dp = 0
52					bluetooth_a2dp_headphones = 0
53					bluetooth_a2dp_speaker = 0
54					hdmi = 0
55					angl_dock_headset = 0
56					dgtl_dock_headset = 0
57					usb_accessory = 0
58					usb_device = 0
59					telephony_tx = 0
60					line = 0
61					speaker = 0
62
63			conf: BluetoothSco
64				AvailableOutputDevices Includes BluetoothSco
65				ForceUseForCommunication Is ForceBtSco
66
67				component: /Policy/policy/strategies/phone/selected_output_devices/mask
68					earpiece = 0
69					wired_headset = 0
70					wired_headphone = 0
71					bluetooth_sco = 1
72					bluetooth_sco_headset = 0
73					bluetooth_sco_carkit = 0
74					bluetooth_a2dp = 0
75					bluetooth_a2dp_headphones = 0
76					bluetooth_a2dp_speaker = 0
77					hdmi = 0
78					angl_dock_headset = 0
79					dgtl_dock_headset = 0
80					usb_accessory = 0
81					usb_device = 0
82					telephony_tx = 0
83					line = 0
84					speaker = 0
85
86			conf: BluetoothA2dp
87				#
88				# Fallback BT Sco devices in case of FORCE_BT_SCO
89				# or FORCE_NONE
90				#
91				AvailableOutputDevices Includes BluetoothA2dp
92				TelephonyMode IsNot InCall
93				TelephonyMode IsNot InCommunication
94				ForceUseForMedia IsNot ForceNoBtA2dp
95				ANY
96					ForceUseForCommunication Is ForceBtSco
97					ForceUseForCommunication Is ForceNone
98
99				component: /Policy/policy/strategies/phone/selected_output_devices/mask
100					earpiece = 0
101					wired_headset = 0
102					wired_headphone = 0
103					bluetooth_sco = 0
104					bluetooth_sco_headset = 0
105					bluetooth_sco_carkit = 0
106					bluetooth_a2dp = 1
107					bluetooth_a2dp_headphones = 0
108					bluetooth_a2dp_speaker = 0
109					hdmi = 0
110					angl_dock_headset = 0
111					dgtl_dock_headset = 0
112					usb_accessory = 0
113					usb_device = 0
114					telephony_tx = 0
115					line = 0
116					speaker = 0
117
118			conf: BluetoothA2dpHeadphones
119				#
120				# Fallback BT Sco devices in case of FORCE_BT_SCO
121				# or FORCE_NONE
122				#
123				AvailableOutputDevices Includes BluetoothA2dpHeadphones
124				TelephonyMode IsNot InCall
125				TelephonyMode IsNot InCommunication
126				ForceUseForMedia IsNot ForceNoBtA2dp
127				ANY
128					ForceUseForCommunication Is ForceBtSco
129					ForceUseForCommunication Is ForceNone
130
131				component: /Policy/policy/strategies/phone/selected_output_devices/mask
132					earpiece = 0
133					wired_headset = 0
134					wired_headphone = 0
135					bluetooth_sco = 0
136					bluetooth_sco_headset = 0
137					bluetooth_sco_carkit = 0
138					bluetooth_a2dp = 0
139					bluetooth_a2dp_headphones = 1
140					bluetooth_a2dp_speaker = 0
141					hdmi = 0
142					angl_dock_headset = 0
143					dgtl_dock_headset = 0
144					usb_accessory = 0
145					usb_device = 0
146					telephony_tx = 0
147					line = 0
148					speaker = 0
149
150			conf: BluetoothA2dpSpeaker
151				#
152				# Fallback BT Sco devices in case of FORCE_BT_SCO
153				# or FORCE_NONE
154				#
155				AvailableOutputDevices Includes BluetoothA2dpSpeaker
156				TelephonyMode IsNot InCall
157				TelephonyMode IsNot InCommunication
158				ForceUseForMedia IsNot ForceNoBtA2dp
159				ForceUseForCommunication Is ForceSpeaker
160
161				component: /Policy/policy/strategies/phone/selected_output_devices/mask
162					earpiece = 0
163					wired_headset = 0
164					wired_headphone = 0
165					bluetooth_sco = 0
166					bluetooth_sco_headset = 0
167					bluetooth_sco_carkit = 0
168					bluetooth_a2dp = 0
169					bluetooth_a2dp_headphones = 1
170					bluetooth_a2dp_speaker = 0
171					hdmi = 0
172					angl_dock_headset = 0
173					dgtl_dock_headset = 0
174					usb_accessory = 0
175					usb_device = 0
176					telephony_tx = 0
177					line = 0
178					speaker = 0
179
180			conf: WiredHeadphone
181				#
182				# Fallback BT Sco devices in case of FORCE_BT_SCO
183				# or FORCE_NONE
184				#
185				AvailableOutputDevices Includes WiredHeadphone
186				ForceUseForCommunication IsNot ForceSpeaker
187
188				component: /Policy/policy/strategies/phone/selected_output_devices/mask
189					earpiece = 0
190					wired_headset = 0
191					wired_headphone = 1
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 = 0
205					speaker = 0
206
207			conf: WiredHeadset
208				#
209				# Fallback BT Sco devices in case of FORCE_BT_SCO
210				# or FORCE_NONE
211				#
212				AvailableOutputDevices Includes WiredHeadset
213				ForceUseForCommunication IsNot ForceSpeaker
214
215				component: /Policy/policy/strategies/phone/selected_output_devices/mask
216					earpiece = 0
217					wired_headset = 1
218					wired_headphone = 0
219					bluetooth_sco = 0
220					bluetooth_sco_headset = 0
221					bluetooth_sco_carkit = 0
222					bluetooth_a2dp = 0
223					bluetooth_a2dp_headphones = 0
224					bluetooth_a2dp_speaker = 0
225					hdmi = 0
226					angl_dock_headset = 0
227					dgtl_dock_headset = 0
228					usb_accessory = 0
229					usb_device = 0
230					telephony_tx = 0
231					line = 0
232					speaker = 0
233
234			conf: UsbDevice
235				#
236				# Fallback BT Sco devices in case of FORCE_BT_SCO
237				# or FORCE_NONE
238				#
239				AvailableOutputDevices Includes UsbDevice
240				ANY
241					ForceUseForCommunication Is ForceBtSco
242					ForceUseForCommunication Is ForceNone
243					ALL
244						ForceUseForCommunication Is ForceSpeaker
245						#
246						# In case of Force Speaker, priority between device and accessory are
247						# inverted compared to Force None or Bt Sco
248						#
249						AvailableOutputDevices Excludes UsbAccessory
250						TelephonyMode IsNot InCall
251						TelephonyMode IsNot InCommunication
252
253				component: /Policy/policy/strategies/phone/selected_output_devices/mask
254					earpiece = 0
255					wired_headset = 0
256					wired_headphone = 0
257					bluetooth_sco = 0
258					bluetooth_sco_headset = 0
259					bluetooth_sco_carkit = 0
260					bluetooth_a2dp = 0
261					bluetooth_a2dp_headphones = 0
262					bluetooth_a2dp_speaker = 0
263					hdmi = 0
264					angl_dock_headset = 0
265					dgtl_dock_headset = 0
266					usb_accessory = 0
267					usb_device = 1
268					telephony_tx = 0
269					line = 0
270					speaker = 0
271
272			conf: UsbAccessory
273				#
274				# Fallback BT Sco devices in case of FORCE_BT_SCO
275				# or FORCE_NONE
276				#
277				AvailableOutputDevices Includes UsbAccessory
278				TelephonyMode IsNot InCommunication
279				TelephonyMode IsNot InCall
280
281				component: /Policy/policy/strategies/phone/selected_output_devices/mask
282					earpiece = 0
283					wired_headset = 0
284					wired_headphone = 0
285					bluetooth_sco = 0
286					bluetooth_sco_headset = 0
287					bluetooth_sco_carkit = 0
288					bluetooth_a2dp = 0
289					bluetooth_a2dp_headphones = 0
290					bluetooth_a2dp_speaker = 0
291					hdmi = 0
292					angl_dock_headset = 0
293					dgtl_dock_headset = 0
294					usb_accessory = 0
295					usb_device = 1
296					telephony_tx = 0
297					line = 0
298					speaker = 0
299
300			conf: DgtlDockHeadset
301				#
302				# Fallback BT Sco devices in case of FORCE_BT_SCO
303				# or FORCE_NONE
304				#
305				AvailableOutputDevices Includes DgtlDockHeadset
306				TelephonyMode IsNot InCall
307				TelephonyMode IsNot InCommunication
308
309				component: /Policy/policy/strategies/phone/selected_output_devices/mask
310					earpiece = 0
311					wired_headset = 0
312					wired_headphone = 0
313					bluetooth_sco = 0
314					bluetooth_sco_headset = 0
315					bluetooth_sco_carkit = 0
316					bluetooth_a2dp = 0
317					bluetooth_a2dp_headphones = 0
318					bluetooth_a2dp_speaker = 0
319					hdmi = 0
320					angl_dock_headset = 0
321					dgtl_dock_headset = 1
322					usb_accessory = 0
323					usb_device = 0
324					telephony_tx = 0
325					line = 0
326					speaker = 0
327
328			conf: Hdmi
329				#
330				# Fallback BT Sco devices in case of FORCE_BT_SCO
331				# or FORCE_NONE
332				#
333				AvailableOutputDevices Includes Hdmi
334				TelephonyMode IsNot InCall
335				TelephonyMode IsNot InCommunication
336
337				component: /Policy/policy/strategies/phone/selected_output_devices/mask
338					earpiece = 0
339					wired_headset = 0
340					wired_headphone = 0
341					bluetooth_sco = 0
342					bluetooth_sco_headset = 0
343					bluetooth_sco_carkit = 0
344					bluetooth_a2dp = 0
345					bluetooth_a2dp_headphones = 0
346					bluetooth_a2dp_speaker = 0
347					hdmi = 1
348					angl_dock_headset = 0
349					dgtl_dock_headset = 0
350					usb_accessory = 0
351					usb_device = 0
352					telephony_tx = 0
353					line = 0
354					speaker = 0
355
356			conf: AnlgDockHeadset
357				#
358				# Fallback BT Sco devices in case of FORCE_BT_SCO
359				# or FORCE_NONE
360				#
361				AvailableOutputDevices Includes AnlgDockHeadset
362				TelephonyMode IsNot InCall
363				TelephonyMode IsNot InCommunication
364
365				component: /Policy/policy/strategies/phone/selected_output_devices/mask
366					earpiece = 0
367					wired_headset = 0
368					wired_headphone = 0
369					bluetooth_sco = 0
370					bluetooth_sco_headset = 0
371					bluetooth_sco_carkit = 0
372					bluetooth_a2dp = 0
373					bluetooth_a2dp_headphones = 0
374					bluetooth_a2dp_speaker = 0
375					hdmi = 0
376					angl_dock_headset = 1
377					dgtl_dock_headset = 0
378					usb_accessory = 0
379					usb_device = 0
380					telephony_tx = 0
381					line = 0
382					speaker = 0
383
384			conf: Earpiece
385				#
386				# Fallback BT Sco devices in case of FORCE_BT_SCO
387				# or FORCE_NONE
388				#
389				AvailableOutputDevices Includes Earpiece
390				ForceUseForCommunication IsNot ForceSpeaker
391
392				component: /Policy/policy/strategies/phone/selected_output_devices/mask
393					earpiece = 1
394					wired_headset = 0
395					wired_headphone = 0
396					bluetooth_sco = 0
397					bluetooth_sco_headset = 0
398					bluetooth_sco_carkit = 0
399					bluetooth_a2dp = 0
400					bluetooth_a2dp_headphones = 0
401					bluetooth_a2dp_speaker = 0
402					hdmi = 0
403					angl_dock_headset = 0
404					dgtl_dock_headset = 0
405					usb_accessory = 0
406					usb_device = 0
407					telephony_tx = 0
408					line = 0
409					speaker = 0
410
411			conf: Line
412				#
413				# Fallback BT Sco devices in case of FORCE_BT_SCO
414				# or FORCE_NONE
415				#
416				AvailableOutputDevices Includes Line
417				ForceUseForCommunication Is ForceSpeaker
418
419				component: /Policy/policy/strategies/phone/selected_output_devices/mask
420					earpiece = 0
421					wired_headset = 0
422					wired_headphone = 0
423					bluetooth_sco = 0
424					bluetooth_sco_headset = 0
425					bluetooth_sco_carkit = 0
426					bluetooth_a2dp = 0
427					bluetooth_a2dp_headphones = 0
428					bluetooth_a2dp_speaker = 0
429					hdmi = 0
430					angl_dock_headset = 0
431					dgtl_dock_headset = 0
432					usb_accessory = 0
433					usb_device = 0
434					telephony_tx = 0
435					line = 1
436					speaker = 0
437
438			conf: Speaker
439				#
440				# Fallback BT Sco devices in case of FORCE_BT_SCO
441				# or FORCE_NONE
442				#
443				AvailableOutputDevices Includes Speaker
444				ForceUseForCommunication Is ForceSpeaker
445
446				component: /Policy/policy/strategies/phone/selected_output_devices/mask
447					earpiece = 0
448					wired_headset = 0
449					wired_headphone = 0
450					bluetooth_sco = 0
451					bluetooth_sco_headset = 0
452					bluetooth_sco_carkit = 0
453					bluetooth_a2dp = 0
454					bluetooth_a2dp_headphones = 0
455					bluetooth_a2dp_speaker = 0
456					hdmi = 0
457					angl_dock_headset = 0
458					dgtl_dock_headset = 0
459					usb_accessory = 0
460					usb_device = 0
461					telephony_tx = 0
462					line = 0
463					speaker = 1
464
465			conf: Default
466				component: /Policy/policy/strategies/phone/selected_output_devices/mask
467					earpiece = 0
468					wired_headset = 0
469					wired_headphone = 0
470					bluetooth_sco = 0
471					bluetooth_sco_headset = 0
472					bluetooth_sco_carkit = 0
473					bluetooth_a2dp = 0
474					bluetooth_a2dp_headphones = 0
475					bluetooth_a2dp_speaker = 0
476					hdmi = 0
477					angl_dock_headset = 0
478					dgtl_dock_headset = 0
479					usb_accessory = 0
480					usb_device = 0
481					telephony_tx = 0
482					line = 0
483					speaker = 0
484
485
486