/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/ |
D | TestUtils.java | 48 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/ |
D | dng-validate-jni.cpp | 91 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/ |
D | AppWidgetTest.java | 159 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/ |
D | AccessibilityWindowQueryActivity.java | 50 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/ |
D | Android.mk | 23 LOCAL_JAVA_LIBRARIES := compatibility-host-util cts-tradefed tradefed-prebuilt compatibility-host-m… 27 LOCAL_MODULE := compatibility-host-media-preconditions-tests
|
/cts/ |
D | run_unit_tests.sh | 71 ${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/ |
D | Android.mk | 21 LOCAL_JAVA_LIBRARIES := compatibility-host-util junit json-prebuilt 23 LOCAL_MODULE := compatibility-host-util-tests
|
/cts/tests/jdwp/runner/host-side/ |
D | Android.mk | 21 LOCAL_MODULE := cts-dalvik-host-test-runner 23 LOCAL_JAVA_LIBRARIES := cts-tradefed tradefed-prebuilt compatibility-host-util
|
/cts/tools/vm-tests-tf/targetprep/ |
D | Android.mk | 21 LOCAL_JAVA_LIBRARIES := compatibility-host-util cts-tradefed tradefed-prebuilt 25 LOCAL_MODULE := compatibility-host-vm-targetprep
|
/cts/tests/tests/mediastress/preconditions/ |
D | Android.mk | 21 LOCAL_JAVA_LIBRARIES := compatibility-host-util cts-tradefed tradefed-prebuilt 25 LOCAL_MODULE := compatibility-host-media-preconditions
|
/cts/tests/signature/tests/ |
D | run_unit_tests.sh | 38 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/ |
D | run_unit_func_tests.sh | 39 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…
|
D | run_unit_tests.sh | 39 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/ |
D | Android.mk | 19 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/ |
D | Android.mk | 28 LOCAL_CTS_TEST_PACKAGE := android.host.abioverride 32 LOCAL_JAVA_LIBRARIES := compatibility-host-util cts-tradefed tradefed-prebuilt
|
/cts/hostsidetests/os/ |
D | Android.mk | 26 LOCAL_JAVA_LIBRARIES := cts-tradefed tradefed-prebuilt compatibility-host-util cts-migration-lib 28 LOCAL_CTS_TEST_PACKAGE := android.host.os
|
/cts/hostsidetests/theme/ |
D | Android.mk | 28 LOCAL_JAVA_LIBRARIES := cts-tradefed tradefed-prebuilt compatibility-host-util 32 LOCAL_CTS_TEST_PACKAGE := android.host.theme
|
/cts/hostsidetests/systemui/ |
D | Android.mk | 25 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/ |
D | SSLCertificateSocketFactoryTest.java | 56 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/ |
D | RemoteSocketFactoryService.java | 38 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/ |
D | VpnTest.java | 476 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()
|
D | RemoteSocketFactoryClient.java | 80 String host, int port, int timeoutMs) throws RemoteException { in openSocketFd() argument 81 return mService.openSocketFd(host, port, timeoutMs).getFileDescriptor(); in openSocketFd()
|
/cts/hostsidetests/security/ |
D | Android.mk | 31 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/ |
D | IRemoteSocketFactory.aidl | 22 ParcelFileDescriptor openSocketFd(String host, int port, int timeoutMs); in openSocketFd() argument
|
/cts/tools/utils/ |
D | Android.mk | 28 LOCAL_STATIC_JAVA_LIBRARIES := compatibility-host-util vogarexpectlib
|