device_for_strategy_accessibility.pfw revision d86071d55540c3a5c40afe2122bff6a5c4296bf1
1supDomain: DeviceForStrategy 2 3 supDomain: Accessibility 4 # 5 # STRATEGY_ACCESSIBILITY follows STRATEGY_PHONE if in call widely speaking 6 # STRATEGY_ACCESSIBILITY follows STRATEGY_MEDIA otherwise 7 # 8 # Other case are handled programmatically has involving activity of streams. 9 # 10 domain: UnreachableDevices 11 conf: Calibration 12 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 13 hdmi_arc = 0 14 spdif = 0 15 aux_line = 0 16 fm = 0 17 speaker_safe = 0 18 telephony_tx = 0 19 ip = 0 20 bus = 0 21 22 domain: Device 23 conf: RemoteSubmix 24 # 25 # Accessibility follows Media strategy if not in call 26 # 27 TelephonyMode IsNot InCall 28 TelephonyMode IsNot InCommunication 29 AvailableOutputDevices Includes RemoteSubmix 30 31 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 32 remote_submix = 1 33 earpiece = 0 34 bluetooth_a2dp = 0 35 bluetooth_a2dp_headphones = 0 36 bluetooth_a2dp_speaker = 0 37 bluetooth_sco_headset = 0 38 bluetooth_sco_carkit = 0 39 bluetooth_sco = 0 40 speaker = 0 41 wired_headset = 0 42 wired_headphone = 0 43 line = 0 44 angl_dock_headset = 0 45 dgtl_dock_headset = 0 46 usb_accessory = 0 47 usb_device = 0 48 hdmi = 0 49 50 conf: BluetoothA2dp 51 # 52 # Accessibility falls through media strategy if not in call (widely speaking) 53 # 54 TelephonyMode IsNot InCall 55 TelephonyMode IsNot InCommunication 56 ForceUseForMedia IsNot ForceNoBtA2dp 57 AvailableOutputDevices Includes BluetoothA2dp 58 59 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 60 remote_submix = 0 61 earpiece = 0 62 bluetooth_a2dp = 1 63 bluetooth_a2dp_headphones = 0 64 bluetooth_a2dp_speaker = 0 65 bluetooth_sco_headset = 0 66 bluetooth_sco_carkit = 0 67 bluetooth_sco = 0 68 speaker = 0 69 wired_headset = 0 70 wired_headphone = 0 71 line = 0 72 angl_dock_headset = 0 73 dgtl_dock_headset = 0 74 usb_accessory = 0 75 usb_device = 0 76 hdmi = 0 77 78 conf: BluetoothA2dpHeadphone 79 # 80 # Accessibility falls through media strategy if not in call (widely speaking) 81 # 82 TelephonyMode IsNot InCall 83 TelephonyMode IsNot InCommunication 84 ForceUseForMedia IsNot ForceNoBtA2dp 85 AvailableOutputDevices Includes BluetoothA2dpHeadphones 86 87 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 88 remote_submix = 0 89 earpiece = 0 90 bluetooth_a2dp = 0 91 bluetooth_a2dp_headphones = 1 92 bluetooth_a2dp_speaker = 0 93 bluetooth_sco_headset = 0 94 bluetooth_sco_carkit = 0 95 bluetooth_sco = 0 96 speaker = 0 97 wired_headset = 0 98 wired_headphone = 0 99 line = 0 100 angl_dock_headset = 0 101 dgtl_dock_headset = 0 102 usb_accessory = 0 103 usb_device = 0 104 hdmi = 0 105 106 conf: BluetoothA2dpSpeaker 107 # 108 # Accessibility falls through media strategy if not in call (widely speaking) 109 # 110 ForceUseForMedia IsNot ForceNoBtA2dp 111 TelephonyMode IsNot InCall 112 TelephonyMode IsNot InCommunication 113 AvailableOutputDevices Includes BluetoothA2dpSpeaker 114 115 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 116 remote_submix = 0 117 earpiece = 0 118 bluetooth_a2dp = 0 119 bluetooth_a2dp_headphones = 0 120 bluetooth_a2dp_speaker = 1 121 bluetooth_sco_headset = 0 122 bluetooth_sco_carkit = 0 123 bluetooth_sco = 0 124 speaker = 0 125 wired_headset = 0 126 wired_headphone = 0 127 line = 0 128 angl_dock_headset = 0 129 dgtl_dock_headset = 0 130 usb_accessory = 0 131 usb_device = 0 132 hdmi = 0 133 134 conf: ForceSpeakerWhenNotInCall 135 # 136 # Accessibility follows Media strategy if not in call 137 # 138 TelephonyMode IsNot InCall 139 TelephonyMode IsNot InCommunication 140 ForceUseForMedia Is ForceSpeaker 141 AvailableOutputDevices Includes Speaker 142 143 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 144 remote_submix = 0 145 earpiece = 0 146 bluetooth_a2dp = 0 147 bluetooth_a2dp_headphones = 0 148 bluetooth_a2dp_speaker = 0 149 bluetooth_sco_headset = 0 150 bluetooth_sco_carkit = 0 151 bluetooth_sco = 0 152 speaker = 1 153 wired_headset = 0 154 wired_headphone = 0 155 line = 0 156 angl_dock_headset = 0 157 dgtl_dock_headset = 0 158 usb_accessory = 0 159 usb_device = 0 160 hdmi = 0 161 162 conf: BluetoothScoCarkit 163 # 164 # accessibility falls through Phone strategy if in call 165 # 166 ANY 167 TelephonyMode Is InCall 168 TelephonyMode Is InCommunication 169 AvailableOutputDevices Includes BluetoothScoCarkit 170 ForceUseForCommunication Is ForceBtSco 171 172 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 173 remote_submix = 0 174 earpiece = 0 175 bluetooth_a2dp = 0 176 bluetooth_a2dp_headphones = 0 177 bluetooth_a2dp_speaker = 0 178 bluetooth_sco_headset = 0 179 bluetooth_sco_carkit = 1 180 bluetooth_sco = 0 181 speaker = 0 182 wired_headset = 0 183 wired_headphone = 0 184 line = 0 185 angl_dock_headset = 0 186 dgtl_dock_headset = 0 187 usb_accessory = 0 188 usb_device = 0 189 hdmi = 0 190 191 conf: BluetoothScoHeadset 192 # 193 # accessibility falls through Phone strategy if in call 194 # 195 ANY 196 TelephonyMode Is InCall 197 TelephonyMode Is InCommunication 198 AvailableOutputDevices Includes BluetoothScoHeadset 199 ForceUseForCommunication Is ForceBtSco 200 201 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 202 remote_submix = 0 203 earpiece = 0 204 bluetooth_a2dp = 0 205 bluetooth_a2dp_headphones = 0 206 bluetooth_a2dp_speaker = 0 207 bluetooth_sco_headset = 1 208 bluetooth_sco_carkit = 0 209 bluetooth_sco = 0 210 speaker = 0 211 wired_headset = 0 212 wired_headphone = 0 213 line = 0 214 angl_dock_headset = 0 215 dgtl_dock_headset = 0 216 usb_accessory = 0 217 usb_device = 0 218 hdmi = 0 219 220 conf: BluetoothSco 221 # 222 # accessibility falls through Phone strategy if in call 223 # 224 ANY 225 TelephonyMode Is InCall 226 TelephonyMode Is InCommunication 227 AvailableOutputDevices Includes BluetoothSco 228 ForceUseForCommunication Is ForceBtSco 229 230 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 231 remote_submix = 0 232 earpiece = 0 233 bluetooth_a2dp = 0 234 bluetooth_a2dp_headphones = 0 235 bluetooth_a2dp_speaker = 0 236 bluetooth_sco_headset = 0 237 bluetooth_sco_carkit = 0 238 bluetooth_sco = 1 239 speaker = 0 240 wired_headset = 0 241 wired_headphone = 0 242 line = 0 243 angl_dock_headset = 0 244 dgtl_dock_headset = 0 245 usb_accessory = 0 246 usb_device = 0 247 hdmi = 0 248 249 conf: WiredHeadphone 250 ANY 251 # 252 # accessibility falls through Phone strategy if in call 253 # 254 ALL 255 ANY 256 TelephonyMode Is InCall 257 TelephonyMode Is InCommunication 258 ForceUseForCommunication IsNot ForceSpeaker 259 # 260 # accessibility follows Media strategy if not in call 261 # 262 ALL 263 TelephonyMode IsNot InCall 264 TelephonyMode IsNot InCommunication 265 AvailableOutputDevices Includes WiredHeadphone 266 267 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 268 remote_submix = 0 269 earpiece = 0 270 bluetooth_a2dp = 0 271 bluetooth_a2dp_headphones = 0 272 bluetooth_a2dp_speaker = 0 273 bluetooth_sco_headset = 0 274 bluetooth_sco_carkit = 0 275 bluetooth_sco = 0 276 speaker = 0 277 wired_headset = 0 278 wired_headphone = 1 279 line = 0 280 angl_dock_headset = 0 281 dgtl_dock_headset = 0 282 usb_accessory = 0 283 usb_device = 0 284 hdmi = 0 285 286 conf: Line 287 ANY 288 # 289 # accessibility falls through Phone strategy if in call 290 # but Line has a lower priority than WiredHeadset in this case. 291 # 292 ALL 293 ANY 294 TelephonyMode Is InCall 295 TelephonyMode Is InCommunication 296 ForceUseForCommunication IsNot ForceSpeaker 297 AvailableOutputDevices Excludes WiredHeadset 298 # 299 # accessibility follows Media strategy if not in call 300 # 301 AvailableOutputDevices Includes Line 302 303 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 304 remote_submix = 0 305 earpiece = 0 306 bluetooth_a2dp = 0 307 bluetooth_a2dp_headphones = 0 308 bluetooth_a2dp_speaker = 0 309 bluetooth_sco_headset = 0 310 bluetooth_sco_carkit = 0 311 bluetooth_sco = 0 312 speaker = 0 313 wired_headset = 0 314 wired_headphone = 0 315 line = 1 316 angl_dock_headset = 0 317 dgtl_dock_headset = 0 318 usb_accessory = 0 319 usb_device = 0 320 hdmi = 0 321 322 conf: WiredHeadset 323 ANY 324 # 325 # accessibility falls through Phone strategy if in call 326 # 327 ALL 328 ANY 329 TelephonyMode Is InCall 330 TelephonyMode Is InCommunication 331 ForceUseForCommunication IsNot ForceSpeaker 332 # 333 # accessibility follows Media strategy if not in call 334 # 335 ALL 336 TelephonyMode IsNot InCall 337 TelephonyMode IsNot InCommunication 338 AvailableOutputDevices Includes WiredHeadset 339 340 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 341 remote_submix = 0 342 earpiece = 0 343 bluetooth_a2dp = 0 344 bluetooth_a2dp_headphones = 0 345 bluetooth_a2dp_speaker = 0 346 bluetooth_sco_headset = 0 347 bluetooth_sco_carkit = 0 348 bluetooth_sco = 0 349 speaker = 0 350 wired_headset = 1 351 wired_headphone = 0 352 line = 0 353 angl_dock_headset = 0 354 dgtl_dock_headset = 0 355 usb_accessory = 0 356 usb_device = 0 357 hdmi = 0 358 359 conf: UsbDevice 360 ANY 361 # 362 # accessibility falls through Phone strategy if in call (widely speaking) 363 # 364 ALL 365 ANY 366 TelephonyMode Is InCall 367 TelephonyMode Is InCommunication 368 ForceUseForCommunication IsNot ForceSpeaker 369 # 370 # accessibility follows Media strategy if not in call 371 # Media strategy inverts the priority of USB device vs accessory 372 # 373 ALL 374 TelephonyMode IsNot InCall 375 TelephonyMode IsNot InCommunication 376 AvailableOutputDevices Excludes UsbAccessory 377 ForceUseForCommunication Is ForceSpeaker 378 AvailableOutputDevices Includes UsbDevice 379 380 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 381 remote_submix = 0 382 earpiece = 0 383 bluetooth_a2dp = 0 384 bluetooth_a2dp_headphones = 0 385 bluetooth_a2dp_speaker = 0 386 bluetooth_sco_headset = 0 387 bluetooth_sco_carkit = 0 388 bluetooth_sco = 0 389 speaker = 0 390 wired_headset = 0 391 wired_headphone = 0 392 line = 0 393 angl_dock_headset = 0 394 dgtl_dock_headset = 0 395 usb_accessory = 0 396 usb_device = 1 397 hdmi = 0 398 399 conf: UsbAccessory 400 # 401 # accessibility falls through Phone strategy if in call (widely speaking) 402 # but USB accessory not reachable in call 403 # 404 # accessibility follows Media strategy if not in call 405 # Media strategy inverts the priority of USB device vs accessory 406 # 407 TelephonyMode IsNot InCall 408 TelephonyMode IsNot InCommunication 409 AvailableOutputDevices Includes UsbAccessory 410 411 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 412 remote_submix = 0 413 earpiece = 0 414 bluetooth_a2dp = 0 415 bluetooth_a2dp_headphones = 0 416 bluetooth_a2dp_speaker = 0 417 bluetooth_sco_headset = 0 418 bluetooth_sco_carkit = 0 419 bluetooth_sco = 0 420 speaker = 0 421 wired_headset = 0 422 wired_headphone = 0 423 line = 0 424 angl_dock_headset = 0 425 dgtl_dock_headset = 0 426 usb_accessory = 1 427 usb_device = 0 428 hdmi = 0 429 430 conf: DgtlDockHeadset 431 # 432 # accessibility falls through Phone strategy if in call (widely speaking) 433 # but DgtlDockHeadset not reachable in call 434 # 435 # accessibility follows Media strategy if not in call 436 # 437 TelephonyMode IsNot InCall 438 TelephonyMode IsNot InCommunication 439 AvailableOutputDevices Includes DgtlDockHeadset 440 441 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 442 remote_submix = 0 443 earpiece = 0 444 bluetooth_a2dp = 0 445 bluetooth_a2dp_headphones = 0 446 bluetooth_a2dp_speaker = 0 447 bluetooth_sco_headset = 0 448 bluetooth_sco_carkit = 0 449 bluetooth_sco = 0 450 speaker = 0 451 wired_headset = 0 452 wired_headphone = 0 453 line = 0 454 angl_dock_headset = 0 455 dgtl_dock_headset = 1 456 usb_accessory = 0 457 usb_device = 0 458 hdmi = 0 459 460 conf: AuxDigital 461 # 462 # accessibility falls through Phone strategy if in call (widely speaking) 463 # but Hdmi not reachable in call 464 # 465 # accessibility follows Media strategy if not in call 466 # 467 TelephonyMode IsNot InCall 468 TelephonyMode IsNot InCommunication 469 AvailableOutputDevices Includes Hdmi 470 471 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 472 remote_submix = 0 473 earpiece = 0 474 bluetooth_a2dp = 0 475 bluetooth_a2dp_headphones = 0 476 bluetooth_a2dp_speaker = 0 477 bluetooth_sco_headset = 0 478 bluetooth_sco_carkit = 0 479 bluetooth_sco = 0 480 speaker = 0 481 wired_headset = 0 482 wired_headphone = 0 483 line = 0 484 angl_dock_headset = 0 485 dgtl_dock_headset = 0 486 usb_accessory = 0 487 usb_device = 0 488 hdmi = 1 489 490 conf: AnlgDockHeadset 491 # 492 # accessibility falls through Phone strategy if in call (widely speaking) 493 # but AnlgDockHeadset not reachable in call 494 # 495 # accessibility follows Media strategy if not in call 496 # Media strategy inverts the priority of USB device vs accessory 497 # 498 TelephonyMode IsNot InCall 499 TelephonyMode IsNot InCommunication 500 AvailableOutputDevices Includes AnlgDockHeadset 501 ForceUseForDock Is ForceAnalogDock 502 503 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 504 remote_submix = 0 505 earpiece = 0 506 bluetooth_a2dp = 0 507 bluetooth_a2dp_headphones = 0 508 bluetooth_a2dp_speaker = 0 509 bluetooth_sco_headset = 0 510 bluetooth_sco_carkit = 0 511 bluetooth_sco = 0 512 speaker = 0 513 wired_headset = 0 514 wired_headphone = 0 515 line = 0 516 angl_dock_headset = 1 517 dgtl_dock_headset = 0 518 usb_accessory = 0 519 usb_device = 0 520 hdmi = 0 521 522 conf: Earpiece 523 # 524 # accessibility falls through Phone strategy if in call 525 # 526 ANY 527 TelephonyMode Is InCall 528 TelephonyMode Is InCommunication 529 AvailableOutputDevices Includes Earpiece 530 ForceUseForCommunication IsNot ForceSpeaker 531 532 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 533 remote_submix = 0 534 earpiece = 1 535 bluetooth_a2dp = 0 536 bluetooth_a2dp_headphones = 0 537 bluetooth_a2dp_speaker = 0 538 bluetooth_sco_headset = 0 539 bluetooth_sco_carkit = 0 540 bluetooth_sco = 0 541 speaker = 0 542 wired_headset = 0 543 wired_headphone = 0 544 line = 0 545 angl_dock_headset = 0 546 dgtl_dock_headset = 0 547 usb_accessory = 0 548 usb_device = 0 549 hdmi = 0 550 551 conf: Speaker 552 AvailableOutputDevices Includes Speaker 553 554 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 555 remote_submix = 0 556 earpiece = 0 557 bluetooth_a2dp = 0 558 bluetooth_a2dp_headphones = 0 559 bluetooth_a2dp_speaker = 0 560 bluetooth_sco_headset = 0 561 bluetooth_sco_carkit = 0 562 bluetooth_sco = 0 563 speaker = 1 564 wired_headset = 0 565 wired_headphone = 0 566 line = 0 567 angl_dock_headset = 0 568 dgtl_dock_headset = 0 569 usb_accessory = 0 570 usb_device = 0 571 hdmi = 0 572 573 conf: Default 574 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 575 remote_submix = 0 576 earpiece = 0 577 bluetooth_a2dp = 0 578 bluetooth_a2dp_headphones = 0 579 bluetooth_a2dp_speaker = 0 580 bluetooth_sco_headset = 0 581 bluetooth_sco_carkit = 0 582 bluetooth_sco = 0 583 speaker = 0 584 wired_headset = 0 585 wired_headphone = 0 586 line = 0 587 angl_dock_headset = 0 588 dgtl_dock_headset = 0 589 usb_accessory = 0 590 usb_device = 0 591 hdmi = 0 592 593