1supDomain: DeviceForStrategy 2 3 supDomain: Accessibility 4 # 5 # @FIXME: STRATEGY_ACCESSIBILITY follows STRATEGY_MEDIA for now 6 # 7 # @FIXME: How to disable HDMI if !audio_is_linear_pcm other than programmatically??? 8 # 9 domain: UnreachableDevices 10 conf: Calibration 11 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 12 hdmi_arc = 0 13 spdif = 0 14 aux_line = 0 15 fm = 0 16 speaker_safe = 0 17 earpiece = 0 18 bluetooth_sco = 0 19 bluetooth_sco_headset = 0 20 bluetooth_sco_carkit = 0 21 telephony_tx = 0 22 23 domain: Device2 24 conf: RemoteSubmix 25 AvailableOutputDevices Includes RemoteSubmix 26 27 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 28 remote_submix = 1 29 bluetooth_a2dp = 0 30 bluetooth_a2dp_headphones = 0 31 bluetooth_a2dp_speaker = 0 32 speaker = 0 33 wired_headset = 0 34 wired_headphone = 0 35 line = 0 36 angl_dock_headset = 0 37 dgtl_dock_headset = 0 38 usb_accessory = 0 39 usb_device = 0 40 hdmi = 0 41 42 conf: BluetoothA2dp 43 ForceUseForMedia IsNot ForceNoBtA2dp 44 AvailableOutputDevices Includes BluetoothA2dp 45 46 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 47 remote_submix = 0 48 bluetooth_a2dp = 1 49 bluetooth_a2dp_headphones = 0 50 bluetooth_a2dp_speaker = 0 51 speaker = 0 52 wired_headset = 0 53 wired_headphone = 0 54 line = 0 55 angl_dock_headset = 0 56 dgtl_dock_headset = 0 57 usb_accessory = 0 58 usb_device = 0 59 hdmi = 0 60 61 conf: BluetoothA2dpHeadphone 62 ForceUseForMedia IsNot ForceNoBtA2dp 63 AvailableOutputDevices Includes BluetoothA2dpHeadphones 64 65 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 66 remote_submix = 0 67 bluetooth_a2dp = 0 68 bluetooth_a2dp_headphones = 1 69 bluetooth_a2dp_speaker = 0 70 speaker = 0 71 wired_headset = 0 72 wired_headphone = 0 73 line = 0 74 angl_dock_headset = 0 75 dgtl_dock_headset = 0 76 usb_accessory = 0 77 usb_device = 0 78 hdmi = 0 79 80 conf: BluetoothA2dpSpeaker 81 ForceUseForMedia IsNot ForceNoBtA2dp 82 AvailableOutputDevices Includes BluetoothA2dpSpeaker 83 84 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 85 remote_submix = 0 86 bluetooth_a2dp = 0 87 bluetooth_a2dp_headphones = 0 88 bluetooth_a2dp_speaker = 1 89 speaker = 0 90 wired_headset = 0 91 wired_headphone = 0 92 line = 0 93 angl_dock_headset = 0 94 dgtl_dock_headset = 0 95 usb_accessory = 0 96 usb_device = 0 97 hdmi = 0 98 99 conf: ForceSpeaker 100 ForceUseForMedia Is ForceSpeaker 101 AvailableOutputDevices Includes Speaker 102 103 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 104 remote_submix = 0 105 bluetooth_a2dp = 0 106 bluetooth_a2dp_headphones = 0 107 bluetooth_a2dp_speaker = 0 108 speaker = 1 109 wired_headset = 0 110 wired_headphone = 0 111 line = 0 112 angl_dock_headset = 0 113 dgtl_dock_headset = 0 114 usb_accessory = 0 115 usb_device = 0 116 hdmi = 0 117 118 conf: WiredHeadphone 119 AvailableOutputDevices Includes WiredHeadphone 120 121 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 122 remote_submix = 0 123 bluetooth_a2dp = 0 124 bluetooth_a2dp_headphones = 0 125 bluetooth_a2dp_speaker = 0 126 speaker = 0 127 wired_headset = 0 128 wired_headphone = 1 129 line = 0 130 angl_dock_headset = 0 131 dgtl_dock_headset = 0 132 usb_accessory = 0 133 usb_device = 0 134 hdmi = 0 135 136 conf: Line 137 AvailableOutputDevices Includes Line 138 139 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 140 remote_submix = 0 141 bluetooth_a2dp = 0 142 bluetooth_a2dp_headphones = 0 143 bluetooth_a2dp_speaker = 0 144 speaker = 0 145 wired_headset = 0 146 wired_headphone = 0 147 line = 1 148 angl_dock_headset = 0 149 dgtl_dock_headset = 0 150 usb_accessory = 0 151 usb_device = 0 152 hdmi = 0 153 154 conf: WiredHeadset 155 AvailableOutputDevices Includes WiredHeadset 156 157 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 158 remote_submix = 0 159 bluetooth_a2dp = 0 160 bluetooth_a2dp_headphones = 0 161 bluetooth_a2dp_speaker = 0 162 speaker = 0 163 wired_headset = 1 164 wired_headphone = 0 165 line = 0 166 angl_dock_headset = 0 167 dgtl_dock_headset = 0 168 usb_accessory = 0 169 usb_device = 0 170 hdmi = 0 171 172 conf: UsbAccessory 173 AvailableOutputDevices Includes UsbAccessory 174 175 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 176 remote_submix = 0 177 bluetooth_a2dp = 0 178 bluetooth_a2dp_headphones = 0 179 bluetooth_a2dp_speaker = 0 180 speaker = 0 181 wired_headset = 0 182 wired_headphone = 0 183 line = 0 184 angl_dock_headset = 0 185 dgtl_dock_headset = 0 186 usb_accessory = 1 187 usb_device = 0 188 hdmi = 0 189 190 conf: UsbDevice 191 AvailableOutputDevices Includes UsbDevice 192 193 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 194 remote_submix = 0 195 bluetooth_a2dp = 0 196 bluetooth_a2dp_headphones = 0 197 bluetooth_a2dp_speaker = 0 198 speaker = 0 199 wired_headset = 0 200 wired_headphone = 0 201 line = 0 202 angl_dock_headset = 0 203 dgtl_dock_headset = 0 204 usb_accessory = 0 205 usb_device = 1 206 hdmi = 0 207 208 conf: DgtlDockHeadset 209 AvailableOutputDevices Includes DgtlDockHeadset 210 211 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 212 remote_submix = 0 213 bluetooth_a2dp = 0 214 bluetooth_a2dp_headphones = 0 215 bluetooth_a2dp_speaker = 0 216 speaker = 0 217 wired_headset = 0 218 wired_headphone = 0 219 line = 0 220 angl_dock_headset = 0 221 dgtl_dock_headset = 1 222 usb_accessory = 0 223 usb_device = 0 224 hdmi = 0 225 226 conf: AuxDigital 227 # 228 # Do not route accessibility prompts to a digital output currently configured with a 229 # compressed format as they would likely not be mixed and dropped. 230 # 231 # @TODO How to translate the following condition(???) 232 # desc->isActive() && !audio_is_linear_pcm(desc->mFormat) && devices != AUDIO_DEVICE_NONE 233 # 234 AvailableOutputDevices Includes Hdmi 235 236 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 237 remote_submix = 0 238 bluetooth_a2dp = 0 239 bluetooth_a2dp_headphones = 0 240 bluetooth_a2dp_speaker = 0 241 speaker = 0 242 wired_headset = 0 243 wired_headphone = 0 244 line = 0 245 angl_dock_headset = 0 246 dgtl_dock_headset = 0 247 usb_accessory = 0 248 usb_device = 0 249 hdmi = 1 250 251 conf: AnlgDockHeadset 252 AvailableOutputDevices Includes AnlgDockHeadset 253 ForceUseForDock Is ForceAnalogDock 254 255 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 256 remote_submix = 0 257 bluetooth_a2dp = 0 258 bluetooth_a2dp_headphones = 0 259 bluetooth_a2dp_speaker = 0 260 speaker = 0 261 wired_headset = 0 262 wired_headphone = 0 263 line = 0 264 angl_dock_headset = 1 265 dgtl_dock_headset = 0 266 usb_accessory = 0 267 usb_device = 0 268 hdmi = 0 269 270 conf: Speaker 271 AvailableOutputDevices Includes Speaker 272 273 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 274 remote_submix = 0 275 bluetooth_a2dp = 0 276 bluetooth_a2dp_headphones = 0 277 bluetooth_a2dp_speaker = 0 278 speaker = 1 279 wired_headset = 0 280 wired_headphone = 0 281 line = 0 282 angl_dock_headset = 0 283 dgtl_dock_headset = 0 284 usb_accessory = 0 285 usb_device = 0 286 hdmi = 0 287 288 conf: Default 289 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 290 remote_submix = 0 291 bluetooth_a2dp = 0 292 bluetooth_a2dp_headphones = 0 293 bluetooth_a2dp_speaker = 0 294 speaker = 0 295 wired_headset = 0 296 wired_headphone = 0 297 line = 0 298 angl_dock_headset = 0 299 dgtl_dock_headset = 0 300 usb_accessory = 0 301 usb_device = 0 302 hdmi = 0 303