Home
last modified time | relevance | path

Searched refs:app_uuid (Results 1 – 25 of 32) sorted by relevance

12

/system/bt/service/
Dgatt_client.cpp75 bt_uuid_t app_uuid = uuid.GetBlueDroid(); in RegisterInstance() local
77 if (hal_iface->register_client(&app_uuid) != BT_STATUS_SUCCESS) in RegisterInstance()
88 const bt_uuid_t& app_uuid) { in RegisterClientCallback() argument
89 UUID uuid(app_uuid); in RegisterClientCallback()
Dbluetooth_instance.h61 BLEStatus status, const UUID& app_uuid,
68 virtual bool RegisterInstance(const UUID& app_uuid,
Dgatt_client.h75 const bt_uuid_t& app_uuid) override;
Dgatt_server_old.cpp133 void RegisterServerCallback(int status, int server_if, bt_uuid_t *app_uuid) { in RegisterServerCallback() argument
135 server_if, app_uuid); in RegisterServerCallback()
140 service_id.id.uuid = *app_uuid; in RegisterServerCallback()
338 void RegisterClientCallback(int status, int client_if, bt_uuid_t *app_uuid) { in RegisterClientCallback() argument
340 client_if, app_uuid->uu[0]); in RegisterClientCallback()
Dlow_energy_client.cpp853 bt_uuid_t app_uuid = uuid.GetBlueDroid(); in RegisterInstance() local
855 if (hal_iface->register_client(&app_uuid) != BT_STATUS_SUCCESS) in RegisterInstance()
866 const bt_uuid_t& app_uuid) { in RegisterClientCallback() argument
867 UUID uuid(app_uuid); in RegisterClientCallback()
Dgatt_server.cpp980 bt_uuid_t app_uuid = uuid.GetBlueDroid(); in RegisterInstance() local
982 if (hal_iface->register_server(&app_uuid) != BT_STATUS_SUCCESS) in RegisterInstance()
993 const bt_uuid_t& app_uuid) { in RegisterServerCallback() argument
994 UUID uuid(app_uuid); in RegisterServerCallback()
Dlow_energy_client.h264 const bt_uuid_t& app_uuid) override;
Dgatt_server.h381 const bt_uuid_t& app_uuid) override;
/system/bt/service/ipc/binder/
Dinterface_with_instances_base.cpp37 bluetooth::UUID app_uuid = bluetooth::UUID::GetRandom(); in RegisterInstanceBase() local
38 if (!pending_callbacks_.Register(app_uuid, callback)) { in RegisterInstanceBase()
66 if (factory->RegisterInstance(app_uuid, cb)) in RegisterInstanceBase()
70 pending_callbacks_.Remove(app_uuid); in RegisterInstanceBase()
/system/bt/service/hal/
Dfake_bluetooth_gatt_interface.cpp29 bt_status_t FakeRegisterClient(bt_uuid_t* app_uuid) { in FakeRegisterClient() argument
31 return g_client_handler->RegisterClient(app_uuid); in FakeRegisterClient()
100 bt_status_t FakeRegisterServer(bt_uuid_t* app_uuid) { in FakeRegisterServer() argument
102 return g_server_handler->RegisterServer(app_uuid); in FakeRegisterServer()
258 const bt_uuid_t& app_uuid) { in NotifyRegisterClientCallback() argument
260 RegisterClientCallback(this, status, client_if, app_uuid)); in NotifyRegisterClientCallback()
301 const bt_uuid_t& app_uuid) { in NotifyRegisterServerCallback() argument
303 RegisterServerCallback(this, status, server_if, app_uuid)); in NotifyRegisterServerCallback()
Dfake_bluetooth_gatt_interface.h36 virtual bt_status_t RegisterClient(bt_uuid_t* app_uuid) = 0;
64 virtual bt_status_t RegisterServer(bt_uuid_t* app_uuid) = 0;
96 const bt_uuid_t& app_uuid);
109 const bt_uuid_t& app_uuid);
Dbluetooth_gatt_interface.cpp73 void RegisterClientCallback(int status, int client_if, bt_uuid_t* app_uuid) { in RegisterClientCallback() argument
77 CHECK(app_uuid); in RegisterClientCallback()
80 RegisterClientCallback(g_interface, status, client_if, *app_uuid)); in RegisterClientCallback()
267 void RegisterServerCallback(int status, int server_if, bt_uuid_t* app_uuid) { in RegisterServerCallback() argument
271 CHECK(app_uuid); in RegisterServerCallback()
274 RegisterServerCallback(g_interface, status, server_if, *app_uuid)); in RegisterServerCallback()
Dbluetooth_gatt_interface.h57 const bt_uuid_t& app_uuid);
150 const bt_uuid_t& app_uuid);
/system/bt/stack/gatt/
Dgatt_attr.c268 tBT_UUID app_uuid = {LEN_UUID_128, {0}}; in gatt_profile_db_init() local
274 memset (&app_uuid.uu.uuid128, 0x81, LEN_UUID_128); in gatt_profile_db_init()
278 gatt_cb.gatt_if = GATT_Register(&app_uuid, &gatt_profile_cback); in gatt_profile_db_init()
/system/bt/bta/gatt/
Dbta_gatts_int.h70 tBT_UUID app_uuid; member
184 tBT_UUID app_uuid; member
Dbta_gatts_act.c198 if (bta_gatts_uuid_compare(p_cb->rcb[i].app_uuid, p_msg->api_reg.app_uuid)) in bta_gatts_register()
219 memcpy(&cb_data.reg_oper.uuid, &p_msg->api_reg.app_uuid, sizeof(tBT_UUID)); in bta_gatts_register()
226 memcpy(&p_cb->rcb[first_unuse].app_uuid, &p_msg->api_reg.app_uuid, sizeof(tBT_UUID)); in bta_gatts_register()
229 GATT_Register(&p_msg->api_reg.app_uuid, &bta_gatts_cback); in bta_gatts_register()
Dbta_gattc_int.h98 tBT_UUID app_uuid; member
316 tBT_UUID app_uuid; member
Dbta_gatts_api.c94 memcpy(&p_buf->app_uuid, p_app_uuid, sizeof(tBT_UUID)); in BTA_GATTS_AppRegister()
Dbta_gattc_api.c95 memcpy(&p_buf->app_uuid, p_app_uuid, sizeof(tBT_UUID)); in BTA_GATTC_AppRegister()
/system/bt/stack/gap/
Dgap_ble.c382 tBT_UUID app_uuid = {LEN_UUID_128,{0}}; in gap_attr_db_init() local
389 memset (&app_uuid.uu.uuid128, 0x82, LEN_UUID_128); in gap_attr_db_init()
392 gap_cb.gatt_if = GATT_Register(&app_uuid, &gap_cback); in gap_attr_db_init()
441 memset (&app_uuid.uu.uuid128, 0x81, LEN_UUID_128); in gap_attr_db_init()
/system/bt/btif/src/
Dbtif_gatt_test.c221 tBT_UUID app_uuid = {LEN_UUID_128,{0xAE}}; in btif_gattc_test_command_impl() local
222 test_cb.gatt_if = GATT_Register(&app_uuid, &btif_test_callbacks); in btif_gattc_test_command_impl()
Dbtif_gatt_server.c172 bt_uuid_t app_uuid; in btapp_gatts_handle_cback() local
173 bta_to_btif_uuid(&app_uuid, &p_data->reg_oper.uuid); in btapp_gatts_handle_cback()
177 , &app_uuid in btapp_gatts_handle_cback()
/system/bt/test/suite/gatt/
Dgatt_test.h58 int status, int clientIf, const bt_uuid_t& app_uuid) override;
Dgatt_test.cpp102 int status, int clientIf, const bt_uuid_t& app_uuid) { in RegisterClientCallback() argument
/system/bt/stack/srvc/
Dsrvc_eng.c432 tBT_UUID app_uuid = {LEN_UUID_16, {UUID_SERVCLASS_DEVICE_INFO}}; in srvc_eng_init() local
443 srvc_eng_cb.gatt_if = GATT_Register(&app_uuid, &srvc_gatt_cback); in srvc_eng_init()

12