Home
last modified time | relevance | path

Searched refs:helper (Results 1 – 25 of 78) sorted by relevance

1234

/cts/tests/tests/util/src/android/util/cts/
DMonthDisplayHelperTest.java75 MonthDisplayHelper helper = new MonthDisplayHelper(2007, Calendar.AUGUST, Calendar.SUNDAY); in testNextMonth() local
77 assertArrayEquals(new int[] { 29, 30, 31, 1, 2, 3, 4 }, helper.getDigitsForRow(0)); in testNextMonth()
79 helper.nextMonth(); in testNextMonth()
81 assertEquals(Calendar.SEPTEMBER, helper.getMonth()); in testNextMonth()
82 assertArrayEquals(new int[] { 26, 27, 28, 29, 30, 31, 1 }, helper.getDigitsForRow(0)); in testNextMonth()
87 MonthDisplayHelper helper = new MonthDisplayHelper(2007, Calendar.AUGUST, Calendar.SUNDAY); in testGetRowOf() local
89 assertEquals(0, helper.getRowOf(2)); in testGetRowOf()
90 assertEquals(0, helper.getRowOf(4)); in testGetRowOf()
91 assertEquals(2, helper.getRowOf(12)); in testGetRowOf()
92 assertEquals(2, helper.getRowOf(18)); in testGetRowOf()
[all …]
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DInputMethodServiceDeviceTest.java87 final TestHelper helper = new TestHelper(); in testCreateIme1() local
90 helper.launchActivity(EditTextAppConstants.PACKAGE, EditTextAppConstants.CLASS, in testCreateIme1()
93 pollingCheck(() -> helper.queryAllEvents() in testCreateIme1()
94 .collect(startingFrom(helper.isStartOfTest())) in testCreateIme1()
97 pollingCheck(() -> helper.queryAllEvents() in testCreateIme1()
108 final TestHelper helper = new TestHelper(); in testSwitchToNextInputMethod() local
110 helper.launchActivity(EditTextAppConstants.PACKAGE, EditTextAppConstants.CLASS, in testSwitchToNextInputMethod()
112 pollingCheck(() -> helper.queryAllEvents() in testSwitchToNextInputMethod()
116 helper.findUiObject(EditTextAppConstants.EDIT_TEXT_RES_NAME).click(); in testSwitchToNextInputMethod()
118 pollingCheck(() -> helper.shell(ShellCommandUtils.getCurrentIme()) in testSwitchToNextInputMethod()
[all …]
/cts/tests/BlobStore/certs/
DREADME2 development/tools/make_key cts-blob-helper-cert '/CN=cts-blob-helper-cert'
3 development/tools/make_key cts-blob-helper-cert2 '/CN=cts-blob-helper-cert2'
6 openssl x509 -outform der -in cts-blob-helper-cert.x509.pem -out cts-blob-helper-cert.der
7 openssl x509 -outform der -in cts-blob-helper-cert2.x509.pem -out cts-blob-helper-cert2.der
DAndroid.bp6 name: "cts-blob-helper-cert",
7 certificate: "cts-blob-helper-cert",
11 name: "cts-blob-helper-cert2",
12 certificate: "cts-blob-helper-cert2",
/cts/tests/appsearch/certs/
DAndroid.bp6 name: "cts-appsearch-helper-cert-a",
7 certificate: "cts-appsearch-helper-cert-a",
11 name: "cts-appsearch-helper-cert-b",
12 certificate: "cts-appsearch-helper-cert-b",
DREADME5 development/tools/make_key cts-appsearch-helper-cert-a '/CN=cts-appsearch-helper-cert-a'
6 development/tools/make_key cts-appsearch-helper-cert-b '/CN=cts-appsearch-helper-cert-b'
/cts/hostsidetests/appsearch/certs/
DAndroid.bp6 name: "cts-appsearch-hosttest-helper-cert-a",
7 certificate: "cts-appsearch-hosttest-helper-cert-a",
11 name: "cts-appsearch-hosttest-helper-cert-b",
12 certificate: "cts-appsearch-hosttest-helper-cert-b",
DREADME5 development/tools/make_key cts-appsearch-hosttest-helper-cert-a '/CN=cts-appsearch-hosttest-helper-…
6 development/tools/make_key cts-appsearch-hosttest-helper-cert-b '/CN=cts-appsearch-hosttest-helper-…
/cts/tests/MediaProviderTranscode/
DAndroid.bp51 manifest: "helper/HEVCAndroidManifest.xml",
53 resource_dirs: ["helper/res-hevc"],
55 "helper/src/**/*.java",
65 manifest: "helper/SMAndroidManifest.xml",
67 resource_dirs: ["helper/res-slow-motion"],
69 "helper/src/**/*.java",
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DSurfaceViewTests.java274 SurfaceViewHelper helper = new SurfaceViewHelper((canvas, width, height) -> {
280 .addLayout(R.layout.frame_layout, helper, true, helper.getFence())
281 .withScreenshotter(helper)
287 SurfaceViewHelper helper = new SurfaceViewHelper((canvas, width, height) -> {
299 .addLayout(R.layout.frame_layout, helper, true, helper.getFence())
300 .withScreenshotter(helper)
342 SurfaceViewHelper helper = new SurfaceViewHelper((canvas, width, height) -> {
355 .addLayout(R.layout.frame_layout, helper, true, helper.getFence())
363 SurfaceViewHelper helper = new SurfaceViewHelper((canvas, width, height) -> {
375 .addLayout(R.layout.frame_layout, helper, true, helper.getFence())
[all …]
DLayerTests.java405 WebViewReadyHelper helper = new WebViewReadyHelper(webview, hwFence); in testWebViewWithLayer()
406 helper.loadData("<body style=\"background-color:blue\">"); in testWebViewWithLayer()
425 WebViewReadyHelper helper = new WebViewReadyHelper(webview, hwFence); in testWebViewWithOffsetLayer()
426 helper.loadData("<body style=\"background-color:blue\">"); in testWebViewWithOffsetLayer()
458 WebViewReadyHelper helper = new WebViewReadyHelper(webview, hwFence); in testWebViewNoOverlappingRenderingAndAlpha()
459 helper.loadData("<body style=\"background-color:blue\">"); in testWebViewNoOverlappingRenderingAndAlpha()
480 WebViewReadyHelper helper = new WebViewReadyHelper(webview, hwFence); in testWebViewWithParentLayer()
481 helper.loadData("<body style=\"background-color:blue\">"); in testWebViewWithParentLayer()
507 WebViewReadyHelper helper = new WebViewReadyHelper(webview, hwFence); in testWebViewScaledWithParentLayer()
508 helper.loadData("<body style=\"background-color:blue\">"); in testWebViewScaledWithParentLayer()
[all …]
/cts/tests/appsearch/
DAndroid.bp62 "helper-app/src/**/*.java",
69 manifest: "helper-app/AndroidManifest.xml",
71 "--rename-manifest-package com.android.cts.appsearch.helper.a",
73 certificate: ":cts-appsearch-helper-cert-a",
89 "helper-app/src/**/*.java",
96 manifest: "helper-app/AndroidManifest.xml",
98 "--rename-manifest-package com.android.cts.appsearch.helper.b",
100 certificate: ":cts-appsearch-helper-cert-b",
/cts/tests/BlobStore/
DAndroid.bp57 "helper-app/src/**/*.java",
63 manifest: "helper-app/AndroidManifest.xml",
76 "helper-app/src/**/*.java",
82 manifest: "helper-app/AndroidManifest.xml",
86 certificate: ":cts-blob-helper-cert",
99 "helper-app/src/**/*.java",
105 manifest: "helper-app/AndroidManifest.xml",
109 certificate: ":cts-blob-helper-cert2",
/cts/tests/app/src/android/app/backup/cts/
DBackupAgentHelperTest.java27 BackupAgentHelper helper = new BackupAgentHelper(); in testBackupAgentHelper() local
28 helper.addHelper("prefs", new SharedPreferencesBackupHelper(mContext)); in testBackupAgentHelper()
29 helper.addHelper("files", new FileBackupHelper(mContext)); in testBackupAgentHelper()
/cts/tests/app/FgsStartTest/
DAndroid.bp35 "helper/src/**/*.java",
53 "helper/src/**/*.java",
60 manifest: "helper/AndroidManifest.xml",
67 "helper/src/**/*.java",
73 manifest: "helper/AndroidManifest.xml",
/cts/tests/process/src/android/os/cts/process/common/
DConsts.java19 import android.os.cts.process.helper.MyReceiver0;
20 import android.os.cts.process.helper.MyReceiver1;
21 import android.os.cts.process.helper.MyReceiver2;
22 import android.os.cts.process.helper.MyReceiver3;
/cts/hostsidetests/securitybulletin/test-apps/CVE_2023_35667/
DAndroid.bp49 "helper-app1/src/**/*.java",
54 manifest: "helper-app1/AndroidManifest.xml",
63 "helper-app2/src/**/*.java",
68 manifest: "helper-app2/AndroidManifest.xml",
/cts/tests/tests/notificationlegacy/notificationlegacy34/src/android/app/notification/legacy34/cts/
DNotificationManagerApi34Test.kt43 private lateinit var helper: NotificationHelper variable in android.app.notification.legacy34.cts.NotificationManagerApi34Test
50 helper = NotificationHelper(context) in setUp()
76 val sbn: StatusBarNotification = helper.findPostedNotification( in testMediaStyle_noClearFlagNotSet()
93 val sbn: StatusBarNotification = helper.findPostedNotification( in testCustomMediaStyle_noClearFlagNotSet()
/cts/tests/app/BroadcastsTest/
DAndroid.bp56 "helper-app/src/**/*.java",
62 manifest: "helper-app/AndroidManifest.xml",
74 "helper-app/src/**/*.java",
80 manifest: "helper-app/AndroidManifest.xml",
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DASurfaceControlInputReceiverTest.java114 LocalSurfaceControlInputReceiverHelper helper = new LocalSurfaceControlInputReceiverHelper( in testLocalASurfaceControlReceivesInput() local
118 helper.setup(null, new InputReceiver() { in testLocalASurfaceControlReceivesInput()
170 RemoteSurfaceControlInputReceiverHelper helper = in testRemoteASurfaceControlReceivesInput() local
175 helper.setup(null, new IMotionEventReceiver.Stub() { in testRemoteASurfaceControlReceivesInput()
199 LocalSurfaceControlInputReceiverHelper helper = new LocalSurfaceControlInputReceiverHelper( in testTransferGestureFromHostToEmbedded() local
205 helper.setup((v, event) -> { in testTransferGestureFromHostToEmbedded()
208 helper.mEmbeddedTransferToken); in testTransferGestureFromHostToEmbedded()
243 RemoteSurfaceControlInputReceiverHelper helper = in testTransferGestureFromHostToEmbeddedRemote() local
250 helper.setup((v, event) -> { in testTransferGestureFromHostToEmbeddedRemote()
254 helper.mEmbeddedTransferToken); in testTransferGestureFromHostToEmbeddedRemote()
[all …]
DSurfaceControlInputReceiverTests.java299 LocalSurfaceControlInputReceiverHelper helper = new LocalSurfaceControlInputReceiverHelper( in testTransferGestureFromHostToEmbedded() local
305 helper.setup(false, (v, event) -> { in testTransferGestureFromHostToEmbedded()
308 helper.mEmbeddedTransferToken); in testTransferGestureFromHostToEmbedded()
321 IBinder clientToken = mWm.getSurfaceControlInputClientToken(helper.mEmbeddedSc); in testTransferGestureFromHostToEmbedded()
333 helper.tearDown(); in testTransferGestureFromHostToEmbedded()
353 RemoteSurfaceControlInputReceiverHelper helper = in testTransferGestureFromHostToEmbeddedRemote() local
359 helper.setup(false /* zOrderOnTop */, false /* transferTouchToHost */, (v, event) -> { in testTransferGestureFromHostToEmbeddedRemote()
362 helper.mEmbeddedTransferToken); in testTransferGestureFromHostToEmbeddedRemote()
383 helper.mEmbeddedName, bounds)) { in testTransferGestureFromHostToEmbeddedRemote()
399 helper.tearDown(); in testTransferGestureFromHostToEmbeddedRemote()
[all …]
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21254/
DAndroid.bp23 name: "CVE-2023-21254-helper",
28 "helper-app/src/**/*.java",
33 manifest: "helper-app/AndroidManifest.xml",
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21272/
DAndroid.bp40 name: "CVE-2023-21272-helper",
45 "helper-app/src/**/*.java",
47 manifest: "helper-app/AndroidManifest.xml",
/cts/hostsidetests/securitybulletin/test-apps/BUG-321707289/
DAndroid.bp22 name: "BUG-321707289-helper",
26 manifest: "helper-app/AndroidManifest.xml",
28 "helper-app/src/**/*.java",
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21249/
DAndroid.bp22 name: "CVE-2023-21249-helper",
27 "helper-app/src/**/*.java",
32 manifest: "helper-app/AndroidManifest.xml",

1234