/system/bt/test/suite/gatt/ |
gatt_unittest.cpp | 130 int srvc_handle = service_handle(); local 131 gatt_server_interface()->add_characteristic(server_if, srvc_handle, 138 gatt_server_interface()->add_descriptor(server_if, srvc_handle, 145 gatt_server_interface()->start_service(server_if, srvc_handle, 2 /*BREDR/LE*/); 150 gatt_server_interface()->stop_service(server_if, srvc_handle); 155 gatt_server_interface()->delete_service(server_if, srvc_handle);
|
/system/bt/btif/src/ |
btif_gatt_server.c | 93 uint16_t srvc_handle; member in struct:__anon73368 455 BTA_GATTS_AddIncludeService(p_cb->srvc_handle, p_cb->incl_handle); 463 BTA_GATTS_AddCharacteristic(p_cb->srvc_handle, &uuid, 473 BTA_GATTS_AddCharDescriptor(p_cb->srvc_handle, p_cb->permissions, 479 BTA_GATTS_StartService(p_cb->srvc_handle, p_cb->transport); 483 BTA_GATTS_StopService(p_cb->srvc_handle); 487 BTA_GATTS_DeleteService(p_cb->srvc_handle); 581 btif_cb.srvc_handle = (uint16_t) service_handle; 594 btif_cb.srvc_handle = (uint16_t) service_handle; 608 btif_cb.srvc_handle = (uint16_t) service_handle [all...] |
/system/bt/service/hal/ |
bluetooth_gatt_interface.cpp | 293 int srvc_handle) { 296 << " handle: " << srvc_handle; local 301 g_interface, status, server_if, *srvc_id, srvc_handle)); 307 int srvc_handle, 311 << " srvc_handle: " << srvc_handle << " char_handle: " << char_handle; 316 g_interface, status, server_if, *uuid, srvc_handle, char_handle)); 322 int srvc_handle, 326 << " srvc_handle: " << srvc_handle << " desc_handle: " << desc_handle 337 << " handle: " << srvc_handle; local 347 << " handle: " << srvc_handle; local 357 << " handle: " << srvc_handle; local [all...] |
/system/bt/service/test/ |
gatt_server_unittest.cpp | 435 int srvc_handle = 0x0001; local 439 BT_STATUS_SUCCESS, kDefaultServerId + 1, hal_id, srvc_handle); 443 EXPECT_CALL(*mock_handler_, StartService(kDefaultServerId, srvc_handle, _)) 448 BT_STATUS_SUCCESS, kDefaultServerId, hal_id, srvc_handle); 453 BT_STATUS_SUCCESS, kDefaultServerId + 1, srvc_handle); 458 BT_STATUS_SUCCESS, kDefaultServerId, srvc_handle); 485 int srvc_handle = 0x0001; local 494 BT_STATUS_FAIL, kDefaultServerId, hal_id, srvc_handle); 511 BT_STATUS_SUCCESS, kDefaultServerId, hal_id, srvc_handle); 522 BT_STATUS_SUCCESS, kDefaultServerId, hal_id, srvc_handle); 580 int srvc_handle = 0x0001; local 761 int srvc_handle = 0x0001; local [all...] |