Home
last modified time | relevance | path

Searched refs:runTest (Results 1 – 25 of 39) 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/os/src/android/os/cts/
DLooperTest.java79 t.runTest(WAIT_TIME); in testMyLooper()
93 t.runTest(WAIT_TIME); in testIsCurrentThread()
112 t.runTest(WAIT_TIME); in testMyQueue()
124 t.runTest(WAIT_TIME); in testGetQueue()
141 t.runTest(WAIT_TIME); in testPrepare()
156 t.runTest(WAIT_TIME); in testPrepareMainLooper()
210 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()
/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/media/src/android/media/cts/
DDecodeAccuracyTest.java174 runTest(new GLSurfaceViewFactory(), new VideoFormat(fileName)); in testGLViewDecodeAccuracy()
179 runTest(new GLSurfaceViewFactory(), getLargerHeightVideoFormat(new VideoFormat(fileName))); in testGLViewLargerHeightDecodeAccuracy()
184 runTest(new GLSurfaceViewFactory(), getLargerWidthVideoFormat(new VideoFormat(fileName))); in testGLViewLargerWidthDecodeAccuracy()
189 runTest(new SurfaceViewFactory(), new VideoFormat(fileName)); in testSurfaceViewVideoDecodeAccuracy()
194 runTest(new SurfaceViewFactory(), getLargerHeightVideoFormat(new VideoFormat(fileName))); in testSurfaceViewLargerHeightDecodeAccuracy()
199 runTest(new SurfaceViewFactory(), getLargerWidthVideoFormat(new VideoFormat(fileName))); in testSurfaceViewLargerWidthDecodeAccuracy()
202 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 …]
DExtractDecodeEditEncodeMuxTest.java132 TestWrapper.runTest(this); in testExtractDecodeEditEncodeMuxQCIF()
140 TestWrapper.runTest(this); in testExtractDecodeEditEncodeMuxQVGA()
148 TestWrapper.runTest(this); in testExtractDecodeEditEncodeMux720p()
156 TestWrapper.runTest(this); in testExtractDecodeEditEncodeMux2160pHevc()
164 TestWrapper.runTest(this); in testExtractDecodeEditEncodeMuxAudio()
173 TestWrapper.runTest(this); in testExtractDecodeEditEncodeMuxAudioVideo()
197 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
/cts/hostsidetests/media/src/android/media/session/cts/
DMediaSessionManagerHostTest.java102 runTest("testGetActiveSessions_noMediaSessionFromMediaSessionTestHelper"); in testGetActiveSessions()
106 runTest("testGetActiveSessions_noMediaSessionFromMediaSessionTestHelper"); in testGetActiveSessions()
109 runTest("testGetActiveSessions_hasMediaSessionFromMediaSessionTestHelper"); in testGetActiveSessions()
140 private void runTest(String testMethodName) throws DeviceNotAvailableException { in runTest() method in MediaSessionManagerHostTest
/cts/tests/app/src/android/app/cts/
DAspectRatioTests.java131 runTest(launchActivity(mMaxAspectRatioActivity), in testMaxAspectRatio()
145 runTest(launchActivity(mMaxAspectRatioResizeableActivity), in testMaxAspectRatioResizeableActivity()
160 runTest(launchActivity(mMaxAspectRatioUnsetActivity), in testMaxAspectRatioUnsetActivity()
172 runTest(launchActivity(mSdk25MaxAspectRatioActivity), in testMaxAspectRatioPreOActivity()
179 private void runTest(Activity activity, AssertAspectRatioCallback callback) { in runTest() method in AspectRatioTests
/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/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.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(
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/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/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/widget/src/android/widget/cts/
DFilterTest.java67 }).runTest(RUN_TIME); in testConstructor()
78 }).runTest(RUN_TIME); in testConvertResultToString()
/cts/common/util/src/com/android/compatibility/common/util/
DTestSuiteFilter.java82 public void runTest(Test test, TestResult result) { in runTest() method in TestSuiteFilter.FilterableTestSuite

12