Home
last modified time | relevance | path

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

12

/cts/tests/tests/voicesettings/src/android/voicesettings/cts/
DBatterySaverModeTest.java46 if (!runTest(Utils.TestcaseType.BATTERYSAVER_MODE_OFF, false)) { in testAll()
50 runTest(Utils.TestcaseType.BATTERYSAVER_MODE_ON, true); in testAll()
55 if (!runTest(Utils.TestcaseType.BATTERYSAVER_MODE_ON, true)) { in testAll()
59 runTest(Utils.TestcaseType.BATTERYSAVER_MODE_OFF, false); in testAll()
63 private boolean runTest(Utils.TestcaseType test, boolean expectedMode) throws Exception { in runTest() method in BatterySaverModeTest
DAirplaneModeTest.java56 if (!runTest(Utils.TestcaseType.AIRPLANE_MODE_ON, AIRPLANE_MODE_IS_ON)) { in testAll()
60 runTest(Utils.TestcaseType.AIRPLANE_MODE_OFF, AIRPLANE_MODE_IS_OFF); in testAll()
65 if (!runTest(Utils.TestcaseType.AIRPLANE_MODE_OFF, AIRPLANE_MODE_IS_OFF)) { in testAll()
69 runTest(Utils.TestcaseType.AIRPLANE_MODE_ON, AIRPLANE_MODE_IS_ON); in testAll()
73 private boolean runTest(Utils.TestcaseType test, int expectedMode) throws Exception { in runTest() method in AirplaneModeTest
DZenModeTest.java61 if (!runTest(Utils.TestcaseType.ZEN_MODE_ON, ZEN_MODE_IS_ALARMS)) { in testAll()
65 runTest(Utils.TestcaseType.ZEN_MODE_OFF, ZEN_MODE_IS_OFF); in testAll()
70 if (!runTest(Utils.TestcaseType.ZEN_MODE_OFF, ZEN_MODE_IS_OFF)) { in testAll()
74 runTest(Utils.TestcaseType.ZEN_MODE_ON, ZEN_MODE_IS_ALARMS); in testAll()
78 private boolean runTest(Utils.TestcaseType test, int expectedMode) throws Exception { in runTest() method in ZenModeTest
/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/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()
DSetAlarmTest.java28 assertEquals(Utils.COMPLETION_RESULT, runTest(TestcaseType.SET_ALARM)); in testAll()
DSnoozeAlarmTest.java28 String result = runTest(TestcaseType.SNOOZE_ALARM); in testAll()
DAlarmClockTestBase.java108 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/tests/tests/media/src/android/media/cts/
DEncodeDecodeTest.java146 BufferToSurfaceWrapper.runTest(this); in testEncodeDecodeVideoFromBufferToSurfaceQCIF()
150 BufferToSurfaceWrapper.runTest(this); in testEncodeDecodeVideoFromBufferToSurfaceQVGA()
154 BufferToSurfaceWrapper.runTest(this); in testEncodeDecodeVideoFromBufferToSurface720p()
164 BufferToSurfaceWrapper.runTest(this); in testVP8EncodeDecodeVideoFromBufferToSurfaceQCIF()
168 BufferToSurfaceWrapper.runTest(this); in testVP8EncodeDecodeVideoFromBufferToSurfaceQVGA()
172 BufferToSurfaceWrapper.runTest(this); in testVP8EncodeDecodeVideoFromBufferToSurface720p()
196 public static void runTest(EncodeDecodeTest obj) throws Throwable { in runTest() method in EncodeDecodeTest.BufferToSurfaceWrapper
213 SurfaceToSurfaceWrapper.runTest(this, false); in testEncodeDecodeVideoFromSurfaceToSurfaceQCIF()
217 SurfaceToSurfaceWrapper.runTest(this, false); in testEncodeDecodeVideoFromSurfaceToSurfaceQVGA()
221 SurfaceToSurfaceWrapper.runTest(this, false); in testEncodeDecodeVideoFromSurfaceToSurface720p()
[all …]
DExtractDecodeEditEncodeMuxTest.java123 TestWrapper.runTest(this); in testExtractDecodeEditEncodeMuxQCIF()
130 TestWrapper.runTest(this); in testExtractDecodeEditEncodeMuxQVGA()
137 TestWrapper.runTest(this); in testExtractDecodeEditEncodeMux720p()
145 TestWrapper.runTest(this); in testExtractDecodeEditEncodeMuxAudio()
154 TestWrapper.runTest(this); in testExtractDecodeEditEncodeMuxAudioVideo()
178 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/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/sensors/
DSignificantMotionTestActivity.java89 return runTest( in testTrigger()
98 return runTest( in testNotTriggerAfterCancel()
110 return runTest( in testVibratorDoesNotTrigger()
123 return runTest( in testInHandDoesNotTrigger()
132 return runTest( in testSittingDoesNotTrigger()
230 private String runTest(
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/tests/leanbackjank/src/android/cts/leanbackjank/
DCtsDeviceLeanback.java55 protected void runTest() throws Throwable { in runTest() method in CtsDeviceLeanback
59 super.runTest(); in runTest()
/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/libs/deviceutil/src/android/cts/util/
DTestThread.java47 public void runTest(long runTime) throws Throwable { in runTest() method in TestThread
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DNativeAudioThread.java232 public void runTest() { in runTest() method in NativeAudioThread

12