Home
last modified time | relevance | path

Searched refs:attr_handle (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Bluetooth/system/rust/src/gatt/ffi/
Dgatt_shim.cc54 uint16_t attr_handle, in OnServerRead() argument
69 attr_handle, offset, is_long)); in OnServerRead()
74 attr_handle, offset, is_long)); in OnServerRead()
83 int attr_handle, int offset, bool need_rsp, in request_write_with_vec() argument
86 cb(conn_id, trans_id, bda, attr_handle, offset, need_rsp, is_prep, in request_write_with_vec()
91 uint16_t conn_id, uint32_t trans_id, uint16_t attr_handle, in OnServerWrite() argument
108 conn_id, trans_id, addr.value(), attr_handle, offset, need_response, in OnServerWrite()
114 conn_id, trans_id, addr.value(), attr_handle, offset, need_response, in OnServerWrite()
Dgatt_shim.h44 void OnServerRead(uint16_t conn_id, uint32_t trans_id, uint16_t attr_handle,
48 void OnServerWrite(uint16_t conn_id, uint32_t trans_id, uint16_t attr_handle,
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_gatt_api.h227 std::function<tGATT_STATUS(uint16_t conn_id, uint16_t attr_handle,
232 tGATT_STATUS operator()(uint16_t conn_id, uint16_t attr_handle, in operator()
234 return body(conn_id, attr_handle, val_len, p_val); in operator()
244 std::function<tGATT_STATUS(uint16_t conn_id, uint16_t attr_handle,
249 tGATT_STATUS operator()(uint16_t conn_id, uint16_t attr_handle, in operator()
251 return body(conn_id, attr_handle, val_len, p_val); in operator()
Dmock_stack_gatt_api.cc170 tGATT_STATUS GATTS_HandleValueIndication(uint16_t conn_id, uint16_t attr_handle, in GATTS_HandleValueIndication() argument
174 conn_id, attr_handle, val_len, p_val); in GATTS_HandleValueIndication()
177 uint16_t attr_handle, in GATTS_HandleValueNotification() argument
181 conn_id, attr_handle, val_len, p_val); in GATTS_HandleValueNotification()
/packages/modules/Bluetooth/system/include/hardware/
Dbt_gatt_server.h71 const RawAddress& bda, int attr_handle,
79 const RawAddress& bda, int attr_handle,
/packages/modules/Bluetooth/system/tools/scripts/
Ddump_hearingaid_audio.py186 attr_handle, data = unpack_data(data, 2)
194 …te_audio_data(CONNECTION_HANDLE, result[CONNECTION_HANDLE], AUDIO_CONTROL_ATTR_HANDLE, attr_handle)
208 attr_handle, data = unpack_data(data, 2)
209 if attr_handle == \
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_api.cc446 tGATT_STATUS GATTS_HandleValueIndication(uint16_t conn_id, uint16_t attr_handle, in GATTS_HandleValueIndication() argument
459 if (!GATT_HANDLE_IS_VALID(attr_handle)) return GATT_ILLEGAL_PARAMETER; in GATTS_HandleValueIndication()
463 indication.handle = attr_handle; in GATTS_HandleValueIndication()
542 uint16_t attr_handle, in GATTS_HandleValueNotification() argument
562 if (!GATT_HANDLE_IS_VALID(attr_handle)) { in GATTS_HandleValueNotification()
574 p_gatt_notif->handle = attr_handle; in GATTS_HandleValueNotification()
589 p_gatt_notif->handle = attr_handle; in GATTS_HandleValueNotification()
604 notif.handle = attr_handle; in GATTS_HandleValueNotification()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_gatt.cpp716 int attr_handle, int offset, in btgatts_request_read_characteristic_cb() argument
725 address.get(), conn_id, trans_id, attr_handle, in btgatts_request_read_characteristic_cb()
730 const RawAddress& bda, int attr_handle, in btgatts_request_read_descriptor_cb() argument
739 address.get(), conn_id, trans_id, attr_handle, in btgatts_request_read_descriptor_cb()
745 int attr_handle, int offset, in btgatts_request_write_characteristic_cb() argument
761 trans_id, attr_handle, offset, length, need_rsp, is_prep, val.get()); in btgatts_request_write_characteristic_cb()
765 const RawAddress& bda, int attr_handle, in btgatts_request_write_descriptor_cb() argument
780 address.get(), conn_id, trans_id, attr_handle, in btgatts_request_write_descriptor_cb()
2075 jint server_if, jint attr_handle, in gattServerSendIndicationNative() argument
2084 bluetooth::gatt::send_indication(server_if, attr_handle, conn_id, data); in gattServerSendIndicationNative()
[all …]
/packages/modules/Bluetooth/system/rust/src/gatt/
Dffi.rs76 attr_handle: u16, in on_server_read()
89 attr_handle: u16, in on_server_write()
/packages/modules/Bluetooth/system/stack/include/
Dgatt_api.h907 uint16_t attr_handle,
927 uint16_t attr_handle,
/packages/modules/Bluetooth/system/bta/le_audio/
Dstate_machine_test.cc688 uint16_t attr_handle = ATTR_HANDLE_ASCS_POOL_START; in PrepareConnectedDevice() local
689 leAudioDevice->snk_audio_locations_hdls_.val_hdl = attr_handle++; in PrepareConnectedDevice()
690 leAudioDevice->snk_audio_locations_hdls_.ccc_hdl = attr_handle++; in PrepareConnectedDevice()
691 leAudioDevice->src_audio_locations_hdls_.val_hdl = attr_handle++; in PrepareConnectedDevice()
692 leAudioDevice->src_audio_locations_hdls_.ccc_hdl = attr_handle++; in PrepareConnectedDevice()
693 leAudioDevice->audio_avail_hdls_.val_hdl = attr_handle++; in PrepareConnectedDevice()
694 leAudioDevice->audio_avail_hdls_.ccc_hdl = attr_handle++; in PrepareConnectedDevice()
695 leAudioDevice->audio_supp_cont_hdls_.val_hdl = attr_handle++; in PrepareConnectedDevice()
696 leAudioDevice->audio_supp_cont_hdls_.ccc_hdl = attr_handle++; in PrepareConnectedDevice()
697 leAudioDevice->ctp_hdls_.val_hdl = attr_handle++; in PrepareConnectedDevice()
[all …]
/packages/modules/Bluetooth/system/stack/test/gatt/
Dgatt_sr_test.cc93 tGATT_STATUS GATTS_HandleValueIndication(uint16_t conn_id, uint16_t attr_handle, in GATTS_HandleValueIndication() argument