Home
last modified time | relevance | path

Searched defs:host (Results 1 – 18 of 18) 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/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java106 AppWidgetHost host = new AppWidgetHost(getInstrumentation().getTargetContext(), 0); in testInstantAppsCannotHostAppWidgets() local
158 AppWidgetHost host = new AppWidgetHost(getInstrumentation().getTargetContext(), 0); in testBindAppWidget() local
240 AppWidgetHost host = new AppWidgetHost(getInstrumentation().getTargetContext(), 0); in testAppWidgetProviderCallbacks() local
352 AppWidgetHost host = new AppWidgetHost(getInstrumentation().getTargetContext(), 0); in testTwoAppWidgetProviderCallbacks() local
432 AppWidgetHost host = new AppWidgetHost( in testGetAppWidgetIdsForProvider() local
481 AppWidgetHost host = new AppWidgetHost( in testGetAppWidgetInfo() local
535 AppWidgetHost host = new AppWidgetHost( in testGetAppWidgetOptions() local
582 AppWidgetHost host = new AppWidgetHost( in testDeleteHost() local
685 AppWidgetHost host = new AppWidgetHost( in testOnProvidersChanged() local
749 AppWidgetHost host = new AppWidgetHost( in testUpdateAppWidgetViaComponentName() local
[all …]
/cts/hostsidetests/net/aidl/com/android/cts/net/hostside/
DIRemoteSocketFactory.aidl22 ParcelFileDescriptor openSocketFd(String host, int port, int timeoutMs); in openSocketFd()
/cts/hostsidetests/securitybulletin/securityPatch/pac/
Dpac.cpp25 const char16_t* host = u""; variable
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/
DAccessibilityEndToEndActivity.java127 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event) { in onInitializeAccessibilityEvent()
133 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfo()
/cts/hostsidetests/incident/apps/boundwidgetapp/src/android/appwidget/cts/
DAppWidgetTest.java81 AppWidgetHost host = new AppWidgetHost(mContext, HOST_ID); in testCleanup() local
90 AppWidgetHost host = new AppWidgetHost(mContext, HOST_ID); in setupWidget() local
/cts/tests/tests/webkit/src/android/webkit/cts/
DHttpAuthHandlerTest.java85 HttpAuthHandler handler, String host, String realm) { in onReceivedHttpAuthRequest()
107 HttpAuthHandler handler, String host, String realm) { in onReceivedHttpAuthRequest()
DWebViewTest.java976 String host = "http://localhost:8080"; in testAccessHttpAuthUsernamePassword() local
1042 String host = "http://localhost:8080"; in testWebViewDatabaseAccessHttpAuthUsernamePassword() local
DWebViewClientTest.java961 HttpAuthHandler handler, String host, String realm) { in onReceivedHttpAuthRequest()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DRemoteSocketFactoryClient.java83 public FileDescriptor openSocketFd(String host, int port, int timeoutMs) in openSocketFd()
DVpnTest.java529 private FileDescriptor openSocketFd(String host, int port, int timeoutMs) throws Exception { in openSocketFd()
540 String host, int port, int timeoutMs) throws Exception { in openSocketFdInOtherApp()
547 private void sendRequest(FileDescriptor fd, String host) throws Exception { in sendRequest()
564 private void assertSocketStillOpen(FileDescriptor fd, String host) throws Exception { in assertSocketStillOpen()
574 private void assertSocketClosed(FileDescriptor fd, String host) throws Exception { in assertSocketClosed()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java183 public static void checkPing(String host) throws ErrnoException, IOException { in checkPing()
231 public static void tryPosixConnect(String host) throws ErrnoException, IOException { in tryPosixConnect()
/cts/tests/tests/networksecurityconfig/networksecurityconfig-downloadmanager/src/android/security/net/config/cts/
DDownloadManagerTest.java102 String host = (https ? "https" : "http") + "://localhost"; in runDownloadManagerTest() local
/cts/tests/camera/libctscamera2jni/
Ddng-validate-jni.cpp91 dng_host host; in dng_validate() local
/cts/tests/tests/net/util/java/android/net/cts/util/
DCtsNetUtils.java390 private Socket getBoundSocket(Network network, String host, int port) throws IOException { in getBoundSocket()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndTest.java592 final AppWidgetHost host = new AppWidgetHost(sInstrumentation.getTargetContext(), 0); in testPackageNameCannotBeFakedAppWidget() local
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java900 private Socket getConnectedSocket(final Network network, final String host, final int port, in getConnectedSocket()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java1769 InetAddress host = InetAddress.getLocalHost(); in assertSSLConnectionWithClientAuth() local