| 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 #include "device/bluetooth/test/bluetooth_test.h" | 5 #include "device/bluetooth/test/bluetooth_test.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 return false; | 62 return false; |
| 63 } | 63 } |
| 64 | 64 |
| 65 BluetoothDevice* BluetoothTestBase::SimulateLowEnergyDevice( | 65 BluetoothDevice* BluetoothTestBase::SimulateLowEnergyDevice( |
| 66 int device_ordinal) { | 66 int device_ordinal) { |
| 67 NOTIMPLEMENTED(); | 67 NOTIMPLEMENTED(); |
| 68 return nullptr; | 68 return nullptr; |
| 69 } | 69 } |
| 70 | 70 |
| 71 bool BluetoothTestBase::SimulateLocalGattCharacteristicNotificationsRequest( | 71 bool BluetoothTestBase::SimulateLocalGattCharacteristicNotificationsRequest( |
| 72 BluetoothLocalGattService* service, | |
| 73 BluetoothLocalGattCharacteristic* characteristic, | 72 BluetoothLocalGattCharacteristic* characteristic, |
| 74 bool start) { | 73 bool start) { |
| 75 NOTIMPLEMENTED(); | 74 NOTIMPLEMENTED(); |
| 76 return false; | 75 return false; |
| 77 } | 76 } |
| 78 | 77 |
| 79 std::vector<uint8_t> BluetoothTestBase::LastNotifactionValueForCharacteristic( | 78 std::vector<uint8_t> BluetoothTestBase::LastNotifactionValueForCharacteristic( |
| 80 BluetoothLocalGattCharacteristic* characteristic) { | 79 BluetoothLocalGattCharacteristic* characteristic) { |
| 81 NOTIMPLEMENTED(); | 80 NOTIMPLEMENTED(); |
| 82 return std::vector<uint8_t>(); | 81 return std::vector<uint8_t>(); |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 gatt_disconnection_attempts_ = 0; | 315 gatt_disconnection_attempts_ = 0; |
| 317 gatt_discovery_attempts_ = 0; | 316 gatt_discovery_attempts_ = 0; |
| 318 gatt_notify_characteristic_attempts_ = 0; | 317 gatt_notify_characteristic_attempts_ = 0; |
| 319 gatt_read_characteristic_attempts_ = 0; | 318 gatt_read_characteristic_attempts_ = 0; |
| 320 gatt_write_characteristic_attempts_ = 0; | 319 gatt_write_characteristic_attempts_ = 0; |
| 321 gatt_read_descriptor_attempts_ = 0; | 320 gatt_read_descriptor_attempts_ = 0; |
| 322 gatt_write_descriptor_attempts_ = 0; | 321 gatt_write_descriptor_attempts_ = 0; |
| 323 } | 322 } |
| 324 | 323 |
| 325 } // namespace device | 324 } // namespace device |
| OLD | NEW |