Home
last modified time | relevance | path

Searched refs:el (Results 1 – 8 of 8) sorted by relevance

/system/bt/stack/gatt/
Dgatt_sr.cc461 for (tGATT_SRV_LIST_ELEM& el : *gatt_cb.srv_list_info) { in gatt_build_primary_service_rsp()
462 if (el.s_hdl < s_hdl || el.s_hdl > e_hdl || in gatt_build_primary_service_rsp()
463 el.type != GATT_UUID_PRI_SERVICE) { in gatt_build_primary_service_rsp()
467 Uuid* p_uuid = gatts_get_service_uuid(el.p_db); in gatt_build_primary_service_rsp()
492 UINT16_TO_STREAM(p, el.s_hdl); in gatt_build_primary_service_rsp()
495 gatt_cb.last_service_handle == el.s_hdl) { in gatt_build_primary_service_rsp()
500 UINT16_TO_STREAM(p, el.e_hdl); in gatt_build_primary_service_rsp()
520 static tGATT_STATUS gatt_build_find_info_rsp(tGATT_SRV_LIST_ELEM& el, in gatt_build_find_info_rsp() argument
525 if (!el.p_db) return GATT_NOT_FOUND; in gatt_build_find_info_rsp()
531 for (auto& attr : el.p_db->attr_list) { in gatt_build_find_info_rsp()
[all …]
Dgatt_api.cc102 btgatt_db_element_t* el = service; in compute_service_size() local
104 for (int i = 0; i < count; i++, el++) in compute_service_size()
105 if (el->type == BTGATT_DB_PRIMARY_SERVICE || in compute_service_size()
106 el->type == BTGATT_DB_SECONDARY_SERVICE || in compute_service_size()
107 el->type == BTGATT_DB_DESCRIPTOR || in compute_service_size()
108 el->type == BTGATT_DB_INCLUDED_SERVICE) in compute_service_size()
110 else if (el->type == BTGATT_DB_CHARACTERISTIC) in compute_service_size()
113 LOG(ERROR) << __func__ << ": Unknown element type: " << el->type; in compute_service_size()
132 for (tGATT_SRV_LIST_ELEM& el : *gatt_cb.srv_list_info) { in gatt_update_last_srv_info()
133 gatt_cb.last_service_handle = el.s_hdl; in gatt_update_last_srv_info()
[all …]
Dgatt_db.cc681 tGATT_SRV_LIST_ELEM& el = *gatt_sr_find_i_rcb_by_handle(handle); in gatts_send_app_read_request() local
682 uint16_t conn_id = GATT_CREATE_CONN_ID(tcb.tcb_idx, el.gatt_if); in gatts_send_app_read_request()
686 gatt_sr_update_cback_cnt(tcb, el.gatt_if, true, true); in gatts_send_app_read_request()
/system/tools/sysprop/tests/
DCppGenTest.cpp95 api_name: "el"
285 LOG_ALWAYS_FATAL("Invalid value %d for property el", static_cast<std::int32_t>(*value));
DJavaGenTest.cpp95 api_name: "el"
529 String value = SystemProperties.get("vendor.el");
535 …SystemProperties.set("vendor.el", value == null ? "" : formatEnumList(value, el_values::getPropVal…
/system/bt/embdrv/g722/
Dg722_encode.cc276 int el; in g722_encode() local
344 el = saturate(xlow - s->band[0].s); in g722_encode()
347 wd = (el >= 0) ? el : -(el + 1); in g722_encode()
355 ilow = (el < 0) ? iln[i] : ilp[i]; in g722_encode()
/system/bt/service/
Dgatt_server_old.cc158 const btgatt_db_element_t& el = service[i]; in ServiceAddedCallback() local
159 if (el.type == BTGATT_DB_DESCRIPTOR) { in ServiceAddedCallback()
160 LOG_INFO("%s: descr_handle:%d", __func__, el.attribute_handle); in ServiceAddedCallback()
161 } else if (el.type == BTGATT_DB_CHARACTERISTIC) { in ServiceAddedCallback()
162 bluetooth::Uuid id(el.uuid); in ServiceAddedCallback()
163 uint16_t char_handle = el.attribute_handle; in ServiceAddedCallback()
190 prev_char_properties = el.properties; in ServiceAddedCallback()
/system/media/camera/docs/
Dmetadata_model.py739 def aggregate_by_name(acc, el): argument
740 existing = [i for i in acc if i.name == el.name]
744 k = Kind(el.name, el.parent)
747 k._namespaces.extend(el._namespaces)
748 k._entries.extend(el._entries)