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

Issue 1954643002: DBus support for attribute properties and permissions. (Closed)

Created:
4 years, 7 months ago by rkc
Modified:
4 years, 7 months ago
CC:
chromium-reviews, scheib+watch_chromium.org, ortuno+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@register_and_events
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DBus support for attribute properties and permissions. This CL adds the DBus code needed to handle characteristic and descriptor properties and permissions. We will process the props/perms into the flags expected by BlueZ in the BluetoothLocalGattXXXBlueZ classes. The DBus layer is simply responsible for getting the flags over to BlueZ. R=scheib@chromium.org BUG=606853 Committed: https://crrev.com/60a8ee95f6bbe75057aeeb33bc6ccb58a3dd182b Cr-Commit-Position: refs/heads/master@{#392359}

Patch Set 1 #

Total comments: 7

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -114 lines) Patch
M device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc View 1 chunk +1 line, -2 lines 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_application_service_provider_impl.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_application_service_provider_unittest.cc View 11 chunks +68 lines, -14 lines 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider.h View 1 2 chunks +5 lines, -6 lines 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider_impl.h View 2 chunks +3 lines, -7 lines 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider_impl.cc View 9 chunks +23 lines, -19 lines 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider_impl.h View 2 chunks +4 lines, -7 lines 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider_impl.cc View 9 chunks +24 lines, -18 lines 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_service_service_provider_impl.h View 2 chunks +10 lines, -14 lines 0 comments Download
M device/bluetooth/dbus/bluetooth_gatt_service_service_provider_impl.cc View 2 chunks +6 lines, -12 lines 0 comments Download
M device/bluetooth/dbus/fake_bluetooth_gatt_characteristic_service_provider.h View 1 chunk +0 lines, -1 line 0 comments Download
M device/bluetooth/dbus/fake_bluetooth_gatt_characteristic_service_provider.cc View 2 chunks +1 line, -2 lines 0 comments Download
M device/bluetooth/dbus/fake_bluetooth_gatt_descriptor_service_provider.h View 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/dbus/fake_bluetooth_gatt_descriptor_service_provider.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 35 (15 generated)
rkc
4 years, 7 months ago (2016-05-05 00:56:09 UTC) #1
rkc
Adding stevenjb to help review.
4 years, 7 months ago (2016-05-06 17:10:34 UTC) #3
stevenjb
I'll try to look at this when I have a chance. +hashimoto@, +satorux@ in case ...
4 years, 7 months ago (2016-05-06 17:12:08 UTC) #5
scheib
LGTM
4 years, 7 months ago (2016-05-07 00:25:22 UTC) #6
hashimoto
I have no expertise in this code, so pointing out some general things. https://codereview.chromium.org/1954643002/diff/1/device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider.h File ...
4 years, 7 months ago (2016-05-07 04:06:14 UTC) #7
rkc
https://codereview.chromium.org/1954643002/diff/1/device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider.h File device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider.h (right): https://codereview.chromium.org/1954643002/diff/1/device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider.h#newcode53 device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider.h:53: // |flags| is the list of GATT characteristic properties, ...
4 years, 7 months ago (2016-05-07 19:55:43 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954643002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954643002/20001
4 years, 7 months ago (2016-05-07 19:55:55 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/223874)
4 years, 7 months ago (2016-05-07 20:43:21 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954643002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954643002/20001
4 years, 7 months ago (2016-05-07 20:44:28 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/223885)
4 years, 7 months ago (2016-05-07 21:35:10 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954643002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954643002/20001
4 years, 7 months ago (2016-05-08 22:07:13 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/225269)
4 years, 7 months ago (2016-05-08 23:08:24 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954643002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954643002/20001
4 years, 7 months ago (2016-05-09 01:29:02 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/224005)
4 years, 7 months ago (2016-05-09 02:18:34 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954643002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954643002/20001
4 years, 7 months ago (2016-05-09 10:07:07 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/224149)
4 years, 7 months ago (2016-05-09 11:05:55 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1954643002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1954643002/20001
4 years, 7 months ago (2016-05-09 16:56:17 UTC) #31
stevenjb
https://codereview.chromium.org/1954643002/diff/1/device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider_impl.cc File device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider_impl.cc (right): https://codereview.chromium.org/1954643002/diff/1/device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider_impl.cc#newcode45 device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider_impl.cc:45: // test, hence we shouldn't do any other setup. ...
4 years, 7 months ago (2016-05-09 17:31:38 UTC) #32
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-09 17:57:41 UTC) #33
commit-bot: I haz the power
4 years, 7 months ago (2016-05-09 17:59:17 UTC) #35
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/60a8ee95f6bbe75057aeeb33bc6ccb58a3dd182b
Cr-Commit-Position: refs/heads/master@{#392359}

Powered by Google App Engine
This is Rietveld 408576698