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

Issue 1574773002: bluetooth: android: Initial basic Descriptors implementation. (Closed)

Created:
4 years, 11 months ago by scheib
Modified:
4 years, 11 months ago
Reviewers:
Jeffrey Yasskin
CC:
chromium-reviews, scheib+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@bta-code-cleanup-
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: android: Initial basic Descriptors implementation. Initial basic implementation of BluetoothRemoteGattDescriptorAndroid and ChromeBluetoothRemoteGattDescriptor. BUG=566533 Committed: https://crrev.com/81a0ff269b3e54580b15c52da806249435e4e206 Cr-Commit-Position: refs/heads/master@{#369059}

Patch Set 1 : Updated patchset dependency #

Patch Set 2 : Defer c++ pointer to a later patch. #

Total comments: 21

Patch Set 3 : Addressed jyasskin. #

Total comments: 4

Patch Set 4 : addressed j again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+708 lines, -29 lines) Patch
M device/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M device/bluetooth/BUILD.gn View 2 chunks +3 lines, -0 lines 0 comments Download
M device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java View 1 2 3 chunks +6 lines, -0 lines 0 comments Download
M device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattCharacteristic.java View 1 2 5 chunks +30 lines, -4 lines 0 comments Download
A device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattDescriptor.java View 1 2 1 chunk +75 lines, -0 lines 0 comments Download
M device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattService.java View 1 2 4 chunks +9 lines, -8 lines 0 comments Download
M device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java View 5 chunks +45 lines, -3 lines 0 comments Download
M device/bluetooth/bluetooth.gyp View 2 chunks +3 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_gatt_characteristic_unittest.cc View 1 2 3 1 chunk +53 lines, -0 lines 0 comments Download
A device/bluetooth/bluetooth_gatt_descriptor_unittest.cc View 1 2 1 chunk +140 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_gatt_service_unittest.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_android.h View 1 2 4 chunks +32 lines, -1 line 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc View 1 2 3 4 chunks +50 lines, -10 lines 0 comments Download
A device/bluetooth/bluetooth_remote_gatt_descriptor_android.h View 1 2 3 1 chunk +68 lines, -0 lines 0 comments Download
A device/bluetooth/bluetooth_remote_gatt_descriptor_android.cc View 1 2 3 1 chunk +114 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_service_android.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java View 3 chunks +48 lines, -1 line 0 comments Download
M device/bluetooth/test/bluetooth_test.h View 2 chunks +6 lines, -0 lines 0 comments Download
M device/bluetooth/test/bluetooth_test_android.h View 1 chunk +2 lines, -0 lines 0 comments Download
M device/bluetooth/test/bluetooth_test_android.cc View 2 chunks +13 lines, -0 lines 0 comments Download
M device/device_tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 14 (6 generated)
scheib
4 years, 11 months ago (2016-01-10 05:12:07 UTC) #2
Jeffrey Yasskin
https://codereview.chromium.org/1574773002/diff/60001/device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattCharacteristic.java File device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattCharacteristic.java (right): https://codereview.chromium.org/1574773002/diff/60001/device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattCharacteristic.java#newcode136 device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattCharacteristic.java:136: private void ensureDescriptorsCreated() { I'm not sure 'ensure' is ...
4 years, 11 months ago (2016-01-12 21:53:54 UTC) #5
scheib
https://codereview.chromium.org/1574773002/diff/60001/device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattCharacteristic.java File device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattCharacteristic.java (right): https://codereview.chromium.org/1574773002/diff/60001/device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattCharacteristic.java#newcode136 device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattCharacteristic.java:136: private void ensureDescriptorsCreated() { On 2016/01/12 21:53:53, Jeffrey Yasskin ...
4 years, 11 months ago (2016-01-12 23:16:56 UTC) #6
Jeffrey Yasskin
LGTM after a couple tweaks. https://codereview.chromium.org/1574773002/diff/60001/device/bluetooth/bluetooth_remote_gatt_descriptor_android.cc File device/bluetooth/bluetooth_remote_gatt_descriptor_android.cc (right): https://codereview.chromium.org/1574773002/diff/60001/device/bluetooth/bluetooth_remote_gatt_descriptor_android.cc#newcode115 device/bluetooth/bluetooth_remote_gatt_descriptor_android.cc:115: : adapter_(adapter), instance_id_(instance_id) {} ...
4 years, 11 months ago (2016-01-12 23:25:59 UTC) #7
scheib
https://codereview.chromium.org/1574773002/diff/60001/device/bluetooth/bluetooth_remote_gatt_descriptor_android.cc File device/bluetooth/bluetooth_remote_gatt_descriptor_android.cc (right): https://codereview.chromium.org/1574773002/diff/60001/device/bluetooth/bluetooth_remote_gatt_descriptor_android.cc#newcode115 device/bluetooth/bluetooth_remote_gatt_descriptor_android.cc:115: : adapter_(adapter), instance_id_(instance_id) {} On 2016/01/12 23:25:59, Jeffrey Yasskin ...
4 years, 11 months ago (2016-01-12 23:54:46 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1574773002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1574773002/100001
4 years, 11 months ago (2016-01-12 23:55:37 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 11 months ago (2016-01-13 00:58:38 UTC) #12
commit-bot: I haz the power
4 years, 11 months ago (2016-01-13 00:59:44 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/81a0ff269b3e54580b15c52da806249435e4e206
Cr-Commit-Position: refs/heads/master@{#369059}

Powered by Google App Engine
This is Rietveld 408576698