Home
last modified time | relevance | path

Searched defs:port (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/
DTestUtils.java48 public static void assertTlsConnectionSucceeds(String host, int port) throws Exception { in assertTlsConnectionSucceeds()
54 public static void assertTlsConnectionFails(String host, int port) throws Exception { in assertTlsConnectionFails()
60 public static void assertCleartextConnectionSucceeds(String host, int port) throws Exception { in assertCleartextConnectionSucceeds()
65 public static void assertCleartextConnectionFails(String host, int port) throws Exception { in assertCleartextConnectionFails()
91 private static void assertSslSocketFails(String host, int port) in assertSslSocketFails()
101 private static void assertSslSocketSucceeds(String host, int port) in assertSslSocketSucceeds()
107 private static void assertUrlConnectionFails(String host, int port, boolean https) in assertUrlConnectionFails()
118 private static void assertUrlConnectionSucceeds(String host, int port, boolean https) in assertUrlConnectionSucceeds()
125 private static void assertHttpClientSucceeds(String host, int port, boolean https) in assertHttpClientSucceeds()
136 private static void assertHttpClientFails(String host, int port, boolean https) in assertHttpClientFails()
/cts/hostsidetests/jdwptunnel/src/android/jdwptunnel/cts/
DJdwpTunnelTest.java91 private VirtualMachine getDebuggerConnection(String port) throws Exception { in getDebuggerConnection()
116 final String port = "15002"; in forwardJdwp() local
143 String port = forwardJdwp(pid); in startupForwarding() local
280 String port = in testDdmsWaitsForHandshake() local
/cts/apps/CameraITS/utils/
Dsensor_fusion_utils.py132 def arduino_read_cmd(port): argument
140 def arduino_send_cmd(port, cmd): argument
146 def arduino_loopback_cmd(port, cmd): argument
153 def establish_serial_comm(port): argument
/cts/hostsidetests/appsecurity/test-apps/ListeningPortsApp/src/android/appsecurity/cts/listeningports/
DListeningPortsTest.java148 private boolean isTcpConnectable(InetAddress address, int port) { in isTcpConnectable()
203 private final int port; field in ListeningPortsTest.ParsedProcEntry
207 private ParsedProcEntry(InetAddress addr, int port, String state, int uid) { in ParsedProcEntry()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/targetprep/
DCecPortDiscoverer.java200 private String getPortFilename(String port) { in getPortFilename()
205 private void writeMapping(String port, String serialNo) throws TargetSetupError { in writeMapping()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java192 int port = new InetSocketAddress(0).getPort(); in checkPing() local
235 int port = new InetSocketAddress(0).getPort(); in tryPosixConnect() local
/cts/suite/audio_quality/lib/src/
DClientSocket.cpp40 bool ClientSocket::init(const char* hostIp, int port, bool enableTimeout) in init()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/proxy/
DPassthroughTestHelper.java72 private Socket createHttpConnectConnection(int port) throws Exception { in createHttpConnectConnection()
/cts/hostsidetests/appsecurity/test-apps/AppAccessData/src/com/android/cts/appaccessdata/
DAccessPrivateDataTest.java181 final int port = mContext.getContentResolver().call(PRIVATE_TARGET, "start", null, null) in testTrafficStatsStatsUidSelf() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/
DDataPathInBandTestCase.java304 int port = 0; in executeTestPublisher() local
/cts/suite/audio_quality/lib/src/audio/
DRemoteAudio.cpp59 bool RemoteAudio::init(int port) in init()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DNetworkLoggingTest.java398 private int makeFakeRequests(int port) { in makeFakeRequests()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DHdmiCecClientWrapper.java87 String port = line.split(":")[1].trim(); in getValidCecClientPorts() local
103 String port = reader.readLine(); in initValidCecClient() local
/cts/suite/audio_quality/test/
DRemoteAudioFakeTcpTest.cpp56 virtual bool init(const char* hostIp, int port, bool enableTimeout = false) { in init()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSmsManagerTest.java667 short port = 19989; in sendDataMessageIfSupported() local
843 …protected void sendDataMessage(String destAddr,short port, byte[] data, PendingIntent sentIntent, … in sendDataMessage()
DVisualVoicemailServiceTest.java561 private VisualVoicemailSms getSmsFromData(VisualVoicemailSmsFilterSettings settings, short port, in getSmsFromData()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java1771 int port = serverSocket.getLocalPort(); in assertSSLConnectionWithClientAuth() local