/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | AccountCheckHostSideTest.java | 65 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/ |
D | BatterySaverModeTest.java | 62 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
|
D | AirplaneModeTest.java | 72 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
|
D | ZenModeTest.java | 77 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/ |
D | JniTestCase.java | 30 protected void runTest() throws Throwable { in runTest() method in JniTestCase 33 super.runTest(); in runTest()
|
/cts/tests/tests/alarmclock/src/android/alarmclock/cts/ |
D | DismissAlarmTest.java | 28 assertEquals(Utils.COMPLETION_RESULT, runTest(TestcaseType.SET_ALARM_FOR_DISMISSAL)); in testAll() 29 assertEquals(Utils.COMPLETION_RESULT, runTest(TestcaseType.DISMISS_ALARM)); in testAll()
|
D | DismissTimerTest.java | 31 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()
|
D | SetAlarmTest.java | 28 assertEquals(Utils.COMPLETION_RESULT, runTest(TestcaseType.SET_ALARM)); in testAll()
|
D | SnoozeAlarmTest.java | 28 String result = runTest(TestcaseType.SNOOZE_ALARM); in testAll()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | TestCaseThatRunsIfTelephonyIsEnabled.java | 29 protected void runTest() throws Throwable { in runTest() method in TestCaseThatRunsIfTelephonyIsEnabled 31 super.runTest(); in runTest()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | LooperTest.java | 79 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/ |
D | DecodeAccuracyTest.java | 180 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
|
D | EncodeDecodeTest.java | 150 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/ |
D | LocationInWindowTests.java | 82 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
|
D | LocationOnScreenTests.java | 92 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/ |
D | SensorCtsTestSuite.java | 62 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/ |
D | GnssCtsTestSuite.java | 62 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/ |
D | MediaSessionManagerHostTest.java | 111 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/ |
D | AspectRatioTestsBase.java | 39 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/ |
D | TestCompanion.java | 102 runTest(); in run() 121 protected abstract void runTest() throws Throwable; in runTest() method in TestCompanion
|
/cts/tests/leanbackjank/src/android/leanbackjank/cts/ |
D | CtsDeviceLeanback.java | 55 protected void runTest() throws Throwable { in runTest() method in CtsDeviceLeanback 59 super.runTest(); in runTest()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | SignificantMotionTestActivity.java | 91 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/ |
D | TestThread.java | 47 public void runTest(long runTime) throws Throwable { in runTest() method in TestThread
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | BitmapDrawableTest.java | 108 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/ |
D | FilterTest.java | 67 }).runTest(RUN_TIME); in testConstructor() 78 }).runTest(RUN_TIME); in testConvertResultToString()
|