/cts/tests/tests/util/src/android/util/cts/ |
D | MonthDisplayHelperTest.java | 75 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/ |
D | InputMethodServiceDeviceTest.java | 87 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/ |
D | README | 2 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
|
D | Android.bp | 6 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/ |
D | Android.bp | 6 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",
|
D | README | 5 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/ |
D | Android.bp | 6 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",
|
D | README | 5 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/ |
D | Android.bp | 51 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/ |
D | SurfaceViewTests.java | 274 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 …]
|
D | LayerTests.java | 405 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/ |
D | Android.bp | 62 "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/ |
D | Android.bp | 57 "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/ |
D | BackupAgentHelperTest.java | 27 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/ |
D | Android.bp | 35 "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/ |
D | Consts.java | 19 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/ |
D | Android.bp | 49 "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/ |
D | NotificationManagerApi34Test.kt | 43 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/ |
D | Android.bp | 56 "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/ |
D | ASurfaceControlInputReceiverTest.java | 114 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 …]
|
D | SurfaceControlInputReceiverTests.java | 299 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/ |
D | Android.bp | 23 name: "CVE-2023-21254-helper", 28 "helper-app/src/**/*.java", 33 manifest: "helper-app/AndroidManifest.xml",
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21272/ |
D | Android.bp | 40 name: "CVE-2023-21272-helper", 45 "helper-app/src/**/*.java", 47 manifest: "helper-app/AndroidManifest.xml",
|
/cts/hostsidetests/securitybulletin/test-apps/BUG-321707289/ |
D | Android.bp | 22 name: "BUG-321707289-helper", 26 manifest: "helper-app/AndroidManifest.xml", 28 "helper-app/src/**/*.java",
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21249/ |
D | Android.bp | 22 name: "CVE-2023-21249-helper", 27 "helper-app/src/**/*.java", 32 manifest: "helper-app/AndroidManifest.xml",
|