Home
last modified time | relevance | path

Searched refs:adapter (Results 1 – 25 of 53) sorted by relevance

123

/system/bt/service/
Dadapter.h61 virtual void OnAdapterStateChanged(Adapter* adapter,
70 Adapter* adapter, const std::string& device_address, bool connected);
73 virtual void OnScanEnableChanged(Adapter* adapter, bool scan_enabled);
76 virtual void OnSspRequest(Adapter* adapter,
82 virtual void OnBondStateChanged(Adapter* adapter, int status,
88 Adapter* adapter, int status,
92 virtual void OnGetRemoteDeviceProperties(Adapter* adapter, int status,
97 virtual void OnDeviceFound(Adapter* adapter,
Dlow_energy_scanner.cc69 LowEnergyScanner::LowEnergyScanner(Adapter& adapter, const Uuid& uuid, in LowEnergyScanner() argument
71 : adapter_(adapter), in LowEnergyScanner()
164 LowEnergyScannerFactory::LowEnergyScannerFactory(Adapter& adapter) in LowEnergyScannerFactory() argument
165 : adapter_(adapter) { in LowEnergyScannerFactory()
Dlow_energy_client.cc34 LowEnergyClient::LowEnergyClient(Adapter& adapter, const Uuid& uuid, in LowEnergyClient() argument
36 : adapter_(adapter), in LowEnergyClient()
198 LowEnergyClientFactory::LowEnergyClientFactory(Adapter& adapter) in LowEnergyClientFactory() argument
199 : adapter_(adapter) { in LowEnergyClientFactory()
Dlow_energy_scanner.h96 LowEnergyScanner(Adapter& adapter, const Uuid& uuid, int scanner_id);
136 explicit LowEnergyScannerFactory(Adapter& adapter);
Dadapter.cc148 void Adapter::Observer::OnAdapterStateChanged(Adapter* adapter, in OnAdapterStateChanged() argument
155 Adapter* adapter, const std::string& device_address, bool connected) { in OnDeviceConnectionStateChanged() argument
159 void Adapter::Observer::OnScanEnableChanged(Adapter* adapter, in OnScanEnableChanged() argument
164 void Adapter::Observer::OnSspRequest(Adapter* adapter, in OnSspRequest() argument
171 void Adapter::Observer::OnBondStateChanged(Adapter* adapter, int status, in OnBondStateChanged() argument
178 Adapter* adapter, int status, in OnGetBondedDevices() argument
184 Adapter* adapter, int status, const std::string& device_address, in OnGetRemoteDeviceProperties() argument
189 void Adapter::Observer::OnDeviceFound(Adapter* adapter, in OnDeviceFound() argument
/system/bt/service/ipc/binder/
Dipc_handler_binder.cc38 IPCHandlerBinder::IPCHandlerBinder(bluetooth::Adapter* adapter, in IPCHandlerBinder() argument
40 : IPCHandler(adapter, delegate) {} in IPCHandlerBinder()
45 CHECK(adapter()); in Run()
49 new binder::BluetoothBinderServer(adapter()); in Run()
Dbluetooth_binder_server.cc44 BluetoothBinderServer::BluetoothBinderServer(bluetooth::Adapter* adapter) in BluetoothBinderServer() argument
45 : adapter_(adapter) { in BluetoothBinderServer()
386 bluetooth::Adapter* adapter, bluetooth::AdapterState prev_state, in OnAdapterStateChanged() argument
388 CHECK_EQ(adapter, adapter_); in OnAdapterStateChanged()
397 bluetooth::Adapter* adapter, const std::string& device_address, in OnDeviceConnectionStateChanged() argument
399 CHECK_EQ(adapter, adapter_); in OnDeviceConnectionStateChanged()
406 void BluetoothBinderServer::OnScanEnableChanged(bluetooth::Adapter* adapter, in OnScanEnableChanged() argument
408 CHECK_EQ(adapter, adapter_); in OnScanEnableChanged()
414 void BluetoothBinderServer::OnSspRequest(bluetooth::Adapter* adapter, in OnSspRequest() argument
419 CHECK_EQ(adapter, adapter_); in OnSspRequest()
[all …]
Dbluetooth_binder_server.h68 explicit BluetoothBinderServer(bluetooth::Adapter* adapter);
123 void OnAdapterStateChanged(bluetooth::Adapter* adapter,
127 void OnDeviceConnectionStateChanged(bluetooth::Adapter* adapter,
131 void OnScanEnableChanged(bluetooth::Adapter* adapter,
134 void OnSspRequest(bluetooth::Adapter* adapter,
139 void OnBondStateChanged(bluetooth::Adapter* adapter, int status,
143 bluetooth::Adapter* adapter, int status,
146 bluetooth::Adapter* adapter, int status,
149 void OnDeviceFound(bluetooth::Adapter* adapter,
Dbluetooth_gatt_client_binder_server.cc33 bluetooth::Adapter* adapter) in BluetoothGattClientBinderServer() argument
34 : adapter_(adapter) { in BluetoothGattClientBinderServer()
Dipc_handler_binder.h29 IPCHandlerBinder(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate);
/system/bt/service/doc/
DIBluetooth.txt19 * operations on the adapter.
23 * Returns true if the Bluetooth adapter is powered and ready to use. This
29 * Returns the current Bluetooth adapter state. The return value can be one of
41 * bring the adapter state from ADAPTER_STATE_OFF to ADAPTER_STATE_ON. Returns
43 * initiating the operation. On success, the adapter state will be
52 * bring the adapter state from ADAPTER_STATE_ON to ADAPTER_STATE_OFF. Returns
54 * initiating the operation. On success, the adapter state will be
66 * before the adapter is enabled for the first time.
71 * Sets the name assigned to the Bluetooth adapter. This is the name that will
78 * Returns the current name assigned to the Bluetooth adapter. This is the
[all …]
DIBluetoothCallback.txt19 * high-level Bluetooth adapter state.
23 * Called when the adapter state changes from |prev_state| to |new_state|.
/system/bt/test/suite/
DAndroid.bp9 "adapter/adapter_unittest.cc",
10 "adapter/bluetooth_test.cc",
37 "adapter/bluetooth_test.cc",
DBUILD.gn20 "adapter/adapter_unittest.cc",
21 "adapter/bluetooth_test.cc",
/system/bt/service/ipc/
Dipc_handler.cc23 IPCHandler::IPCHandler(bluetooth::Adapter* adapter, in IPCHandler() argument
25 : adapter_(adapter), delegate_(delegate) { in IPCHandler()
Dipc_handler.h34 IPCHandler(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate);
47 bluetooth::Adapter* adapter() const { return adapter_; } in adapter() function
Dipc_handler_linux.cc31 IPCHandlerLinux::IPCHandlerLinux(bluetooth::Adapter* adapter, in IPCHandlerLinux() argument
33 : IPCHandler(adapter, delegate), in IPCHandlerLinux()
137 CHECK(adapter()); in StartListeningOnThread()
167 LinuxIPCHost ipc_host(client_socket, adapter()); in StartListeningOnThread()
Dipc_manager.cc28 IPCManager::IPCManager(bluetooth::Adapter* adapter) : adapter_(adapter) { in IPCManager() argument
/system/bt/service/test/
Dstub_ipc_handler_binder.cc25 IPCHandlerBinder::IPCHandlerBinder(bluetooth::Adapter* adapter, in IPCHandlerBinder() argument
27 : IPCHandler(adapter, delegate) { in IPCHandlerBinder()
Dadapter_unittest.cc62 explicit TestObserver(bluetooth::Adapter* adapter) in TestObserver() argument
63 : adapter_(adapter), in TestObserver()
85 void OnAdapterStateChanged(bluetooth::Adapter* adapter, in OnAdapterStateChanged() argument
88 ASSERT_EQ(adapter_, adapter); in OnAdapterStateChanged()
93 void OnDeviceConnectionStateChanged(Adapter* adapter, in OnDeviceConnectionStateChanged() argument
96 ASSERT_EQ(adapter_, adapter); in OnDeviceConnectionStateChanged()
/system/bt/service/ipc/dbus/
Dipc_handler_dbus.cc29 IPCHandlerDBus::IPCHandlerDBus(bluetooth::Adapter* adapter, in IPCHandlerDBus() argument
31 : IPCHandler(adapter, delegate) {} in IPCHandlerDBus()
60 new ipc::dbus::BluetoothAdapter(bus_, adapter()); in InitDbus()
Dbluetooth_adapter.cc50 bluetooth::Adapter* adapter) in BluetoothAdapter() argument
51 : adapter_(adapter) { in BluetoothAdapter()
Dipc_handler_dbus.h31 IPCHandlerDBus(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate);
/system/nvram/hal/
Dtesting_nvram_implementation.cpp137 nvram::NvramDeviceAdapter* adapter = in testing_nvram_open() local
139 *device_ptr = adapter->as_device(); in testing_nvram_open()
/system/libhidl/adapter/
DHidlBinderAdapter.cpp165 sp<IBase> adapter = it->second(implementation); in adapterMain() local
166 if (adapter == nullptr) { in adapterMain()
171 bool replaced = manager->add(args.registerInstanceName, adapter).withDefault(false); in adapterMain()

123