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

Issue 2919343004: Reland of bluetooth: Implement simulateGATTConnectionResponse() (Closed)

Created:
3 years, 6 months ago by ortuno
Modified:
3 years, 6 months ago
CC:
Aaron Boodman, abarth-chromium, blink-reviews, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, ortuno+watch_chromium.org, qsr+mojo_chromium.org, scheib+watch_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of bluetooth: Implement simulateGATTConnectionResponse() Sets the next GATT Connection request response for peripheral with |address| to |code|. |code| could be an HCI Error Code from BT 4.2 Vol 2 Part D 1.3 List Of Error Codes or a number outside that range returned by specific platforms e.g. Android returns 0x101 to signal a GATT failure LayoutTests that use Mojo don't run on Android yet: http://crbug.com/729898. Removes device-same-object from SmokeTests to avoid it failing on bots. First attemp at landing this CL: http://crrev.com/2874873003 TBR=blundell@chromium.org,dcheng@chromium.org,scheib@chromium.org BUG=719814 Review-Url: https://codereview.chromium.org/2919343004 Cr-Commit-Position: refs/heads/master@{#477510} Committed: https://chromium.googlesource.com/chromium/src/+/8799e7dac285e016327c6471863fb61a1405acab

Patch Set 1 #

Patch Set 2 : Remove failing test from SmokeTests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+239 lines, -85 lines) Patch
M content/browser/bluetooth/bluetooth_device_chooser_controller.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M device/bluetooth/public/interfaces/test/fake_bluetooth.mojom View 1 2 chunks +17 lines, -0 lines 0 comments Download
M device/bluetooth/test/fake_central.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M device/bluetooth/test/fake_central.cc View 1 1 chunk +17 lines, -1 line 0 comments Download
M device/bluetooth/test/fake_peripheral.h View 1 3 chunks +26 lines, -3 lines 0 comments Download
M device/bluetooth/test/fake_peripheral.cc View 1 4 chunks +51 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/SmokeTests View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/script-tests/server/invalid-service-name.js View 1 chunk +3 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/script-tests/server/no-permission-for-any-service.js View 1 2 chunks +3 lines, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/server/connect/connection-succeeds.html View 1 chunk +8 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/server/connect/garbage-collection-ran-during-success.html View 1 chunk +11 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/server/connect/get-same-gatt-server.html View 1 chunk +16 lines, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/server/device-same-object.html View 1 chunk +9 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryService/gen-invalid-service-name.html View 1 chunk +3 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryService/gen-no-permission-for-any-service.html View 1 chunk +3 lines, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryServices/gen-invalid-service-name.html View 1 chunk +3 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryServices/gen-no-permission-for-any-service.html View 1 chunk +3 lines, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryServices/gen-no-permission-for-any-service-with-uuid.html View 1 chunk +3 lines, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/resources/bluetooth/bluetooth-helpers.js View 1 4 chunks +42 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/resources/bluetooth/web-bluetooth-test.js View 2 chunks +16 lines, -3 lines 0 comments Download

Messages

Total messages: 23 (14 generated)
ortuno
Created Reland of bluetooth: Implement simulateGATTConnectionResponse()
3 years, 6 months ago (2017-06-06 03:59:07 UTC) #1
ortuno
peter: PTAL at SmokeTests.
3 years, 6 months ago (2017-06-06 04:06:36 UTC) #6
dcheng
Rietveld has a funny opinion of what the diff between PS1 and PS2 is but ...
3 years, 6 months ago (2017-06-06 07:01:34 UTC) #11
blundell
How difficult would it be to fix the Android issue and then reland the original ...
3 years, 6 months ago (2017-06-06 07:26:41 UTC) #12
Peter Beverloo
lgtm
3 years, 6 months ago (2017-06-06 10:59:24 UTC) #13
scheib
lgtm
3 years, 6 months ago (2017-06-06 22:49:34 UTC) #14
ortuno
On 2017/06/06 at 07:26:41, blundell wrote: > How difficult would it be to fix the ...
3 years, 6 months ago (2017-06-07 01:41:54 UTC) #16
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/2919343004/290001
3 years, 6 months ago (2017-06-07 01:43:25 UTC) #19
commit-bot: I haz the power
3 years, 6 months ago (2017-06-07 01:49:03 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:290001) as
https://chromium.googlesource.com/chromium/src/+/8799e7dac285e016327c6471863f...

Powered by Google App Engine
This is Rietveld 408576698