bluetooth: android: Initial BluetoothDeviceAndroid implementation.
commit59e28a2e1672ade6d9e08e7e1699b47f0851f0df
authorscheib <scheib@chromium.org>
Tue, 14 Jul 2015 00:38:32 +0000 (13 17:38 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 14 Jul 2015 00:39:12 +0000 (14 00:39 +0000)
tree37d0f758331cf2c20bd0bb7b0f089712990ba1de
parent954f24caec8364ef3f82c6b6d2e5f11f3828abb2
bluetooth: android: Initial BluetoothDeviceAndroid implementation.

Devices can now be discovered and have basic data fields accessed:
GetBluetoothClass(), GetAddress(), GetName(), IsPaired(), GetUUIDs().

Some data fields are not supported on Android, and return 0:
GetVendorIDSource(), GetVendorID(), GetProductID(), GetDeviceID()

BUG=488579, 488575

Review URL: https://codereview.chromium.org/1215303006

Cr-Commit-Position: refs/heads/master@{#338604}
16 files changed:
device/bluetooth/BUILD.gn
device/bluetooth/android/bluetooth_jni_registrar.cc
device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothAdapter.java
device/bluetooth/android/java/src/org/chromium/device/bluetooth/ChromeBluetoothDevice.java [new file with mode: 0644]
device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java
device/bluetooth/bluetooth.gyp
device/bluetooth/bluetooth_adapter_android.cc
device/bluetooth/bluetooth_adapter_android.h
device/bluetooth/bluetooth_adapter_unittest.cc
device/bluetooth/bluetooth_device_android.cc [new file with mode: 0644]
device/bluetooth/bluetooth_device_android.h [new file with mode: 0644]
device/bluetooth/bluetooth_device_unittest.cc
device/bluetooth/test/android/java/src/org/chromium/device/bluetooth/Fakes.java
device/bluetooth/test/bluetooth_test.h
device/bluetooth/test/bluetooth_test_android.cc
device/bluetooth/test/bluetooth_test_android.h