Home
last modified time | relevance | path

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

12

/packages/modules/Wifi/framework/java/android/net/wifi/
DSecurityParams.java26 import android.net.wifi.WifiConfiguration.Protocol;
450 if (p < Protocol.strings.length) { in toString()
451 sbuf.append(Protocol.strings[p]); in toString()
648 params.mAllowedProtocols.set(Protocol.RSN); in createWpaWpa2EnterpriseParams()
649 params.mAllowedProtocols.set(Protocol.WPA); in createWpaWpa2EnterpriseParams()
680 params.mAllowedProtocols.set(Protocol.RSN); in createPasspointParams()
698 params.mAllowedProtocols.set(Protocol.RSN); in createEnhancedOpenParams()
721 params.mAllowedProtocols.set(Protocol.RSN); in createOpenParams()
722 params.mAllowedProtocols.set(Protocol.WPA); in createOpenParams()
735 params.mAllowedProtocols.set(Protocol.OSEN); in createOsenParams()
[all …]
DWifiAnnotations.java97 public @interface Protocol {} annotation in WifiAnnotations
DRttManager.java21 import com.android.internal.util.Protocol;
1186 public static final int BASE = Protocol.BASE_WIFI_RTT_MANAGER;
DWifiConfiguration.java240 public static class Protocol { class in WifiConfiguration
241 private Protocol() { } in Protocol() method in WifiConfiguration.Protocol
3043 if (p < Protocol.strings.length) { in toString()
3044 sbuf.append(Protocol.strings[p]); in toString()
DWifiScanner.java48 import com.android.internal.util.Protocol;
1549 private static final int BASE = Protocol.BASE_WIFI_SCANNER;
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DSecurityParamsTest.java29 import android.net.wifi.WifiConfiguration.Protocol;
154 int[] expectedAllowedProtocols = new int[] {Protocol.RSN}; in testEnhancedOpenCreator()
192 int[] expectedAllowedProtocols = new int[] {Protocol.OSEN}; in testOsenCreator()
210 int[] expectedAllowedProtocols = new int[] {Protocol.WAPI}; in testWapiCertCreator()
228 int[] expectedAllowedProtocols = new int[] {Protocol.WAPI}; in testWapiPskCreator()
265 int[] expectedAllowedProtocols = new int[] {Protocol.RSN}; in testWpa3Enterprise192BitCreator()
286 int[] expectedAllowedProtocols = new int[] {Protocol.RSN}; in testWpa3EnterpriseCreator()
305 int[] expectedAllowedProtocols = new int[] {Protocol.RSN}; in testWpa3PersonalCreator()
349 allowedProtocols.set(Protocol.RSN); in testCommonSetterGetter()
350 allowedProtocols.set(Protocol.WPA); in testCommonSetterGetter()
[all …]
DWifiConfigurationTest.java47 import android.net.wifi.WifiConfiguration.Protocol;
945 verifyAllowedProtocols(config, new int[] {Protocol.WPA, Protocol.RSN, Protocol.WAPI}); in testAddSecurityTypes()
/packages/modules/DnsResolver/
DDnsStats.h117 bool setServers(const std::vector<netdutils::IPSockAddr>& servers, 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, ServerStatsMap> mStats;
DDnsStats.cpp174 bool DnsStats::setServers(const std::vector<netdutils::IPSockAddr>& servers, Protocol protocol) { in setServers()
219 std::vector<IPSockAddr> DnsStats::getSortedServers(Protocol protocol) const { in getSortedServers()
242 std::optional<microseconds> DnsStats::getAverageLatencyUs(Protocol protocol) const { in getAverageLatencyUs()
256 std::vector<StatsData> DnsStats::getStats(Protocol protocol) const { in getStats()
Dstats.proto137 NS_T_HIP = 55; // Host Identity Protocol
157 enum Protocol { enum
285 SYS_EPROTO = 71; // Protocol error
305 SYS_EPROTOTYPE = 91; // Protocol wrong type for socket
306 SYS_ENOPROTOOPT = 92; // Protocol not available
310 SYS_EPFNOSUPPORT = 96; // Protocol family not supported
359 optional Protocol protocol = 5;
DDnsStatsTest.cpp47 DnsQueryEvent makeDnsQueryEvent(const Protocol protocol, const NsRcode rcode, in makeDnsQueryEvent()
158 void verifyDnsStatsContent(Protocol protocol, const std::vector<StatsData>& expectedStats, in verifyDnsStatsContent()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiBackupRestoreTest.java429 config.allowedProtocols.set(WifiConfiguration.Protocol.WPA); in createNetworkForConfigurationWithUnsupportedTag()
430 config.allowedProtocols.set(WifiConfiguration.Protocol.RSN); in createNetworkForConfigurationWithUnsupportedTag()
482 config.allowedProtocols.set(WifiConfiguration.Protocol.WPA); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
483 config.allowedProtocols.set(WifiConfiguration.Protocol.RSN); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
1112 config.allowedProtocols.set(WifiConfiguration.Protocol.WPA); in createNetworkForConfigurationWithV1_0Data()
1113 config.allowedProtocols.set(WifiConfiguration.Protocol.RSN); in createNetworkForConfigurationWithV1_0Data()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pMonitor.java31 import com.android.internal.util.Protocol;
47 private static final int BASE = Protocol.BASE_WIFI_MONITOR;
DWifiP2pServiceImpl.java95 import com.android.internal.util.Protocol;
224 private static final int BASE = Protocol.BASE_WIFI_P2P_SERVICE;
1582 if (message.what < Protocol.BASE_WIFI_P2P_MANAGER in processMessage()
1583 || Protocol.BASE_WIFI_P2P_SERVICE <= message.what in processMessage()
1995 if (message.what > Protocol.BASE_WIFI_P2P_MANAGER in processMessage()
1996 && message.what < Protocol.BASE_WIFI_P2P_SERVICE) { in processMessage()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMonitor.java31 import com.android.internal.util.Protocol;
52 private static final int BASE = Protocol.BASE_WIFI_MONITOR;
DWifiBackupDataV1Parser.java260 > WifiConfiguration.Protocol.strings.length) { in clearAnyKnownIssuesInParsedConfiguration()
262 WifiConfiguration.Protocol.strings.length, in clearAnyKnownIssuesInParsedConfiguration()
DSupplicantStaNetworkHal.java909 case WifiConfiguration.Protocol.WPA: in wifiConfigurationToSupplicantProtoMask()
912 case WifiConfiguration.Protocol.RSN: in wifiConfigurationToSupplicantProtoMask()
915 case WifiConfiguration.Protocol.OSEN: in wifiConfigurationToSupplicantProtoMask()
918 case WifiConfiguration.Protocol.WAPI: in wifiConfigurationToSupplicantProtoMask()
1207 WifiConfiguration.Protocol.WPA); in supplicantToWifiConfigurationProtoMask()
1210 WifiConfiguration.Protocol.RSN); in supplicantToWifiConfigurationProtoMask()
1213 WifiConfiguration.Protocol.OSEN); in supplicantToWifiConfigurationProtoMask()
1216 bitset, WifiConfiguration.Protocol.WAPI); in supplicantToWifiConfigurationProtoMask()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java241 wifiConf.allowedProtocols.set(WifiConfiguration.Protocol.WPA); // For WPA in updateForWPAConfiguration()
242 wifiConf.allowedProtocols.set(WifiConfiguration.Protocol.RSN); // For WPA2 in updateForWPAConfiguration()
/packages/modules/DnsResolver/tests/
Dresolv_stats_test_utils.cpp124 dnsQueryEvent->set_protocol(static_cast<Protocol>(value)); in fromNetworkDnsEventReportedStr()
/packages/services/Car/tools/emulator/
DREADME.md47 * It requires Protocol Buffers. You may build one from Android, e.g.
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
Dstats.proto58 * The DHCP (Dynamic Host Configuration Protocol) session info
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pManager.java51 import com.android.internal.util.Protocol;
371 private static final int BASE = Protocol.BASE_WIFI_P2P_MANAGER;
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java340 assertTrue(wifiConfiguration.allowedProtocols.get(WifiConfiguration.Protocol.OSEN)); in verifyWifiConfigurationForOsenOsuNetwork()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DInformationElementUtil.java22 import android.net.wifi.WifiAnnotations.Protocol;
1316 private String protocolToString(@Protocol int protocol) { in protocolToString()
/packages/modules/adb/
DOVERVIEW.TXT76 II. Protocol details:

12