Home
last modified time | relevance | path

Searched refs:service_handle (Results 1 – 13 of 13) sorted by relevance

/aosp12/system/bt/test/suite/gatt/
H A Dgatt_unittest.cc92 int service_handle_added = service_handle(); in TEST_F()
95 gatt_server_interface()->stop_service(server_if, service_handle()); in TEST_F()
98 EXPECT_TRUE(service_handle() == service_handle_added) in TEST_F()
103 gatt_server_interface()->delete_service(server_if, service_handle()); in TEST_F()
106 EXPECT_TRUE(service_handle() == service_handle_added) in TEST_F()
H A Dgatt_test.h46 int service_handle() const { return service_handle_; } in service_handle() function
/aosp12/system/bt/service/
H A Dgatt_server_old.cc118 int service_handle; member
153 g_internal->service_handle = service[0].attribute_handle; in ServiceAddedCallback()
519 service_handle(0), in ServerInternals()
526 gatt->server->delete_service(server_if, service_handle); in ~ServerInternals()
630 internal_->service_handle); in AddCharacteristic()
668 internal_->service_handle); in Start()
678 internal_->server_if, internal_->service_handle); in Stop()
681 internal_->service_handle); in Stop()
H A Dgatt_server.h203 int service_handle) override;
/aosp12/system/bt/include/hardware/
H A Dbt_gatt_server.h160 bt_status_t (*stop_service)(int server_if, int service_handle);
163 bt_status_t (*delete_service)(int server_if, int service_handle);
/aosp12/system/bt/btif/src/
H A Dbtif_gatt_server.cc379 static bt_status_t btif_gatts_stop_service(int server_if, int service_handle) { in btif_gatts_stop_service() argument
381 return do_in_jni_thread(Bind(&BTA_GATTS_StopService, service_handle)); in btif_gatts_stop_service()
385 int service_handle) { in btif_gatts_delete_service() argument
387 return do_in_jni_thread(Bind(&BTA_GATTS_DeleteService, service_handle)); in btif_gatts_delete_service()
/aosp12/system/bt/stack/srvc/
H A Dsrvc_dis.cc96 if (handle >= dis_cb.service_handle && handle <= dis_cb.max_handle) in dis_valid_handle_range()
367 dis_cb.service_handle = service[0].attribute_handle; in DIS_SrInit()
368 dis_cb.max_handle = dis_cb.service_handle + DIS_MAX_ATTR_NUM; in DIS_SrInit()
H A Dsrvc_dis_int.h43 uint16_t service_handle; member
/aosp12/system/bt/stack/gap/
H A Dgap_ble.cc407 uint16_t service_handle; in gap_attr_db_init() local
453 service_handle = service[0].attribute_handle; in gap_attr_db_init()
455 DVLOG(1) << __func__ << ": service_handle = " << +service_handle; in gap_attr_db_init()
/aosp12/system/bt/stack/gatt/
H A Dgatt_api.cc404 void GATTS_StopService(uint16_t service_handle) { in GATTS_StopService() argument
405 LOG(INFO) << __func__ << ": service = " << loghex(service_handle); in GATTS_StopService()
407 auto it = gatt_sr_find_i_rcb_by_handle(service_handle); in GATTS_StopService()
409 LOG(ERROR) << __func__ << ": service_handle=" << loghex(service_handle) in GATTS_StopService()
H A Dgatt_attr.cc368 uint16_t service_handle = 0; in gatt_profile_db_init() local
419 service_handle = service[0].attribute_handle; in gatt_profile_db_init()
/aosp12/system/bt/test/mock/
H A Dmock_stack_gatt.cc151 void GATTS_StopService(uint16_t service_handle) { in GATTS_StopService() argument
/aosp12/system/bt/stack/include/
H A Dgatt_api.h831 extern void GATTS_StopService(uint16_t service_handle);