| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 CHROMEOS_DBUS_FAKE_BLUETOOTH_DEVICE_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_FAKE_BLUETOOTH_DEVICE_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_DEVICE_CLIENT_H_ | 6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_DEVICE_CLIENT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 static const char kJustWorksPath[]; | 165 static const char kJustWorksPath[]; |
| 166 static const char kJustWorksName[]; | 166 static const char kJustWorksName[]; |
| 167 static const char kJustWorksAddress[]; | 167 static const char kJustWorksAddress[]; |
| 168 static const uint32 kJustWorksClass; | 168 static const uint32 kJustWorksClass; |
| 169 | 169 |
| 170 static const char kLowEnergyPath[]; | 170 static const char kLowEnergyPath[]; |
| 171 static const char kLowEnergyName[]; | 171 static const char kLowEnergyName[]; |
| 172 static const char kLowEnergyAddress[]; | 172 static const char kLowEnergyAddress[]; |
| 173 static const uint32 kLowEnergyClass; | 173 static const uint32 kLowEnergyClass; |
| 174 | 174 |
| 175 static const char kPairedUnconnectableDevicePath[]; |
| 176 static const char kPairedUnconnectableDeviceName[]; |
| 177 static const char kPairedUnconnectableDeviceAddress[]; |
| 178 static const uint32 kPairedUnconnectableDeviceClass; |
| 179 |
| 175 private: | 180 private: |
| 176 // Property callback passed when we create Properties* structures. | 181 // Property callback passed when we create Properties* structures. |
| 177 void OnPropertyChanged(const dbus::ObjectPath& object_path, | 182 void OnPropertyChanged(const dbus::ObjectPath& object_path, |
| 178 const std::string& property_name); | 183 const std::string& property_name); |
| 179 | 184 |
| 180 void DiscoverySimulationTimer(); | 185 void DiscoverySimulationTimer(); |
| 181 void IncomingPairingSimulationTimer(); | 186 void IncomingPairingSimulationTimer(); |
| 182 | 187 |
| 183 void CompleteSimulatedPairing( | 188 void CompleteSimulatedPairing( |
| 184 const dbus::ObjectPath& object_path, | 189 const dbus::ObjectPath& object_path, |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 bool pairing_cancelled_; | 257 bool pairing_cancelled_; |
| 253 | 258 |
| 254 int16 connection_rssi_; | 259 int16 connection_rssi_; |
| 255 int16 transmit_power_; | 260 int16 transmit_power_; |
| 256 int16 max_transmit_power_; | 261 int16 max_transmit_power_; |
| 257 }; | 262 }; |
| 258 | 263 |
| 259 } // namespace chromeos | 264 } // namespace chromeos |
| 260 | 265 |
| 261 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_DEVICE_CLIENT_H_ | 266 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_DEVICE_CLIENT_H_ |
| OLD | NEW |