Home
last modified time | relevance | path

Searched refs:runTest (Results 1 – 25 of 37) 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.java73 if (!runTest(BroadcastUtils.TestcaseType.AIRPLANE_MODE_ON, AIRPLANE_MODE_IS_ON)) { in testAll()
77 runTest(BroadcastUtils.TestcaseType.AIRPLANE_MODE_OFF, AIRPLANE_MODE_IS_OFF); in testAll()
82 if (!runTest(BroadcastUtils.TestcaseType.AIRPLANE_MODE_OFF, AIRPLANE_MODE_IS_OFF)) { in testAll()
86 runTest(BroadcastUtils.TestcaseType.AIRPLANE_MODE_ON, AIRPLANE_MODE_IS_ON); in testAll()
91 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/hostsidetests/testharness/src/android/testharness/cts/
DTestHarnessModeDeviceTest.java106 runTest("dirtyDevice"); in testHarnessModeRemovesInstalledAppsAndData()
111 Assert.assertTrue(runTest("testDeviceInTestHarnessMode")); in testHarnessModeRemovesInstalledAppsAndData()
112 Assert.assertTrue(runTest("ensureActivityNotObscuredByKeyboardSetUpScreen")); in testHarnessModeRemovesInstalledAppsAndData()
113 Assert.assertTrue(runTest("testDeviceIsClean")); in testHarnessModeRemovesInstalledAppsAndData()
116 private boolean runTest(String methodName) throws Exception { in runTest() method in TestHarnessModeDeviceTest
/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.java181 runTest(new GLSurfaceViewFactory(), new VideoFormat(fileName)); in testGLViewDecodeAccuracy()
186 runTest(new GLSurfaceViewFactory(), getLargerHeightVideoFormat(new VideoFormat(fileName))); in testGLViewLargerHeightDecodeAccuracy()
191 runTest(new GLSurfaceViewFactory(), getLargerWidthVideoFormat(new VideoFormat(fileName))); in testGLViewLargerWidthDecodeAccuracy()
196 runTest(new SurfaceViewFactory(), new VideoFormat(fileName)); in testSurfaceViewVideoDecodeAccuracy()
201 runTest(new SurfaceViewFactory(), getLargerHeightVideoFormat(new VideoFormat(fileName))); in testSurfaceViewLargerHeightDecodeAccuracy()
206 runTest(new SurfaceViewFactory(), getLargerWidthVideoFormat(new VideoFormat(fileName))); in testSurfaceViewLargerWidthDecodeAccuracy()
209 private void runTest(VideoViewFactory videoViewFactory, VideoFormat vf) { in runTest() method in DecodeAccuracyTest
DEncodeDecodeTest.java152 BufferToSurfaceWrapper.runTest(this); in testEncodeDecodeVideoFromBufferToSurfaceQCIF()
156 BufferToSurfaceWrapper.runTest(this); in testEncodeDecodeVideoFromBufferToSurfaceQVGA()
160 BufferToSurfaceWrapper.runTest(this); in testEncodeDecodeVideoFromBufferToSurface720p()
170 BufferToSurfaceWrapper.runTest(this); in testVP8EncodeDecodeVideoFromBufferToSurfaceQCIF()
174 BufferToSurfaceWrapper.runTest(this); in testVP8EncodeDecodeVideoFromBufferToSurfaceQVGA()
178 BufferToSurfaceWrapper.runTest(this); in testVP8EncodeDecodeVideoFromBufferToSurface720p()
202 public static void runTest(EncodeDecodeTest obj) throws Throwable { in runTest() method in EncodeDecodeTest.BufferToSurfaceWrapper
219 SurfaceToSurfaceWrapper.runTest(this, false, false); in testEncodeDecodeVideoFromSurfaceToSurfaceQCIF()
223 SurfaceToSurfaceWrapper.runTest(this, false, false); in testEncodeDecodeVideoFromSurfaceToSurfaceQVGA()
227 SurfaceToSurfaceWrapper.runTest(this, false, false); in testEncodeDecodeVideoFromSurfaceToSurface720p()
[all …]
DExtractDecodeEditEncodeMuxTest.java134 TestWrapper.runTest(this); in testExtractDecodeEditEncodeMuxQCIF()
142 TestWrapper.runTest(this); in testExtractDecodeEditEncodeMuxQVGA()
150 TestWrapper.runTest(this); in testExtractDecodeEditEncodeMux720p()
158 TestWrapper.runTest(this); in testExtractDecodeEditEncodeMux2160pHevc()
166 TestWrapper.runTest(this); in testExtractDecodeEditEncodeMuxAudio()
175 TestWrapper.runTest(this); in testExtractDecodeEditEncodeMuxAudioVideo()
199 public static void runTest(ExtractDecodeEditEncodeMuxTest test) throws Throwable { in runTest() method in ExtractDecodeEditEncodeMuxTest.TestWrapper
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DLocationInWindowTests.java80 runTest(mLayoutParams); in testLocationInWindow_appWindow()
86 runTest(mLayoutParams); in testLocationInWindow_appWindow_fullscreen()
95 runTest(mLayoutParams); in testLocationInWindow_floatingWindow()
101 runTest(mLayoutParams); in testLocationInWindow_appWindow_displayCutoutNever()
107 runTest(mLayoutParams); in testLocationInWindow_appWindow_displayCutoutShortEdges()
110 private void runTest(LayoutParams lp) { in runTest() method in LocationInWindowTests
DLocationOnScreenTests.java93 runTest(mLayoutParams); in testLocationOnDisplay_appWindow()
99 runTest(mLayoutParams); in testLocationOnDisplay_appWindow_fullscreen()
108 runTest(mLayoutParams); in testLocationOnDisplay_floatingWindow()
114 runTest(mLayoutParams); in testLocationOnDisplay_appWindow_displayCutoutNever()
120 runTest(mLayoutParams); in testLocationOnDisplay_appWindow_displayCutoutShortEdges()
123 private void runTest(LayoutParams lp) { in runTest() method in LocationOnScreenTests
/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/provider/src/android/provider/cts/
DTestCaseThatRunsIfTelephonyIsEnabled.java29 protected void runTest() throws Throwable { in runTest() method in TestCaseThatRunsIfTelephonyIsEnabled
31 super.runTest(); 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/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/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DSignificantMotionTestActivity.java92 return runTest( in testTrigger()
101 return runTest( in testNotTriggerAfterCancel()
113 return runTest( in testVibratorDoesNotTrigger()
126 return runTest( in testInHandDoesNotTrigger()
135 return runTest( in testSittingDoesNotTrigger()
245 private String runTest(
DStepSensorPermissionTestActivity.java101 runTest(false /* permissionGranted */); in testStepEvents()
111 runTest(true /* permissionGranted */); in testStepEvents()
117 private void runTest(boolean permissionGranted) throws InterruptedException { in runTest() method in StepSensorPermissionTestActivity
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/tests/uirendering/src/android/uirendering/cts/testclasses/
DBitmapDrawableTest.java96 runTest(preloadedDrawable); in verifyPreloadDensityInner()
114 runTest(scaledDrawable); in verifyPreloadDensityInner()
129 private void runTest(Drawable dr) { in runTest() method in BitmapDrawableTest
/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/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/tests/widget/src/android/widget/cts/
DFilterTest.java69 }).runTest(RUN_TIME); in testConstructor()
80 }).runTest(RUN_TIME); in testConvertResultToString()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DTestThread.java47 public void runTest(long runTime) throws Throwable { in runTest() method in TestThread
/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

12