)]}'
{
  "commit": "89b4d9b011e3289e049da2d329ade8e0a76356db",
  "tree": "52a22e3dce21777eced92619769a2905a13eff2f",
  "parents": [
    "2faf7ce6c5eeca672fd9acc77826d40b3ba8ea4e"
  ],
  "author": {
    "name": "Alexandr Astrouski",
    "email": "astrouski@google.com",
    "time": "Mon Sep 28 11:53:31 2026"
  },
  "committer": {
    "name": "chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Oct 01 06:30:10 2026"
  },
  "message": "autotest: bluetooth: Add GAMEPAD and PHONE to AGENT_CAPABILITY\n\nWhen start_agent() is called during peer initialization, it queries\ndevice.GetDeviceType() and looks up the capability in AGENT_CAPABILITY\nbefore calling device.StartPairingAgent(capability).\nRaspiHIDGamepad.GetDeviceType() returns \u0027GAMEPAD\u0027 and\nRaspiBLEPhone.GetDeviceType() returns \u0027PHONE\u0027, neither of which was\npresent in AGENT_CAPABILITY.\n\nOn Raspberry Pi OS 12 (Bookworm, BlueZ 5.66 / Linux 6.12), adapter\npower-cycling in ResetStack leaves Pairable\u003dFalse (HCI_BONDABLE cleared)\nuntil StartPairingAgent() sets Pairable\u003dTrue. Without a pairing agent\nstarted for GAMEPAD, the peer rejects the DUT\u0027s SSP\nIO_Capability_Request with Pairing Not Allowed (0x18), causing\ntest_pairing in bluetooth_WiFiCoexPerformance.gamepad_load.11n.floss to\nfail with {\u0027has_device\u0027: True, \u0027paired\u0027: False, \u0027connected\u0027: True}.\n\nAdd \u0027GAMEPAD\u0027: \u0027NoInputNoOutput\u0027 and \u0027PHONE\u0027: \u0027NoInputNoOutput\u0027 to\nAGENT_CAPABILITY so the pairing agent is properly started on both OS 10\nand OS 12 btpeers.\n\nBUG\u003db:567013552\nTEST\u003dtest_that bluetooth_WiFiCoexPerformance.gamepad_load.11n.floss on\n  OS 12 (chromeos15-row1-rack10-host1) and OS 10\n  (chromeos15-row1-rack6-host7)\nTAG\u003dagy\nCONV\u003d50b969b0-f5d9-4326-b5ae-9b73009a0eee\n\nChange-Id: I8fcf5d92eaf1537aed461eb7d8fc111ef1dc7d9d\nReviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/8457629\nCommit-Queue: Alexandr Astrouski \u003castrouski@google.com\u003e\nReviewed-by: Bob Wang \u003cbobwang@google.com\u003e\nReviewed-by: Zhengping Jiang \u003cjiangzp@google.com\u003e\nTested-by: Alexandr Astrouski \u003castrouski@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "19717a6ed681fb6258f81f1b59e084aa263816d5",
      "old_mode": 33188,
      "old_path": "server/cros/bluetooth/bluetooth_adapter_tests.py",
      "new_id": "601051adedb56ba116150cae7daa3e624241c4e6",
      "new_mode": 33188,
      "new_path": "server/cros/bluetooth/bluetooth_adapter_tests.py"
    }
  ]
}
