Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Issue 15016004: Bluetooth: Parse the bluez.Error.Failed on pairing error. (Closed)

Created:
7 years, 7 months ago by deymo
Modified:
7 years, 7 months ago
Reviewers:
keybuk, satorux1
CC:
chromium-reviews, stevenjb+watch_chromium.org, oshima+watch_chromium.org, youngki
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Bluetooth: Parse the bluez.Error.Failed on pairing error. The method org.bluez.Device1.Pair can return with different errors. Among those, an org.bluez.Error.Failed: "Device or resource busy" is a possible option. This patch parses that D-Bus error as an ERROR_FAILED. BUG=238479 TEST=BluetoothExperimentalChromeOSTest.PairUnpairableDevice on device_unittests passed with the fix, and fails without it. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199048

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -0 lines) Patch
M chromeos/dbus/fake_bluetooth_device_client.h View 2 chunks +8 lines, -0 lines 0 comments Download
M chromeos/dbus/fake_bluetooth_device_client.cc View 4 chunks +46 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_device_experimental_chromeos.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_experimental_chromeos_unittest.cc View 1 chunk +43 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
deymo
Added a new unittest for this fix, with a new "Unpairable" fake device. satorux@ for ...
7 years, 7 months ago (2013-05-08 03:19:32 UTC) #1
keybuk
lgtm
7 years, 7 months ago (2013-05-08 03:40:50 UTC) #2
satorux1
lgtm
7 years, 7 months ago (2013-05-08 03:47:59 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/deymo@chromium.org/15016004/1
7 years, 7 months ago (2013-05-08 14:24:42 UTC) #4
commit-bot: I haz the power
7 years, 7 months ago (2013-05-08 23:21:59 UTC) #5
Message was sent while issue was closed.
Change committed as 199048

Powered by Google App Engine
This is Rietveld 408576698