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