/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
D | LocationModeTestActivity.java | 48 protected static final int PASS = 1; field in LocationModeTestActivity 163 if (mStatus[mState] == PASS) { in run() 180 if (mState == mStatus.length - 1 && mStatus[mState] == PASS) { in run() 219 mStatus[i] = PASS; in testIsOn() 230 mStatus[i] = PASS; in testIsExpectedMode() 241 mStatus[i] = enabled ? PASS : FAIL; in testSecureProviderIsEnabled() 248 mStatus[i] = !enabled ? PASS : FAIL; in testSecureProviderIsDisabled() 255 mStatus[i] = enabled ? PASS : FAIL; in testManagerProviderIsEnabled() 262 mStatus[i] = !enabled ? PASS : FAIL; in testManagerProviderIsDisabled()
|
/cts/common/util/tests/src/com/android/compatibility/common/util/ |
D | CaseResultTest.java | 68 assertEquals("Expected status to be set", TestStatus.PASS, testResult.getResultStatus()); in testResultReporting() 77 assertEquals("Expected one pass", 1, mResult.countResults(TestStatus.PASS)); in testCountResults() 93 assertEquals("Expected two pass", 2, mResult.countResults(TestStatus.PASS)); in testMergeCase() 109 assertEquals("Expected two pass", 2, mResult.countResults(TestStatus.PASS)); in testMergeCase_passToFail()
|
D | ResultHandlerTest.java | 165 moduleATest1.setResultStatus(TestStatus.PASS); in testSerialization() 181 moduleBTest4.setResultStatus(TestStatus.PASS); in testSerialization() 263 assertEquals("Expected 3 passes", 3, lightResult.countResults(TestStatus.PASS)); in checkLightResult() 284 assertEquals("Expected 3 passes", 3, result.countResults(TestStatus.PASS)); in checkResult() 304 assertEquals("Expected 1 pass", 1, moduleA.countResults(TestStatus.PASS)); in checkResult() 318 assertEquals("Incorrect result", TestStatus.PASS, moduleATest1.getResultStatus()); in checkResult() 327 assertEquals("Expected 2 passes", 2, moduleB.countResults(TestStatus.PASS)); in checkResult() 350 assertEquals("Incorrect result", TestStatus.PASS, moduleBTest4.getResultStatus()); in checkResult() 368 assertEquals("Incorrect result", TestStatus.PASS, moduleBTest5.getResultStatus()); in checkResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | ConditionProviderVerifierActivity.java | 94 status = PASS; in test() 121 status = PASS; in test() 156 status = PASS; in test() 200 status = PASS; in test() 256 status = PASS; in test() 304 status = PASS; in test() 360 status = PASS; in test() 391 status = PASS; in test() 471 status = PASS; in test() 511 status = PASS; in test() [all …]
|
D | ShortcutThrottlingResetActivity.java | 120 status = PASS; in test() 150 status = PASS; in test() 173 status = PASS; in test() 197 status = PASS; in test()
|
D | NotificationListenerVerifierActivity.java | 203 status = PASS; in test() 289 status = pass ? PASS : FAIL; in test() 332 status = PASS; in test() 396 status = pass ? PASS : FAIL; in test() 441 status = PASS; in test() 484 status = PASS; in test() 515 status = PASS; in test() 555 status = PASS; in test() 604 status = PASS; in test() 648 status = PASS; in test() [all …]
|
D | AttentionManagementVerifierActivity.java | 152 status = PASS; in test() 157 if (status == PASS && !isStarred(mAliceUri)) { in test() 191 status = PASS; in test() 209 status = PASS; in test() 280 status = pass ? PASS : FAIL; in test() 310 status = PASS; in test() 373 status = pass ? PASS : FAIL; in test() 402 status = PASS; in test() 465 status = pass ? PASS : FAIL; in test() 507 status = PASS; in test() [all …]
|
D | InteractiveVerifierActivity.java | 59 protected static final int PASS = 3; field in InteractiveVerifierActivity 160 mCurrentTest.status = PASS; in onCreate() 215 case PASS: in markItem() 282 case PASS: in run() 447 status = PASS; in test() 474 status = PASS; in test()
|
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/ |
D | ResultReporterTest.java | 159 assertEquals("Expected 1 pass", 1, result.countResults(TestStatus.PASS)); in testResultReporting() 173 assertEquals(String.format("Expected pass for %s", TEST_1), TestStatus.PASS, in testResultReporting() 214 assertEquals("Expected 1 pass", 1, result.countResults(TestStatus.PASS)); in testRepeatedExecutions() 229 assertEquals(String.format("Expected pass for %s", TEST_1), TestStatus.PASS, in testRepeatedExecutions() 257 testResult1.setResultStatus(TestStatus.PASS); in testRetry() 278 assertEquals("Expected 1 pass", 1, result.countResults(TestStatus.PASS)); in testRetry() 299 assertEquals(String.format("Expected pass for %s", TEST_2), TestStatus.PASS, in testRetry() 314 testResult1.setResultStatus(TestStatus.PASS); in testRetryCanSetDone() 334 assertEquals("Expected 2 pass", 2, result.countResults(TestStatus.PASS)); in testRetryCanSetDone() 353 testResult1.setResultStatus(TestStatus.PASS); in testRetryCannotSetDone() [all …]
|
D | SubPlanHelperTest.java | 176 moduleATest1.setResultStatus(TestStatus.PASS); in populateResults() 186 moduleBTest4.setResultStatus(TestStatus.PASS); in populateResults()
|
D | ChecksumReporterTest.java | 132 mFailedTest.setResultStatus(TestStatus.PASS); in testInvalidChecksums()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/ |
D | BaseGnssTestActivity.java | 174 testDetails = new GnssTestDetails(testName, GnssTestDetails.ResultCode.PASS); in run() 184 if (resultCode == GnssTestDetails.ResultCode.PASS) { in run() 343 case PASS: in setTestResult() 361 testDetails = new GnssTestDetails(testName, GnssTestDetails.ResultCode.PASS); in executeActivityTests() 367 if (resultCode == GnssTestDetails.ResultCode.PASS) { in executeActivityTests()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/reporting/ |
D | GnssTestDetails.java | 35 PASS, enumConstant 56 ResultCode resultCode = ResultCode.PASS; in GnssTestDetails()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | BaseSensorTestActivity.java | 193 testDetails = new SensorTestDetails(testName, SensorTestDetails.ResultCode.PASS); in run() 203 if (resultCode == SensorTestDetails.ResultCode.PASS) { in run() 461 case PASS: in setTestResult() 479 testDetails = new SensorTestDetails(testName, SensorTestDetails.ResultCode.PASS); in executeActivityTests() 485 if (resultCode == SensorTestDetails.ResultCode.PASS) { in executeActivityTests() 521 testDetails.cloneAndChangeResultCode(SensorTestDetails.ResultCode.PASS)); in promptUserToSetResult() 598 case PASS: in logTestDetails() 616 saveResult(testName, SensorTestDetails.ResultCode.PASS, testSummary); in logTestPass()
|
D | SensorCtsVerifierTestActivity.java | 96 new SensorTestDetails(testName, SensorTestDetails.ResultCode.PASS, testSummary); in executeTest() 106 case PASS: in executeTest()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/reporting/ |
D | SensorTestDetails.java | 37 PASS, enumConstant 58 ResultCode resultCode = ResultCode.PASS; in SensorTestDetails()
|
/cts/common/util/src/com/android/compatibility/common/util/ |
D | TestStatus.java | 22 PASS("pass"), enumConstant
|
D | TestResult.java | 196 setResultStatus(TestStatus.PASS); in passed() 210 setResultStatus(TestStatus.PASS); in skipped()
|
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/ |
D | IntegrationTest.java | 214 assertEquals(2, result.countResults(TestStatus.PASS)); in testSingleModuleRun() 317 assertEquals(1, result.countResults(TestStatus.PASS)); in testSingleModuleRun_incomplete() 347 assertEquals(2, result.countResults(TestStatus.PASS)); in testSingleModuleRun_completeAfterInternalRetry() 386 assertEquals(1, result.countResults(TestStatus.PASS)); in testSingleModuleRun_incomplete_rerun_incomplete() 416 assertEquals(1, result.countResults(TestStatus.PASS)); in testSingleModuleRun_incomplete_rerun_incomplete() 454 assertEquals(1, result.countResults(TestStatus.PASS)); in testSingleModuleRun_incomplete_rerun_complete() 488 assertEquals(3, result.countResults(TestStatus.PASS)); in testSingleModuleRun_incomplete_rerun_complete() 591 assertEquals(4, result.countResults(TestStatus.PASS)); in testSingleModuleRun_sharded() 641 assertEquals(4, result.countResults(TestStatus.PASS)); in testSingleModuleRun_sharded_incomplete() 693 assertEquals(2, result.countResults(TestStatus.PASS)); in testSingleModuleRun_sharded_getTestShard()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | DecoderConformanceTest.java | 57 PASS, enumConstant 156 return Status.PASS; in decodeTestVector() 176 if (stat == Status.PASS) { in decodeTestVectors()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/ |
D | TestReport.java | 40 PASS, enumConstant 154 case PASS: in setTestState()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/ |
D | WidgetCtsProvider.java | 53 public static String PASS = "com.example.android.widgetcts.PASS"; field in WidgetCtsProvider 77 if (action.equals(PASS) || action.equals(FAIL)) { in onReceive() 78 boolean pass = action.equals(PASS); in onReceive() 278 pass.setAction(WidgetCtsProvider.PASS); in updateWidget()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/ |
D | VrListenerVerifierActivity.java | 60 PASS, enumConstant 127 if (t.getStatus() != Status.PASS) { in updateUiState() 284 InteractiveTestCase.this.setStatus(Status.PASS); in markPassed() 339 case PASS: in updateViews()
|
/cts/common/host-side/util/tests/src/com/android/compatibility/common/util/ |
D | ModuleResultTest.java | 75 assertEquals("Expected one pass", 1, mResult.countResults(TestStatus.PASS)); in testCountResults()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResultsReport.java | 154 return TestStatus.PASS; in getTestResultStatus()
|