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

Issue 2074563002: bluetooth: mac: write characteristic implementation (Closed)

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

Description

bluetooth: mac: write characteristic implementation Adding implementing write characteristic in BluetoothRemoteGattCharacteristicMac, and adding unit tests, mock and simulation. BUG=609067 Committed: https://crrev.com/4e58d3d7f3befa079ab00b65b9ffc7dd9291d44b Cr-Commit-Position: refs/heads/master@{#402367}

Patch Set 1 #

Patch Set 2 : Final version #

Total comments: 14

Patch Set 3 : Fix for comments #

Total comments: 1

Patch Set 4 : Small mistake #

Patch Set 5 : Updating comments #

Total comments: 2

Patch Set 6 : Addressing msarda's comment #

Patch Set 7 : Merge from top of tree #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -44 lines) Patch
M device/bluetooth/bluetooth_low_energy_device_mac.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.mm View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_peripheral_delegate.mm View 1 2 chunks +9 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h View 1 2 3 4 5 6 3 chunks +14 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm View 1 2 3 4 5 3 chunks +69 lines, -4 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc View 1 2 3 4 5 6 19 chunks +57 lines, -20 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_service_mac.h View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_service_mac.mm View 1 1 chunk +9 lines, -0 lines 0 comments Download
M device/bluetooth/test/bluetooth_test_mac.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M device/bluetooth/test/bluetooth_test_mac.mm View 1 2 chunks +22 lines, -0 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_cbcharacteristic_mac.h View 1 chunk +1 line, -0 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_cbcharacteristic_mac.mm View 1 1 chunk +7 lines, -0 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_cbperipheral_mac.mm View 1 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 2 chunks +0 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp View 1 2 3 4 5 6 1 chunk +0 lines, -7 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 47 (23 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2074563002/20001
4 years, 6 months ago (2016-06-22 19:01:39 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/25008) ios-device-gn on ...
4 years, 6 months ago (2016-06-22 19:34:44 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2074563002/40001
4 years, 6 months ago (2016-06-22 19:37:01 UTC) #8
jlebel
Hello Giovanni, Can you review the write implementation? Thanks,
4 years, 6 months ago (2016-06-22 19:39:16 UTC) #10
ortuno
Looking good. Just a couple of small issues. https://codereview.chromium.org/2074563002/diff/40001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h File device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h (right): https://codereview.chromium.org/2074563002/diff/40001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h#newcode85 device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h:85: bool ...
4 years, 6 months ago (2016-06-22 21:37:46 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-22 22:37:41 UTC) #13
jlebel
Hello Giovanni, I fixed you comments. https://codereview.chromium.org/2074563002/diff/40001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h File device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h (right): https://codereview.chromium.org/2074563002/diff/40001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h#newcode85 device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h:85: bool characteristic_value_write_in_progress_; On ...
4 years, 6 months ago (2016-06-23 18:33:01 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2074563002/60001
4 years, 6 months ago (2016-06-23 18:54:34 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/86136)
4 years, 6 months ago (2016-06-23 19:16:05 UTC) #18
ortuno
lgtm with comment fix https://codereview.chromium.org/2074563002/diff/40001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm File device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm (right): https://codereview.chromium.org/2074563002/diff/40001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm#newcode217 device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm:217: if (!characteristic_value_read_or_write_in_progress_) { On 2016/06/23 ...
4 years, 6 months ago (2016-06-23 19:21:16 UTC) #19
jlebel
https://codereview.chromium.org/2074563002/diff/40001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm File device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm (right): https://codereview.chromium.org/2074563002/diff/40001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm#newcode217 device/bluetooth/bluetooth_remote_gatt_characteristic_mac.mm:217: if (!characteristic_value_read_or_write_in_progress_) { On 2016/06/23 19:21:16, ortuno wrote: > ...
4 years, 6 months ago (2016-06-23 19:28:30 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2074563002/100001
4 years, 6 months ago (2016-06-23 19:28:41 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-23 22:08:42 UTC) #24
msarda
LGTM with a suggestion. https://codereview.chromium.org/2074563002/diff/100001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h File device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h (right): https://codereview.chromium.org/2074563002/diff/100001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h#newcode13 device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h:13: typedef NS_ENUM(NSInteger, CBCharacteristicWriteType); Why is ...
4 years, 5 months ago (2016-06-27 11:41:36 UTC) #25
jlebel
https://codereview.chromium.org/2074563002/diff/100001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h File device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h (right): https://codereview.chromium.org/2074563002/diff/100001/device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h#newcode13 device/bluetooth/bluetooth_remote_gatt_characteristic_mac.h:13: typedef NS_ENUM(NSInteger, CBCharacteristicWriteType); On 2016/06/27 11:41:36, msarda wrote: > ...
4 years, 5 months ago (2016-06-27 12:20:36 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2074563002/120001
4 years, 5 months ago (2016-06-27 12:21:05 UTC) #28
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device-gn on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-gn/builds/27194) ios-simulator on ...
4 years, 5 months ago (2016-06-27 12:23:10 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2074563002/120001
4 years, 5 months ago (2016-06-27 12:43:57 UTC) #32
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/27019) ios-simulator on ...
4 years, 5 months ago (2016-06-27 12:45:53 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2074563002/180001
4 years, 5 months ago (2016-06-27 16:51:52 UTC) #38
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/245917)
4 years, 5 months ago (2016-06-27 18:38:58 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2074563002/180001
4 years, 5 months ago (2016-06-28 00:28:27 UTC) #43
commit-bot: I haz the power
Committed patchset #7 (id:180001)
4 years, 5 months ago (2016-06-28 01:43:40 UTC) #45
commit-bot: I haz the power
4 years, 5 months ago (2016-06-28 01:45:23 UTC) #47
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/4e58d3d7f3befa079ab00b65b9ffc7dd9291d44b
Cr-Commit-Position: refs/heads/master@{#402367}

Powered by Google App Engine
This is Rietveld 408576698