Home | History | Annotate | Download | only in service

Lines Matching defs:Adapter

33 // Represents the local Bluetooth adapter.
34 class Adapter {
36 // The default values returned before the Adapter is fully initialized and
46 // All methods take in an |adapter| argument which points to the Adapter
53 // |adapter| from |prev_state| to |new_state|.
54 virtual void OnAdapterStateChanged(Adapter* adapter,
59 // |adapter| and a remote device with address |device_address|. If the ACL
63 Adapter* adapter, const std::string& device_address, bool connected);
66 // Returns an Adapter implementation to be used in production. Don't use these
68 static std::unique_ptr<Adapter> Create();
70 virtual ~Adapter() = default;
76 // Returns the current Adapter state.
79 // Returns true, if the adapter radio is current powered.
82 // Enables Bluetooth. This method will send a request to the Bluetooth adapter
87 // The |start_restricted| flag enables the adapter in restricted mode. In
96 // Returns the name currently assigned to the local adapter.
99 // Sets the name assigned to the local Bluetooth adapter. This is the name
103 // Returns the local adapter addess in string form (XX:XX:XX:XX:XX:XX).
106 // Returns true if the local adapter supports the Low-Energy
148 Adapter() = default;
151 DISALLOW_COPY_AND_ASSIGN(Adapter);