Home
last modified time | relevance | path

Searched refs:protocol (Results 1 – 25 of 31) sorted by relevance

12

/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContacts_ContactMethodsTest.java28 int protocol = ContactMethods.PROTOCOL_AIM; in testEncodeAndDecodeProtocol() local
29 String encodedString = ContactMethods.encodePredefinedImProtocol(protocol); in testEncodeAndDecodeProtocol()
31 assertEquals(protocol, ContactMethods.decodeImProtocol(encodedString)); in testEncodeAndDecodeProtocol()
33 protocol = ContactMethods.PROTOCOL_QQ; in testEncodeAndDecodeProtocol()
34 encodedString = ContactMethods.encodePredefinedImProtocol(protocol); in testEncodeAndDecodeProtocol()
36 assertEquals(protocol, ContactMethods.decodeImProtocol(encodedString)); in testEncodeAndDecodeProtocol()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/proxy/
DPacFileServer.java33 import org.apache.http.protocol.BasicHttpContext;
34 import org.apache.http.protocol.BasicHttpProcessor;
35 import org.apache.http.protocol.HttpContext;
36 import org.apache.http.protocol.HttpRequestHandler;
37 import org.apache.http.protocol.HttpRequestHandlerRegistry;
38 import org.apache.http.protocol.HttpService;
39 import org.apache.http.protocol.ResponseConnControl;
40 import org.apache.http.protocol.ResponseContent;
41 import org.apache.http.protocol.ResponseDate;
42 import org.apache.http.protocol.ResponseServer;
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
DIpv4Packet.java36 int protocol; field in Ipv4Packet
52 protocol = stream.readUnsignedByte(); in Ipv4Packet()
105 stream.writeByte(protocol); in getEncoded()
134 out.append("\n Protocol: ").append(protocol); in toString()
DPingReflector.java71 if (packet.protocol != PROTOCOL_ICMP) { in processPacket()
72 Log.i(TAG, "Protocol is " + packet.protocol + " not ICMP. Ignoring."); in processPacket()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothHidDeviceCallbackTest.java41 public void onSetProtocol(BluetoothDevice device, byte protocol) {
42 super.onSetProtocol(device, protocol);
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DApnSettingTest.java101 int protocol = ApnSetting.PROTOCOL_IP; in testBuilderGet() local
125 .setProtocol(protocol) in testBuilderGet()
147 assertEquals(protocol, apnSettingUT.getProtocol()); in testBuilderGet()
174 int protocol = ApnSetting.PROTOCOL_IP; in testBuilderGetWithFlagEnabled() local
199 .setProtocol(protocol) in testBuilderGetWithFlagEnabled()
222 assertEquals(protocol, apnSettingUT.getProtocol()); in testBuilderGetWithFlagEnabled()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0072/
Dpoc.cpp37 p_activate_params.protocol = NFC_PROTOCOL_ISO_DEP; in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2015/
Dpoc.cpp119 p_activate_params.protocol = NFC_PROTOCOL_ISO_DEP; in main()
136 p_data->activate_ntf.p_activate_params->protocol = NFC_PROTOCOL_T2T; in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2022-20147/
Dpoc.cpp48 p_activate_params.protocol = NFC_PROTOCOL_ISO_DEP; in main()
/cts/tests/tests/os/assets/minijail/
Disolated-common-not-i386.policy33 # socket: domain==AF_UNIX && protocol == 0
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2023-21241/
Dpoc.cpp49 p_activate_params.protocol = NFC_PROTOCOL_ISO_DEP; in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2022-20131/
Dpoc.cpp47 p_activate_params.protocol = NFC_PROTOCOL_ISO_DEP; in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0073/
Dpoc.cpp47 p_activate_params.protocol = NFC_PROTOCOL_ISO_DEP; in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2017/
Dpoc.cpp53 p_activate_params.protocol = NFC_PROTOCOL_ISO_DEP; in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2178/
Dpoc.cpp49 p_activate_params.protocol = NFC_PROTOCOL_ISO_DEP; in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9558/
Dpoc.cpp52 p_activate_params.protocol = NFC_PROTOCOL_ISO_DEP; in main()
/cts/tests/tests/os/src/android/os/cts/
DLowPowerStandbyTest.java595 int protocol = PROTOCOL_UDP; in testPortDescriptionGetters() local
599 new LowPowerStandbyPortDescription(protocol, portMatcher, portNumber); in testPortDescriptionGetters()
601 assertThat(portDesc.getProtocol()).isEqualTo(protocol); in testPortDescriptionGetters()
606 protocol = PROTOCOL_TCP; in testPortDescriptionGetters()
611 new LowPowerStandbyPortDescription(protocol, portMatcher, portNumber, localAddress); in testPortDescriptionGetters()
613 assertThat(portDesc.getProtocol()).isEqualTo(protocol); in testPortDescriptionGetters()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2022-20127/
Dpoc.cpp83 p_activate_params.protocol = NFC_PROTOCOL_ISO_DEP; in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0473/
Dpoc.cpp96 p_activate_params.protocol = NFC_PROTOCOL_ISO_DEP; in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2099/
Dpoc.cpp92 p_activate_params->protocol = NFC_PROTOCOL_T2T; in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0430/
Dpoc.cpp84 p_activate_params.protocol = NFC_PROTOCOL_ISO_DEP; in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2031/
Dpoc.cpp127 p_activate_params.protocol = NFC_PROTOCOL_ISO_DEP; in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2012/
Dpoc.cpp134 p_activate_params.protocol = NFC_PROTOCOL_ISO_DEP; in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0925/
Dt4t.cpp59 tNFC_ACTIVATE_DEVT activate_params = {.protocol = NFC_PROTOCOL_ISO_DEP, in Init()
/cts/tests/tests/wifi/src/android/net/wifi/nl80211/cts/
DWifiNl80211ManagerTest.java142 assertThat(securityType.protocol).isEqualTo(ScanResult.PROTOCOL_WPA); in testOemSecurityTypeConstructor()

12