1domainGroup: DeviceForStrategy
2
3	domainGroup: Media
4
5		domain: UnreachableDevices
6			conf: Calibration
7				component: /Policy/policy/strategies/media/selected_output_devices/mask
8					fm = 0
9					speaker_safe = 0
10					earpiece = 0
11					bluetooth_sco = 0
12					bluetooth_sco_headset = 0
13					bluetooth_sco_carkit = 0
14					telephony_tx = 0
15
16		domain: Device2
17			conf: RemoteSubmix
18				AvailableOutputDevices Includes RemoteSubmix
19
20				component: /Policy/policy/strategies/media/selected_output_devices/mask
21					speaker = 0
22					hdmi = 0
23					dgtl_dock_headset = 0
24					angl_dock_headset = 0
25					usb_device = 0
26					usb_accessory = 0
27					wired_headset = 0
28					wired_headphone = 0
29					bluetooth_a2dp_speaker = 0
30					bluetooth_a2dp_headphones = 0
31					bluetooth_a2dp = 0
32					remote_submix = 1
33					line = 0
34
35			conf: BluetoothA2dp
36				ForceUseForMedia IsNot ForceNoBtA2dp
37				AvailableOutputDevices Includes BluetoothA2dp
38
39				component: /Policy/policy/strategies/media/selected_output_devices/mask
40					speaker = 0
41					hdmi = 0
42					dgtl_dock_headset = 0
43					angl_dock_headset = 0
44					usb_device = 0
45					usb_accessory = 0
46					wired_headset = 0
47					wired_headphone = 0
48					bluetooth_a2dp_speaker = 0
49					bluetooth_a2dp_headphones = 0
50					bluetooth_a2dp = 1
51					remote_submix = 0
52					line = 0
53
54			conf: BluetoothA2dpHeadphone
55				ForceUseForMedia IsNot ForceNoBtA2dp
56				AvailableOutputDevices Includes BluetoothA2dpHeadphones
57
58				component: /Policy/policy/strategies/media/selected_output_devices/mask
59					speaker = 0
60					hdmi = 0
61					dgtl_dock_headset = 0
62					angl_dock_headset = 0
63					usb_device = 0
64					usb_accessory = 0
65					wired_headset = 0
66					wired_headphone = 0
67					bluetooth_a2dp_speaker = 0
68					bluetooth_a2dp_headphones = 1
69					bluetooth_a2dp = 0
70					remote_submix = 0
71					line = 0
72
73			conf: BluetoothA2dpSpeaker
74				ForceUseForMedia IsNot ForceNoBtA2dp
75				AvailableOutputDevices Includes BluetoothA2dpSpeaker
76
77				component: /Policy/policy/strategies/media/selected_output_devices/mask
78					speaker = 0
79					hdmi = 0
80					dgtl_dock_headset = 0
81					angl_dock_headset = 0
82					usb_device = 0
83					usb_accessory = 0
84					wired_headset = 0
85					wired_headphone = 0
86					bluetooth_a2dp_speaker = 1
87					bluetooth_a2dp_headphones = 0
88					bluetooth_a2dp = 0
89					remote_submix = 0
90					line = 0
91
92			conf: ForceSpeaker
93				ForceUseForMedia Is ForceSpeaker
94				AvailableOutputDevices Includes Speaker
95				#
96				# If hdmi system audio mode is on, remove speaker out of output list.
97				#
98				ForceUseForHdmiSystemAudio IsNot ForceHdmiSystemEnforced
99
100				component: /Policy/policy/strategies/media/selected_output_devices/mask
101					speaker = 1
102					hdmi = 0
103					dgtl_dock_headset = 0
104					angl_dock_headset = 0
105					usb_device = 0
106					usb_accessory = 0
107					wired_headset = 0
108					wired_headphone = 0
109					bluetooth_a2dp_speaker = 0
110					bluetooth_a2dp_headphones = 0
111					bluetooth_a2dp = 0
112					remote_submix = 0
113					line = 0
114
115			conf: WiredHeadphone
116				AvailableOutputDevices Includes WiredHeadphone
117
118				component: /Policy/policy/strategies/media/selected_output_devices/mask
119					speaker = 0
120					hdmi = 0
121					dgtl_dock_headset = 0
122					angl_dock_headset = 0
123					usb_device = 0
124					usb_accessory = 0
125					wired_headset = 0
126					wired_headphone = 1
127					bluetooth_a2dp_speaker = 0
128					bluetooth_a2dp_headphones = 0
129					bluetooth_a2dp = 0
130					remote_submix = 0
131					line = 0
132
133			conf: Line
134				AvailableOutputDevices Includes Line
135
136				component: /Policy/policy/strategies/media/selected_output_devices/mask
137					speaker = 0
138					hdmi = 0
139					dgtl_dock_headset = 0
140					angl_dock_headset = 0
141					usb_device = 0
142					usb_accessory = 0
143					wired_headset = 0
144					wired_headphone = 0
145					bluetooth_a2dp_speaker = 0
146					bluetooth_a2dp_headphones = 0
147					bluetooth_a2dp = 0
148					remote_submix = 0
149					line = 1
150
151			conf: WiredHeadset
152				AvailableOutputDevices Includes WiredHeadset
153
154				component: /Policy/policy/strategies/media/selected_output_devices/mask
155					speaker = 0
156					hdmi = 0
157					dgtl_dock_headset = 0
158					angl_dock_headset = 0
159					usb_device = 0
160					usb_accessory = 0
161					wired_headset = 1
162					wired_headphone = 0
163					bluetooth_a2dp_speaker = 0
164					bluetooth_a2dp_headphones = 0
165					bluetooth_a2dp = 0
166					remote_submix = 0
167					line = 0
168
169			conf: UsbAccessory
170				AvailableOutputDevices Includes UsbAccessory
171
172				component: /Policy/policy/strategies/media/selected_output_devices/mask
173					speaker = 0
174					hdmi = 0
175					dgtl_dock_headset = 0
176					angl_dock_headset = 0
177					usb_device = 0
178					usb_accessory = 1
179					wired_headset = 0
180					wired_headphone = 0
181					bluetooth_a2dp_speaker = 0
182					bluetooth_a2dp_headphones = 0
183					bluetooth_a2dp = 0
184					remote_submix = 0
185					line = 0
186
187			conf: UsbDevice
188				AvailableOutputDevices Includes UsbDevice
189
190				component: /Policy/policy/strategies/media/selected_output_devices/mask
191					speaker = 0
192					hdmi = 0
193					dgtl_dock_headset = 0
194					angl_dock_headset = 0
195					usb_device = 1
196					usb_accessory = 0
197					wired_headset = 0
198					wired_headphone = 0
199					bluetooth_a2dp_speaker = 0
200					bluetooth_a2dp_headphones = 0
201					bluetooth_a2dp = 0
202					remote_submix = 0
203					line = 0
204
205			conf: DgtlDockHeadset
206				AvailableOutputDevices Includes DgtlDockHeadset
207
208				component: /Policy/policy/strategies/media/selected_output_devices/mask
209					speaker = 0
210					hdmi = 0
211					dgtl_dock_headset = 1
212					angl_dock_headset = 0
213					usb_device = 0
214					usb_accessory = 0
215					wired_headset = 0
216					wired_headphone = 0
217					bluetooth_a2dp_speaker = 0
218					bluetooth_a2dp_headphones = 0
219					bluetooth_a2dp = 0
220					remote_submix = 0
221					line = 0
222
223			conf: AuxDigital
224				AvailableOutputDevices Includes Hdmi
225
226				component: /Policy/policy/strategies/media/selected_output_devices/mask
227					speaker = 0
228					hdmi = 1
229					dgtl_dock_headset = 0
230					angl_dock_headset = 0
231					usb_device = 0
232					usb_accessory = 0
233					wired_headset = 0
234					wired_headphone = 0
235					bluetooth_a2dp_speaker = 0
236					bluetooth_a2dp_headphones = 0
237					bluetooth_a2dp = 0
238					remote_submix = 0
239					line = 0
240
241			conf: AnlgDockHeadset
242				AvailableOutputDevices Includes AnlgDockHeadset
243				ForceUseForDock Is ForceAnalogDock
244
245				component: /Policy/policy/strategies/media/selected_output_devices/mask
246					speaker = 0
247					hdmi = 0
248					dgtl_dock_headset = 0
249					angl_dock_headset = 1
250					usb_device = 0
251					usb_accessory = 0
252					wired_headset = 0
253					wired_headphone = 0
254					bluetooth_a2dp_speaker = 0
255					bluetooth_a2dp_headphones = 0
256					bluetooth_a2dp = 0
257					remote_submix = 0
258					line = 0
259
260			conf: Speaker
261				AvailableOutputDevices Includes Speaker
262				#
263				# If hdmi system audio mode is on, remove speaker out of output list.
264				#
265				ForceUseForHdmiSystemAudio IsNot ForceHdmiSystemEnforced
266
267				component: /Policy/policy/strategies/media/selected_output_devices/mask
268					speaker = 1
269					hdmi = 0
270					dgtl_dock_headset = 0
271					angl_dock_headset = 0
272					usb_device = 0
273					usb_accessory = 0
274					wired_headset = 0
275					wired_headphone = 0
276					bluetooth_a2dp_speaker = 0
277					bluetooth_a2dp_headphones = 0
278					bluetooth_a2dp = 0
279					remote_submix = 0
280					line = 0
281
282			conf: Default
283				component: /Policy/policy/strategies/media/selected_output_devices/mask
284					speaker = 0
285					hdmi = 0
286					dgtl_dock_headset = 0
287					angl_dock_headset = 0
288					usb_device = 0
289					usb_accessory = 0
290					wired_headset = 0
291					wired_headphone = 0
292					bluetooth_a2dp_speaker = 0
293					bluetooth_a2dp_headphones = 0
294					bluetooth_a2dp = 0
295					remote_submix = 0
296					line = 0
297
298		domain: Arc
299			#
300			# these following domains consists in device(s) that can co-exist with others
301			# e.g. ARC, SPDIF, AUX_LINE
302			#
303			conf: Selected
304				AvailableOutputDevices Includes HdmiArc
305
306				/Policy/policy/strategies/media/selected_output_devices/mask/hdmi_arc = 1
307
308			conf: NotSelected
309				/Policy/policy/strategies/media/selected_output_devices/mask/hdmi_arc = 0
310
311		domain: Spdif
312			#
313			# these following domains consists in device(s) that can co-exist with others
314			# e.g. ARC, SPDIF, AUX_LINE
315			#
316			conf: Selected
317				AvailableOutputDevices Includes Spdif
318
319				/Policy/policy/strategies/media/selected_output_devices/mask/spdif = 1
320
321			conf: NotSelected
322				/Policy/policy/strategies/media/selected_output_devices/mask/spdif = 0
323
324		domain: AuxLine
325			conf: Selected
326				AvailableOutputDevices Includes AuxLine
327
328				/Policy/policy/strategies/media/selected_output_devices/mask/aux_line = 1
329
330			conf: NotSelected
331				/Policy/policy/strategies/media/selected_output_devices/mask/aux_line = 0
332