Home
last modified time | relevance | path

Searched refs:nci (Results 1 – 21 of 21) sorted by relevance

/system/nfc/tools/casimir/src/
Dcontroller.rs17 use crate::packets::{nci, rf};
30 const NCI_VERSION: nci::NciVersion = nci::NciVersion::Version20;
155 RemoteNfcEndpoint { rf_discovery_id: u8, rf_protocol_type: nci::RfProtocolType },
168 rf_interface: nci::RfInterfaceType,
177 rf_interface: nci::RfInterfaceType,
185 rf_interface: nci::RfInterfaceType,
221 pub discover_configuration: Vec<nci::DiscoverConfiguration>,
222 pub discover_map: Vec<nci::MappingConfiguration>,
227 pub passive_observe_mode: nci::PassiveObserveMode,
234 nci_stream: nci::StreamRefMut<'a>,
[all …]
Dpackets.rs18 pub mod nci { module
182 impl From<rf::Protocol> for nci::RfProtocolType {
185 rf::Protocol::Undetermined => nci::RfProtocolType::Undetermined, in from()
186 rf::Protocol::T1t => nci::RfProtocolType::T1t, in from()
187 rf::Protocol::T2t => nci::RfProtocolType::T2t, in from()
188 rf::Protocol::T3t => nci::RfProtocolType::T3t, in from()
189 rf::Protocol::IsoDep => nci::RfProtocolType::IsoDep, in from()
190 rf::Protocol::NfcDep => nci::RfProtocolType::NfcDep, in from()
191 rf::Protocol::T5t => nci::RfProtocolType::T5t, in from()
192 rf::Protocol::Ndef => nci::RfProtocolType::Ndef, in from()
[all …]
Dmain.rs35 use packets::{nci, rf};
113 fn nci( in nci() method
126 pin!(nci::Reader::new(nci_rx).into_stream()), in nci()
127 nci::Writer::new(nci_tx), in nci()
317 match scene.add_device(|id| Device::nci(id, socket, rf_tx.clone())) { in run()
Dmain-grpc.rs36 use packets::{nci, rf};
128 fn nci( in nci() method
141 pin!(nci::Reader::new(nci_rx).into_stream()), in nci()
142 nci::Writer::new(nci_tx), in nci()
437 match scene.add_device(|id| Device::nci(id, socket, rf_tx.clone())) { in run()
/system/nfc/src/rust/test/
Dmain.rs37 let mut nci = NciApi::new(); in main() localVariable
38 nci.nfc_enable(nfc_callback).await; in main()
39 nci.nfc_init().await?; in main()
40 let lmrts = nci.nfc_get_lmrt_size().await; in main()
42 let status = nci.nfc_set_config(&set_tlvs).await?; in main()
44 let status = nci.nfc_get_config(&get_tlvs).await?; in main()
46 nci.nfc_disable().await; in main()
47 nci.nfc_enable(nfc_callback).await; in main()
48 nci.nfc_init().await?; in main()
49 let status = nci.nfc_get_config(&get_tlvs).await?; in main()
[all …]
/system/nfc/src/rust/nci/
Dapi.rs21 use nfc_packets::nci::RfMappingConfiguration;
22 use nfc_packets::nci::{self, CommandBuilder, DataPacket, Opcode};
23 use nfc_packets::nci::{ConnCloseCommandBuilder, ConnCreateCommandBuilder};
24 use nfc_packets::nci::{DestParam, DestParamTypes, DestTypes};
25 use nfc_packets::nci::{FeatureEnable, PacketBoundaryFlag, ResetType};
26 use nfc_packets::nci::{InitCommandBuilder, ResetCommandBuilder};
27 use nfc_packets::nci::{InitResponse, ResponseChild};
82 let nci = crate::init().await; in nfc_enable() localVariable
84 self.commands = Some(nci.commands); in nfc_enable()
85 self.connections = Some(nci.connections); in nfc_enable()
[all …]
Dnci.rs22 use nfc_packets::nci::DataPacketChild::Payload;
23 use nfc_packets::nci::NciPacketChild;
24 use nfc_packets::nci::NotificationChild::ConnCreditsNotification;
25 use nfc_packets::nci::{Command, DataPacket, DataPacketBuilder, Notification};
26 use nfc_packets::nci::{Opcode, PacketBoundaryFlag, Response};
/system/chre/pal/include/chre/pal/
Dwwan.h158 static inline void chreWwanPackNrNci(int64_t nci, in chreWwanPackNrNci() argument
160 nrCellId->nci1 = (nci >> 32) & 0xffffffff; in chreWwanPackNrNci()
161 nrCellId->nci0 = nci & 0xffffffff; in chreWwanPackNrNci()
/system/nfc/conf/
DAndroid.bp25 name: "libnfc-nci.conf-default",
26 src: "libnfc-nci.conf",
27 filename: "libnfc-nci.conf",
/system/nfc/src/fuzzers/
DREADME.md11 * nci:
58 Here we use "nci" fuzzer as an example for building and running. The same
63 cd $ANDROID_BUILD_TOP/system/nfc/src/fuzzers/nci
66 The above commands will build the nci fuzzer and push it to the device.
71 directory ($ANDROID_BUILD_TOP/system/nfc/src/fuzzers/nci), all you need is
/system/nfc/src/
DAndroid.bp17 name: "libnfc-nci",
64 "nfc/nci/*.cc",
189 "nfc/nci/*.cc",
195 "fuzzers/nci/*.cc",
281 "nfc/nci/*.cc",
/system/nfc/src/rust/packets/
Dlib.rs7 pub mod nci { module
/system/nfc/src/rust/
DAndroid.bp34 srcs: ["nci/nci.rs"],
/system/nfc/flags/
Dflags.aconfig1 package: "com.android.nfc.nci.flags"
DAndroid.bp4 package: "com.android.nfc.nci.flags",
/system/nfc/src/rust/hal/
Dhal.rs19 use nfc_packets::nci::{DataPacket, NciPacket};
99 use nfc_packets::nci::{DataPacket, NciPacket};
Drootcanal_hal.rs23 use nfc_packets::nci::{DataPacket, NciPacket};
Dhidl_hal.rs20 use nfc_packets::nci::{DataPacket, NciPacket};
/system/nfc/tools/casimir/
DREADME.rst25 Usage: casimir [--nci-port <nci-port>] [--rf-port <rf-port>]
30 --nci-port configure the TCP port for the NCI server.
/system/nfc/tools/casimir/src/proto/
Dcasimir.proto32 Nci nci = 3; field
/system/nfc/src/nfc/tags/
Drw_i93.cc39 using com::android::nfc::nci::flags::t5t_no_getsysinfo;