Home
last modified time | relevance | path

Searched refs:host (Results 1 – 25 of 70) sorted by relevance

123

/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/
DTestUtils.java48 public static void assertTlsConnectionSucceeds(String host, int port) throws Exception { in assertTlsConnectionSucceeds() argument
49 assertSslSocketSucceeds(host, port); in assertTlsConnectionSucceeds()
50 assertHttpClientSucceeds(host, port, true /* https */); in assertTlsConnectionSucceeds()
51 assertUrlConnectionSucceeds(host, port, true /* https */); in assertTlsConnectionSucceeds()
54 public static void assertTlsConnectionFails(String host, int port) throws Exception { in assertTlsConnectionFails() argument
55 assertSslSocketFails(host, port); in assertTlsConnectionFails()
56 assertHttpClientFails(host, port, true /* https */); in assertTlsConnectionFails()
57 assertUrlConnectionFails(host, port, true /* https */); in assertTlsConnectionFails()
60 public static void assertCleartextConnectionSucceeds(String host, int port) throws Exception { in assertCleartextConnectionSucceeds() argument
61 assertHttpClientSucceeds(host, port, false /* http */); in assertCleartextConnectionSucceeds()
[all …]
/cts/tests/camera/libctscamera2jni/
Ddng-validate-jni.cpp91 dng_host host; in dng_validate() local
93 host.SetPreferredSize(gPreferredSize); in dng_validate()
94 host.SetMinimumSize(gMinimumSize); in dng_validate()
95 host.SetMaximumSize(gMaximumSize); in dng_validate()
97 host.ValidateSizes(); in dng_validate()
99 if (host.MinimumSize()) { in dng_validate()
100 host.SetForPreview(true); in dng_validate()
105 host.SetSaveDNGVersion(dngVersion_SaveDefault); in dng_validate()
106 host.SetSaveLinearDNG(false); in dng_validate()
107 host.SetKeepOriginalFile(false); in dng_validate()
[all …]
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java159 AppWidgetHost host = new AppWidgetHost(getInstrumentation().getTargetContext(), 0); in testBindAppWidget() local
160 host.deleteHost(); in testBindAppWidget()
161 host.startListening(); in testBindAppWidget()
164 final int appWidgetId = host.allocateAppWidgetId(); in testBindAppWidget()
185 host.deleteAppWidgetId(appWidgetId); in testBindAppWidget()
188 host.deleteAppWidgetId(appWidgetId); in testBindAppWidget()
189 host.deleteHost(); in testBindAppWidget()
212 AppWidgetHost host = spy(new AppWidgetHost(getInstrumentation().getTargetContext(), 0)); in testAppWidgetProviderCallbacks() local
213 host.deleteHost(); in testAppWidgetProviderCallbacks()
214 host.startListening(); in testAppWidgetProviderCallbacks()
[all …]
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowQueryActivity.java50 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { in onCreate()
51 super.onInitializeAccessibilityNodeInfo(host, info); in onCreate()
56 public boolean performAccessibilityAction(View host, int action, Bundle args) { in onCreate()
60 return super.performAccessibilityAction(host, action, args); in onCreate()
/cts/tests/tests/mediastress/preconditions/tests/
DAndroid.mk23 LOCAL_JAVA_LIBRARIES := compatibility-host-util cts-tradefed tradefed-prebuilt compatibility-host-m…
27 LOCAL_MODULE := compatibility-host-media-preconditions-tests
/cts/
Drun_unit_tests.sh71 ${CTS_DIR}/common/host-side/tradefed/tests/run_tests.sh
72 ${CTS_DIR}/common/host-side/manifest-generator/tests/run_tests.sh
73 ${CTS_DIR}/common/host-side/util/tests/run_tests.sh
/cts/common/host-side/util/tests/
DAndroid.mk21 LOCAL_JAVA_LIBRARIES := compatibility-host-util junit json-prebuilt
23 LOCAL_MODULE := compatibility-host-util-tests
/cts/tests/jdwp/runner/host-side/
DAndroid.mk21 LOCAL_MODULE := cts-dalvik-host-test-runner
23 LOCAL_JAVA_LIBRARIES := cts-tradefed tradefed-prebuilt compatibility-host-util
/cts/tools/vm-tests-tf/targetprep/
DAndroid.mk21 LOCAL_JAVA_LIBRARIES := compatibility-host-util cts-tradefed tradefed-prebuilt
25 LOCAL_MODULE := compatibility-host-vm-targetprep
/cts/tests/tests/mediastress/preconditions/
DAndroid.mk21 LOCAL_JAVA_LIBRARIES := compatibility-host-util cts-tradefed tradefed-prebuilt
25 LOCAL_MODULE := compatibility-host-media-preconditions
/cts/tests/signature/tests/
Drun_unit_tests.sh38 JAR_DIR=${ANDROID_BUILD_TOP}/out/host/$OS/framework
47 …-cp ${JAR_PATH} com.android.tradefed.command.Console run singleCommand host -n --class android.sig…
/cts/tools/tradefed-host/tests/
Drun_unit_func_tests.sh39 JAR_DIR=${ANDROID_BUILD_TOP}/out/host/$OS/framework
48 …-cp ${JAR_PATH} com.android.tradefed.command.Console run singleCommand host --class com.android.ct…
Drun_unit_tests.sh39 JAR_DIR=${ANDROID_BUILD_TOP}/out/host/$OS/framework
48 …-cp ${JAR_PATH} com.android.tradefed.command.Console run singleCommand host -n --class com.android…
/cts/tools/cts-tradefed/
DAndroid.mk19 LOCAL_SRC_FILES := $(call all-java-files-under, ../../common/host-side/tradefed/src)
22 LOCAL_JAVA_RESOURCE_DIRS += ../../common/host-side/tradefed/res
/cts/hostsidetests/abioverride/
DAndroid.mk28 LOCAL_CTS_TEST_PACKAGE := android.host.abioverride
32 LOCAL_JAVA_LIBRARIES := compatibility-host-util cts-tradefed tradefed-prebuilt
/cts/hostsidetests/os/
DAndroid.mk26 LOCAL_JAVA_LIBRARIES := cts-tradefed tradefed-prebuilt compatibility-host-util cts-migration-lib
28 LOCAL_CTS_TEST_PACKAGE := android.host.os
/cts/hostsidetests/theme/
DAndroid.mk28 LOCAL_JAVA_LIBRARIES := cts-tradefed tradefed-prebuilt compatibility-host-util
32 LOCAL_CTS_TEST_PACKAGE := android.host.theme
/cts/hostsidetests/systemui/
DAndroid.mk25 LOCAL_JAVA_LIBRARIES := cts-tradefed tradefed-prebuilt compatibility-host-util
29 LOCAL_CTS_TEST_PACKAGE := android.host.systemui
/cts/tests/tests/net/src/android/net/cts/
DSSLCertificateSocketFactoryTest.java56 String host = "www.google.com"; in testCreateSocket() local
77 mFactory.createSocket(socket, host, port, true); in testCreateSocket()
83 socket = mFactory.createSocket(host, port); in testCreateSocket()
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DRemoteSocketFactoryService.java38 public ParcelFileDescriptor openSocketFd(String host, int port, int timeoutMs) {
40 Socket s = new Socket(host, port);
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DVpnTest.java476 private FileDescriptor openSocketFd(String host, int port, int timeoutMs) throws Exception { in openSocketFd() argument
477 Socket s = new Socket(host, port); in openSocketFd()
483 String host, int port, int timeoutMs) throws Exception { in openSocketFdInOtherApp() argument
486 FileDescriptor fd = mRemoteSocketFactoryClient.openSocketFd(host, port, TIMEOUT_MS); in openSocketFdInOtherApp()
490 private void sendRequest(FileDescriptor fd, String host) throws Exception { in sendRequest() argument
492 "Host: " + host + "\r\n" + in sendRequest()
507 private void assertSocketStillOpen(FileDescriptor fd, String host) throws Exception { in assertSocketStillOpen() argument
509 sendRequest(fd, host); in assertSocketStillOpen()
515 private void assertSocketClosed(FileDescriptor fd, String host) throws Exception { in assertSocketClosed() argument
517 sendRequest(fd, host); in assertSocketClosed()
DRemoteSocketFactoryClient.java80 String host, int port, int timeoutMs) throws RemoteException { in openSocketFd() argument
81 return mService.openSocketFd(host, port, timeoutMs).getFileDescriptor(); in openSocketFd()
/cts/hostsidetests/security/
DAndroid.mk31 LOCAL_JAVA_LIBRARIES := cts-tradefed tradefed-prebuilt compatibility-host-util
35 LOCAL_CTS_TEST_PACKAGE := android.host.security
/cts/hostsidetests/net/aidl/com/android/cts/net/hostside/
DIRemoteSocketFactory.aidl22 ParcelFileDescriptor openSocketFd(String host, int port, int timeoutMs); in openSocketFd() argument
/cts/tools/utils/
DAndroid.mk28 LOCAL_STATIC_JAVA_LIBRARIES := compatibility-host-util vogarexpectlib

123