OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_ADAPTER_PROVIDER
_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_ADAPTER_PROVIDER
_H_ |
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_ADAPTER_PROVIDER
_H_ | 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_ADAPTER_PROVIDER
_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 // - Request Disconnection Service: - Characteristics as described in | 325 // - Request Disconnection Service: - Characteristics as described in |
326 // GetDisconnectingService | 326 // GetDisconnectingService |
327 // - Health Thermometer: | 327 // - Health Thermometer: |
328 // - Measurement Interval (0x2a21): | 328 // - Measurement Interval (0x2a21): |
329 // - Read: Calls GattCharacteristicValueChanged and success | 329 // - Read: Calls GattCharacteristicValueChanged and success |
330 // callback with [1]. | 330 // callback with [1]. |
331 // - Write: Calls success callback. | 331 // - Write: Calls success callback. |
332 // - StartNotifySession: Run success callback. | 332 // - StartNotifySession: Run success callback. |
333 // - GetProperties: Returns | 333 // - GetProperties: Returns |
334 // BluetoothRemoteGattCharacteristic::PROPERTY_READ | 334 // BluetoothRemoteGattCharacteristic::PROPERTY_READ |
| 335 // - Descriptors |
| 336 // - User Description (2901) |
| 337 // - Client Characteristic Configuration (2902) |
| 338 // Note: This descriptor is blocklisted for writes. |
| 339 // - bad2ddcf-60db-45cd-bef9-fd72b153cf7c |
| 340 // A test descriptor that is blocklisted. |
| 341 |
335 static scoped_refptr<testing::NiceMock<device::MockBluetoothAdapter>> | 342 static scoped_refptr<testing::NiceMock<device::MockBluetoothAdapter>> |
336 GetDisconnectingHealthThermometer(); | 343 GetDisconnectingHealthThermometer(); |
337 | 344 |
338 // |ServicesDiscoveredAfterReconnectionAdapter|(disconnect) | 345 // |ServicesDiscoveredAfterReconnectionAdapter|(disconnect) |
339 // Inherits from |HeartRateAdapter| | 346 // Inherits from |HeartRateAdapter| |
340 // Internal Structure: | 347 // Internal Structure: |
341 // - Heart Rate Device | 348 // - Heart Rate Device |
342 // - UUIDs: | 349 // - UUIDs: |
343 // - Generic Access UUID (0x1800) | 350 // - Generic Access UUID (0x1800) |
344 // - Heart Rate UUID (0x180d) | 351 // - Heart Rate UUID (0x180d) |
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
837 | 844 |
838 // Function to turn an integer into an MAC address of the form | 845 // Function to turn an integer into an MAC address of the form |
839 // XX:XX:XX:XX:XX:XX. For example makeMACAddress(0xdeadbeef) | 846 // XX:XX:XX:XX:XX:XX. For example makeMACAddress(0xdeadbeef) |
840 // returns "00:00:DE:AD:BE:EF". | 847 // returns "00:00:DE:AD:BE:EF". |
841 static std::string makeMACAddress(uint64_t addr); | 848 static std::string makeMACAddress(uint64_t addr); |
842 }; | 849 }; |
843 | 850 |
844 } // namespace content | 851 } // namespace content |
845 | 852 |
846 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_ADAPTER_PROVI
DER_H_ | 853 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_BLUETOOTH_ADAPTER_PROVI
DER_H_ |
OLD | NEW |