Home
last modified time | relevance | path

Searched refs:runTest (Results 1 – 25 of 43) sorted by relevance

12

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DAccountCheckHostSideTest.java65 private void runTest(String method) throws Exception { in runTest() method in AccountCheckHostSideTest
81 runTest("testCleanUpNonTestOwner"); in runCleanupNonTestOnlyOwner()
92 runTest("testRemoveAllAccounts"); in removeAllAccounts()
177 runTest("testAddIncompatibleA"); in testAccountCheck()
184 runTest("testAddIncompatibleB"); in testAccountCheck()
191 runTest("testAddIncompatibleC"); in testAccountCheck()
198 runTest("testAddCompatible"); in testAccountCheck()
205 runTest("testAddCompatible"); in testAccountCheck()
206 runTest("testAddCompatible"); in testAccountCheck()
214 runTest("testAddIncompatibleA"); in testAccountCheck()
[all …]
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/
DBatterySaverModeTest.java62 if (!runTest(BroadcastUtils.TestcaseType.BATTERYSAVER_MODE_OFF, false)) { in testAll()
66 runTest(BroadcastUtils.TestcaseType.BATTERYSAVER_MODE_ON, true); in testAll()
71 if (!runTest(BroadcastUtils.TestcaseType.BATTERYSAVER_MODE_ON, true)) { in testAll()
75 runTest(BroadcastUtils.TestcaseType.BATTERYSAVER_MODE_OFF, false); in testAll()
79 … private boolean runTest(BroadcastUtils.TestcaseType test, boolean expectedMode) throws Exception { in runTest() method in BatterySaverModeTest
DAirplaneModeTest.java72 if (!runTest(BroadcastUtils.TestcaseType.AIRPLANE_MODE_ON, AIRPLANE_MODE_IS_ON)) { in testAll()
76 runTest(BroadcastUtils.TestcaseType.AIRPLANE_MODE_OFF, AIRPLANE_MODE_IS_OFF); in testAll()
81 if (!runTest(BroadcastUtils.TestcaseType.AIRPLANE_MODE_OFF, AIRPLANE_MODE_IS_OFF)) { in testAll()
85 runTest(BroadcastUtils.TestcaseType.AIRPLANE_MODE_ON, AIRPLANE_MODE_IS_ON); in testAll()
89 private boolean runTest(BroadcastUtils.TestcaseType test, int expectedMode) throws Exception { in runTest() method in AirplaneModeTest
DZenModeTest.java77 if (!runTest(BroadcastUtils.TestcaseType.ZEN_MODE_ON, ZEN_MODE_IS_ALARMS)) { in testAll()
81 runTest(BroadcastUtils.TestcaseType.ZEN_MODE_OFF, ZEN_MODE_IS_OFF); in testAll()
86 if (!runTest(BroadcastUtils.TestcaseType.ZEN_MODE_OFF, ZEN_MODE_IS_OFF)) { in testAll()
90 runTest(BroadcastUtils.TestcaseType.ZEN_MODE_ON, ZEN_MODE_IS_ALARMS); in testAll()
94 private boolean runTest(BroadcastUtils.TestcaseType test, int expectedMode) throws Exception { in runTest() method in ZenModeTest
/cts/tests/tests/jni/src/android/jni/cts/
DJniTestCase.java30 protected void runTest() throws Throwable { in runTest() method in JniTestCase
33 super.runTest(); in runTest()
/cts/tests/tests/alarmclock/src/android/alarmclock/cts/
DDismissAlarmTest.java28 assertEquals(Utils.COMPLETION_RESULT, runTest(TestcaseType.SET_ALARM_FOR_DISMISSAL)); in testAll()
29 assertEquals(Utils.COMPLETION_RESULT, runTest(TestcaseType.DISMISS_ALARM)); in testAll()
DDismissTimerTest.java31 assertEquals(Utils.COMPLETION_RESULT, runTest(Utils.TestcaseType.SET_TIMER_FOR_DISMISSAL)); in testAll()
36 assertEquals(Utils.COMPLETION_RESULT, runTest(Utils.TestcaseType.DISMISS_TIMER)); in testAll()
DSetAlarmTest.java28 assertEquals(Utils.COMPLETION_RESULT, runTest(TestcaseType.SET_ALARM)); in testAll()
DSnoozeAlarmTest.java28 String result = runTest(TestcaseType.SNOOZE_ALARM); in testAll()
/cts/tests/tests/provider/src/android/provider/cts/
DTestCaseThatRunsIfTelephonyIsEnabled.java29 protected void runTest() throws Throwable { in runTest() method in TestCaseThatRunsIfTelephonyIsEnabled
31 super.runTest(); in runTest()
/cts/tests/tests/os/src/android/os/cts/
DLooperTest.java79 t.runTest(WAIT_TIME); in testMyLooper()
93 t.runTest(WAIT_TIME); in testIsCurrentThread()
116 t.runTest(WAIT_TIME); in testMyQueue()
128 t.runTest(WAIT_TIME); in testGetQueue()
145 t.runTest(WAIT_TIME); in testPrepare()
160 t.runTest(WAIT_TIME); in testPrepareMainLooper()
214 t.runTest(WAIT_TIME); in testSetMessageLogging()
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTest.java180 runTest(new GLSurfaceViewFactory(), new VideoFormat(fileName)); in testGLViewDecodeAccuracy()
185 runTest(new GLSurfaceViewFactory(), getLargerHeightVideoFormat(new VideoFormat(fileName))); in testGLViewLargerHeightDecodeAccuracy()
190 runTest(new GLSurfaceViewFactory(), getLargerWidthVideoFormat(new VideoFormat(fileName))); in testGLViewLargerWidthDecodeAccuracy()
195 runTest(new SurfaceViewFactory(), new VideoFormat(fileName)); in testSurfaceViewVideoDecodeAccuracy()
200 runTest(new SurfaceViewFactory(), getLargerHeightVideoFormat(new VideoFormat(fileName))); in testSurfaceViewLargerHeightDecodeAccuracy()
205 runTest(new SurfaceViewFactory(), getLargerWidthVideoFormat(new VideoFormat(fileName))); in testSurfaceViewLargerWidthDecodeAccuracy()
208 private void runTest(VideoViewFactory videoViewFactory, VideoFormat vf) { in runTest() method in DecodeAccuracyTest
DEncodeDecodeTest.java150 BufferToSurfaceWrapper.runTest(this); in testEncodeDecodeVideoFromBufferToSurfaceQCIF()
154 BufferToSurfaceWrapper.runTest(this); in testEncodeDecodeVideoFromBufferToSurfaceQVGA()
158 BufferToSurfaceWrapper.runTest(this); in testEncodeDecodeVideoFromBufferToSurface720p()
168 BufferToSurfaceWrapper.runTest(this); in testVP8EncodeDecodeVideoFromBufferToSurfaceQCIF()
172 BufferToSurfaceWrapper.runTest(this); in testVP8EncodeDecodeVideoFromBufferToSurfaceQVGA()
176 BufferToSurfaceWrapper.runTest(this); in testVP8EncodeDecodeVideoFromBufferToSurface720p()
200 public static void runTest(EncodeDecodeTest obj) throws Throwable { in runTest() method in EncodeDecodeTest.BufferToSurfaceWrapper
217 SurfaceToSurfaceWrapper.runTest(this, false, false); in testEncodeDecodeVideoFromSurfaceToSurfaceQCIF()
221 SurfaceToSurfaceWrapper.runTest(this, false, false); in testEncodeDecodeVideoFromSurfaceToSurfaceQVGA()
225 SurfaceToSurfaceWrapper.runTest(this, false, false); in testEncodeDecodeVideoFromSurfaceToSurface720p()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DLocationInWindowTests.java82 runTest(mLayoutParams); in testLocationInWindow_appWindow()
88 runTest(mLayoutParams); in testLocationInWindow_appWindow_fullscreen()
97 runTest(mLayoutParams); in testLocationInWindow_floatingWindow()
103 runTest(mLayoutParams); in testLocationInWindow_appWindow_displayCutoutNever()
109 runTest(mLayoutParams); in testLocationInWindow_appWindow_displayCutoutShortEdges()
112 private void runTest(LayoutParams lp) { in runTest() method in LocationInWindowTests
DLocationOnScreenTests.java92 runTest(mLayoutParams); in testLocationOnDisplay_appWindow()
98 runTest(mLayoutParams); in testLocationOnDisplay_appWindow_fullscreen()
107 runTest(mLayoutParams); in testLocationOnDisplay_floatingWindow()
113 runTest(mLayoutParams); in testLocationOnDisplay_appWindow_displayCutoutNever()
119 runTest(mLayoutParams); in testLocationOnDisplay_appWindow_displayCutoutShortEdges()
122 private void runTest(LayoutParams lp) { in runTest() method in LocationOnScreenTests
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsTestSuite.java62 public void runTest(Test test, TestResult testResult) { in runTest() method in SensorCtsTestSuite
63 mWrappedTestSuite.runTest(test, testResult); in runTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/
DGnssCtsTestSuite.java62 public void runTest(Test test, TestResult testResult) { in runTest() method in GnssCtsTestSuite
63 mWrappedTestSuite.runTest(test, testResult); in runTest()
/cts/hostsidetests/media/src/android/media/session/cts/
DMediaSessionManagerHostTest.java111 runTest("testGetActiveSessions_noMediaSessionFromMediaSessionTestHelper"); in testGetActiveSessions_primaryUser()
115 runTest("testGetActiveSessions_noMediaSessionFromMediaSessionTestHelper"); in testGetActiveSessions_primaryUser()
118 runTest("testGetActiveSessions_hasMediaSessionFromMediaSessionTestHelper"); in testGetActiveSessions_primaryUser()
239 private void runTest(String testMethodName) throws DeviceNotAvailableException { in runTest() method in MediaSessionManagerHostTest
/cts/tests/framework/base/activitymanager/src/android/server/am/
DAspectRatioTestsBase.java39 runTest(activity, callback); in runAspectRatioTest()
54 protected void runTest(Activity activity, AssertAspectRatioCallback callback) { in runTest() method in AspectRatioTestsBase
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
DTestCompanion.java102 runTest(); in run()
121 protected abstract void runTest() throws Throwable; in runTest() method in TestCompanion
/cts/tests/leanbackjank/src/android/leanbackjank/cts/
DCtsDeviceLeanback.java55 protected void runTest() throws Throwable { in runTest() method in CtsDeviceLeanback
59 super.runTest(); in runTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DSignificantMotionTestActivity.java91 return runTest( in testTrigger()
100 return runTest( in testNotTriggerAfterCancel()
112 return runTest( in testVibratorDoesNotTrigger()
125 return runTest( in testInHandDoesNotTrigger()
134 return runTest( in testSittingDoesNotTrigger()
240 private String runTest(
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DTestThread.java47 public void runTest(long runTime) throws Throwable { in runTest() method in TestThread
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DBitmapDrawableTest.java108 runTest(preloadedDrawable); in verifyPreloadDensityInner()
126 runTest(scaledDrawable); in verifyPreloadDensityInner()
141 private void runTest(Drawable dr) { in runTest() method in BitmapDrawableTest
/cts/tests/tests/widget/src/android/widget/cts/
DFilterTest.java67 }).runTest(RUN_TIME); in testConstructor()
78 }).runTest(RUN_TIME); in testConvertResultToString()

12