Home
last modified time | relevance | path

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

/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.java70 final TestHelper helper = new TestHelper(); in testCreateIme1() local
73 helper.launchActivity(EditTextAppConstants.PACKAGE, EditTextAppConstants.CLASS, in testCreateIme1()
76 pollingCheck(() -> helper.queryAllEvents() in testCreateIme1()
77 .collect(startingFrom(helper.isStartOfTest())) in testCreateIme1()
80 pollingCheck(() -> helper.queryAllEvents() in testCreateIme1()
89 final TestHelper helper = new TestHelper(); in testSwitchIme1ToIme2() local
92 helper.launchActivity(EditTextAppConstants.PACKAGE, EditTextAppConstants.CLASS, in testSwitchIme1ToIme2()
95 pollingCheck(() -> helper.queryAllEvents() in testSwitchIme1ToIme2()
96 .collect(startingFrom(helper.isStartOfTest())) in testSwitchIme1ToIme2()
99 pollingCheck(() -> helper.queryAllEvents() in testSwitchIme1ToIme2()
[all …]
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
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()
452 WebViewReadyHelper helper = new WebViewReadyHelper(webview, hwFence); in testWebViewWithParentLayer()
453 helper.loadData("<body style=\"background-color:blue\">"); in testWebViewWithParentLayer()
479 WebViewReadyHelper helper = new WebViewReadyHelper(webview, hwFence); in testWebViewScaledWithParentLayer()
480 helper.loadData("<body style=\"background-color:blue\">"); in testWebViewScaledWithParentLayer()
503 WebViewReadyHelper helper = new WebViewReadyHelper(webview, hwFence); in testWebViewWithAlpha()
504 helper.loadData("<body style=\"background-color:blue\">"); in testWebViewWithAlpha()
[all …]
DSurfaceViewTests.java183 SurfaceViewHelper helper = new SurfaceViewHelper((canvas, width, height) -> { in testSurfaceHolderHardwareCanvas() local
189 .addLayout(R.layout.frame_layout, helper, true, helper.getFence()) in testSurfaceHolderHardwareCanvas()
190 .withScreenshotter(helper) in testSurfaceHolderHardwareCanvas()
DPathClippingTests.java197 WebViewReadyHelper helper = new WebViewReadyHelper(webview, fence); in initBlueWebView() local
198 helper.loadData("<body style=\"background-color:blue\">"); in initBlueWebView()
/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/tests/database/src/android/database/sqlite/cts/
DSQLiteOpenHelperTest.java215 MockOpenHelper helper = new MockOpenHelper(mContext, null, 1, params); in testOpenParamsConstructor() local
216 SQLiteDatabase database = helper.getWritableDatabase(); in testOpenParamsConstructor()
218 helper.close(); in testOpenParamsConstructor()
231 MockOpenHelper helper = new MockOpenHelper(mContext, TEST_DATABASE_NAME, null, 1); in testSetOpenParams() local
232 helper.setOpenParams(paramsBuilder.build()); in testSetOpenParams()
234 helper.getWritableDatabase().isWriteAheadLoggingEnabled()); in testSetOpenParams()
/cts/tools/vm-tests-tf/targetprep/src/android/core/vm/targetprep/
DVmTestPreparer.java52 CompatibilityBuildHelper helper = new CompatibilityBuildHelper(buildInfo); in setUp() local
53 if (!installVmPrereqs(device, helper)) { in setUp()
/cts/tests/tests/keystore/
DAndroid.bp17 name: "cts-keystore-user-auth-helper-library",
55 "cts-keystore-user-auth-helper-library",
/cts/tests/framework/base/windowmanager/
DAndroid.mk44 metrics-helper-lib \
/cts/hostsidetests/userspacereboot/src/com/android/cts/userspacereboot/host/
DUserspaceRebootHostTest.java70 CompatibilityBuildHelper helper = new CompatibilityBuildHelper(getBuild()); in installApk() local
71 getDevice().installPackage(helper.getTestFile(apkFileName), false, true); in installApk()
/cts/tests/tests/slice/
DAndroid.bp30 "metrics-helper-lib",
/cts/tests/tests/jni/libjnitest/
DAndroid.bp29 "helper.c",
/cts/tests/tests/identity/
DAndroid.bp34 "cts-keystore-user-auth-helper-library",
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSubscriptionManagerTest.java745 ShellIdentityUtils.ShellPermissionMethodHelper<T, U> helper) { in executeWithShellPermissionAndDefault() argument
747 return ShellIdentityUtils.invokeMethodWithShellPermissions(targetObject, helper); in executeWithShellPermissionAndDefault()
/cts/tests/tests/media/src/android/media/cts/
DVpxCodecTestBase.java985 public void setAsyncHelper(MediaEncoderAsyncHelper helper) { in setAsyncHelper() argument
986 mHelper = helper; in setAsyncHelper()
1524 MediaEncoderAsyncHelper helper = new MediaEncoderAsyncHelper( in encodeAsync() local
1527 codec.setAsyncHelper(helper); in encodeAsync()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileTest.java356 final UserActivityEmulator helper = new UserActivityEmulator(getDevice()); in simulateUserInteraction() local
358 helper.tapScreenCenter(); in simulateUserInteraction()
/cts/tests/tests/provider/src/android/provider/cts/
DCalendarTest.java1986 CalendarEventHelper helper = new CalendarEventHelper(account, seed); in testWhenByDayQuery() local
1991 ContentValues values = helper.addEvent("2009-10-01T08:00:00", 0, DateUtils.HOUR_IN_MILLIS); in testWhenByDayQuery()
1994 values = helper.addEvent("2010-10-01T08:00:00", 0, DateUtils.HOUR_IN_MILLIS); in testWhenByDayQuery()
1997 helper.addEvent("2011-10-01T08:00:00", 0, DateUtils.HOUR_IN_MILLIS); in testWhenByDayQuery()
2009 + helper.getCalendarId(), null, Events.DTSTART); in testWhenByDayQuery()