/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 | 73 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
|
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/hostsidetests/testharness/src/android/testharness/cts/ |
D | TestHarnessModeDeviceTest.java | 106 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/ |
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 | 181 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
|
D | EncodeDecodeTest.java | 152 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 …]
|
D | ExtractDecodeEditEncodeMuxTest.java | 134 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/ |
D | LocationInWindowTests.java | 80 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
|
D | LocationOnScreenTests.java | 93 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/ |
D | JniTestCase.java | 30 protected void runTest() throws Throwable { in runTest() method in JniTestCase 33 super.runTest(); in runTest()
|
/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/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/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/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | SignificantMotionTestActivity.java | 92 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(
|
D | StepSensorPermissionTestActivity.java | 101 runTest(false /* permissionGranted */); in testStepEvents() 111 runTest(true /* permissionGranted */); in testStepEvents() 117 private void runTest(boolean permissionGranted) throws InterruptedException { in runTest() method in StepSensorPermissionTestActivity
|
D | StepCounterTestActivity.java | 118 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/ |
D | BitmapDrawableTest.java | 96 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/ |
D | CtsDeviceLeanback.java | 55 protected void runTest() throws Throwable { in runTest() method in CtsDeviceLeanback 59 super.runTest(); in runTest()
|
/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/tests/widget/src/android/widget/cts/ |
D | FilterTest.java | 69 }).runTest(RUN_TIME); in testConstructor() 80 }).runTest(RUN_TIME); in testConvertResultToString()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | TestThread.java | 47 public void runTest(long runTime) throws Throwable { in runTest() method in TestThread
|
/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
|