Home
last modified time | relevance | path

Searched refs:Protocol (Results 1 – 25 of 91) sorted by relevance

1234

/packages/modules/Nfc/libnfc-nci/tools/casimir/src/
Dpackets.rs182 impl From<rf::Protocol> for nci::RfProtocolType {
183 fn from(protocol: rf::Protocol) -> Self { in from()
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 …]
Drf_packets.pdl4 /// - [DIGITAL] Digital Protocol Technical Specification Version 2.3
35 /// Protocol used for data exchange.
36 /// The values are taken from [NCI] Table 133: RF Protocol.
40 /// | Technology | Platform | Protocol |
48 enum Protocol : 8 {
86 protocol : Protocol,
148 // - `10b`: Configured for the NFC-DEP Protocol
149 // - `11b`: Configured for the NFC-DEP Protocol and Type 4A Tag Platform
Dcontroller.rs174 rf_protocol: rf::Protocol,
183 rf_protocol: rf::Protocol,
191 rf_protocol: rf::Protocol,
215 rf_protocol: rf::Protocol,
1548 rf_protocol: rf::Protocol::IsoDep, in rf_conn_data()
1555 rf_protocol: rf::Protocol::IsoDep, in rf_conn_data()
1564 protocol: rf::Protocol::IsoDep, in rf_conn_data()
1582 rf_protocol: rf::Protocol::IsoDep, in rf_conn_data()
1842 protocol: rf::Protocol::Undetermined, in poll_command()
1904 0b00 => [rf::Protocol::T2t].iter(), in nfca_poll_response()
[all …]
/packages/modules/Nfc/libnfc-nci/src/fuzzers/integration/
Dnfc_integration_fuzzer_impl.cc57 static tNFC_PROTOCOL GetProtocol(const Protocol& protocol) { in GetProtocol()
59 case Protocol::FUZZER_PROTOCOL_UNKNOWN: { in GetProtocol()
62 case Protocol::FUZZER_PROTOCOL_T1T: { in GetProtocol()
65 case Protocol::FUZZER_PROTOCOL_T2T: { in GetProtocol()
68 case Protocol::FUZZER_PROTOCOL_T3T: { in GetProtocol()
71 case Protocol::FUZZER_PROTOCOL_T5T: { in GetProtocol()
74 case Protocol::FUZZER_PROTOCOL_ISO_DEP: { in GetProtocol()
77 case Protocol::FUZZER_PROTOCOL_NFC_DEP: { in GetProtocol()
80 case Protocol::FUZZER_PROTOCOL_MIFARE: { in GetProtocol()
83 case Protocol::FUZZER_PROTOCOL_ISO15693: { in GetProtocol()
[all …]
Dnfc_integration_fuzzer.proto62 optional Protocol protocol = 2;
107 optional Protocol rf_protocol = 2;
168 message Protocol { message
/packages/modules/Wifi/framework/java/android/net/wifi/
DSecurityParams.java26 import android.net.wifi.WifiConfiguration.Protocol;
451 if (p < Protocol.strings.length) { in toString()
452 sbuf.append(Protocol.strings[p]); in toString()
669 params.mAllowedProtocols.set(Protocol.RSN); in createWpaWpa2EnterpriseParams()
670 params.mAllowedProtocols.set(Protocol.WPA); in createWpaWpa2EnterpriseParams()
703 params.mAllowedProtocols.set(Protocol.RSN); in createPasspointParams()
723 params.mAllowedProtocols.set(Protocol.RSN); in createEnhancedOpenParams()
746 params.mAllowedProtocols.set(Protocol.RSN); in createOpenParams()
747 params.mAllowedProtocols.set(Protocol.WPA); in createOpenParams()
760 params.mAllowedProtocols.set(Protocol.OSEN); in createOsenParams()
[all …]
DQosPolicyParams.java85 public @interface Protocol {} annotation in QosPolicyParams
222 private final @Protocol int mProtocol;
244 @Protocol int protocol, @Nullable int[] dstPortRange, @Direction int direction, in QosPolicyParams()
470 public @Protocol int getProtocol() { in getProtocol()
739 public @NonNull Builder setProtocol(@Protocol int value) { in setProtocol()
/packages/modules/DnsResolver/
DDnsStats.h117 bool setAddrs(const std::vector<netdutils::IPSockAddr>& addrs, Protocol protocol);
122 std::vector<netdutils::IPSockAddr> getSortedServers(Protocol protocol) const;
125 std::optional<std::chrono::microseconds> getAverageLatencyUs(Protocol protocol) const;
129 std::vector<StatsData> getStats(Protocol protocol) const;
136 std::map<Protocol, StatsMap> mStats;
DDnsStats.cpp173 bool DnsStats::setAddrs(const std::vector<netdutils::IPSockAddr>& addrs, Protocol protocol) { in setAddrs()
218 std::vector<IPSockAddr> DnsStats::getSortedServers(Protocol protocol) const { in getSortedServers()
241 std::optional<microseconds> DnsStats::getAverageLatencyUs(Protocol protocol) const { in getAverageLatencyUs()
255 std::vector<StatsData> DnsStats::getStats(Protocol protocol) const { in getStats()
Dstats.proto137 NS_T_HIP = 55; // Host Identity Protocol
157 enum Protocol { enum
288 SYS_EPROTO = 71; // Protocol error
308 SYS_EPROTOTYPE = 91; // Protocol wrong type for socket
309 SYS_ENOPROTOOPT = 92; // Protocol not available
313 SYS_EPFNOSUPPORT = 96; // Protocol family not supported
362 optional Protocol protocol = 5;
443 optional Protocol protocol = 1;
502 optional Protocol protocol = 1;
Dresolv_cache.h115 int resolv_stats_set_addrs(unsigned netid, android::net::Protocol proto,
/packages/modules/Nfc/libnfc-nci/tools/casimir/scripts/
Drf_packets.py100 class Protocol(enum.IntEnum): class
113 return Protocol(v)
139 protocol: Protocol = field(kw_only=True, default=Protocol.UNDETERMINED)
155 fields['protocol'] = Protocol.from_int(span[5])
296 self.protocol = Protocol.ISO_DEP
301 …if fields['technology'] != Technology.NFC_A or fields['protocol'] != Protocol.ISO_DEP or fields['p…
327 self.protocol = Protocol.ISO_DEP
332 …if fields['technology'] != Technology.NFC_A or fields['protocol'] != Protocol.ISO_DEP or fields['p…
359 self.protocol = Protocol.NFC_DEP
364 … if fields['protocol'] != Protocol.NFC_DEP or fields['packet_type'] != RfPacketType.SELECT_COMMAND:
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DSecurityParamsTest.java29 import android.net.wifi.WifiConfiguration.Protocol;
158 int[] expectedAllowedProtocols = new int[] {Protocol.RSN}; in testEnhancedOpenCreator()
196 int[] expectedAllowedProtocols = new int[] {Protocol.OSEN}; in testOsenCreator()
214 int[] expectedAllowedProtocols = new int[] {Protocol.WAPI}; in testWapiCertCreator()
232 int[] expectedAllowedProtocols = new int[] {Protocol.WAPI}; in testWapiPskCreator()
269 int[] expectedAllowedProtocols = new int[] {Protocol.RSN}; in testWpa3Enterprise192BitCreator()
290 int[] expectedAllowedProtocols = new int[] {Protocol.RSN}; in testWpa3EnterpriseCreator()
309 int[] expectedAllowedProtocols = new int[] {Protocol.RSN}; in testWpa3PersonalCreator()
353 allowedProtocols.set(Protocol.RSN); in testCommonSetterGetter()
354 allowedProtocols.set(Protocol.WPA); in testCommonSetterGetter()
[all …]
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/utils/
DFakeAdExchangeServer.java29 import com.squareup.okhttp.Protocol;
127 client.setProtocols(Arrays.asList(Protocol.HTTP_2, Protocol.HTTP_1_1)); // Enable HTTP/2 in makeHttpPostCall()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pShellCommandTest.java42 import com.android.internal.util.Protocol;
343 assertEquals(Protocol.BASE_WIFI_P2P_SERVICE + 2, m.what); in testP2pAcceptConnection()
357 assertEquals(Protocol.BASE_WIFI_P2P_SERVICE + 3, m.what); in testP2pRejectConnection()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiBackupRestoreTest.java489 config.allowedProtocols.set(WifiConfiguration.Protocol.WPA); in createNetworkForConfigurationWithUnsupportedTag()
490 config.allowedProtocols.set(WifiConfiguration.Protocol.RSN); in createNetworkForConfigurationWithUnsupportedTag()
542 config.allowedProtocols.set(WifiConfiguration.Protocol.WPA); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
543 config.allowedProtocols.set(WifiConfiguration.Protocol.RSN); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
1244 config.allowedProtocols.set(WifiConfiguration.Protocol.WPA); in createNetworkForConfigurationWithV1_0Data()
1245 config.allowedProtocols.set(WifiConfiguration.Protocol.RSN); in createNetworkForConfigurationWithV1_0Data()
DWifiGlobalsTest.java236 config.allowedProtocols.set(WifiConfiguration.Protocol.WPA); in testDeprecatedNetworkSecurityTypeWpaPersonal()
237 config.allowedProtocols.clear(WifiConfiguration.Protocol.RSN); in testDeprecatedNetworkSecurityTypeWpaPersonal()
/packages/modules/Bluetooth/system/gd/rust/linux/docs/
Dglossary.md87 ### Logical Link Control and Adaptation Layer Protocol
95 ### Radio Frequency Communication Protocol
/packages/modules/Bluetooth/pandora/server/bumble_experimental/
Davrcp.py16 from bumble.avrcp import Protocol as AvrcpProtocol, make_target_service_sdp_records, make_controlle…
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pShellCommand.java34 import com.android.internal.util.Protocol;
381 .send(Message.obtain(null, Protocol.BASE_WIFI_P2P_SERVICE + 2)); in handleCommand()
385 .send(Message.obtain(null, Protocol.BASE_WIFI_P2P_SERVICE + 3)); in handleCommand()
DWifiP2pMonitor.java33 import com.android.internal.util.Protocol;
51 private static final int BASE = Protocol.BASE_WIFI_MONITOR;
/packages/modules/Bluetooth/pandora/interfaces/pandora_experimental/
Dhid.proto20 // receive Protocol Mode Event
/packages/modules/Bluetooth/tools/rootcanal/rust/test/SP/
DBV-15-C.in76 // Authentication Stage 1: Passkey Entry Protocol
DBV-17-C.in76 // Authentication Stage 1: Passkey Entry Protocol
DBV-27-C.in82 // Authentication Stage 1: OOB Protocol

1234