/system/bt/service/ |
D | low_energy_advertiser.cc | 297 const UUID& app_uuid, const RegisterCallback& callback) { in RegisterInstance() argument 301 if (pending_calls_.find(app_uuid) != pending_calls_.end()) { in RegisterInstance() 303 << "UUID: " << app_uuid.ToString(); in RegisterInstance() 313 base::Unretained(this), callback, app_uuid)); in RegisterInstance() 316 pending_calls_.insert(app_uuid); in RegisterInstance() 322 const RegisterCallback& callback, const UUID& app_uuid, in RegisterAdvertiserCallback() argument 327 auto iter = pending_calls_.find(app_uuid); in RegisterAdvertiserCallback() 329 VLOG(1) << "Ignoring callback for unknown app_id: " << app_uuid.ToString(); in RegisterAdvertiserCallback() 337 advertiser.reset(new LowEnergyAdvertiser(app_uuid, advertiser_id)); in RegisterAdvertiserCallback() 343 callback(result, app_uuid, std::move(advertiser)); in RegisterAdvertiserCallback()
|
D | gatt_client.cc | 69 bt_uuid_t app_uuid = uuid.GetBlueDroid(); in RegisterInstance() local 71 if (hal_iface->register_client(app_uuid) != BT_STATUS_SUCCESS) return false; in RegisterInstance() 80 const bt_uuid_t& app_uuid) { in RegisterClientCallback() argument 81 UUID uuid(app_uuid); in RegisterClientCallback()
|
D | bluetooth_instance.h | 61 std::function<void(BLEStatus status, const UUID& app_uuid, 68 virtual bool RegisterInstance(const UUID& app_uuid,
|
D | low_energy_advertiser.h | 127 bool RegisterInstance(const UUID& app_uuid, 135 const UUID& app_uuid, uint8_t advertiser_id,
|
D | low_energy_scanner.h | 140 bool RegisterInstance(const UUID& app_uuid, 148 const UUID& app_uuid, uint8_t scanner_id,
|
D | low_energy_client.cc | 220 bt_uuid_t app_uuid = uuid.GetBlueDroid(); in RegisterInstance() local 222 if (hal_iface->register_client(app_uuid) != BT_STATUS_SUCCESS) return false; in RegisterInstance() 231 const bt_uuid_t& app_uuid) { in RegisterClientCallback() argument 232 UUID uuid(app_uuid); in RegisterClientCallback()
|
D | low_energy_scanner.cc | 196 const RegisterCallback& callback, const UUID& app_uuid, uint8_t scanner_id, in RegisterScannerCallback() argument 198 UUID uuid(app_uuid); in RegisterScannerCallback() 221 callback(result, app_uuid, std::move(scanner)); in RegisterScannerCallback()
|
D | gatt_client.h | 74 const bt_uuid_t& app_uuid) override;
|
D | gatt_server_old.cc | 133 const bt_uuid_t& app_uuid) { in RegisterServerCallback() argument 135 server_if, &app_uuid); in RegisterServerCallback() 139 {.type = BTGATT_DB_PRIMARY_SERVICE, .uuid = app_uuid}); in RegisterServerCallback() 350 const bt_uuid_t& app_uuid) { in RegisterClientCallback() argument 352 client_if, app_uuid.uu[0]); in RegisterClientCallback()
|
D | gatt_server.cc | 590 bt_uuid_t app_uuid = uuid.GetBlueDroid(); in RegisterInstance() local 592 if (hal_iface->register_server(app_uuid) != BT_STATUS_SUCCESS) return false; in RegisterInstance() 601 const bt_uuid_t& app_uuid) { in RegisterServerCallback() argument 602 UUID uuid(app_uuid); in RegisterServerCallback()
|
D | low_energy_client.h | 163 const bt_uuid_t& app_uuid) override;
|
/system/bt/service/hal/ |
D | fake_bluetooth_gatt_interface.cc | 31 bt_status_t FakeRegisterClient(const bt_uuid_t& app_uuid) { in FakeRegisterClient() argument 32 if (g_client_handler) return g_client_handler->RegisterClient(app_uuid); in FakeRegisterClient() 60 bt_status_t FakeRegisterServer(const bt_uuid_t& app_uuid) { in FakeRegisterServer() argument 61 if (g_server_handler) return g_server_handler->RegisterServer(app_uuid); in FakeRegisterServer() 186 int status, int client_if, const bt_uuid_t& app_uuid) { in NotifyRegisterClientCallback() argument 188 RegisterClientCallback(this, status, client_if, app_uuid)); in NotifyRegisterClientCallback() 205 int status, int server_if, const bt_uuid_t& app_uuid) { in NotifyRegisterServerCallback() argument 207 RegisterServerCallback(this, status, server_if, app_uuid)); in NotifyRegisterServerCallback()
|
D | fake_bluetooth_gatt_interface.h | 38 virtual bt_status_t RegisterClient(const bt_uuid_t& app_uuid) = 0; 54 virtual bt_status_t RegisterServer(const bt_uuid_t& app_uuid) = 0; 80 const bt_uuid_t& app_uuid); 86 const bt_uuid_t& app_uuid); 94 const bt_uuid_t& app_uuid);
|
D | bluetooth_gatt_interface.h | 70 const bt_uuid_t& app_uuid); 123 const bt_uuid_t& app_uuid);
|
D | bluetooth_gatt_interface.cc | 82 const bt_uuid_t& app_uuid) { in RegisterClientCallback() argument 88 RegisterClientCallback(g_interface, status, client_if, app_uuid)); in RegisterClientCallback() 225 const bt_uuid_t& app_uuid) { in RegisterServerCallback() argument 231 RegisterServerCallback(g_interface, status, server_if, app_uuid)); in RegisterServerCallback()
|
/system/bt/service/ipc/binder/ |
D | interface_with_instances_base.cc | 37 bluetooth::UUID app_uuid = bluetooth::UUID::GetRandom(); in RegisterInstanceBase() local 38 if (!pending_callbacks_.Register(app_uuid, callback)) { in RegisterInstanceBase() 64 if (factory->RegisterInstance(app_uuid, cb)) return true; in RegisterInstanceBase() 67 pending_callbacks_.Remove(app_uuid); in RegisterInstanceBase()
|
/system/bt/bta/gatt/ |
D | bta_gatts_int.h | 62 tBT_UUID app_uuid; member 127 tBT_UUID app_uuid; member
|
D | bta_gatts_act.cc | 187 if (bta_gatts_uuid_compare(p_cb->rcb[i].app_uuid, in bta_gatts_register() 188 p_msg->api_reg.app_uuid)) { in bta_gatts_register() 205 memcpy(&cb_data.reg_oper.uuid, &p_msg->api_reg.app_uuid, sizeof(tBT_UUID)); in bta_gatts_register() 212 memcpy(&p_cb->rcb[first_unuse].app_uuid, &p_msg->api_reg.app_uuid, in bta_gatts_register() 215 GATT_Register(&p_msg->api_reg.app_uuid, &bta_gatts_cback); in bta_gatts_register()
|
/system/bt/stack/gatt/ |
D | gatt_attr.cc | 272 tBT_UUID app_uuid = {LEN_UUID_128, {0}}; in gatt_profile_db_init() local 276 memset(&app_uuid.uu.uuid128, 0x81, LEN_UUID_128); in gatt_profile_db_init() 279 gatt_cb.gatt_if = GATT_Register(&app_uuid, &gatt_profile_cback); in gatt_profile_db_init()
|
/system/bt/test/suite/gatt/ |
D | gatt_test.h | 62 int clientIf, const bt_uuid_t& app_uuid) override;
|
D | gatt_test.cc | 94 int clientIf, const bt_uuid_t& app_uuid) { in RegisterClientCallback() argument
|
/system/bt/btif/src/ |
D | btif_gatt_test.cc | 208 tBT_UUID app_uuid = {LEN_UUID_128, {0xAE}}; in btif_gattc_test_command_impl() local 209 test_cb.gatt_if = GATT_Register(&app_uuid, &btif_test_callbacks); in btif_gattc_test_command_impl()
|
D | btif_gatt_server.cc | 131 bt_uuid_t app_uuid; in btapp_gatts_handle_cback() local 132 bta_to_btif_uuid(&app_uuid, &p_data->reg_oper.uuid); in btapp_gatts_handle_cback() 134 p_data->reg_oper.status, p_data->reg_oper.server_if, app_uuid); in btapp_gatts_handle_cback()
|
/system/bt/stack/gap/ |
D | gap_ble.cc | 396 tBT_UUID app_uuid = {LEN_UUID_128, {0}}; in gap_attr_db_init() local 400 memset(&app_uuid.uu.uuid128, 0x82, LEN_UUID_128); in gap_attr_db_init() 403 gatt_if = GATT_Register(&app_uuid, &gap_cback); in gap_attr_db_init()
|
/system/bt/stack/srvc/ |
D | srvc_eng.cc | 405 tBT_UUID app_uuid = {LEN_UUID_16, {UUID_SERVCLASS_DEVICE_INFO}}; in srvc_eng_init() local 413 srvc_eng_cb.gatt_if = GATT_Register(&app_uuid, &srvc_gatt_cback); in srvc_eng_init()
|