Home
last modified time | relevance | path

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

12

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DGattDbElement.java55 GattDbElement el = new GattDbElement(); in createPrimaryService() local
56 el.type = TYPE_PRIMARY_SERVICE; in createPrimaryService()
57 el.uuid = uuid; in createPrimaryService()
58 return el; in createPrimaryService()
62 GattDbElement el = new GattDbElement(); in createSecondaryService() local
63 el.type = TYPE_SECONDARY_SERVICE; in createSecondaryService()
64 el.uuid = uuid; in createSecondaryService()
65 return el; in createSecondaryService()
69 GattDbElement el = new GattDbElement(); in createCharacteristic() local
70 el.type = TYPE_CHARACTERISTIC; in createCharacteristic()
[all …]
DGattService.java1578 for (GattDbElement el : db) { in onGetGattDb()
1579 switch (el.type) { in onGetGattDb()
1582 Log.d(TAG, "got service with UUID=" + el.uuid + " id: " + el.id); in onGetGattDb()
1584 currSrvc = new BluetoothGattService(el.uuid, el.id, el.type); in onGetGattDb()
1586 isRestrictedSrvc = isRestrictedSrvcUuid(el.uuid); in onGetGattDb()
1587 isHidSrvc = isHidSrvcUuid(el.uuid); in onGetGattDb()
1589 restrictedIds.add(el.id); in onGetGattDb()
1594 Log.d(TAG, "got characteristic with UUID=" + el.uuid + " id: " + el.id); in onGetGattDb()
1596 currChar = new BluetoothGattCharacteristic(el.uuid, el.id, el.properties, 0); in onGetGattDb()
1598 isRestrictedChar = isRestrictedSrvc || (isHidSrvc && isHidCharUuid(el.uuid)); in onGetGattDb()
[all …]
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_sr.cc555 for (tGATT_SRV_LIST_ELEM& el : *gatt_cb.srv_list_info) { in gatt_build_primary_service_rsp()
556 if (el.s_hdl < s_hdl || el.s_hdl > e_hdl || in gatt_build_primary_service_rsp()
557 el.type != GATT_UUID_PRI_SERVICE) { in gatt_build_primary_service_rsp()
561 Uuid* p_uuid = gatts_get_service_uuid(el.p_db); in gatt_build_primary_service_rsp()
586 UINT16_TO_STREAM(p, el.s_hdl); in gatt_build_primary_service_rsp()
589 gatt_cb.last_service_handle == el.s_hdl) { in gatt_build_primary_service_rsp()
594 UINT16_TO_STREAM(p, el.e_hdl); in gatt_build_primary_service_rsp()
614 static tGATT_STATUS gatt_build_find_info_rsp(tGATT_SRV_LIST_ELEM& el, in gatt_build_find_info_rsp() argument
619 if (!el.p_db) return GATT_NOT_FOUND; in gatt_build_find_info_rsp()
625 for (auto& attr : el.p_db->attr_list) { in gatt_build_find_info_rsp()
[all …]
Dgatt_api.cc104 btgatt_db_element_t* el = service; in compute_service_size() local
106 for (int i = 0; i < count; i++, el++) in compute_service_size()
107 if (el->type == BTGATT_DB_PRIMARY_SERVICE || in compute_service_size()
108 el->type == BTGATT_DB_SECONDARY_SERVICE || in compute_service_size()
109 el->type == BTGATT_DB_DESCRIPTOR || in compute_service_size()
110 el->type == BTGATT_DB_INCLUDED_SERVICE) { in compute_service_size()
112 } else if (el->type == BTGATT_DB_CHARACTERISTIC) { in compute_service_size()
116 if (el->properties & GATT_CHAR_PROP_BIT_EXT_PROP) db_size++; in compute_service_size()
118 log::error("Unknown element type: {}", el->type); in compute_service_size()
138 for (tGATT_SRV_LIST_ELEM& el : *gatt_cb.srv_list_info) { in gatt_update_last_srv_info()
[all …]
Dgatt_db.cc704 tGATT_SRV_LIST_ELEM& el = *gatt_sr_find_i_rcb_by_handle(handle); in gatts_send_app_read_request() local
705 uint16_t conn_id = GATT_CREATE_CONN_ID(tcb.tcb_idx, el.gatt_if); in gatts_send_app_read_request()
709 gatt_sr_update_cback_cnt(tcb, cid, el.gatt_if, true, true); in gatts_send_app_read_request()
Dgatt_utils.cc1276 [p_clcb](auto& el) { return el.p_clcb == p_clcb; }); in gatt_clcb_invalidate() argument
/packages/modules/Bluetooth/system/stack/eatt/
Deatt_impl.h98 for (const std::pair<uint16_t, std::shared_ptr<EattChannel>>& el : in is_channel_connection_pending() local
100 if (el.second->state_ == EattChannelState::EATT_CHANNEL_PENDING) in is_channel_connection_pending()
210 for (const std::pair<uint16_t, std::shared_ptr<EattChannel>>& el : member
212 if (el.second->state_ == EattChannelState::EATT_CHANNEL_OPENED) {
213 cid = el.first;
214 mtu = el.second->tx_mtu_;
626 [&cid](const std::pair<uint16_t, std::shared_ptr<EattChannel>>& el) { in find_eatt_channel_by_cid()
627 return el.first == cid; in find_eatt_channel_by_cid()
641 const std::pair<uint16_t, std::shared_ptr<EattChannel>>& el) { in find_eatt_channel_by_transid()
642 return el.second->server_outstanding_cmd_.trans_id == trans_id; in find_eatt_channel_by_transid()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
DImapList.java95 ImapElement el = getElementOrNone(index); in getListOrEmpty() local
96 return el.isList() ? (ImapList) el : EMPTY; in getListOrEmpty()
104 ImapElement el = getElementOrNone(index); in getStringOrEmpty() local
105 return el.isString() ? (ImapString) el : ImapString.EMPTY; in getStringOrEmpty()
DImapResponseParser.java388 final ImapElement el = parseElement(); in parseElements() local
389 if (el == null) { // EOL in parseElements()
392 list.add(el); in parseElements()
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/buildSrc/src/main/groovy/
DSdkSourceUpdaterTask.groovy87 Element el = createRoot(doc, "type", "composite");
88 sourcePath.appendChild(el);
91el.appendChild(createRoot(doc, "type", "simple", "url", "file://" + new File(androidRoot, JAVA_COR…
92el.appendChild(createRoot(doc, "type", "simple", "url", "file://" + new File(androidRoot, JAVA_GRA…
109 Element el = doc.createElement("root");
111 el.setAttribute(attrs[i], attrs[i + 1]);
113 return el;
/packages/modules/Bluetooth/system/embdrv/g722/
Dg722_encode.cc275 int el; in g722_encode() local
343 el = saturate(xlow - s->band[0].s); in g722_encode()
346 wd = (el >= 0) ? el : -(el + 1); in g722_encode()
354 ilow = (el < 0) ? iln[i] : ilp[i]; in g722_encode()
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/math/
DSphericalVector.java338 String az = " x ", el = " x ", dist = " x "; in toString() local
345 el = String.format(dl, "% 5.1f %d%%", toDegrees(elevation), in toString()
353 return String.format(dl, "[⦡%s,⦨%s,⤠%s]", az, el, dist); in toString()
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/
Dstate_machine.cc661 for (auto& el : config.connection_handles) { in operator <<() local
662 os << std::hex << +el << std::dec << ":"; in operator <<()
688 for (auto& el : *config.broadcast_code) { in operator <<()
689 os << std::hex << +el << ":"; in operator <<()
699 for (auto& el : an_raw) { in operator <<() local
700 os << std::hex << +el << ":"; in operator <<()
/packages/modules/Bluetooth/floss/build/rustup/
Drustup.sh323 _cputype=$(get_endianness mips '' el)
330 _cputype=$(get_endianness mips64 '' el)
381 _cputype=$(get_endianness mips '' el)
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_iso_impl.h305 for (auto& el : conn_params.conn_pairs) { in establish_cis()
306 auto cis = GetCisIfKnown(el.cis_conn_handle); in establish_cis()
307 log::assert_that(cis, "No such cis: {}", el.cis_conn_handle); in establish_cis()
312 el.cis_conn_handle, cis->state_flags, in establish_cis()
317 tBTM_SEC_DEV_REC* p_rec = btm_find_dev_by_handle(el.acl_conn_handle); in establish_cis()
319 cis_hdl_to_addr[el.cis_conn_handle] = p_rec->ble.pseudo_addr; in establish_cis()
321 base::StringPrintf("handle:0x%04x", el.acl_conn_handle)); in establish_cis()
/packages/modules/Bluetooth/system/gd/hal/
Dsnoop_logger.cc951 [conn_handle, cid, is_local_cid](auto& el) { in IsA2dpMediaChannel() argument
952 if (el.conn_handle != conn_handle) return false; in IsA2dpMediaChannel()
954 if (is_local_cid) return el.local_cid == cid; in IsA2dpMediaChannel()
956 return el.remote_cid == cid; in IsA2dpMediaChannel()
1003 [conn_handle, local_cid](auto& el) { in RemoveA2dpMediaChannel() argument
1004 return (el.conn_handle == conn_handle && el.local_cid == local_cid); in RemoveA2dpMediaChannel()
/packages/modules/Bluetooth/system/packet/tests/
Dpacket_test_helper.h101 for (const auto& el : entries) { in to_string() local
102 ss << to_string(el) << std::endl; in to_string()
/packages/modules/Bluetooth/system/bta/le_audio/
Dle_audio_types.cc457 for (auto& el : other.values) { in Append() local
458 values[el.first] = el.second; in Append()
Ddevices_test.cc736 [](auto const& el) { in SetUpMockCodecManager() argument
737 if (el->confs.source.empty()) return false; in SetUpMockCodecManager()
739 ->CheckConfigurationIsDualBiDirSwb(*el); in SetUpMockCodecManager()
1341 [](auto const& el) { in TestSingleDevDualBidir() argument
1342 if (el->confs.source.empty()) return false; in TestSingleDevDualBidir()
1345 *el); in TestSingleDevDualBidir()
Dcodec_manager.cc378 [](auto const& el) { in GetCodecConfig() argument
379 if (el->confs.source.empty()) return false; in GetCodecConfig()
381 ->CheckConfigurationIsDualBiDirSwb(*el); in GetCodecConfig()
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/src/main/java/com/android/development/
DDexToStubConverter.java462 for (AnnotationElement el : findAnnotation(annotatable, ANNOTATION_SIGNATURE)) { in parseSignature()
463 ArrayEncodedValue e = (ArrayEncodedValue) el.getValue(); in parseSignature()
/packages/modules/Bluetooth/system/bta/has/
Dhas_client.cc281 [op_id](auto const& el) { return op_id == el.op_id; }); in ExtractPendingCtpOp() argument
1591 [&addr](auto& el) { in DoDisconnectCleanUp() argument
1592 if (std::holds_alternative<RawAddress>(el.addr_or_group)) { in DoDisconnectCleanUp()
1593 return std::get<RawAddress>(el.addr_or_group) == addr; in DoDisconnectCleanUp()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_le_audio.cpp964 for (const auto& el : bis_configs) { in prepareLeBroadcastChannelListObject() local
966 env, prepareLeBroadcastChannelObject(env, el)); in prepareLeBroadcastChannelListObject()
1027 for (const auto& el : subgroup_configs) { in prepareLeBroadcastSubgroupListObject() local
1029 env, prepareLeBroadcastSubgroupObject(env, el)); in prepareLeBroadcastSubgroupListObject()
/packages/inputmethods/LatinIME/dictionaries/
Dfi_wordlist.combined.gz1dictionary=main:fi,locale=fi,description=Suomi,date=1393228135, ...
Dcs_wordlist.combined.gz

12