Lines Matching refs:ResultCode
172 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
173 mActivityResultMultiplexedLatch.onActivityResult(requestCode, resultCode);
192 testDetails = new SensorTestDetails(testName, SensorTestDetails.ResultCode.PASS);
197 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode();
198 if (resultCode == SensorTestDetails.ResultCode.SKIPPED) {
202 if (resultCode == SensorTestDetails.ResultCode.PASS) {
430 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode();
431 switch(resultCode) {
445 throw new IllegalStateException("Unknown ResultCode: " + resultCode);
453 testDetails = new SensorTestDetails(testName, SensorTestDetails.ResultCode.PASS);
458 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode();
459 if (resultCode == SensorTestDetails.ResultCode.PASS) {
483 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode();
484 if (resultCode == SensorTestDetails.ResultCode.FAIL) {
489 testDetails.cloneAndChangeResultCode(SensorTestDetails.ResultCode.PASS));
493 testDetails.cloneAndChangeResultCode(SensorTestDetails.ResultCode.FAIL));
494 } else if (resultCode != SensorTestDetails.ResultCode.INTERRUPTED) {
499 testDetails.cloneAndChangeResultCode(SensorTestDetails.ResultCode.PASS));
567 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode();
568 switch (resultCode) {
582 throw new IllegalStateException("Unknown ResultCode: " + resultCode);
590 saveResult(testName, SensorTestDetails.ResultCode.PASS, testSummary);
597 saveResult(testName, SensorTestDetails.ResultCode.FAIL, testSummary);
604 saveResult(testName, SensorTestDetails.ResultCode.SKIPPED, testSummary);
637 SensorTestDetails.ResultCode resultCode,
641 mOverallSummaryBuilder.append(resultCode.name());