/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | AccountCheckHostSideTest.java | 106 private void runTest(String method) throws Exception { in runTest() method in AccountCheckHostSideTest 129 runTest("testCleanUpNonTestOwner"); in runCleanupNonTestOnlyOwner() 140 runTest("testRemoveAllAccounts"); in removeAllAccounts() 250 runTest("testAddIncompatibleA"); in testAccountCheck() 257 runTest("testAddIncompatibleB"); in testAccountCheck() 264 runTest("testAddIncompatibleC"); in testAccountCheck() 271 runTest("testAddCompatible"); in testAccountCheck() 278 runTest("testAddCompatible"); in testAccountCheck() 279 runTest("testAddCompatible"); in testAccountCheck() 287 runTest("testAddIncompatibleA"); in testAccountCheck() [all …]
|
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/ |
D | BatterySaverModeTest.java | 58 if (!runTest(BroadcastUtils.TestcaseType.BATTERYSAVER_MODE_OFF, false)) { in testAll() 62 runTest(BroadcastUtils.TestcaseType.BATTERYSAVER_MODE_ON, true); in testAll() 67 if (!runTest(BroadcastUtils.TestcaseType.BATTERYSAVER_MODE_ON, true)) { in testAll() 71 runTest(BroadcastUtils.TestcaseType.BATTERYSAVER_MODE_OFF, false); in testAll() 75 … private boolean runTest(BroadcastUtils.TestcaseType test, boolean expectedMode) throws Exception { in runTest() method in BatterySaverModeTest
|
D | AirplaneModeTest.java | 70 if (!runTest(BroadcastUtils.TestcaseType.AIRPLANE_MODE_ON, AIRPLANE_MODE_IS_ON)) { in testAll() 74 runTest(BroadcastUtils.TestcaseType.AIRPLANE_MODE_OFF, AIRPLANE_MODE_IS_OFF); in testAll() 79 if (!runTest(BroadcastUtils.TestcaseType.AIRPLANE_MODE_OFF, AIRPLANE_MODE_IS_OFF)) { in testAll() 83 runTest(BroadcastUtils.TestcaseType.AIRPLANE_MODE_ON, AIRPLANE_MODE_IS_ON); in testAll() 88 private boolean runTest(BroadcastUtils.TestcaseType test, int expectedMode) throws Exception { in runTest() method in AirplaneModeTest
|
D | ZenModeTest.java | 74 if (!runTest(BroadcastUtils.TestcaseType.ZEN_MODE_ON, ZEN_MODE_IS_ALARMS)) { in testAll() 78 runTest(BroadcastUtils.TestcaseType.ZEN_MODE_OFF, ZEN_MODE_IS_OFF); in testAll() 83 if (!runTest(BroadcastUtils.TestcaseType.ZEN_MODE_OFF, ZEN_MODE_IS_OFF)) { in testAll() 87 runTest(BroadcastUtils.TestcaseType.ZEN_MODE_ON, ZEN_MODE_IS_ALARMS); in testAll() 91 private boolean runTest(BroadcastUtils.TestcaseType test, int expectedMode) throws Exception { in runTest() method in ZenModeTest
|
/cts/hostsidetests/incident/apps/graphicsstatsapp/src/com/android/server/cts/device/graphicsstats/ |
D | SimpleDrawFrameTests.java | 42 void runTest(final int frameCount) throws Throwable { in runTest() method in SimpleDrawFrameTests 43 runTest(new int[frameCount]); in runTest() 46 void runTest(final int[] framesToDraw) throws Throwable { in runTest() method in SimpleDrawFrameTests 68 runTest(10); in testDrawTenFrames() 81 runTest(frames); in testDrawJankyFrames() 92 runTest(frames); in testDrawDaveyFrames()
|
/cts/hostsidetests/media/src/android/media/session/cts/ |
D | MediaSessionManagerHostTest.java | 104 runTest("testGetActiveSessions_noMediaSessionFromMediaSessionTestHelper"); in testGetActiveSessions_primaryUser() 108 runTest("testGetActiveSessions_noMediaSessionFromMediaSessionTestHelper"); in testGetActiveSessions_primaryUser() 111 runTest("testGetActiveSessions_hasMediaSessionFromMediaSessionTestHelper"); in testGetActiveSessions_primaryUser() 224 runTest("testGetActiveSessions_noMediaSessionFromMediaSessionTestHelper"); in testGetActiveSessions_noSession2() 231 runTest("testGetActiveSessions_noMediaSessionFromMediaSessionTestHelper"); in testGetActiveSessions_noSession2() 241 runTest("testGetActiveSessions_noMediaSessionFromMediaSessionTestHelper"); in testGetActiveSessions_withSession2() 251 runTest("testGetActiveSessions_hasMediaSessionFromMediaSessionTestHelper"); in testGetActiveSessions_withSession2() 287 private void runTest(String testMethodName) throws DeviceNotAvailableException { in runTest() method in MediaSessionManagerHostTest
|
/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/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/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 | 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/tests/tests/media/src/android/media/cts/ |
D | DecodeAccuracyTest.java | 188 runTest(new GLSurfaceViewFactory(), new VideoFormat(fileName)); in testGLViewDecodeAccuracy() 194 runTest(new GLSurfaceViewFactory(), getLargerHeightVideoFormat(new VideoFormat(fileName))); in testGLViewLargerHeightDecodeAccuracy() 200 runTest(new GLSurfaceViewFactory(), getLargerWidthVideoFormat(new VideoFormat(fileName))); in testGLViewLargerWidthDecodeAccuracy() 206 runTest(new SurfaceViewFactory(), new VideoFormat(fileName)); in testSurfaceViewVideoDecodeAccuracy() 212 runTest(new SurfaceViewFactory(), getLargerHeightVideoFormat(new VideoFormat(fileName))); in testSurfaceViewLargerHeightDecodeAccuracy() 218 runTest(new SurfaceViewFactory(), getLargerWidthVideoFormat(new VideoFormat(fileName))); in testSurfaceViewLargerWidthDecodeAccuracy() 221 private void runTest(VideoViewFactory videoViewFactory, VideoFormat vf) { in runTest() method in DecodeAccuracyTest
|
D | EncodeDecodeTest.java | 157 BufferToSurfaceWrapper.runTest(this); in testEncodeDecodeVideoFromBufferToSurfaceQCIF() 161 BufferToSurfaceWrapper.runTest(this); in testEncodeDecodeVideoFromBufferToSurfaceQVGA() 165 BufferToSurfaceWrapper.runTest(this); in testEncodeDecodeVideoFromBufferToSurface720p() 175 BufferToSurfaceWrapper.runTest(this); in testVP8EncodeDecodeVideoFromBufferToSurfaceQCIF() 179 BufferToSurfaceWrapper.runTest(this); in testVP8EncodeDecodeVideoFromBufferToSurfaceQVGA() 183 BufferToSurfaceWrapper.runTest(this); in testVP8EncodeDecodeVideoFromBufferToSurface720p() 207 public static void runTest(EncodeDecodeTest obj) throws Throwable { in runTest() method in EncodeDecodeTest.BufferToSurfaceWrapper 224 SurfaceToSurfaceWrapper.runTest(this, false, false); in testEncodeDecodeVideoFromSurfaceToSurfaceQCIF() 228 SurfaceToSurfaceWrapper.runTest(this, false, false); in testEncodeDecodeVideoFromSurfaceToSurfaceQVGA() 232 SurfaceToSurfaceWrapper.runTest(this, false, false); in testEncodeDecodeVideoFromSurfaceToSurface720p() [all …]
|
/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/apps/CtsVerifier/src/com/android/cts/verifier/tv/display/ |
D | SyncTestStep.java | 33 public abstract void runTest(); in runTest() method in SyncTestStep 37 runTest(); in onButtonClickRunTest()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | PackageSetInstallerTest.kt | 86 runTest(removeWhitelistShouldSucceed = false, in notRestricted() 93 runTest(removeWhitelistShouldSucceed = true, in hardRestricted() 100 runTest(removeWhitelistShouldSucceed = null, in immutablySoftRestrictedGranted() 107 runTest(removeWhitelistShouldSucceed = null, in immutablySoftRestrictedRevoked() 113 private fun runTest( in runTest() method in android.appsecurity.cts.PackageSetInstallerTest
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/audio/ |
D | TestStep.java | 73 public abstract void runTest(); in runTest() method in TestStep 77 runTest(); in onButtonClickRunTest()
|
/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/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() 239 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
|
/cts/hostsidetests/jvmti/attaching/app/src/android/jvmti/ |
D | JvmtiActivity.java | 46 runTest(); in onCreate() 81 public void runTest() throws Exception { in runTest() method in JvmtiActivity
|
/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/tests/tests/content/HelloWorldApp/src_res_hardening/com/example/helloworld/ |
D | TestActivity.java | 48 mExecutorService.execute(this::runTest); in onCreate() 51 private void runTest() { in runTest() method in TestActivity
|
/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
|