Home | History | Annotate | Download | only in service

Lines Matching full:adapter

31 // Represents the local Bluetooth adapter.
32 class Adapter {
34 // The default values returned before the Adapter is fully initialized and
44 // All methods take in an |adapter| argument which points to the Adapter
51 // |adapter| from |prev_state| to |new_state|.
52 virtual void OnAdapterStateChanged(Adapter* adapter,
57 // |adapter| and a remote device with address |device_address|. If the ACL
61 Adapter* adapter, const std::string& device_address, bool connected);
64 // Returns an Adapter implementation to be used in production. Don't use these
66 static std::unique_ptr<Adapter> Create();
68 virtual ~Adapter() = default;
74 // Returns the current Adapter state.
77 // Returns true, if the adapter radio is current powered.
80 // Enables Bluetooth. This method will send a request to the Bluetooth adapter
85 // The |start_restricted| flag enables the adapter in restricted mode. In
94 // Returns the name currently assigned to the local adapter.
97 // Sets the name assigned to the local Bluetooth adapter. This is the name
101 // Returns the local adapter addess in string form (XX:XX:XX:XX:XX:XX).
104 // Returns true if the local adapter supports the Low-Energy
137 Adapter() = default;
140 DISALLOW_COPY_AND_ASSIGN(Adapter);