Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 46) sorted by relevance

12

/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DTestStatus.java48 for (TestStatus status : TestStatus.values()) { in getStatus()
49 if (value.compareToIgnoreCase(status.getValue()) == 0) { in getStatus()
50 return status; in getStatus()
DICaseResult.java51 List<ITestResult> getResults(TestStatus status); in getResults() argument
56 int countResults(TestStatus status); in countResults() argument
DCaseResult.java73 public List<ITestResult> getResults(TestStatus status) { in getResults() argument
76 if (result.getResultStatus() == status) { in getResults()
97 public int countResults(TestStatus status) { in countResults() argument
100 if (result.getResultStatus() == status) { in countResults()
DLightInvocationResult.java67 for (TestStatus status : TestStatus.values()) { in LightInvocationResult()
68 mResultCounts.put(status, result.countResults(status)); in LightInvocationResult()
DScreenshotsMetadataHandler.java68 TestStatus status = r.getResultStatus(); in writeResults() local
69 if (status == null) { in writeResults()
DIModuleResult.java145 int countResults(TestStatus status); in countResults() argument
DITestResult.java46 void setResultStatus(TestStatus status); in setResultStatus() argument
DModuleResult.java246 public int countResults(TestStatus status) { in countResults() argument
249 total += result.countResults(status); in countResults()
DTestResult.java76 public void setResultStatus(TestStatus status) { in setResultStatus() argument
77 mResult = status; in setResultStatus()
/platform_testing/libraries/flicker/utils/test/src/android/tools/io/
DRunStatusTest.kt30 for (status in RunStatus.values()) { in fromFileNameGetsCorrectStatus() method
35 .withStatus(status) in fromFileNameGetsCorrectStatus()
39 Truth.assertThat(statusFromFile).isEqualTo(status) in fromFileNameGetsCorrectStatus()
DArtifactBuilderTest.kt33 for (status in RunStatus.values()) { in buildArtifactAndFileExists() method
34 val artifact = createDefaultArtifactBuilder(status).build() in buildArtifactAndFileExists()
42 for (status in RunStatus.values()) { in buildArtifactWithStatus() method
43 val artifact = createDefaultArtifactBuilder(status).build() in buildArtifactWithStatus()
45 Truth.assertWithMessage("Run status").that(statusFromFile).isEqualTo(status) in buildArtifactWithStatus()
/platform_testing/utils/shell-as/
Dexecute.cpp218 int status; in ExecuteShellCode() local
219 waitpid(process, &status, 0); in ExecuteShellCode()
220 if (status >> 8 != SIGSTOP) { in ExecuteShellCode()
279 int status; in StepToEntryPoint() local
280 waitpid(process_id, &status, 0); in StepToEntryPoint()
281 if (status >> 8 != expected_signal) { in StepToEntryPoint()
285 << (status >> 8) << std::endl; in StepToEntryPoint()
327 int status; in ExecuteInContext() local
328 waitpid(child, &status, 0); in ExecuteInContext()
329 if ((status >> 8) != SIGSTOP) { in ExecuteInContext()
[all …]
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/report/
DDiffResultExportStrategy.kt39 status: DiffResult.Status, in reportResult()
73 status: DiffResult.Status, in reportResult()
83 status, in reportResult()
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/report/
DScubaExportStrategyTest.kt138 status = DiffResult.Status.PASSED, in reportResult_withoutOptionalArgs_writesActualAndProto()
156 status = DiffResult.Status.PASSED, in reportResult_withDiff_writesDiff()
175 status = DiffResult.Status.PASSED, in reportResult_withExpected_writesExpected()
194 status = DiffResult.Status.PASSED, in reportResult_passed_writesStatus()
208 status = DiffResult.Status.FAILED, in reportResult_failed_writesStatus()
222 status = DiffResult.Status.PASSED, in reportResult_writesCorrectImageContents()
247 status = DiffResult.Status.PASSED, in reportResult_duplicateCall_doesNotOverwriteFile()
256 status = DiffResult.Status.FAILED, in reportResult_duplicateCall_doesNotOverwriteFile()
/platform_testing/libraries/flicker/src/android/tools/flicker/junit/
DFlickerServiceCachedTestCase.kt44 if (result.status == AssertionResult.Status.ASSUMPTION_VIOLATION) { in execute()
52 if (result.status == AssertionResult.Status.PASS) "0" else "1" in execute()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/
DScenarioInstanceTest.kt103 Truth.assertThat(singleAssertionResult.status).isEqualTo(AssertionResult.Status.FAIL) in willReportFlickerAssertions()
109 Truth.assertThat(multipleAssertionResult.status).isEqualTo(AssertionResult.Status.FAIL) in willReportFlickerAssertions()
172 Truth.assertThat(assertion1Result.status).isEqualTo(AssertionResult.Status.FAIL) in willReportMainBlockAssertions()
179 Truth.assertThat(assertion2Result.status).isEqualTo(AssertionResult.Status.FAIL) in willReportMainBlockAssertions()
/platform_testing/tests/automotive/functional/statusbar/
DAndroid.bp27 "automotive-status-bar-helper",
32 "automotive-status-bar-helper",
/platform_testing/libraries/flicker/src/android/tools/flicker/
DFlickerServiceResultsCollector.kt206 if (results.any { it.status == AssertionResult.Status.FAIL }) { in <lambda>()
249 if (result.status == AssertionResult.Status.ASSUMPTION_VIOLATION) { in <lambda>()
254 val resultStatus = if (result.status == AssertionResult.Status.PASS) 0 else 1 in <lambda>()
289 val status = if (executionErrors.isEmpty()) OK_STATUS_CODE else EXECUTION_ERROR_STATUS_CODE in <lambda>() constant
290 record.addStringMetric(FAAS_STATUS_KEY, status.toString()) in <lambda>()
374 when (result.status) { in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/
DAssertionResult.kt29 val status: Status constant
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/
DIAutoPrivacySettingsHelper.java112 boolean isMicroPhoneStatusMessageUpdated(String status); in isMicroPhoneStatusMessageUpdated() argument
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DScreenshotTestRule.kt183 status = ScreenshotResultProto.DiffResult.Status.MISSING_REFERENCE, in <lambda>()
206 status = ScreenshotResultProto.DiffResult.Status.FAILED, in <lambda>()
234 val status = in <lambda>() constant
246 status = status, in <lambda>()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DSimpleperfListener.java279 boolean status = false; in stopSimpleperf()
281 status = mSimpleperfHelper.stopCollecting(path.toString()); in stopSimpleperf()
283 status = mSimpleperfHelper.copyFileOutput(path.toString()); in stopSimpleperf()
285 if (!status) { in stopSimpleperf()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/
DScenarioAssertionTest.kt81 Truth.assertThat(result.status).isEqualTo(AssertionResult.Status.FAIL) in supportsRunningAssertionsWithTruthAssertions()
111 Truth.assertThat(result.status).isEqualTo(AssertionResult.Status.ASSUMPTION_VIOLATION) in supportsRunningAssertionsWithAssumptionViolations()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/junit/
DFlickerServiceCachedTestCaseTest.kt62 override val status: AssertionResult.Status = AssertionResult.Status.PASS in reportsPassingResultMetric() constant
117 override val status = AssertionResult.Status.FAIL in reportsFailingResultMetric() constant
175 override val status: AssertionResult.Status = AssertionResult.Status.FAIL in skippedIfNonBlocking() constant
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DUtils.kt211 fun outputFileName(status: RunStatus) = in outputFileName()
215 status: RunStatus, in outputFileName()
222 .withStatus(status) in outputFileName()

12