Home
last modified time | relevance | path

Searched refs:AddService (Results 1 – 24 of 24) sorted by relevance

/system/bt/bta/test/gatt/
Ddatabase_builder_test.cc57 builder.AddService(0x0001, 0x0001, SERVICE_1_UUID, true); in TEST()
77 builder.AddService(0x0001, 0x000f, SERVICE_1_UUID, true); in TEST()
110 builder.AddService(0x0001, 0x000f, SERVICE_1_UUID, true); in TEST()
111 builder.AddService(0x0030, 0x003f, SERVICE_3_UUID, true); in TEST()
112 builder.AddService(0x0050, 0x005f, SERVICE_5_UUID, true); in TEST()
Ddatabase_test.cc49 builder.AddService(0x0001, 0x000f, SERVICE_1_UUID, true); in TEST()
50 builder.AddService(0x0010, 0x001f, SERVICE_2_UUID, false); in TEST()
222 builder.AddService(0x0001, 0x0005, Uuid::From16Bit(0x1800), true); in TEST()
223 builder.AddService(0x0006, 0x000D, Uuid::From16Bit(0x1801), true); in TEST()
224 builder.AddService(0x000E, 0x0013, Uuid::From16Bit(0x1808), true); in TEST()
225 builder.AddService(0x0014, 0xFFFF, Uuid::From16Bit(0x180F), false); in TEST()
Ddatabase_builder_sample_device_test.cc126 builder.AddService(0x0001, 0x0007, SERVICE_1_UUID, true); in TEST()
133 builder.AddService(0x0008, 0x0008, SERVICE_2_UUID, true); in TEST()
134 builder.AddService(0x0009, 0x000c, SERVICE_3_UUID, true); in TEST()
135 builder.AddService(0x000d, 0x001a, SERVICE_4_UUID, true); in TEST()
136 builder.AddService(0x001b, 0x0029, SERVICE_5_UUID, true); in TEST()
137 builder.AddService(0x002a, 0x0031, SERVICE_6_UUID, true); in TEST()
/system/bt/service/common/android/bluetooth/
DIBluetoothGattServer.aidl29 boolean AddService(int server_id, in BluetoothGattService service); in AddService() method
/system/bt/bta/gatt/
Ddatabase_builder.h32 void AddService(uint16_t handle, uint16_t end_handle,
Ddatabase_builder.cc37 void DatabaseBuilder::AddService(uint16_t handle, uint16_t end_handle, in AddService() function in gatt::DatabaseBuilder
80 AddService(start_handle, end_handle, uuid, false /* not primary */); in AddIncludedService()
Dbta_gattc_cache.cc319 p_srvc_cb->pending_discovery.AddService(start_handle, end_handle, in bta_gattc_sdp_callback()
403 p_srvc_cb->pending_discovery.AddService( in bta_gattc_disc_res_cback()
/system/core/init/
Dreboot_test.cpp144 ServiceList::GetInstance().AddService(std::move(oneshot_service)); in TEST_F()
184 ServiceList::GetInstance().AddService(std::move(oneshot_service)); in TEST_F()
Dservice_list.h35 void AddService(std::unique_ptr<Service> service);
Dservice_list.cpp39 void ServiceList::AddService(std::unique_ptr<Service> service) { in AddService() function in android::init::ServiceList
Dbuiltins.cpp258 ServiceList::GetInstance().AddService(std::move(*service)); in do_exec()
271 ServiceList::GetInstance().AddService(std::move(*service)); in do_exec_background()
1193 ServiceList::GetInstance().AddService(std::move(*service)); in ExecWithFunctionOnFailure()
Dservice_parser.cpp672 service_list_->AddService(std::move(service_)); in EndSection()
/system/bt/bta/vc/
Ddevices_test.cc261 builder.AddService(0x0001, 0x0016, kVolumeControlUuid, true); in SetSampleDatabase1()
271 builder.AddService(0x00a0, 0x00a3, in SetSampleDatabase1()
285 builder.AddService(0x0001, 0x0003, Uuid::From16Bit(0x1800), true); in SetSampleDatabase2()
306 builder.AddService(0x0001, 0x0006, kVolumeControlUuid, true); in TEST_F()
Dvc_test.cc85 builder.AddService(0x0001, 0x0003, Uuid::From16Bit(0x1800), true); in set_sample_database()
91 builder.AddService(0x0010, 0x0026, kVolumeControlUuid, true); in set_sample_database()
121 builder.AddService(0x0090, 0x0093, in set_sample_database()
/system/bt/service/ipc/binder/
Dbluetooth_gatt_server_binder_server.h54 Status AddService(int32_t server_id,
Dbluetooth_gatt_server_binder_server.cc65 Status BluetoothGattServerBinderServer::AddService( in AddService() function in ipc::binder::BluetoothGattServerBinderServer
100 if (!gatt_server->AddService(service, callback)) { in AddService()
/system/bt/service/hal/
Dfake_bluetooth_gatt_interface.h59 virtual bt_status_t AddService(
Dfake_bluetooth_gatt_interface.cc79 return g_server_handler->AddService(server_if, std::move(service)); in FakeAddService()
/system/bt/service/test/
Dgatt_server_unittest.cc38 MOCK_METHOD2(AddService, bt_status_t(int, std::vector<btgatt_db_element_t>));
246 EXPECT_CALL(*mock_handler_, AddService(_, _)) in SetUpTestService()
258 ASSERT_TRUE(gatt_server_->AddService( in SetUpTestService()
/system/bt/service/doc/
DIBluetoothGattServer.txt47 boolean AddService(int server_id, in BluetoothGattService service);
DIBluetoothGattServerCallback.txt32 * Called to report the result of a call to IBluetoothGattServer.AddService.
/system/bt/service/
Dgatt_server.h137 bool AddService(const Service&, const ResultCallback& callback);
Dgatt_server.cc59 bool GattServer::AddService(const bluetooth::Service& service, in AddService() function in bluetooth::GattServer
/system/bt/service/example/heart_rate/
Dheart_rate_server.cc264 Status stat = gatt_->AddService(server_if_, (BluetoothGattService)hrService, in OnServerRegistered()