Searched refs:service_handle (Results 1 - 12 of 12) sorted by relevance

/system/bt/test/suite/gatt/
H A Dgatt_unittest.cc83 int service_handle_added = service_handle();
86 gatt_server_interface()->stop_service(server_if, service_handle());
89 EXPECT_TRUE(service_handle() == service_handle_added)
94 gatt_server_interface()->delete_service(server_if, service_handle());
97 EXPECT_TRUE(service_handle() == service_handle_added)
H A Dgatt_test.h46 int service_handle() const { return service_handle_; } function in class:bttest::GattTest
/system/bt/stack/srvc/
H A Dsrvc_dis_int.h43 uint16_t service_handle; member in struct:__anon1351
H A Dsrvc_dis.cc96 if (handle >= dis_cb.service_handle && handle <= dis_cb.max_handle)
367 dis_cb.service_handle = service[0].attribute_handle;
368 dis_cb.max_handle = dis_cb.service_handle + DIS_MAX_ATTR_NUM;
/system/bt/include/hardware/
H A Dbt_gatt_server.h159 bt_status_t (*stop_service)(int server_if, int service_handle);
162 bt_status_t (*delete_service)(int server_if, int service_handle);
/system/bt/service/
H A Dgatt_server_old.cc118 int service_handle; member in struct:bluetooth::gatt::ServerInternals
152 g_internal->service_handle = service[0].attribute_handle;
516 service_handle(0),
523 gatt->server->delete_service(server_if, service_handle);
626 internal_->service_handle);
664 internal_->service_handle);
674 internal_->server_if, internal_->service_handle);
677 internal_->service_handle);
H A Dgatt_server.h203 int service_handle) override;
/system/bt/btif/src/
H A Dbtif_gatt_server.cc380 static bt_status_t btif_gatts_stop_service(int server_if, int service_handle) { argument
382 return do_in_jni_thread(Bind(&BTA_GATTS_StopService, service_handle));
386 int service_handle) {
388 return do_in_jni_thread(Bind(&BTA_GATTS_DeleteService, service_handle));
385 btif_gatts_delete_service(int server_if, int service_handle) argument
/system/bt/stack/gap/
H A Dgap_ble.cc396 uint16_t service_handle; local
439 service_handle = service[0].attribute_handle;
441 DVLOG(1) << __func__ << ": service_handle = " << +service_handle; local
/system/bt/stack/gatt/
H A Dgatt_attr.cc273 uint16_t service_handle = 0; local
297 service_handle = service[0].attribute_handle;
H A Dgatt_api.cc374 * Parameter service_handle : this is the start handle of a service
379 void GATTS_StopService(uint16_t service_handle) { argument
380 LOG(INFO) << __func__ << ": 0x" << std::hex << +service_handle; local
382 auto it = gatt_sr_find_i_rcb_by_handle(service_handle);
384 LOG(ERROR) << StringPrintf("%s: service_handle: %u is not in use", __func__,
385 service_handle);
/system/bt/stack/include/
H A Dgatt_api.h735 * Parameter service_handle : this is the start handle of a service
740 extern void GATTS_StopService(uint16_t service_handle);

Completed in 197 milliseconds