Home
last modified time | relevance | path

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

12

/cts/tests/tests/voicesettings/src/android/voicesettings/cts/
DBatterySaverModeTest.java40 if (!runTest(Utils.TestcaseType.BATTERYSAVER_MODE_OFF, false)) { in testAll()
44 runTest(Utils.TestcaseType.BATTERYSAVER_MODE_ON, true); in testAll()
49 if (!runTest(Utils.TestcaseType.BATTERYSAVER_MODE_ON, true)) { in testAll()
53 runTest(Utils.TestcaseType.BATTERYSAVER_MODE_OFF, false); in testAll()
57 private boolean runTest(Utils.TestcaseType test, boolean expectedMode) throws Exception { in runTest() method in BatterySaverModeTest
DAirplaneModeTest.java50 if (!runTest(Utils.TestcaseType.AIRPLANE_MODE_ON, AIRPLANE_MODE_IS_ON)) { in testAll()
54 runTest(Utils.TestcaseType.AIRPLANE_MODE_OFF, AIRPLANE_MODE_IS_OFF); in testAll()
59 if (!runTest(Utils.TestcaseType.AIRPLANE_MODE_OFF, AIRPLANE_MODE_IS_OFF)) { in testAll()
63 runTest(Utils.TestcaseType.AIRPLANE_MODE_ON, AIRPLANE_MODE_IS_ON); in testAll()
67 private boolean runTest(Utils.TestcaseType test, int expectedMode) throws Exception { in runTest() method in AirplaneModeTest
DZenModeTest.java56 if (!runTest(Utils.TestcaseType.ZEN_MODE_ON, ZEN_MODE_IS_ALARMS)) { in testAll()
60 runTest(Utils.TestcaseType.ZEN_MODE_OFF, ZEN_MODE_IS_OFF); in testAll()
65 if (!runTest(Utils.TestcaseType.ZEN_MODE_OFF, ZEN_MODE_IS_OFF)) { in testAll()
69 runTest(Utils.TestcaseType.ZEN_MODE_ON, ZEN_MODE_IS_ALARMS); in testAll()
73 private boolean runTest(Utils.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/os/src/android/os/cts/
DLooperTest.java78 t.runTest(WAIT_TIME); in testMyLooper()
92 t.runTest(WAIT_TIME); in testIsCurrentThread()
111 t.runTest(WAIT_TIME); in testMyQueue()
123 t.runTest(WAIT_TIME); in testGetQueue()
140 t.runTest(WAIT_TIME); in testPrepare()
155 t.runTest(WAIT_TIME); in testPrepareMainLooper()
209 t.runTest(WAIT_TIME); in testSetMessageLogging()
/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()
DSetAlarmTest.java28 assertEquals(Utils.COMPLETION_RESULT, runTest(TestcaseType.SET_ALARM)); in testAll()
DSnoozeAlarmTest.java28 String result = runTest(TestcaseType.SNOOZE_ALARM); in testAll()
DAlarmClockTestBase.java102 protected String runTest(TestcaseType testCaseType) throws Exception { in runTest() method in AlarmClockTestBase
/cts/tests/sample/src/android/sample/cts/
DSampleDeviceResultTest.java55 runTest(new MeasureRun() { in testFactorialRecursive()
70 runTest(new MeasureRun() { in testFactorialIterative()
109 private void runTest(MeasureRun workload) throws Exception { in runTest() method in SampleDeviceResultTest
/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/tests/tests/media/src/android/media/cts/
DEncodeDecodeTest.java145 BufferToSurfaceWrapper.runTest(this); in testEncodeDecodeVideoFromBufferToSurfaceQCIF()
149 BufferToSurfaceWrapper.runTest(this); in testEncodeDecodeVideoFromBufferToSurfaceQVGA()
153 BufferToSurfaceWrapper.runTest(this); in testEncodeDecodeVideoFromBufferToSurface720p()
163 BufferToSurfaceWrapper.runTest(this); in testVP8EncodeDecodeVideoFromBufferToSurfaceQCIF()
167 BufferToSurfaceWrapper.runTest(this); in testVP8EncodeDecodeVideoFromBufferToSurfaceQVGA()
171 BufferToSurfaceWrapper.runTest(this); in testVP8EncodeDecodeVideoFromBufferToSurface720p()
195 public static void runTest(EncodeDecodeTest obj) throws Throwable { in runTest() method in EncodeDecodeTest.BufferToSurfaceWrapper
212 SurfaceToSurfaceWrapper.runTest(this, false); in testEncodeDecodeVideoFromSurfaceToSurfaceQCIF()
216 SurfaceToSurfaceWrapper.runTest(this, false); in testEncodeDecodeVideoFromSurfaceToSurfaceQVGA()
220 SurfaceToSurfaceWrapper.runTest(this, false); in testEncodeDecodeVideoFromSurfaceToSurface720p()
[all …]
DExtractDecodeEditEncodeMuxTest.java121 TestWrapper.runTest(this); in testExtractDecodeEditEncodeMuxQCIF()
128 TestWrapper.runTest(this); in testExtractDecodeEditEncodeMuxQVGA()
135 TestWrapper.runTest(this); in testExtractDecodeEditEncodeMux720p()
143 TestWrapper.runTest(this); in testExtractDecodeEditEncodeMuxAudio()
152 TestWrapper.runTest(this); in testExtractDecodeEditEncodeMuxAudioVideo()
176 public static void runTest(ExtractDecodeEditEncodeMuxTest test) throws Throwable { in runTest() method in ExtractDecodeEditEncodeMuxTest.TestWrapper
DPresentationSyncTest.java229 ChoreographedWrapper.runTest(this, output, i); in suppressed_testChoreographed()
262 public static void runTest(PresentationSyncTest obj, InputSurface output, in runTest() method in PresentationSyncTest.ChoreographedWrapper
DDecodeEditEncodeTest.java93 VideoEditWrapper.runTest(this); in testVideoEditQCIF()
97 VideoEditWrapper.runTest(this); in testVideoEditQVGA()
101 VideoEditWrapper.runTest(this); in testVideoEdit720p()
127 public static void runTest(DecodeEditEncodeTest obj) throws Throwable { in runTest() method in DecodeEditEncodeTest.VideoEditWrapper
DEncodeVirtualDisplayTest.java128 EncodeVirtualWrapper.runTest(this); in testEncodeVirtualDisplay()
154 public static void runTest(EncodeVirtualDisplayTest obj) throws Throwable { in runTest() method in EncodeVirtualDisplayTest.EncodeVirtualWrapper
/cts/tests/leanbackjank/src/android/cts/leanbackjank/
DCtsDeviceLeanback.java55 protected void runTest() throws Throwable { in runTest() method in CtsDeviceLeanback
59 super.runTest(); in runTest()
/cts/libs/deviceutil/src/android/cts/util/
DTestThread.java47 public void runTest(long runTime) throws Throwable { in runTest() method in TestThread
/cts/tests/tests/widget/src/android/widget/cts/
DFilterTest.java45 t.runTest(RUN_TIME); in testConstructor()
57 }).runTest(RUN_TIME); in testConvertResultToString()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DWrappedGTest.java85 runTest(listener); in run()
111 private void runTest(ITestRunListener listener) throws DeviceNotAvailableException { in runTest() method in WrappedGTest
DGeeTest.java112 runTest(listener); in run()
151 void runTest(ITestRunListener listener) throws DeviceNotAvailableException { in runTest() method in GeeTest
DJarHostTest.java184 JUnitRunUtil.runTest(listener, this, mRunName); in run()
195 runTest(testId, junitTest, junitResult); in run()
203 … private void runTest(TestIdentifier testId, final Test junitTest, final TestResult junitResult) { in runTest() method in JarHostTest
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DStepCounterTestActivity.java118 return runTest( in testWalking()
125 return runTest( in testStill()
136 private String runTest(int instructionsResId, int expectedSteps, boolean vibrate) in runTest() method in StepCounterTestActivity
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DNativeAudioThread.java232 public void runTest() { in runTest() method in NativeAudioThread
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...

12