/system/nfc/tools/casimir/src/ |
D | controller.rs | 17 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 …]
|
D | packets.rs | 18 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 …]
|
D | main.rs | 35 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()
|
D | main-grpc.rs | 36 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/ |
D | main.rs | 37 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/ |
D | api.rs | 21 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 …]
|
D | nci.rs | 22 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/ |
D | wwan.h | 158 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/ |
D | Android.bp | 25 name: "libnfc-nci.conf-default", 26 src: "libnfc-nci.conf", 27 filename: "libnfc-nci.conf",
|
/system/nfc/src/fuzzers/ |
D | README.md | 11 * 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/ |
D | Android.bp | 17 name: "libnfc-nci", 64 "nfc/nci/*.cc", 189 "nfc/nci/*.cc", 195 "fuzzers/nci/*.cc", 281 "nfc/nci/*.cc",
|
/system/nfc/src/rust/packets/ |
D | lib.rs | 7 pub mod nci { module
|
/system/nfc/src/rust/ |
D | Android.bp | 34 srcs: ["nci/nci.rs"],
|
/system/nfc/flags/ |
D | flags.aconfig | 1 package: "com.android.nfc.nci.flags"
|
D | Android.bp | 4 package: "com.android.nfc.nci.flags",
|
/system/nfc/src/rust/hal/ |
D | hal.rs | 19 use nfc_packets::nci::{DataPacket, NciPacket}; 99 use nfc_packets::nci::{DataPacket, NciPacket};
|
D | rootcanal_hal.rs | 23 use nfc_packets::nci::{DataPacket, NciPacket};
|
D | hidl_hal.rs | 20 use nfc_packets::nci::{DataPacket, NciPacket};
|
/system/nfc/tools/casimir/ |
D | README.rst | 25 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/ |
D | casimir.proto | 32 Nci nci = 3; field
|
/system/nfc/src/nfc/tags/ |
D | rw_i93.cc | 39 using com::android::nfc::nci::flags::t5t_no_getsysinfo;
|