Home
last modified time | relevance | path

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

1234567

/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/service/
Ddaemon.cc70 if (!hal::BluetoothInterface::Initialize()) goto failed; in StartUpBluetoothInterfaces()
72 if (!hal::BluetoothGattInterface::Initialize()) goto failed; in StartUpBluetoothInterfaces()
74 if (!hal::BluetoothAvInterface::Initialize()) goto failed; in StartUpBluetoothInterfaces()
76 if (!hal::BluetoothAvrcpInterface::Initialize()) goto failed; in StartUpBluetoothInterfaces()
86 if (hal::BluetoothGattInterface::IsInitialized()) in ShutDownBluetoothInterfaces()
87 hal::BluetoothGattInterface::CleanUp(); in ShutDownBluetoothInterfaces()
88 if (hal::BluetoothInterface::IsInitialized()) in ShutDownBluetoothInterfaces()
89 hal::BluetoothInterface::CleanUp(); in ShutDownBluetoothInterfaces()
90 if (hal::BluetoothAvInterface::IsInitialized()) in ShutDownBluetoothInterfaces()
91 hal::BluetoothAvInterface::CleanUp(); in ShutDownBluetoothInterfaces()
[all …]
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 …]
Da2dp_sink.cc24 using bluetooth::hal::BluetoothAvInterface;
32 hal::BluetoothAvInterface::Get()->AddA2dpSinkObserver(this); in A2dpSink()
36 hal::BluetoothAvInterface::Get()->RemoveA2dpSinkObserver(this); in ~A2dpSink()
50 return hal::BluetoothAvInterface::Get()->A2dpSinkEnable(); in Enable()
55 hal::BluetoothAvInterface::Get()->A2dpSinkDisable(); in Disable()
67 hal::BluetoothAvInterface::Get()->GetA2dpSinkHALInterface()->connect( in Connect()
86 hal::BluetoothAvInterface::Get()->GetA2dpSinkHALInterface()->disconnect( in Disconnect()
98 hal::BluetoothAvInterface::Get() in SetAudioFocusState()
105 hal::BluetoothAvInterface::Get() in SetAudioTrackGain()
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.cc82 hal::BluetoothGattInterface::Get()->RemoveScannerObserver(this); in ~LowEnergyScanner()
84 hal::BluetoothGattInterface::Get()->GetScannerHALInterface()->Unregister( in ~LowEnergyScanner()
108 hal::BluetoothGattInterface::Get()->StartScan(scanner_id_); in StartScan()
125 hal::BluetoothGattInterface::Get()->StopScan(scanner_id_); in StopScan()
142 hal::BluetoothGattInterface* gatt_iface, const RawAddress& bda, int rssi, in ScanResultCallback()
166 hal::BluetoothGattInterface::Get()->AddScannerObserver(this); in LowEnergyScannerFactory()
170 hal::BluetoothGattInterface::Get()->RemoveScannerObserver(this); in ~LowEnergyScannerFactory()
185 hal::BluetoothGattInterface::Get()->GetScannerHALInterface(); in RegisterInstance()
216 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()
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,
DAndroid.bp26 "hal/bluetooth_av_interface.cc",
27 "hal/bluetooth_avrcp_interface.cc",
28 "hal/bluetooth_gatt_interface.cc",
29 "hal/bluetooth_interface.cc",
62 "hal/fake_bluetooth_av_interface.cc",
63 "hal/fake_bluetooth_gatt_interface.cc",
64 "hal/fake_bluetooth_interface.cc",
204 "hal/bluetooth_gatt_interface.cc",
205 "hal/bluetooth_interface.cc",
Da2dp_source.cc44 using bluetooth::hal::BluetoothAvInterface;
108 hal::BluetoothAvInterface::Get()->AddA2dpSourceObserver(this); in A2dpSource()
112 hal::BluetoothAvInterface::Get()->RemoveA2dpSourceObserver(this); in ~A2dpSource()
127 return hal::BluetoothAvInterface::Get()->A2dpSourceEnable( in Enable()
133 hal::BluetoothAvInterface::Get()->A2dpSourceDisable(); in Disable()
140 hal::BluetoothAvInterface::Get()->GetA2dpSourceHALInterface()->connect( in Connect()
148 hal::BluetoothAvInterface::Get()->GetA2dpSourceHALInterface()->disconnect( in Disconnect()
158 TRY_RET_FUNC(hal::BluetoothAvInterface::Get() in ConfigCodec()
Da2dp_sink.h32 private hal::BluetoothAvInterface::A2dpSinkObserver {
70 void ConnectionStateCallback(bluetooth::hal::BluetoothAvInterface* iface,
73 void AudioStateCallback(bluetooth::hal::BluetoothAvInterface* iface,
76 void AudioConfigCallback(bluetooth::hal::BluetoothAvInterface* 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 …]
DBUILD.gn43 "hal/bluetooth_gatt_interface.cc",
44 "hal/bluetooth_interface.cc",
47 "hal/bluetooth_av_interface.cc",
48 "hal/bluetooth_avrcp_interface.cc",
49 "hal/fake_bluetooth_gatt_interface.cc",
50 "hal/fake_bluetooth_interface.cc",
Da2dp_source.h33 private hal::BluetoothAvInterface::A2dpSourceObserver {
73 void ConnectionStateCallback(hal::BluetoothAvInterface* iface,
76 void AudioStateCallback(hal::BluetoothAvInterface* iface,
80 hal::BluetoothAvInterface* iface, const RawAddress& bd_addr,
/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/xsd/halManifest/api/
Dcurrent.txt2 package hal.manifest {
10 method public hal.manifest.Hal.Transport getTransport();
12 method public java.util.List<hal.manifest.Interface> get_interface();
16 method public void setTransport(hal.manifest.Hal.Transport);
36 method public java.util.List<hal.manifest.Kernel.Config> getConfig();
51 method public java.util.List<hal.manifest.Hal> getHal();
52 method public hal.manifest.Kernel getKernel();
53 method public hal.manifest.Sepolicy getSepolicy();
54 method public hal.manifest.SystemSdk getSystemSdk();
57 method public java.util.List<hal.manifest.VendorNdk> getVendorNdk();
[all …]
/system/libvintf/include/vintf/
DHalGroup.h52 virtual bool add(Hal&& hal) { return addInternal(std::move(hal)) != nullptr; } in add()
81 for (const auto& hal : getHals()) { in forEachInstance() local
82 bool cont = hal.forEachInstance(func); in forEachInstance()
90 for (const auto* hal : getHals(package)) { in forEachInstanceOfPackage() local
91 if (!hal->forEachInstance(func)) { in forEachInstanceOfPackage()
168 Hal* addInternal(Hal&& hal) { in addInternal()
169 if (!shouldAdd(hal)) { in addInternal()
172 std::string name = hal.getName(); in addInternal()
173 auto it = mHals.emplace(std::move(name), std::move(hal)); // always succeeds in addInternal()
/system/hardware/interfaces/suspend/1.0/
DAndroid.bp10 "types.hal",
11 "ISystemSuspend.hal",
12 "IWakeLock.hal",
/system/tools/hidl/test/lazy_test/
Dmain.cpp48 sp<IBase> hal = getHal(); in TEST() local
49 ASSERT_NE(nullptr, hal.get()); in TEST()
50 EXPECT_TRUE(hal->ping().isOk()); in TEST()
71 sp<IBase> hal = getHal(); in testWithTimes() local
72 ASSERT_NE(nullptr, hal.get()); in testWithTimes()
73 ASSERT_TRUE(hal->ping().isOk()); in testWithTimes()
/system/libvintf/
DHalManifest.cpp42 bool HalManifest::shouldAdd(const ManifestHal& hal) const { in shouldAdd()
43 if (!hal.isValid()) { in shouldAdd()
46 if (hal.isOverride()) { in shouldAdd()
49 auto existingHals = mHals.equal_range(hal.name); in shouldAdd()
57 for (const auto& v : hal.versions) { in shouldAdd()
119 for (const auto &hal : mHals) { in getHalNames() local
120 names.insert(hal.first); in getHalNames()
153 for (const ManifestHal* hal : getHals(package)) { in forEachInstanceOfVersion() local
154 bool cont = hal->forEachInstance([&](const ManifestInstance& manifestInstance) { in forEachInstanceOfVersion()
458 for (ManifestHal& hal : getHals()) { in insertInstance()
[all …]
/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

1234567