/packages/modules/Bluetooth/system/btif/src/ |
D | btif_gatt_client.cc | 439 log::assert_that(len <= GATT_MAX_ATTR_LEN, in read_char_cb() 462 log::assert_that(len <= GATT_MAX_ATTR_LEN, in read_using_char_uuid_cb() 487 log::assert_that(len <= GATT_MAX_ATTR_LEN, in read_desc_cb() 523 if (value.size() > GATT_MAX_ATTR_LEN) value.resize(GATT_MAX_ATTR_LEN); in btif_gattc_write_char() 553 if (value.size() > GATT_MAX_ATTR_LEN) value.resize(GATT_MAX_ATTR_LEN); in btif_gattc_write_char_descr()
|
D | btif_gatt_util.cc | 54 p_dest->attr_value.len = std::min<uint16_t>(p_src->attr_value.len, GATT_MAX_ATTR_LEN); in btif_to_bta_response()
|
D | btif_gatt_server.cc | 436 if (length > GATT_MAX_ATTR_LEN) length = GATT_MAX_ATTR_LEN; in btif_gatts_send_indication()
|
/packages/modules/Bluetooth/system/stack/gatt/ |
D | gatt_cl.cc | 689 if (value.len > GATT_MAX_ATTR_LEN) { in gatt_process_notification() 911 p_clcb->p_attr_buf = (uint8_t*)osi_malloc(GATT_MAX_ATTR_LEN); in gatt_process_read_by_type_rsp() 912 if (p_clcb->counter <= GATT_MAX_ATTR_LEN) { in gatt_process_read_by_type_rsp() 1010 p_clcb->p_attr_buf = (uint8_t*)osi_malloc(GATT_MAX_ATTR_LEN); in gatt_process_read_rsp() 1013 if (offset < GATT_MAX_ATTR_LEN) { in gatt_process_read_rsp() 1014 if ((len + offset) > GATT_MAX_ATTR_LEN) in gatt_process_read_rsp() 1015 len = GATT_MAX_ATTR_LEN - offset; in gatt_process_read_rsp() 1032 if (packet_is_full && (len + offset < GATT_MAX_ATTR_LEN)) { in gatt_process_read_rsp()
|
D | gatt_sr.cc | 515 &p_msg->attr_value.len, GATT_MAX_ATTR_LEN, sec_flag, key_size, in gatt_process_read_multi_req() 1012 if (len > GATT_MAX_ATTR_LEN) len = GATT_MAX_ATTR_LEN; in gatts_process_write_req()
|
D | gatt_utils.cc | 1706 if (cb_data.att_value.len > GATT_MAX_ATTR_LEN) { in gatt_end_operation() 1708 cb_data.att_value.len = GATT_MAX_ATTR_LEN; in gatt_end_operation()
|
/packages/modules/Bluetooth/system/include/hardware/ |
D | bt_gatt_types.h | 38 #define GATT_MAX_ATTR_LEN 512 macro
|
D | bt_gatt_client.h | 31 uint8_t value[GATT_MAX_ATTR_LEN]; 53 uint8_t value[GATT_MAX_ATTR_LEN];
|
D | bt_gatt_server.h | 29 uint8_t value[GATT_MAX_ATTR_LEN];
|
/packages/modules/Bluetooth/system/stack/srvc/ |
D | srvc_dis.cc | 151 if (strlen((char*)pp) > GATT_MAX_ATTR_LEN) in dis_read_attr_value() 152 p_value->len = GATT_MAX_ATTR_LEN; in dis_read_attr_value()
|
/packages/modules/Bluetooth/system/bta/gatt/ |
D | bta_gatts_int.h | 93 uint8_t value[GATT_MAX_ATTR_LEN];
|
D | bta_gattc_act.cc | 1084 if (attr.len > GATT_MAX_ATTR_LEN) { in bta_gattc_write()
|
/packages/modules/Bluetooth/system/stack/gap/ |
D | gap_ble.cc | 147 if (strlen((char*)p_dev_name) > GATT_MAX_ATTR_LEN) in read_attr_value() 148 p_value->len = GATT_MAX_ATTR_LEN; in read_attr_value()
|
/packages/modules/Bluetooth/system/bta/include/ |
D | bta_gatt_api.h | 139 uint8_t value[GATT_MAX_ATTR_LEN]; 191 uint8_t value[GATT_MAX_ATTR_LEN];
|
/packages/modules/Bluetooth/system/stack/include/ |
D | gatt_api.h | 490 uint8_t value[GATT_MAX_ATTR_LEN]; /* the actual attribute value */ 523 uint8_t value[GATT_MAX_ATTR_LEN]; /* the actual attribute value */
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothGattServer.java | 66 private static final int GATT_MAX_ATTR_LEN = 512; field in BluetoothGattServer 924 if (value.length > GATT_MAX_ATTR_LEN) { in notifyCharacteristicChanged()
|
D | BluetoothGatt.java | 95 private static final int GATT_MAX_ATTR_LEN = 512; field in BluetoothGatt 1558 if (value.length > GATT_MAX_ATTR_LEN) { in writeCharacteristic()
|
/packages/modules/Bluetooth/system/bta/le_audio/ |
D | client_parser.cc | 405 if (msg_len > GATT_MAX_ATTR_LEN) { in PrepareAseCtpEnable() 502 if (msg_len > GATT_MAX_ATTR_LEN) { in PrepareAseCtpUpdateMetadata()
|
/packages/modules/Bluetooth/system/bta/vc/ |
D | vc.cc | 1218 if (!n.is_notify || n.len > GATT_MAX_ATTR_LEN) { in gattc_callback()
|
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_gatt.cpp | 2122 if (env->GetArrayLength(val) < GATT_MAX_ATTR_LEN) { in gattServerSendResponseNative() 2125 response.attr_value.len = GATT_MAX_ATTR_LEN; in gattServerSendResponseNative()
|
/packages/modules/Bluetooth/system/bta/hearing_aid/ |
D | hearing_aid.cc | 2115 if (!p_data->notify.is_notify || p_data->notify.len > GATT_MAX_ATTR_LEN) { in hearingaid_gattc_callback()
|
/packages/modules/Bluetooth/system/bta/has/ |
D | has_client.cc | 1963 if (evt.len > GATT_MAX_ATTR_LEN) { in OnGattNotification()
|
D | has_client_test.cc | 886 ASSERT_TRUE(value.size() < GATT_MAX_ATTR_LEN); in InjectNotificationEvent()
|
/packages/modules/Bluetooth/system/bta/csis/ |
D | csis_client.cc | 2115 if (!evt.is_notify || evt.len > GATT_MAX_ATTR_LEN) { in OnGattNotification()
|