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

Issue 14048007: Bluetooth: D-Bus client interface for org.bluez.Input1 (Closed)

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

Description

Bluetooth: D-Bus client interface for org.bluez.Input1 Implements the D-Bus client for the new Input1 interface currently exporting only one property. BUG=220553 TEST=device_unittests pass. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195350

Patch Set 1 : None #

Total comments: 3

Patch Set 2 : fake impl #

Total comments: 1

Patch Set 3 : fake with removal #

Total comments: 1

Patch Set 4 : nits #

Patch Set 5 : merged #

Total comments: 4

Patch Set 6 : bt_experimental implemented + test #

Total comments: 7

Patch Set 7 : fake device simulates the input #

Total comments: 4

Patch Set 8 : added Input interface on Connect #

Patch Set 9 : interface deletion order fixed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+547 lines, -3 lines) Patch
M chromeos/chromeos.gyp View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
M chromeos/dbus/dbus_thread_manager.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M chromeos/dbus/dbus_thread_manager.cc View 1 2 3 4 4 chunks +11 lines, -0 lines 0 comments Download
A chromeos/dbus/experimental_bluetooth_input_client.h View 1 chunk +87 lines, -0 lines 0 comments Download
A chromeos/dbus/experimental_bluetooth_input_client.cc View 1 1 chunk +146 lines, -0 lines 0 comments Download
M chromeos/dbus/fake_bluetooth_device_client.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chromeos/dbus/fake_bluetooth_device_client.cc View 1 2 3 4 5 6 7 8 5 chunks +34 lines, -0 lines 0 comments Download
A chromeos/dbus/fake_bluetooth_input_client.h View 1 2 3 4 5 1 chunk +66 lines, -0 lines 0 comments Download
A chromeos/dbus/fake_bluetooth_input_client.cc View 1 2 3 4 5 6 1 chunk +124 lines, -0 lines 0 comments Download
M chromeos/dbus/mock_dbus_thread_manager.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chromeos/dbus/mock_dbus_thread_manager_without_gmock.h View 1 2 3 4 4 chunks +8 lines, -0 lines 0 comments Download
M chromeos/dbus/mock_dbus_thread_manager_without_gmock.cc View 1 2 3 4 3 chunks +7 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_device_experimental_chromeos.cc View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_experimental_chromeos_unittest.cc View 1 2 3 4 5 6 7 8 8 chunks +42 lines, -1 line 0 comments Download

Messages

Total messages: 27 (0 generated)
deymo
This is WIP I think. Not sure if I have to implement the mock_* or ...
7 years, 8 months ago (2013-04-13 01:28:12 UTC) #1
keybuk
On 2013/04/13 01:28:12, deymo wrote: > This is WIP I think. > Not sure if ...
7 years, 8 months ago (2013-04-13 03:34:54 UTC) #2
keybuk
https://codereview.chromium.org/14048007/diff/2001/chromeos/dbus/experimental_bluetooth_input_client.cc File chromeos/dbus/experimental_bluetooth_input_client.cc (right): https://codereview.chromium.org/14048007/diff/2001/chromeos/dbus/experimental_bluetooth_input_client.cc#newcode133 chromeos/dbus/experimental_bluetooth_input_client.cc:133: : public ExperimentalBluetoothInputClient { This should now be named ...
7 years, 8 months ago (2013-04-13 03:35:00 UTC) #3
deymo
PTAL.
7 years, 8 months ago (2013-04-15 23:00:48 UTC) #4
keybuk
https://codereview.chromium.org/14048007/diff/6001/chromeos/dbus/fake_bluetooth_input_client.h File chromeos/dbus/fake_bluetooth_input_client.h (right): https://codereview.chromium.org/14048007/diff/6001/chromeos/dbus/fake_bluetooth_input_client.h#newcode45 chromeos/dbus/fake_bluetooth_input_client.h:45: void AnnounceInputDevice(const dbus::ObjectPath& object_path); For completeness, should have a ...
7 years, 8 months ago (2013-04-15 23:12:51 UTC) #5
deymo
Fake impl now includes a removal method. PTAL. Also added the InputAdded and InputRemoved calls ...
7 years, 8 months ago (2013-04-15 23:43:19 UTC) #6
keybuk
lgtm https://codereview.chromium.org/14048007/diff/11001/chromeos/dbus/fake_bluetooth_input_client.h File chromeos/dbus/fake_bluetooth_input_client.h (right): https://codereview.chromium.org/14048007/diff/11001/chromeos/dbus/fake_bluetooth_input_client.h#newcode45 chromeos/dbus/fake_bluetooth_input_client.h:45: void AnnounceInputDevice(const dbus::ObjectPath& object_path); nit AddInputDevice ?
7 years, 8 months ago (2013-04-15 23:57:34 UTC) #7
deymo
Adding satorux@ for OWNER review.
7 years, 8 months ago (2013-04-16 00:02:41 UTC) #8
satorux1
LGTM
7 years, 8 months ago (2013-04-16 06:19:14 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/deymo@chromium.org/14048007/14001
7 years, 8 months ago (2013-04-18 00:00:51 UTC) #10
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-18 01:07:27 UTC) #11
deymo
new patch merged with keybuk's commit.
7 years, 8 months ago (2013-04-18 07:00:50 UTC) #12
keybuk
https://codereview.chromium.org/14048007/diff/33001/chromeos/dbus/fake_bluetooth_input_client.cc File chromeos/dbus/fake_bluetooth_input_client.cc (right): https://codereview.chromium.org/14048007/diff/33001/chromeos/dbus/fake_bluetooth_input_client.cc#newcode84 chromeos/dbus/fake_bluetooth_input_client.cc:84: // TODO(deymo): Return a different ReconnectMode value for different ...
7 years, 8 months ago (2013-04-18 15:51:30 UTC) #13
deymo
PTAL. New patch with the implementation of this in bluetooth experimental and test. https://codereview.chromium.org/14048007/diff/33001/chromeos/dbus/fake_bluetooth_input_client.cc File ...
7 years, 8 months ago (2013-04-18 20:20:16 UTC) #14
keybuk
https://codereview.chromium.org/14048007/diff/42001/chromeos/dbus/fake_bluetooth_input_client.cc File chromeos/dbus/fake_bluetooth_input_client.cc (right): https://codereview.chromium.org/14048007/diff/42001/chromeos/dbus/fake_bluetooth_input_client.cc#newcode113 chromeos/dbus/fake_bluetooth_input_client.cc:113: InputRemoved(object_path)); Object Manager ensures that the Properties* is still ...
7 years, 8 months ago (2013-04-18 20:50:25 UTC) #15
deymo
PTAL - new patch. https://codereview.chromium.org/14048007/diff/42001/chromeos/dbus/fake_bluetooth_input_client.cc File chromeos/dbus/fake_bluetooth_input_client.cc (right): https://codereview.chromium.org/14048007/diff/42001/chromeos/dbus/fake_bluetooth_input_client.cc#newcode113 chromeos/dbus/fake_bluetooth_input_client.cc:113: InputRemoved(object_path)); On 2013/04/18 20:50:25, keybuk ...
7 years, 8 months ago (2013-04-18 22:19:55 UTC) #16
keybuk
https://codereview.chromium.org/14048007/diff/50001/chromeos/dbus/fake_bluetooth_device_client.cc File chromeos/dbus/fake_bluetooth_device_client.cc (right): https://codereview.chromium.org/14048007/diff/50001/chromeos/dbus/fake_bluetooth_device_client.cc#newcode652 chromeos/dbus/fake_bluetooth_device_client.cc:652: } This also needs to be run in the ...
7 years, 8 months ago (2013-04-18 22:37:44 UTC) #17
deymo
https://codereview.chromium.org/14048007/diff/50001/chromeos/dbus/fake_bluetooth_device_client.cc File chromeos/dbus/fake_bluetooth_device_client.cc (right): https://codereview.chromium.org/14048007/diff/50001/chromeos/dbus/fake_bluetooth_device_client.cc#newcode652 chromeos/dbus/fake_bluetooth_device_client.cc:652: } On 2013/04/18 22:37:44, keybuk wrote: > This also ...
7 years, 8 months ago (2013-04-18 23:21:02 UTC) #18
keybuk
https://codereview.chromium.org/14048007/diff/50001/chromeos/dbus/fake_bluetooth_device_client.cc File chromeos/dbus/fake_bluetooth_device_client.cc (right): https://codereview.chromium.org/14048007/diff/50001/chromeos/dbus/fake_bluetooth_device_client.cc#newcode652 chromeos/dbus/fake_bluetooth_device_client.cc:652: } On 2013/04/18 23:21:02, deymo wrote: > On 2013/04/18 ...
7 years, 8 months ago (2013-04-18 23:45:09 UTC) #19
deymo
Please, take yet another look. https://codereview.chromium.org/14048007/diff/50001/chromeos/dbus/fake_bluetooth_device_client.cc File chromeos/dbus/fake_bluetooth_device_client.cc (right): https://codereview.chromium.org/14048007/diff/50001/chromeos/dbus/fake_bluetooth_device_client.cc#newcode652 chromeos/dbus/fake_bluetooth_device_client.cc:652: } Done.
7 years, 8 months ago (2013-04-19 01:23:22 UTC) #20
keybuk
lgtm
7 years, 8 months ago (2013-04-19 01:56:51 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/deymo@chromium.org/14048007/46016
7 years, 8 months ago (2013-04-19 02:47:07 UTC) #22
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) device_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=104549
7 years, 8 months ago (2013-04-19 03:42:18 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/deymo@chromium.org/14048007/57007
7 years, 8 months ago (2013-04-19 19:55:47 UTC) #24
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) base_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=119854
7 years, 8 months ago (2013-04-19 20:56:19 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/deymo@chromium.org/14048007/57007
7 years, 8 months ago (2013-04-19 21:17:02 UTC) #26
commit-bot: I haz the power
7 years, 8 months ago (2013-04-20 00:55:00 UTC) #27
Message was sent while issue was closed.
Change committed as 195350

Powered by Google App Engine
This is Rietveld 408576698