Home
last modified time | relevance | path

Searched refs:value_len (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_cl.cc121 cl_req.find_type_value.value_len = size; in gatt_act_discovery()
129 cl_req.find_type_value.value_len = Uuid::kNumBytes128; in gatt_act_discovery()
799 uint8_t *p = p_data, value_len, handle_len = 2; in gatt_process_read_by_type_rsp() local
813 STREAM_TO_UINT8(value_len, p); in gatt_process_read_by_type_rsp()
815 if ((value_len > (payload_size - 2)) || (value_len > (len - 1))) { in gatt_process_read_by_type_rsp()
821 op_code, value_len, payload_size - 2, len - 1); in gatt_process_read_by_type_rsp()
828 value_len -= handle_len; /* subtract the handle pairs bytes */ in gatt_process_read_by_type_rsp()
831 while (len >= (handle_len + value_len)) { in gatt_process_read_by_type_rsp()
858 value_len, &p)) { in gatt_process_read_by_type_rsp()
867 if (value_len < 4) { in gatt_process_read_by_type_rsp()
[all …]
Datt_protocol.cc168 uint16_t len = p_value_type->value_len; in attp_build_read_by_type_value_cmd()
188 if (p_value_type->value_len + p_buf->len > payload_size) in attp_build_read_by_type_value_cmd()
Dgatt_sr.cc1094 uint16_t value_len = 0; in gatts_process_read_req() local
1096 tcb, cid, el.p_db, op_code, handle, offset, p, &value_len, in gatts_process_read_req()
1098 p_msg->len += value_len; in gatts_process_read_req()
Dgatt_int.h108 uint16_t value_len; /* length of the attribute value */ member
/packages/modules/Bluetooth/system/device/src/
Ddevice_iot_config.cc246 size_t value_len = strlen(value_str); in device_iot_config_get_bin() local
247 if ((value_len % 2) != 0 || *length < (value_len / 2)) return false; in device_iot_config_get_bin()
249 for (size_t i = 0; i < value_len; ++i) in device_iot_config_get_bin()
275 size_t value_len = strlen(value_str->c_str()); in device_iot_config_get_bin_length() local
276 return ((value_len % 2) != 0) ? 0 : (value_len / 2); in device_iot_config_get_bin_length()
/packages/modules/Bluetooth/system/gd/os/android/
Dsystem_properties.cc33 auto value_len = property_get(property.c_str(), value_array.data(), nullptr); in GetSystemProperty() local
34 if (value_len <= 0) { in GetSystemProperty()
37 return std::string(value_array.data(), value_len); in GetSystemProperty()
/packages/apps/Nfc/src/com/android/nfc/
DNfcProprietaryCaps.java74 int value_len = caps[offset++]; in createFromByteArray() local
76 offset += value_len; in createFromByteArray()
81 if (value_len < 1 || offset > caps.length) { in createFromByteArray()