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