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

Issue 1395783005: bluetooth: android: BluetoothRemoteGattServiceAndroid::GetUUID (Closed)

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

Description

bluetooth: android: BluetoothRemoteGattServiceAndroid::GetUUID Create a Java class ChromeBluetoothRemoteGattService to implement BluetoothRemoteGattServiceAndroid, and implement GetUUID. Correct mistaken implementation of instanceID. Android's getInstanceId is only unique for services with the same UUID, so a device unique instance ID must join the UUID and Android's getInstanceId. Add the ability for tests to create services by providing a vector of UUID strings. BUG=541400 Committed: https://crrev.com/33aa3f45ab74c7d832cc9f717be85abb7bb53011 Cr-Commit-Position: refs/heads/master@{#354420}

Patch Set 1 #

Patch Set 2 #

Total comments: 10

Patch Set 3 : addressed jyasskin comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -28 lines) Patch
M device/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M device/bluetooth/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java View 1 2 2 chunks +8 lines, -4 lines 0 comments Download
A device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothRemoteGattService.java View 1 1 chunk +46 lines, -0 lines 0 comments Download
M device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java View 2 chunks +5 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M device/bluetooth/bluetooth_device_android.h View 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/bluetooth_device_android.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_device_unittest.cc View 1 chunk +7 lines, -4 lines 0 comments Download
A device/bluetooth/bluetooth_gatt_service_unittest.cc View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_service_android.h View 2 chunks +6 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_service_android.cc View 1 2 chunks +17 lines, -2 lines 0 comments Download
M device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java View 1 2 4 chunks +20 lines, -6 lines 0 comments Download
M device/bluetooth/test/bluetooth_test.h View 1 2 1 chunk +6 lines, -4 lines 0 comments Download
M device/bluetooth/test/bluetooth_test_android.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M device/bluetooth/test/bluetooth_test_android.cc View 1 2 3 chunks +18 lines, -4 lines 0 comments Download
M device/device_tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
Jeffrey Yasskin
It's so boilerplate, I'm sure I missed something. LGTM. https://codereview.chromium.org/1395783005/diff/40001/device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java File device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java (right): https://codereview.chromium.org/1395783005/diff/40001/device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java#newcode166 device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java:166: ...
5 years, 2 months ago (2015-10-15 23:48:30 UTC) #3
scheib
https://codereview.chromium.org/1395783005/diff/40001/device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java File device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java (right): https://codereview.chromium.org/1395783005/diff/40001/device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java#newcode166 device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java:166: // Create a device unique service ID, getInstanceId only ...
5 years, 2 months ago (2015-10-16 00:23:36 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1395783005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1395783005/80001
5 years, 2 months ago (2015-10-16 00:24:07 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:80001)
5 years, 2 months ago (2015-10-16 01:23:22 UTC) #9
commit-bot: I haz the power
5 years, 2 months ago (2015-10-16 01:23:58 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/33aa3f45ab74c7d832cc9f717be85abb7bb53011
Cr-Commit-Position: refs/heads/master@{#354420}

Powered by Google App Engine
This is Rietveld 408576698