Home
last modified time | relevance | path

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

/system/bt/gd/os/android/
Dsystem_properties.cc34 auto value_len = property_get(property.c_str(), value_array.data(), nullptr); in GetSystemProperty() local
35 if (value_len <= 0) { in GetSystemProperty()
38 return std::string(value_array.data(), value_len); in GetSystemProperty()
/system/bt/stack/gatt/
Dgatt_cl.cc110 cl_req.find_type_value.value_len = size; in gatt_act_discovery()
118 cl_req.find_type_value.value_len = Uuid::kNumBytes128; in gatt_act_discovery()
704 uint8_t *p = p_data, value_len, handle_len = 2; in gatt_process_read_by_type_rsp() local
718 STREAM_TO_UINT8(value_len, p); in gatt_process_read_by_type_rsp()
720 if ((value_len > (tcb.payload_size - 2)) || (value_len > (len - 1))) { in gatt_process_read_by_type_rsp()
728 op_code, value_len, (tcb.payload_size - 2), (len - 1)); in gatt_process_read_by_type_rsp()
735 value_len -= handle_len; /* substract the handle pairs bytes */ in gatt_process_read_by_type_rsp()
738 while (len >= (handle_len + value_len)) { in gatt_process_read_by_type_rsp()
765 value_len, &p)) { in gatt_process_read_by_type_rsp()
783 if (value_len == 6) { in gatt_process_read_by_type_rsp()
[all …]
Datt_protocol.cc159 uint16_t len = p_value_type->value_len; in attp_build_read_by_type_value_cmd()
173 if (p_value_type->value_len + p_buf->len > payload_size) in attp_build_read_by_type_value_cmd()
Dgatt_sr.cc979 uint16_t value_len = 0; in gatts_process_read_req() local
981 tcb, el.p_db, op_code, handle, offset, p, &value_len, (uint16_t)buf_len, in gatts_process_read_req()
983 p_msg->len += value_len; in gatts_process_read_req()
Dgatt_int.h108 uint16_t value_len; /* length of the attribute value */ member
/system/bt/btif/src/
Dbtif_config.cc524 size_t value_len = value_str->length(); in btif_config_get_bin() local
525 if ((value_len % 2) != 0 || *length < (value_len / 2)) { in btif_config_get_bin()
526 LOG(WARNING) << ": value size not divisible by 2, size is " << value_len; in btif_config_get_bin()
530 for (size_t i = 0; i < value_len; ++i) in btif_config_get_bin()
566 size_t value_len = value_str->length(); in btif_config_get_bin_length() local
567 return ((value_len % 2) != 0) ? 0 : (value_len / 2); in btif_config_get_bin_length()
/system/core/init/
Dbuiltins.cpp1102 size_t value_len = strlen(value); in do_wait_for_prop() local
1107 if (value_len >= PROP_VALUE_MAX) { in do_wait_for_prop()