Home
last modified time | relevance | path

Searched refs:reason (Results 1 – 21 of 21) sorted by relevance

/cts/tests/tests/tv/src/android/media/tv/cts/
DBundledTvInputServiceTest.java69 public void onVideoUnavailable(String inputId, int reason) { in onVideoUnavailable() argument
71 mVideoUnavailableReasonMap.put(inputId, reason); in onVideoUnavailable()
147 Integer reason = mCallback.getVideoUnavailableReason(info.getId()); in testTune() local
148 return reason != null in testTune()
149 && reason != TvInputManager.VIDEO_UNAVAILABLE_REASON_TUNING in testTune()
150 && reason != TvInputManager.VIDEO_UNAVAILABLE_REASON_BUFFERING; in testTune()
177 Integer reason = mCallback.getVideoUnavailableReason(info.getId()); in testTuneStress() local
178 return reason != null in testTuneStress()
179 && reason != TvInputManager.VIDEO_UNAVAILABLE_REASON_TUNING in testTuneStress()
180 && reason != TvInputManager.VIDEO_UNAVAILABLE_REASON_BUFFERING; in testTuneStress()
DTvViewTest.java105 public void onVideoUnavailable(String inputId, int reason) { in onVideoUnavailable() argument
DTvInputServiceTest.java90 public void onVideoUnavailable(String inputId, int reason) { in onVideoUnavailable() argument
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
DCameraErrorCollector.java98 public <T> void checkThat(final String reason, final T value, final Matcher<T> matcher) { in checkThat() argument
99 super.checkThat(mCameraMsg + reason, value, matcher); in checkThat()
730 String reason = "Key " + key.getName() + " shouldn't have value " + value.toString(); in expectKeyValueNotEquals() local
731 checkThat(reason, value, CoreMatchers.not(expected)); in expectKeyValueNotEquals()
752 String reason = "Key " + key.getName() + " shouldn't have value " + value.toString(); in expectKeyValueNotEquals() local
753 checkThat(reason, value, CoreMatchers.not(expected)); in expectKeyValueNotEquals()
774 String reason = "Key " + key.getName() + " value " + value.toString() in expectKeyValueEquals() local
776 checkThat(reason, value, CoreMatchers.equalTo(expected)); in expectKeyValueEquals()
798 String reason = "Key " + key.getName() + " value " + value.toString() in expectKeyValueEquals() local
800 checkThat(reason, value, CoreMatchers.equalTo(expected)); in expectKeyValueEquals()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DActionListenerTest.java37 public void onFailure(int reason) { in onFailure() argument
38 Log.d(TAG, "onFailure() reason="+reason); in onFailure()
39 Argument arg = new Argument(reason); in onFailure()
DTestCase.java202 public void onTestFailed(String reason); in onTestFailed() argument
/cts/hostsidetests/theme/app/src/android/theme/app/
DGenerateImagesActivity.java89 private void finish(String reason, boolean success) { in finish() argument
91 mFinishReason = reason; in finish()
93 Log.i(TAG, (success ? "OKAY" : "FAIL") + ":" + reason); in finish()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/
DResponderTestActivity.java160 public void onTestFailed(final String reason) { in onTestFailed() argument
164 mTextView.setText(reason); in onTestFailed()
DRequesterTestActivity.java180 public void onTestFailed(final String reason) { in onTestFailed() argument
188 mTextView.setText(reason); in onTestFailed()
/cts/tests/tests/permission2/src/android/permission2/cts/
DNoReceiveSmsPermissionTest.java147 String reason = getErrorReason(resultCode); in handleResultCode() local
148 Log.e(LOG_TAG, String.format("message %1$s failed: %2$s", action, reason)); in handleResultCode()
/cts/tests/tests/netsecpolicy/src/android/security/
DNetworkSecurityPolicyTestBase.java200 int reason = result[1]; in testDownloadManager() local
207 assertEquals(400, reason); in testDownloadManager()
245 int reason = c.getInt(c.getColumnIndexOrThrow(DownloadManager.COLUMN_REASON)); in downloadUsingDownloadManager() local
246 return new int[] {status, reason}; in downloadUsingDownloadManager()
/cts/libs/testserver/src/android/webkit/cts/
DTestWebServer.java451 String reason = null; in createResponse() local
464 reason = sReasons.get(status); in createResponse()
467 if (reason != null) { in createResponse()
469 buf.append(reason); in createResponse()
471 buf.append(reason); in createResponse()
DCtsTestServer.java854 String reason = getReasonString(status); in createResponse() local
855 if (reason != null) { in createResponse()
856 response.setEntity(createPage(reason, reason)); in createResponse()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckTestActivity.java167 showUserMessage("Analysis failed: " + mReport.reason); in activitySetUp()
237 String message = "Analysis result: " + mReport.reason; in test02Analysis()
DRVCVXCheckAnalyzer.java84 public String reason = "incomplete"; field in RVCVXCheckAnalyzer.AnalyzeReport
201 report.reason = "Unable to to load recorded video."; in processDataSet()
208 report.reason = "Too many invalid frames."; in processDataSet()
273 report.reason = "Completed"; in processDataSet()
/cts/tests/tests/telecom/src/android/telecom/cts/
DDataObjectUnitTests.java168 final String reason = "CTS Testing"; in testDisconnectCause() local
173 reason, in testDisconnectCause()
178 assertEquals(reason, cause.getReason()); in testDisconnectCause()
191 assertEquals(reason, parcelCause.getReason()); in testDisconnectCause()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCameraManagerTest.java113 int reason = e.getReason(); in checkCameraAccessExceptionReason() local
115 switch (reason) { in checkCameraAccessExceptionReason()
119 return reason; in checkCameraAccessExceptionReason()
122 fail("Invalid CameraAccessException code: " + reason); in checkCameraAccessExceptionReason()
/cts/libs/deviceutil/src/android/cts/util/
DMediaUtils.java131 public static void skipTest(String tag, String reason) { in skipTest() argument
132 Log.i(tag, "SKIPPING " + getTestName() + "(): " + reason); in skipTest()
141 public static void skipTest(String reason) { in skipTest() argument
142 skipTest(TAG, reason); in skipTest()
/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiManagerTest.java435 public void onFailure(int reason) { in getTxPacketCount()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DDeqpTestRunner.java490 String reason = values.get("dEQP-TerminateTestCase-Reason"); in handleTestCaseTerminate() local
493 .errorMessages.put(mRunConfig, "Terminated: " + reason); in handleTestCaseTerminate()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex83927 private final javax.net.ssl.SSLException reason