Rebecca Chang Swee Fun fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
..
android fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_strings_grd fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluez fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
cast fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
chromeos fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
dbus fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
floss fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
public fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
strings fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
test fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
BUILD.gn fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
DEPS fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
DIR_METADATA fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
OWNERS fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
README.md fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
adapter.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
adapter.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
adapter_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
advertisement.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
advertisement.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
advertisement_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_adapter.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_adapter.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_adapter_android.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_adapter_android.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_adapter_android_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_adapter_chromeos.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_adapter_factory.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_adapter_factory.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_adapter_mac.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_adapter_mac.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_adapter_mac_metrics.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_adapter_mac_metrics.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_adapter_mac_metrics_unittest.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_adapter_mac_unittest.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_adapter_stub.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_adapter_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_adapter_win.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_adapter_win.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_adapter_win_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_adapter_winrt.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_adapter_winrt.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_advertisement.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_advertisement.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_advertisement_mac.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_advertisement_mac.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_advertisement_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_advertisement_winrt.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_advertisement_winrt.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_channel_mac.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_channel_mac.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_classic_device_mac.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_classic_device_mac.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_classic_win.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_classic_win.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_classic_win_fake.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_classic_win_fake.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_common.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_device.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_device.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_device_android.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_device_android.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_device_mac.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_device_mac.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_device_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_device_win.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_device_win.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_device_win_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_device_winrt.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_device_winrt.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_discovery_filter.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_discovery_filter.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_discovery_filter_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_discovery_manager_mac.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_discovery_manager_mac.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_discovery_session.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_discovery_session.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_discovery_session_outcome.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_export.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_gatt_characteristic.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_gatt_characteristic.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_gatt_connection.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_gatt_connection.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_gatt_descriptor.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_gatt_descriptor.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_gatt_discoverer_winrt.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_gatt_discoverer_winrt.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_gatt_notify_session.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_gatt_notify_session.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_gatt_service.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_gatt_service.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_init_win.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_init_win.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_l2cap_channel_mac.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_l2cap_channel_mac.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_local_gatt_characteristic.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_local_gatt_characteristic.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_local_gatt_characteristic_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_local_gatt_descriptor.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_local_gatt_descriptor.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_local_gatt_descriptor_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_local_gatt_service.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_local_gatt_service.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_local_gatt_service_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_advertisement_manager_mac.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_advertisement_manager_mac.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_advertisement_manager_mac_unittest.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_central_manager_delegate.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_central_manager_delegate.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_defs_win.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_defs_win.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_device_mac.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_device_mac.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_device_watcher_mac.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_device_watcher_mac.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_discovery_manager_mac.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_discovery_manager_mac.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_peripheral_delegate.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_peripheral_delegate.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_peripheral_manager_delegate.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_peripheral_manager_delegate.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_scan_filter.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_scan_filter.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_scan_filter_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_scan_session.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_scan_session.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_win.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_win.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_win_fake.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_win_fake.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_low_energy_win_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_pairing_winrt.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_pairing_winrt.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_characteristic.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_characteristic.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_characteristic_android.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_characteristic_android.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_characteristic_mac.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_characteristic_mac.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_characteristic_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_characteristic_win.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_characteristic_win.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_characteristic_winrt.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_characteristic_winrt.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_descriptor.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_descriptor.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_descriptor_android.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_descriptor_android.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_descriptor_mac.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_descriptor_mac.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_descriptor_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_descriptor_win.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_descriptor_win.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_descriptor_winrt.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_descriptor_winrt.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_service.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_service.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_service_android.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_service_android.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_service_mac.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_service_mac.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_service_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_service_win.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_service_win.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_service_winrt.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_remote_gatt_service_winrt.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_rfcomm_channel_mac.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_rfcomm_channel_mac.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_service_record_win.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_service_record_win.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_service_record_win_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_socket.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_socket.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_socket_mac.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_socket_mac.mm fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_socket_net.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_socket_net.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_socket_thread.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_socket_thread.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_socket_win.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_socket_win.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_strings.grd fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_task_manager_win.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_task_manager_win.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
bluetooth_task_manager_win_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
cast_bluetooth.gni fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
chromeos_platform_features.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
chromeos_platform_features.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
device.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
device.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
device_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
discovery_session.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
discovery_session.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
event_utils_winrt.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
server_socket.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
server_socket.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
server_socket_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
socket.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
socket.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
socket_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
string_util_icu.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
string_util_icu.h fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago
string_util_icu_unittest.cc fea2a55e2a Publish chromium based on 107.0.5304.88 1 year ago

README.md

Bluetooth

device/bluetooth abstracts Bluetooth Classic and Low Energy features across multiple platforms.

Classic and Low Energy based profiles differ substantially. Platform implementations may support only one or the other, even though several classes have interfaces for both, e.g. BluetoothAdapter & BluetoothDevice.

Classic Low Energy
Android no yes
Chrome OS yes yes
Linux yes yes
Mac yes yes
Windows some nearly

Chrome OS and Linux are supported via BlueZ, see *_bluez files.

Mojo interfaces in public/mojom have been started but are not ready for production use.

Maintainer History

Initial implementation OWNERS were youngki@chromium.org, keybuk@chromium.org, armansito@chromium.org, and rpaquay@chromium.org. They no longer contribute to chromium fulltime. They were responsible for support for Chrome OS Bluetooth features and the Chrome Apps APIs:

Active development in 2015 & 2016 focused on enabling GATT features for:

Future Work

The API and implementation have many known issues.

The initial API was heavily influenced by BlueZ. Low Energy GATT APIs are not consistent across platforms. Some of the high level abstractions built into device/bluetooth are difficult for clients. Several TODOs exist in the C++ header files, e.g. BluetoothAdapter::Observer.

Primarily, the API should be split into fundamental Bluetooth concepts and seperate, optional, high level utility classes.

E.g. receiving advertising packets should be routed directly to clients allowing contents of the individual packet to be inspected. Caching of known devices should not exist in the fundamental API, but be offered as utility classes.

See also the Refactoring meta issue.

Android

The android implementation requires crossing from C++ to Java using JNI.

Object ownership is rooted in the C++ classes, starting with the Adapter, which owns Devices, Services, etc. Java counter parts interface with the Android Bluetooth objects. E.g.

For testing, the Android objects are wrapped in: android/java/src/org/chromium/device/bluetooth/Wrappers.java.
and fakes implemented in: test/android/java/src/org/chromium/device/bluetooth/Fakes.java.

Thus:

  • bluetooth_adapter_android.h owns:
    • android/.../ChromeBluetoothAdapter.java uses:
      • android/.../Wrappers.java: BluetoothAdapterWrapper
        • Which under test is a FakeBluetoothAdapter
    • bluetooth_device_android.h owns:
      • android/.../ChromeBluetoothDevice.java uses:
        • android/.../Wrappers.java: BluetoothDeviceWrapper
          • Which under test is a FakeBluetoothDevice
      • bluetooth_gatt_service_android.h owns:
        • android/.../ChromeBluetoothService.java uses:
          • android/.../Wrappers.java: BluetoothServiceWrapper
            • Which under test is a FakeBluetoothService
        • … and so on for characteristics and descriptors.

Fake objects are controlled by bluetooth_test_android.cc.

See also: Class Diagram of Web Bluetooth through Bluetooth Android

Testing

See test/README.md

Design Documents

  • Bluetooth Notifications 2016-08-26
    • Web Bluetooth through Android implementation details, class diagram and call flow.