Home
last modified time | relevance | path

Searched refs:disc_type (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_api.cc884 tGATT_STATUS GATTC_Discover(tCONN_ID conn_id, tGATT_DISC_TYPE disc_type, uint16_t start_handle, in GATTC_Discover() argument
891 if ((p_tcb == NULL) || (p_reg == NULL) || (disc_type >= GATT_DISC_MAX)) { in GATTC_Discover()
892 log::error("Illegal param: disc_type={} conn_id=0x{:x}", disc_type, conn_id); in GATTC_Discover()
898 (disc_type == GATT_DISC_SRVC_BY_UUID && uuid.IsEmpty())) { in GATTC_Discover()
902 conn_id, disc_type, start_handle, end_handle); in GATTC_Discover()
911 conn_id, disc_type, start_handle, end_handle); in GATTC_Discover()
916 p_clcb->op_subtype = disc_type; in GATTC_Discover()
921 log::info("conn_id=0x{:x}, disc_type={}, s_handle=0x{:x}, e_handle=0x{:x}", conn_id, disc_type, in GATTC_Discover()
928 tGATT_STATUS GATTC_Discover(tCONN_ID conn_id, tGATT_DISC_TYPE disc_type, uint16_t start_handle, in GATTC_Discover() argument
930 return GATTC_Discover(conn_id, disc_type, start_handle, end_handle, Uuid::kEmpty); in GATTC_Discover()
Dgatt_attr.cc74 static void gatt_disc_res_cback(tCONN_ID conn_id, tGATT_DISC_TYPE disc_type,
76 static void gatt_disc_cmpl_cback(tCONN_ID conn_id, tGATT_DISC_TYPE disc_type, tGATT_STATUS status);
482 static void gatt_disc_res_cback(tCONN_ID conn_id, tGATT_DISC_TYPE disc_type, in gatt_disc_res_cback() argument
490 switch (disc_type) { in gatt_disc_res_cback()
Dgatt_utils.cc1667 tGATT_DISC_TYPE disc_type = GATT_DISC_MAX; in gatt_end_operation() local
1706 disc_type = static_cast<tGATT_DISC_TYPE>(p_clcb->op_subtype); in gatt_end_operation()
1719 (*p_disc_cmpl_cb)(conn_id, disc_type, status); in gatt_end_operation()
/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gattc_cache.cc201 tGATT_DISC_TYPE disc_type) { in bta_gattc_discover_pri_service() argument
208 return GATTC_Discover(conn_id, disc_type, 0x0001, 0xFFFF); in bta_gattc_discover_pri_service()
460 void bta_gattc_disc_res_cback(tCONN_ID conn_id, tGATT_DISC_TYPE disc_type, tGATT_DISC_RES* p_data) { in bta_gattc_disc_res_cback() argument
468 switch (disc_type) { in bta_gattc_disc_res_cback()
498 void bta_gattc_disc_cmpl_cback(tCONN_ID conn_id, tGATT_DISC_TYPE disc_type, tGATT_STATUS status) { in bta_gattc_disc_cmpl_cback() argument
525 switch (disc_type) { in bta_gattc_disc_cmpl_cback()
Dbta_gattc_int.h463 void bta_gattc_disc_res_cback(tCONN_ID conn_id, tGATT_DISC_TYPE disc_type, tGATT_DISC_RES* p_data);
464 void bta_gattc_disc_cmpl_cback(tCONN_ID conn_id, tGATT_DISC_TYPE disc_type, tGATT_STATUS status);
466 tGATT_DISC_TYPE disc_type);
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_gatt_api.h110 std::function<tGATT_STATUS(uint16_t conn_id, tGATT_DISC_TYPE disc_type, uint16_t start_handle,
114 tGATT_STATUS operator()(uint16_t conn_id, tGATT_DISC_TYPE disc_type, uint16_t start_handle, in operator()
116 return body(conn_id, disc_type, start_handle, end_handle); in operator()
Dmock_stack_gatt_api.cc125 tGATT_STATUS GATTC_Discover(uint16_t conn_id, tGATT_DISC_TYPE disc_type, uint16_t start_handle, in GATTC_Discover() argument
128 return test::mock::stack_gatt_api::GATTC_Discover(conn_id, disc_type, start_handle, end_handle); in GATTC_Discover()
/packages/modules/Bluetooth/system/stack/include/
Dgatt_api.h701 typedef void(tGATT_DISC_RES_CB)(tCONN_ID conn_id, tGATT_DISC_TYPE disc_type,
705 typedef void(tGATT_DISC_CMPL_CB)(tCONN_ID conn_id, tGATT_DISC_TYPE disc_type, tGATT_STATUS status);
1016 [[nodiscard]] tGATT_STATUS GATTC_Discover(tCONN_ID conn_id, tGATT_DISC_TYPE disc_type,
1019 [[nodiscard]] tGATT_STATUS GATTC_Discover(tCONN_ID conn_id, tGATT_DISC_TYPE disc_type,
/packages/modules/Bluetooth/system/btif/src/
Dbtif_gatt_client.cc716 static void btif_test_discovery_result_cback(tCONN_ID /* conn_id */, tGATT_DISC_TYPE disc_type, in btif_test_discovery_result_cback() argument
718 log::info("------ GATT Discovery result {:<22s} -------", disc_name[disc_type]); in btif_test_discovery_result_cback()
721 if (disc_type != GATT_DISC_CHAR_DSCPT) { in btif_test_discovery_result_cback()
725 switch (disc_type) { in btif_test_discovery_result_cback()