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