Home
last modified time | relevance | path

Searched refs:getErrorCode (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DResourceManagerTestActivityBase.java57 Log.d(TAG, "onError " + codec.toString() + " errorCode " + e.getErrorCode()); in onError()
180 Log.d(TAG, "CodecException 0x" + Integer.toHexString(e.getErrorCode())); in allocateCodecs()
210 Log.d(TAG, "useCodecs got CodecException 0x" + Integer.toHexString(e.getErrorCode())); in doUseCodecs()
211 if (e.getErrorCode() == MediaCodec.CodecException.ERROR_RECLAIMED) { in doUseCodecs()
DMediaCodecClearKeyPlayer.java632 + e.getErrorCode() + ", '" + e.getMessage() + "'"); in doSomeWork()
646 + e.getErrorCode() + ", '" + e.getMessage() + "'"); in doSomeWork()
DMediaCodecTest.java175 Log.w(TAG, "CodecException Recoverable: " + ex.getErrorCode()); in logMediaCodecException()
177 Log.w(TAG, "CodecException Transient: " + ex.getErrorCode()); in logMediaCodecException()
179 Log.w(TAG, "CodecException Fatal: " + ex.getErrorCode()); in logMediaCodecException()
2016 assertEquals(errorCode, exception.getErrorCode()); in testCryptoException()
2192 if (e.getErrorCode() != MediaCodec.CryptoException.ERROR_LOST_STATE) { in testCryptoErrorLostSessionState()
2194 e.getErrorCode() + ": " + e.getMessage()); in testCryptoErrorLostSessionState()
DMediaDrmClearkeyTest.java1233 if (e.getErrorCode() != MediaDrm.SessionException.ERROR_RESOURCE_CONTENTION) { in testResourceContentionError()
1630 MediaDrm.ErrorCodes.ERROR_SESSION_NOT_OPENED, e.getErrorCode()); in testMediaDrmStateExceptionErrorCode()
DMediaCodecCapabilitiesTest.java729 if (e.getErrorCode() == MediaCodec.CodecException.ERROR_INSUFFICIENT_RESOURCE) { in getActualMax()
DVideoCodecTestBase.java1009 + ", error " + e.getErrorCode());
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DBugreportManagerTest.java137 assertThat(callback.getErrorCode()) in startConnectivityBugreport_consentDenied()
153 assertThat(callback.getErrorCode()) in startConnectivityBugreport_consentTimeout()
186 assertThat(callback2.getErrorCode()) in simultaneousBugreportsNotAllowed()
218 assertThat(callback.getErrorCode()).isEqualTo(BugreportCallback.BUGREPORT_ERROR_RUNTIME); in cancelBugreport()
328 public synchronized int getErrorCode() { in getErrorCode() method in BugreportManagerTest.BugreportCallbackImpl
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/systemupdate/
DSystemUpdatePolicyTest.java224 e.getErrorCode()); in testFreezePeriodCannotSetIfTooCloseToPrevious()
246 e.getErrorCode()); in testFreezePeriodCannotSetIfTooLongWhenCombinedWithPrevious()
315 assertThat(e.getErrorCode()).isEqualTo(copy.getErrorCode()); in testWriteValidationFailedExceptionToParcel()
407 errorCode,e.getErrorCode()); in validateFreezePeriodsFails()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCallComposerTest.java169 String error = TelephonyUtils.parseErrorCodeToString(result.second.getErrorCode(), in pictureUploadHelper()
180 } else if (result.second.getErrorCode() != expectedErrorCode) { in pictureUploadHelper()
182 TelephonyUtils.parseErrorCodeToString(result.second.getErrorCode(), in pictureUploadHelper()
DTelephonyManagerTest.java3246 exception.getErrorCode()); in testModemActivityInfoException()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DCallLogTest.java189 fail("Got error " + result.second.getErrorCode() + " when storing image"); in testCallComposerImageStorage()
205 e.getErrorCode()); in testCallComposerLoggingException()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyAttestationTest.java200 ((KeyStoreException) e.getCause()).getErrorCode()) { in testEcAttestation()
231 assertTrue(KM_ERROR_INVALID_INPUT_LENGTH == cause.getErrorCode() || in testEcAttestation_TooLargeChallenge()
233 && KM_ERROR_CANNOT_ATTEST_IDS == cause.getErrorCode()) in testEcAttestation_TooLargeChallenge()
431 assertEquals(KM_ERROR_PERMISSION_DENIED, cause.getErrorCode()); in testEcAttestation_KeyStoreExceptionWhenRequestingUniqueId()
521 assertTrue(KM_ERROR_INVALID_INPUT_LENGTH == cause.getErrorCode() || in testRsaAttestation_TooLargeChallenge()
523 && KM_ERROR_CANNOT_ATTEST_IDS == cause.getErrorCode()) in testRsaAttestation_TooLargeChallenge()
661 ((KeyStoreException) e.getCause()).getErrorCode()) { in testRsaAttestations()
/cts/hostsidetests/calllog/app/src/android/provider/cts/contacts/testapp/
DCallLogDirectBootTest.java84 fail("Got error " + result.second.getErrorCode() + " when storing image"); in testShadowCallComposerPicture()
/cts/hostsidetests/media/src/android/media/metrics/cts/
DMediaMetricsAtomTests.java128 assertThat(result.getErrorCode().toString()).isEqualTo("ERROR_CODE_UNKNOWN"); in testPlaybackErrorEvent_default()
153 assertThat(result.getErrorCode().toString()).isEqualTo("ERROR_CODE_RUNTIME"); in testPlaybackErrorEvent()
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingManagerTest.java541 assertEquals(TranscodingSession.ERROR_NONE, session.getErrorCode()); in transcodeFile()
616 assertEquals(TranscodingSession.ERROR_NONE, session.getErrorCode()); in testCancelTranscoding()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureResultTest.java249 int errorCode = listener.getErrorCode(); in testPartialResult()
953 public int getErrorCode() { in getErrorCode() method in CaptureResultTest.TotalAndPartialResultListener
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewClientTest.java326 webViewClient.hasOnReceivedResourceError().getErrorCode()); in testOnReceivedErrorForSubresource()
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/res/apis/
Dtest-current.txt2205 method public int getErrorCode();