Home
last modified time | relevance | path

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

123456789

/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.java109 AppWidgetHost host = new AppWidgetHost(getInstrumentation().getTargetContext(), 0); in testInstantAppsCannotHostAppWidgets() local
111 assertSame(AppWidgetManager.INVALID_APPWIDGET_ID, host.allocateAppWidgetId()); in testInstantAppsCannotHostAppWidgets()
161 AppWidgetHost host = new AppWidgetHost(getInstrumentation().getTargetContext(), 0); in testBindAppWidget() local
162 host.deleteHost(); in testBindAppWidget()
163 host.startListening(); in testBindAppWidget()
166 final int appWidgetId = host.allocateAppWidgetId(); in testBindAppWidget()
187 host.deleteAppWidgetId(appWidgetId); in testBindAppWidget()
190 host.deleteAppWidgetId(appWidgetId); in testBindAppWidget()
191 host.deleteHost(); in testBindAppWidget()
243 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()
DAccessibilityDragAndDropActivity.java36 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { in onCreate()
38 super.onInitializeAccessibilityNodeInfo(host, info); in onCreate()
42 public boolean performAccessibilityAction(View host, int action, Bundle args) { in onCreate()
43 boolean result = super.performAccessibilityAction(host, action, args); in onCreate()
47 return host.startDragAndDrop(clipData, shadowBuilder, null, in onCreate()
/cts/hostsidetests/statsdatom/
DAndroid.bp58 "compatibility-host-util",
61 "host-libprotobuf-java-full",
68 "cts-statsd-atom-host-test-utils",
79 name: "cts-statsd-atom-host-test-utils",
82 "compatibility-host-util",
84 "host-libprotobuf-java-full",
/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/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/hostsidetests/scopedstorage/
DAndroid.bp185 "host/src/android/scopedstorage/cts/host/ScopedStorageCoreHostTest.java",
186 "host/src/android/scopedstorage/cts/host/BaseHostTestCase.java"
195 srcs: ["host/src/**/*.java"],
207 srcs: ["host/src/**/*.java"],
216 "host/src/android/scopedstorage/cts/host/AppCloningHostTest.java",
217 "host/src/android/scopedstorage/cts/host/BaseHostTestCase.java"
/cts/tests/tests/provider/preconditions/
DAndroid.bp6 name: "compatibility-host-provider-preconditions",
9 "compatibility-host-util",
/cts/hostsidetests/appcompat/host/lib/
DAndroid.bp25 "compatibility-host-util",
26 "host-libprotobuf-java-full",
30 "cts-statsd-atom-host-test-utils",
/cts/hostsidetests/adb/
DAndroid.mk5 LOCAL_CTS_TEST_PACKAGE := android.host.adb
11 LOCAL_JAVA_LIBRARIES := cts-tradefed tradefed compatibility-host-util
/cts/hostsidetests/packagemanager/installedloadingprogess/
DAndroid.bp26 "compatibility-host-util",
27 "cts-host-utils",
29 static_libs: ["cts-install-lib-host"],
/cts/hostsidetests/mediaparser/
DAndroid.bp35 "compatibility-host-util",
38 "cts-host-utils",
39 "cts-statsd-atom-host-test-utils",
/cts/hostsidetests/time/
DAndroid.bp21 srcs: ["host/src/**/*.java"],
24 "cts-statsd-atom-host-test-utils",
28 test_config: "host/AndroidTest.xml",
/cts/hostsidetests/theme/
DAndroid.mk37 LOCAL_JAVA_LIBRARIES := cts-tradefed tradefed compatibility-host-util
39 LOCAL_CTS_TEST_PACKAGE := android.host.theme
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/
DVp9Yuv420BitstreamsTest.java18 import android.cts.host.utils.DeviceJUnit4ClassRunnerWithParameters;
19 import android.cts.host.utils.DeviceJUnit4Parameterized;
DVp8BitstreamsTest.java18 import android.cts.host.utils.DeviceJUnit4ClassRunnerWithParameters;
19 import android.cts.host.utils.DeviceJUnit4Parameterized;
DH264Yuv420_8bitMpBitstreamsTest.java18 import android.cts.host.utils.DeviceJUnit4ClassRunnerWithParameters;
19 import android.cts.host.utils.DeviceJUnit4Parameterized;
DH264Yuv420_8bitHpBitstreamsTest.java18 import android.cts.host.utils.DeviceJUnit4ClassRunnerWithParameters;
19 import android.cts.host.utils.DeviceJUnit4Parameterized;
DH264Yuv420_8bitBpBitstreamsTest.java18 import android.cts.host.utils.DeviceJUnit4ClassRunnerWithParameters;
19 import android.cts.host.utils.DeviceJUnit4Parameterized;
DHevcYuv420BitstreamsTest.java18 import android.cts.host.utils.DeviceJUnit4ClassRunnerWithParameters;
19 import android.cts.host.utils.DeviceJUnit4Parameterized;
DHevcYuv444BitstreamsFullTest.java18 import android.cts.host.utils.DeviceJUnit4ClassRunnerWithParameters;
19 import android.cts.host.utils.DeviceJUnit4Parameterized;
/cts/hostsidetests/packagemanager/stats/
DAndroid.bp31 "compatibility-host-util",
32 "cts-host-utils",
35 "cts-statsd-atom-host-test-utils",
/cts/hostsidetests/media/
DAndroid.bp37 "compatibility-host-util",
41 "cts-host-utils",
42 "cts-statsd-atom-host-test-utils",

123456789