Home
last modified time | relevance | path

Searched refs:hal (Results 1 – 25 of 114) sorted by relevance

12345

/system/tools/hidl/test/version_test/
DAndroid.bp40 "bad1/version/1.0/IFoo.hal",
41 "bad1/version/2.2/IBar.hal",
42 "bad1/version/2.3/IBar.hal",
43 "bad2/version/2.2/IBar.hal",
44 "bad2/version/2.3/IBar.hal",
45 "bad2/version/2.4/IBar.hal",
46 "bad3/version/2.2/IBar.hal",
47 "bad3/version/2.2/IFoo.hal",
48 "bad3/version/2.3/IBar.hal",
49 "bad3/version/2.4/IBar.hal",
[all …]
/system/bt/test/suite/gatt/
Dgatt_test.h27 public bluetooth::hal::BluetoothGattInterface::ClientObserver,
28 public bluetooth::hal::BluetoothGattInterface::ScannerObserver,
29 public bluetooth::hal::BluetoothGattInterface::ServerObserver {
61 bluetooth::hal::BluetoothGattInterface* /* unused */, int status,
63 void ScanResultCallback(bluetooth::hal::BluetoothGattInterface* /* unused */,
69 bluetooth::hal::BluetoothGattInterface* /* unused */, int status,
72 bluetooth::hal::BluetoothGattInterface* /* unused */, int status,
75 bluetooth::hal::BluetoothGattInterface* /* unused */, int status,
78 bluetooth::hal::BluetoothGattInterface* /* unused */, int status,
Dgatt_test.cc48 bluetooth::hal::BluetoothGattInterface::Initialize(); in SetUp()
49 ASSERT_TRUE(bluetooth::hal::BluetoothGattInterface::IsInitialized()); in SetUp()
50 auto gatt_interface = bluetooth::hal::BluetoothGattInterface::Get(); in SetUp()
73 bluetooth::hal::BluetoothGattInterface::CleanUp(); in TearDown()
93 bluetooth::hal::BluetoothGattInterface* /* unused */, int status, in RegisterClientCallback()
101 bluetooth::hal::BluetoothGattInterface* /* unused */, const RawAddress& bda, in ScanResultCallback()
108 bluetooth::hal::BluetoothGattInterface* /* unused */, int status, in RegisterServerCallback()
116 bluetooth::hal::BluetoothGattInterface* /* unused */, int status, in ServiceAddedCallback()
125 bluetooth::hal::BluetoothGattInterface* /* unused */, int status, in ServiceStoppedCallback()
134 bluetooth::hal::BluetoothGattInterface* /* unused */, int status, in ServiceDeletedCallback()
/system/libvintf/include/vintf/
DHalGroup.h51 virtual bool add(Hal&& hal) { return addInternal(std::move(hal)) != nullptr; } in add()
80 for (const auto& hal : getHals()) { in forEachInstance() local
81 bool cont = hal.forEachInstance(func); in forEachInstance()
89 for (const auto* hal : getHals(package)) { in forEachInstanceOfPackage() local
90 if (!hal->forEachInstance(func)) { in forEachInstanceOfPackage()
165 Hal* addInternal(Hal&& hal) { in addInternal()
166 if (!shouldAdd(hal)) { in addInternal()
169 std::string name = hal.getName(); in addInternal()
170 auto it = mHals.emplace(std::move(name), std::move(hal)); // always succeeds in addInternal()
/system/bt/service/
Dgatt_server.h40 private hal::BluetoothGattInterface::ServerObserver {
195 void ConnectionCallback(hal::BluetoothGattInterface* gatt_iface, int conn_id,
198 void ServiceAddedCallback(hal::BluetoothGattInterface* gatt_iface, int status,
201 void ServiceStoppedCallback(hal::BluetoothGattInterface* gatt_iface,
205 hal::BluetoothGattInterface* gatt_iface, int conn_id, int trans_id,
208 void RequestReadDescriptorCallback(hal::BluetoothGattInterface* gatt_iface,
214 hal::BluetoothGattInterface* gatt_iface, int conn_id, int trans_id,
217 void RequestWriteDescriptorCallback(hal::BluetoothGattInterface* gatt_iface,
222 void RequestExecWriteCallback(hal::BluetoothGattInterface* gatt_iface,
225 void IndicationSentCallback(hal::BluetoothGattInterface* gatt_iface,
[all …]
Dlow_energy_client.cc46 hal::BluetoothGattInterface::Get()->RemoveClientObserver(this); in ~LowEnergyClient()
48 hal::BluetoothGattInterface::Get() in ~LowEnergyClient()
60 hal::BluetoothGattInterface::Get()->GetClientHALInterface()->connect( in Connect()
87 hal::BluetoothGattInterface::Get()->GetClientHALInterface()->disconnect( in Disconnect()
113 bt_status_t status = hal::BluetoothGattInterface::Get() in SetMtu()
135 void LowEnergyClient::ConnectCallback(hal::BluetoothGattInterface* gatt_iface, in ConnectCallback()
156 hal::BluetoothGattInterface* gatt_iface, int conn_id, int status, in DisconnectCallback()
174 hal::BluetoothGattInterface* gatt_iface, int conn_id, int status, int mtu) { in MtuChangedCallback()
200 hal::BluetoothGattInterface::Get()->AddClientObserver(this); in LowEnergyClientFactory()
204 hal::BluetoothGattInterface::Get()->RemoveClientObserver(this); in ~LowEnergyClientFactory()
[all …]
Dlow_energy_scanner.cc81 hal::BluetoothGattInterface::Get()->RemoveScannerObserver(this); in ~LowEnergyScanner()
83 hal::BluetoothGattInterface::Get()->GetScannerHALInterface()->Unregister( in ~LowEnergyScanner()
107 hal::BluetoothGattInterface::Get()->StartScan(scanner_id_); in StartScan()
124 hal::BluetoothGattInterface::Get()->StopScan(scanner_id_); in StopScan()
141 hal::BluetoothGattInterface* gatt_iface, const RawAddress& bda, int rssi, in ScanResultCallback()
165 hal::BluetoothGattInterface::Get()->AddScannerObserver(this); in LowEnergyScannerFactory()
169 hal::BluetoothGattInterface::Get()->RemoveScannerObserver(this); in ~LowEnergyScannerFactory()
184 hal::BluetoothGattInterface::Get()->GetScannerHALInterface(); in RegisterInstance()
215 hal::BluetoothGattInterface::Get()->AddScannerObserver(scanner.get()); in RegisterScannerCallback()
Dgatt_client.cc36 hal::BluetoothGattInterface::Get() in ~GattClient()
49 hal::BluetoothGattInterface::Get()->AddClientObserver(this); in GattClientFactory()
53 hal::BluetoothGattInterface::Get()->RemoveClientObserver(this); in ~GattClientFactory()
68 hal::BluetoothGattInterface::Get()->GetClientHALInterface(); in RegisterInstance()
78 hal::BluetoothGattInterface* /* gatt_iface */, int status, int client_id, in RegisterClientCallback()
Ddaemon.cc68 if (!hal::BluetoothInterface::Initialize()) goto failed; in StartUpBluetoothInterfaces()
70 if (!hal::BluetoothGattInterface::Initialize()) goto failed; in StartUpBluetoothInterfaces()
80 if (hal::BluetoothGattInterface::IsInitialized()) in ShutDownBluetoothInterfaces()
81 hal::BluetoothGattInterface::CleanUp(); in ShutDownBluetoothInterfaces()
82 if (hal::BluetoothInterface::IsInitialized()) in ShutDownBluetoothInterfaces()
83 hal::BluetoothInterface::CleanUp(); in ShutDownBluetoothInterfaces()
Dlow_energy_client.h47 class LowEnergyClient : private hal::BluetoothGattInterface::ClientObserver,
105 void ConnectCallback(hal::BluetoothGattInterface* gatt_iface, int conn_id,
108 void DisconnectCallback(hal::BluetoothGattInterface* gatt_iface, int conn_id,
111 void MtuChangedCallback(hal::BluetoothGattInterface* gatt_iface, int conn_id,
145 : private hal::BluetoothGattInterface::ClientObserver,
161 void RegisterClientCallback(hal::BluetoothGattInterface* gatt_iface,
Dgatt_server.cc41 hal::BluetoothGattInterface::Get()->RemoveServerObserver(this); in ~GattServer()
46 hal::BluetoothGattInterface::Get() in ~GattServer()
94 hal::BluetoothGattInterface::Get()->GetServerHALInterface()->add_service( in AddService()
168 hal::BluetoothGattInterface::Get() in SendResponse()
220 bt_status_t status = hal::BluetoothGattInterface::Get() in SendNotification()
246 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int server_id, in ConnectionCallback()
295 void GattServer::ServiceAddedCallback(hal::BluetoothGattInterface* gatt_iface, in ServiceAddedCallback()
332 hal::BluetoothGattInterface* /* gatt_iface */, int /* status */, in ServiceStoppedCallback()
338 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int trans_id, in RequestReadCharacteristicCallback()
371 hal::BluetoothGattInterface* /* gatt_iface */, int conn_id, int trans_id, in RequestReadDescriptorCallback()
[all …]
DAndroid.bp22 "hal/bluetooth_gatt_interface.cc",
23 "hal/bluetooth_interface.cc",
52 "hal/fake_bluetooth_gatt_interface.cc",
53 "hal/fake_bluetooth_interface.cc",
187 "hal/bluetooth_gatt_interface.cc",
188 "hal/bluetooth_interface.cc",
Dlow_energy_scanner.h43 class LowEnergyScanner : private hal::BluetoothGattInterface::ScannerObserver,
87 void ScanResultCallback(hal::BluetoothGattInterface* gatt_iface,
131 : private hal::BluetoothGattInterface::ScannerObserver,
DBUILD.gn34 "hal/bluetooth_gatt_interface.cc",
35 "hal/bluetooth_interface.cc",
38 "hal/fake_bluetooth_gatt_interface.cc",
39 "hal/fake_bluetooth_interface.cc",
/system/bt/service/test/
Dgatt_client_unittest.cc31 : public hal::FakeBluetoothGattInterface::TestClientHandler {
55 fake_hal_gatt_iface_ = new hal::FakeBluetoothGattInterface( in SetUp()
58 hal::FakeBluetoothGattInterface::TestClientHandler>(mock_handler_), in SetUp()
60 hal::BluetoothGattInterface::InitializeForTesting(fake_hal_gatt_iface_); in SetUp()
67 hal::BluetoothGattInterface::CleanUp(); in TearDown()
71 hal::FakeBluetoothGattInterface* fake_hal_gatt_iface_;
Dadapter_unittest.cc33 fake_hal_manager_ = hal::FakeBluetoothInterface::GetManager(); in SetUp()
34 fake_hal_iface_ = new hal::FakeBluetoothInterface(); in SetUp()
35 hal::BluetoothInterface::InitializeForTesting(fake_hal_iface_); in SetUp()
38 hal::BluetoothGattInterface::InitializeForTesting( in SetUp()
39 new hal::FakeBluetoothGattInterface(nullptr, nullptr, nullptr, in SetUp()
47 hal::BluetoothGattInterface::CleanUp(); in TearDown()
48 hal::BluetoothInterface::CleanUp(); in TearDown()
52 hal::FakeBluetoothInterface* fake_hal_iface_;
53 hal::FakeBluetoothInterface::Manager* fake_hal_manager_;
Dipc_linux_unittest.cc59 bluetooth::hal::BluetoothInterface::InitializeForTesting( in SetUp()
60 new bluetooth::hal::FakeBluetoothInterface()); in SetUp()
61 bluetooth::hal::BluetoothGattInterface::InitializeForTesting( in SetUp()
62 new bluetooth::hal::FakeBluetoothGattInterface(nullptr, nullptr, in SetUp()
73 bluetooth::hal::BluetoothGattInterface::CleanUp(); in TearDown()
74 bluetooth::hal::BluetoothInterface::CleanUp(); in TearDown()
/system/core/healthd/
Dandroid.hardware.health@2.0-service.rc1 service health-hal-2-0 /vendor/bin/hw/android.hardware.health@2.0-service
2 class hal
/system/libhidl/transport/base/1.0/
DAndroid.bp11 "types.hal",
12 "IBase.hal",
/system/bt/test/suite/adapter/
Dbluetooth_test.cc49 bluetooth::hal::BluetoothInterface::Initialize(); in SetUp()
50 ASSERT_TRUE(bluetooth::hal::BluetoothInterface::IsInitialized()); in SetUp()
51 auto bt_hal_interface = bluetooth::hal::BluetoothInterface::Get(); in SetUp()
63 auto bt_hal_interface = bluetooth::hal::BluetoothInterface::Get(); in TearDown()
/system/libhidl/transport/memory/1.0/
DAndroid.bp11 "IMapper.hal",
12 "IMemory.hal",
/system/libhidl/transport/manager/1.0/
DAndroid.bp11 "IServiceManager.hal",
12 "IServiceNotification.hal",
/system/tools/hidl/test/vendor/1.0/
DAndroid.bp8 "types.hal",
9 "IVendor.hal",
/system/tools/hidl/test/export_test/
DAndroid.bp7 "1.0/IFoo.hal",
8 "1.0/types.hal"
/system/libvintf/
Dparse_string.cpp347 bool parse(const std::string &s, ManifestHal *hal) { in parse() argument
352 if (!parse(v[0], &hal->format)) { in parse()
355 hal->name = v[1]; in parse()
356 if (!parse(v[2], &hal->transportArch)) { in parse()
359 if (!parse(v[3], &hal->versions)) { in parse()
362 return hal->isValid(); in parse()
365 std::ostream &operator<<(std::ostream &os, const ManifestHal &hal) { in operator <<() argument
366 return os << hal.format << "/" in operator <<()
367 << hal.name << "/" in operator <<()
368 << hal.transportArch << "/" in operator <<()
[all …]

12345