Home
last modified time | relevance | path

Searched refs:TestStatus (Results 1 – 25 of 30) sorted by relevance

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DProjectionOffscreenActivity.java71 private enum TestStatus { CREATED, PASSED, FAILED, RUNNING }; enum in ProjectionOffscreenActivity
72 protected TestStatus mTestStatus = TestStatus.CREATED;
102 mTestStatus = TestStatus.RUNNING;
114 mTestStatus = TestStatus.FAILED;
115 } else if (mTestStatus == TestStatus.RUNNING) {
117 mTestStatus = TestStatus.FAILED;
203 if (mTestStatus == TestStatus.FAILED) { in onPause()
211 if (mTestStatus == TestStatus.CREATED) { in onImageAvailable()
219 && mTestStatus == TestStatus.RUNNING in onImageAvailable()
221 mTestStatus = TestStatus.FAILED; in onImageAvailable()
[all …]
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/performancehintmanager/
DPerformanceHintManagerStatsTests.java42 import com.android.ddmlib.testrunner.TestResult.TestStatus;
132 TestStatus status = result.getStatus(); in testCreateHintSessionStatsdApp()
133 assumeFalse(status == TestStatus.ASSUMPTION_FAILURE); in testCreateHintSessionStatsdApp()
134 assertThat(status).isEqualTo(TestStatus.PASSED); in testCreateHintSessionStatsdApp()
182 TestStatus status = result.getStatus(); in testCreateHintSessionStatsdGame()
183 assumeFalse(status == TestStatus.ASSUMPTION_FAILURE); in testCreateHintSessionStatsdGame()
184 assertThat(status).isEqualTo(TestStatus.PASSED); in testCreateHintSessionStatsdGame()
249 TestStatus status = result.getStatus(); in testAdpfHintSessionTidCleanupIsPushed()
250 assumeFalse(status == TestStatus.ASSUMPTION_FAILURE); in testAdpfHintSessionTidCleanupIsPushed()
251 assertThat(status).isEqualTo(TestStatus.PASSED); in testAdpfHintSessionTidCleanupIsPushed()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/presence/
DNanAccuracyActivity.java95 updateTestStatus(TestStatus.IN_PROGRESS);
242 updateTestStatus(TestStatus.PASSED); in computeTestResults()
247 updateTestStatus(TestStatus.FAILED); in computeTestResults()
275 private void updateTestStatus(TestStatus status) { in updateTestStatus()
317 enum TestStatus { enum in NanAccuracyActivity
325 private final HashMap<TestDistance, TestStatus> testResults;
330 testResults.put(distance, TestStatus.NOT_YET_RUN); in TestResult()
334 void setTestResult(TestDistance distance, TestStatus status) { in setTestResult()
347 if (testResults.get(distance) != TestStatus.PASSED) { in isAllPassed()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/powermanager/
DPowerManagerStatsTests.java30 import com.android.ddmlib.testrunner.TestResult.TestStatus;
110 TestStatus status = testRunResult.getTestResults().get(desc).getStatus(); in testThermalHeadroomCalledIsPushed()
111 assertThat(status).isEqualTo(TestStatus.PASSED); in testThermalHeadroomCalledIsPushed()
139 TestStatus status = testRunResult.getTestResults().get(desc).getStatus(); in testThermalStatusCalledIsPushed()
140 assertThat(status).isEqualTo(TestStatus.PASSED); in testThermalStatusCalledIsPushed()
165 TestStatus status = testRunResult.getTestResults().get(desc).getStatus(); in testThermalHeadroomThresholdsCalledIsPushed()
166 assertThat(status).isEqualTo(TestStatus.PASSED); in testThermalHeadroomThresholdsCalledIsPushed()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsReport.java32 import com.android.compatibility.common.util.TestStatus;
150 TestStatus resultStatus = in getCaseResult()
185 private TestStatus getTestResultStatus(int testResult) { in getTestResultStatus()
188 return TestStatus.PASS; in getTestResultStatus()
191 return TestStatus.FAIL; in getTestResultStatus()
/cts/hostsidetests/webkit/src/com/android/cts/webkit/
DWebViewHostSideStartupTest.java21 import com.android.ddmlib.testrunner.TestResult.TestStatus;
59 assertTrue(testResult.getStackTrace(), TestStatus.PASSED.equals(testResult.getStatus())); in assertDeviceTestPasses()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DTestReport.java37 public enum TestStatus { enum in TestReport
115 setTestState(TestStatus.FAIL); in getContents()
149 public void setTestState(TestStatus state) { in setTestState()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/media/projection/
DMediaProjectionAtomsTests.java120 TestResult.TestStatus status = testRunResult.getTestResults().get(desc).getStatus(); in testMediaProjectionStateChanged_stoppedCapture()
121 assertThat(status).isEqualTo(TestResult.TestStatus.PASSED); in testMediaProjectionStateChanged_stoppedCapture()
165 TestResult.TestStatus status = testRunResult.getTestResults().get(desc).getStatus(); in testMediaProjectionTargetChanged_stoppedCapture()
166 assertThat(status).isEqualTo(TestResult.TestStatus.PASSED); in testMediaProjectionTargetChanged_stoppedCapture()
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DUtils.java20 import com.android.ddmlib.testrunner.TestResult.TestStatus;
99 if (!resultEntry.getValue().getStatus().equals(TestStatus.PASSED)) { in runDeviceTests()
/cts/hostsidetests/usb/src/com/android/cts/usb/
DTestUsbTest.java24 import com.android.ddmlib.testrunner.TestResult.TestStatus;
112 if (!result.getStatus().equals(TestStatus.PASSED)) { in runTestOnDevice()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DBaseDumpsysTest.java21 import com.android.ddmlib.testrunner.TestResult.TestStatus;
193 if (!resultEntry.getValue().getStatus().equals(TestStatus.PASSED)) { in runDeviceTests()
/cts/hostsidetests/accounts/src/android/host/accounts/
DAccountManagerXUserTest.java28 import com.android.ddmlib.testrunner.TestResult.TestStatus;
247 if (!resultEntry.getValue().getStatus().equals(TestStatus.PASSED)) { in runDeviceTests()
/cts/hostsidetests/adpf/src/android/adpf/cts/
DADPFHintSessionHostJUnit4Test.java35 import com.android.ddmlib.testrunner.TestResult.TestStatus;
172 if (result.getStatus() != TestStatus.PASSED) { in testAdpfHintSession()
/cts/hostsidetests/settings/src/com/google/android/cts/settings/
DPrivacyDeviceOwnerTest.java21 import com.android.ddmlib.testrunner.TestResult.TestStatus;
219 if (!resultEntry.getValue().getStatus().equals(TestStatus.PASSED)) { in runDeviceTests()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DUtils.java23 import com.android.ddmlib.testrunner.TestResult.TestStatus;
154 if (!resultEntry.getValue().getStatus().equals(TestStatus.PASSED)) { in runDeviceTests()
DKeySetHostTest.java21 import com.android.ddmlib.testrunner.TestResult.TestStatus;
124 if (!resultEntry.getValue().getStatus().equals(TestStatus.PASSED)) { in assertDeviceTestsPass()
DStorageHostTest.java26 import com.android.ddmlib.testrunner.TestResult.TestStatus;
295 if (!resultEntry.getValue().getStatus().equals(TestStatus.PASSED)) { in runDeviceTests()
/cts/hostsidetests/videoencodingminimum/src/android/videoqualityfloor/cts/
DCtsVideoQualityFloorHostTest.java25 import com.android.ddmlib.testrunner.TestResult.TestStatus;
362 if (resultEntry.getValue().getStatus().equals(TestStatus.FAILURE)) { in assertTestsPassed()
369 if (resultEntry.getValue().getStatus().equals(TestStatus.ASSUMPTION_FAILURE)) { in assertTestsPassed()
/cts/hostsidetests/graphics/displaymode/src/com/android/cts/graphics/displaymode/
DBootDisplayModeHostTest.java154 TestResult.TestStatus.PASSED) != 0; in runDeviceTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Fragments/
DDataFragment.java191 mTestReport.setTestState(TestReport.TestStatus.EXECUTED); in testStarted()
/cts/hostsidetests/media/src/android/media/cts/
DBaseMediaHostSideTest.java156 .equals(com.android.ddmlib.testrunner.TestResult.TestStatus.PASSED)) { in assertTestsPassed()
/cts/hostsidetests/mediapc/videoencodingquality/src/
DCtsVideoEncodingQualityHostTest.java26 import com.android.ddmlib.testrunner.TestResult.TestStatus;
566 if (resultEntry.getValue().getStatus().equals(TestStatus.FAILURE)) { in assertTestsPassed()
573 if (resultEntry.getValue().getStatus().equals(TestStatus.ASSUMPTION_FAILURE)) { in assertTestsPassed()
/cts/hostsidetests/appcompat/host/lib/src/android/compat/cts/
DCompatChangeGatingTestCase.java26 import com.android.ddmlib.testrunner.TestResult.TestStatus;
179 if (!resultEntry.getValue().getStatus().equals(TestStatus.PASSED)) { in runDeviceCompatTestReported()
/cts/hostsidetests/content/src/android/content/cts/
DBaseContextCrossProfileTest.java179 com.android.ddmlib.testrunner.TestResult.TestStatus.PASSED)) { in runDeviceTests()
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DUtils.java91 com.android.ddmlib.testrunner.TestResult.TestStatus.PASSED)) { in runDeviceTests()

12