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