Home
last modified time | relevance | path

Searched refs:reason (Results 1 – 25 of 25) 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()
179 Integer reason = mCallback.getVideoUnavailableReason(info.getId()); in testTuneStress() local
180 return reason != null in testTuneStress()
181 && reason != TvInputManager.VIDEO_UNAVAILABLE_REASON_TUNING in testTuneStress()
182 && reason != TvInputManager.VIDEO_UNAVAILABLE_REASON_BUFFERING; in testTuneStress()
DHardwareSessionTest.java158 public void onHardwareVideoUnavailable(int reason) { in onHardwareVideoUnavailable() argument
DTvInputServiceTest.java110 public void onVideoUnavailable(String inputId, int reason) { in onVideoUnavailable() argument
112 mVideoUnavailableReason = reason; in onVideoUnavailable()
817 final int reason = TvInputManager.VIDEO_UNAVAILABLE_REASON_TUNING; in verifyCallbackVideoUnavailable() local
818 session.notifyVideoUnavailable(reason); in verifyCallbackVideoUnavailable()
823 && mCallback.mVideoUnavailableReason == reason; in verifyCallbackVideoUnavailable()
DTvViewTest.java118 public void onVideoUnavailable(String inputId, int reason) { in onVideoUnavailable() argument
/cts/tests/camera/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()
722 String reason = "Key " + key.getName() + " shouldn't have value " + value.toString(); in expectKeyValueNotEquals() local
723 checkThat(reason, value, CoreMatchers.not(expected)); in expectKeyValueNotEquals()
744 String reason = "Key " + key.getName() + " shouldn't have value " + value.toString(); in expectKeyValueNotEquals() local
745 checkThat(reason, value, CoreMatchers.not(expected)); in expectKeyValueNotEquals()
766 String reason = "Key " + key.getName() + " value " + value.toString() in expectKeyValueEquals() local
768 checkThat(reason, value, CoreMatchers.equalTo(expected)); in expectKeyValueEquals()
790 String reason = "Key " + key.getName() + " value " + value.toString() in expectKeyValueEquals() local
792 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/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.java151 String reason = getErrorReason(resultCode); in handleResultCode() local
152 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/tests/tests/telecom/src/android/telecom/cts/
DMockConnection.java78 public void onReject(String reason) { in onReject() argument
80 setDisconnected(new DisconnectCause(DisconnectCause.REJECTED, reason)); in onReject()
DDataObjectUnitTests.java166 final String reason = "CTS Testing"; in testDisconnectCause() local
171 reason, in testDisconnectCause()
176 assertEquals(reason, cause.getReason()); in testDisconnectCause()
189 assertEquals(reason, parcelCause.getReason()); in testDisconnectCause()
/cts/hostsidetests/theme/app/src/android/theme/app/
DGenerateImagesActivity.java204 private void finish(String reason, boolean success) { in finish() argument
206 mFinishReason = reason; in finish()
/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.java784 String reason = getReasonString(status); in createResponse() local
785 if (reason != null) { in createResponse()
786 response.setEntity(createPage(reason, reason)); in createResponse()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckTestActivity.java184 getReportLog().setSummary("Analysis failed: "+mReport.reason, 0, in activitySetUp()
187 showUserMessage("Analysis failed: " + mReport.reason); in activitySetUp()
291 String message = "Analysis result: " + mReport.reason; in test02Analysis()
DRVCVXCheckAnalyzer.java85 public String reason = "incomplete"; field in RVCVXCheckAnalyzer.AnalyzeReport
202 report.reason = "Unable to to load recorded video."; in processDataSet()
208 report.reason = "Video too short."; in processDataSet()
215 report.reason = "Too many invalid frames."; in processDataSet()
280 report.reason = "Completed"; in processDataSet()
/cts/tests/camera/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.java154 public static void skipTest(String tag, String reason) { in skipTest() argument
155 Log.i(tag, "SKIPPING " + getTestName() + "(): " + reason); in skipTest()
157 log.addValue("reason", reason, ResultType.NEUTRAL, ResultUnit.NONE); in skipTest()
172 public static void skipTest(String reason) { in skipTest() argument
173 skipTest(TAG, reason); in skipTest()
/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiManagerTest.java460 public void onFailure(int reason) { in getTxPacketCount()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DDeqpTestRunner.java526 String reason = values.get("dEQP-TerminateTestCase-Reason"); in handleTestCaseTerminate() local
529 .errorMessages.put(mRunConfig, "Terminated: " + reason); in handleTestCaseTerminate()
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale281 reason is that the percentage of procedure and function calls is part
/cts/tools/dex-tools/dex/
Dclasses0.out.dex83927 private final javax.net.ssl.SSLException reason
Dclasses.out.dex124129 public int reason