Home
last modified time | relevance | path

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

12345

/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.java106 AppWidgetHost host = new AppWidgetHost(getInstrumentation().getTargetContext(), 0); in testInstantAppsCannotHostAppWidgets() local
108 assertSame(AppWidgetManager.INVALID_APPWIDGET_ID, host.allocateAppWidgetId()); in testInstantAppsCannotHostAppWidgets()
158 AppWidgetHost host = new AppWidgetHost(getInstrumentation().getTargetContext(), 0); in testBindAppWidget() local
159 host.deleteHost(); in testBindAppWidget()
160 host.startListening(); in testBindAppWidget()
163 final int appWidgetId = host.allocateAppWidgetId(); in testBindAppWidget()
184 host.deleteAppWidgetId(appWidgetId); in testBindAppWidget()
187 host.deleteAppWidgetId(appWidgetId); in testBindAppWidget()
188 host.deleteHost(); in testBindAppWidget()
240 AppWidgetHost host = new AppWidgetHost(getInstrumentation().getTargetContext(), 0); in testAppWidgetProviderCallbacks() local
[all …]
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/
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()
DAccessibilityEndToEndActivity.java127 public void onInitializeAccessibilityEvent(View host, AccessibilityEvent event) { in onInitializeAccessibilityEvent() argument
128 super.onInitializeAccessibilityEvent(host, event); in onInitializeAccessibilityEvent()
133 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfo() argument
134 super.onInitializeAccessibilityNodeInfo(host, info); in onInitializeAccessibilityNodeInfo()
/cts/hostsidetests/incident/apps/boundwidgetapp/src/android/appwidget/cts/
DAppWidgetTest.java81 AppWidgetHost host = new AppWidgetHost(mContext, HOST_ID); in testCleanup() local
82 host.deleteHost(); in testCleanup()
90 AppWidgetHost host = new AppWidgetHost(mContext, HOST_ID); in setupWidget() local
91 host.deleteHost(); in setupWidget()
92 host.startListening(); in setupWidget()
100 int appWidgetId = host.allocateAppWidgetId(); in setupWidget()
/cts/
Drun_unit_tests.sh70 ${CTS_DIR}/../test/suite_harness/common/host-side/tradefed/tests/run_tests.sh
71 ${CTS_DIR}/../test/suite_harness/common/host-side/manifest-generator/tests/run_tests.sh
72 ${CTS_DIR}/../test/suite_harness/common/host-side/util/tests/run_tests.sh
/cts/hostsidetests/statsd/
DAndroid.bp30 "compatibility-host-util",
31 "host-libprotobuf-java-full",
33 "truth-host-prebuilt",
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java976 String host = "http://localhost:8080"; in testAccessHttpAuthUsernamePassword() local
981 String[] result = mWebView.getHttpAuthUsernamePassword(host, realm); in testAccessHttpAuthUsernamePassword()
984 mWebView.setHttpAuthUsernamePassword(host, realm, userName, password); in testAccessHttpAuthUsernamePassword()
985 result = mWebView.getHttpAuthUsernamePassword(host, realm); in testAccessHttpAuthUsernamePassword()
991 mWebView.setHttpAuthUsernamePassword(host, realm, userName, newPassword); in testAccessHttpAuthUsernamePassword()
992 result = mWebView.getHttpAuthUsernamePassword(host, realm); in testAccessHttpAuthUsernamePassword()
998 mWebView.setHttpAuthUsernamePassword(host, realm, newUserName, newPassword); in testAccessHttpAuthUsernamePassword()
999 result = mWebView.getHttpAuthUsernamePassword(host, realm); in testAccessHttpAuthUsernamePassword()
1005 mWebView.setHttpAuthUsernamePassword(host, realm, null, password); in testAccessHttpAuthUsernamePassword()
1006 result = mWebView.getHttpAuthUsernamePassword(host, realm); in testAccessHttpAuthUsernamePassword()
[all …]
/cts/tests/tests/provider/preconditions/
DAndroid.bp2 name: "compatibility-host-provider-preconditions",
5 "compatibility-host-util",
/cts/tools/vm-tests-tf/targetprep/
DAndroid.mk21 LOCAL_JAVA_LIBRARIES := compatibility-host-util cts-tradefed tradefed
25 LOCAL_MODULE := compatibility-host-vm-targetprep
/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/hostsidetests/theme/
DAndroid.mk35 LOCAL_JAVA_LIBRARIES := cts-tradefed tradefed compatibility-host-util
37 LOCAL_CTS_TEST_PACKAGE := android.host.theme
/cts/tests/signature/
DTEST_MAPPING49 "name": "signature-host-tests",
50 "host" : true
/cts/hostsidetests/jvmti/attaching/
DAndroid.bp76 srcs: ["host/**/*.java"],
80 "compatibility-host-util",
87 test_config: "host/AndroidTest.xml",
/cts/hostsidetests/securitybulletin/securityPatch/pac/
Dpac.cpp25 const char16_t* host = u""; variable
53 ProxyResolverV8Handle_GetProxyForURL(handle, spec, host); in main()
/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/appcompat/host/lib/
DAndroid.bp21 "compatibility-host-util",
22 "host-libprotobuf-java-full",
/cts/tools/vm-tests-tf/
DAndroid.bp45 out: ["vmtests.host.generated.srcjar"],
49 name: "host-cts-vmtests",
95 "host-cts-vmtests",
/cts/hostsidetests/gputools/
DAndroid.bp23 "compatibility-host-util",
25 static_libs: ["platform-test-annotations-host"],
/cts/hostsidetests/inputmethodservice/hostside/
DAndroid.bp26 "compatibility-host-util",
30 static_libs: ["cts-inputmethodservice-common-host"],
/cts/tests/tests/telephony/current/preconditions/
DAndroid.bp16 name: "compatibility-host-telephony-preconditions",
21 "compatibility-host-util",
/cts/hostsidetests/inputmethodservice/common/
DAndroid.bp29 // Build the common library for use host-side
31 name: "cts-inputmethodservice-common-host",
/cts/hostsidetests/security/
DAndroid.mk31 LOCAL_JAVA_LIBRARIES := cts-tradefed tradefed compatibility-host-util
33 LOCAL_CTS_TEST_PACKAGE := android.host.security
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java183 public static void checkPing(String host) throws ErrnoException, IOException { in checkPing() argument
193 Os.connect(socket, InetAddress.getByName(host), port); in checkPing()
231 public static void tryPosixConnect(String host) throws ErrnoException, IOException { in tryPosixConnect() argument
236 Os.connect(socket, InetAddress.getByName(host), port); in tryPosixConnect()

12345