Home
last modified time | relevance | path

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

/system/bt/stack/gatt/
Dgatt_api.cc105 btgatt_db_element_t* el = service; in compute_service_size() local
107 for (int i = 0; i < count; i++, el++) in compute_service_size()
108 if (el->type == BTGATT_DB_PRIMARY_SERVICE || in compute_service_size()
109 el->type == BTGATT_DB_SECONDARY_SERVICE || in compute_service_size()
110 el->type == BTGATT_DB_DESCRIPTOR || in compute_service_size()
111 el->type == BTGATT_DB_INCLUDED_SERVICE) { in compute_service_size()
113 } else if (el->type == BTGATT_DB_CHARACTERISTIC) { in compute_service_size()
117 if (el->properties & GATT_CHAR_PROP_BIT_EXT_PROP) db_size++; in compute_service_size()
119 LOG(ERROR) << __func__ << ": Unknown element type: " << el->type; in compute_service_size()
139 for (tGATT_SRV_LIST_ELEM& el : *gatt_cb.srv_list_info) { in gatt_update_last_srv_info()
[all …]
Dgatt_sr.cc516 for (tGATT_SRV_LIST_ELEM& el : *gatt_cb.srv_list_info) { in gatt_build_primary_service_rsp()
517 if (el.s_hdl < s_hdl || el.s_hdl > e_hdl || in gatt_build_primary_service_rsp()
518 el.type != GATT_UUID_PRI_SERVICE) { in gatt_build_primary_service_rsp()
522 Uuid* p_uuid = gatts_get_service_uuid(el.p_db); in gatt_build_primary_service_rsp()
547 UINT16_TO_STREAM(p, el.s_hdl); in gatt_build_primary_service_rsp()
550 gatt_cb.last_service_handle == el.s_hdl) { in gatt_build_primary_service_rsp()
555 UINT16_TO_STREAM(p, el.e_hdl); in gatt_build_primary_service_rsp()
575 static tGATT_STATUS gatt_build_find_info_rsp(tGATT_SRV_LIST_ELEM& el, in gatt_build_find_info_rsp() argument
580 if (!el.p_db) return GATT_NOT_FOUND; in gatt_build_find_info_rsp()
586 for (auto& attr : el.p_db->attr_list) { in gatt_build_find_info_rsp()
[all …]
Dgatt_db.cc709 tGATT_SRV_LIST_ELEM& el = *gatt_sr_find_i_rcb_by_handle(handle); in gatts_send_app_read_request() local
710 uint16_t conn_id = GATT_CREATE_CONN_ID(tcb.tcb_idx, el.gatt_if); in gatts_send_app_read_request()
714 gatt_sr_update_cback_cnt(tcb, cid, el.gatt_if, true, true); in gatts_send_app_read_request()
/system/bt/stack/eatt/
Deatt_impl.h347 [&cid](const std::pair<uint16_t, std::shared_ptr<EattChannel>>& el) { in find_eatt_channel_by_cid()
348 return el.first == cid; in find_eatt_channel_by_cid()
362 const std::pair<uint16_t, std::shared_ptr<EattChannel>>& el) { in find_eatt_channel_by_transid()
363 return el.second->server_outstanding_cmd_.trans_id == trans_id; in find_eatt_channel_by_transid()
377 const std::pair<uint16_t, std::shared_ptr<EattChannel>>& el) { in is_indication_pending()
378 return el.second->indicate_handle_ == indication_handle; in is_indication_pending()
388 [](const std::pair<uint16_t, std::shared_ptr<EattChannel>>& el) { in get_channel_available_for_indication()
389 return !GATT_HANDLE_IS_VALID(el.second->indicate_handle_); in get_channel_available_for_indication()
403 [](const std::pair<uint16_t, std::shared_ptr<EattChannel>>& el) { in get_channel_available_for_client_request()
404 return el.second->cl_cmd_q_.empty(); in get_channel_available_for_client_request()
[all …]
/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"
601 String value = SystemProperties.get("vendor.el");
607 …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.py734 def aggregate_by_name(acc, el): argument
735 existing = [i for i in acc if i.name == el.name]
739 k = Kind(el.name, el.parent)
742 k._namespaces.extend(el._namespaces)
743 k._entries.extend(el._entries)
/system/bt/stack/btm/
Dbtm_iso_impl.h209 for (auto& el : conn_params.conn_pairs) { in establish_cis()
210 auto cis = GetCisIfKnown(el.cis_conn_handle); in establish_cis()