Home
last modified time | relevance | path

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

12

/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/unittests/
DHotwordDetectionServiceFailureTest.java52 assertThat(hotwordDetectionServiceFailure.getErrorCode()).isEqualTo(TEST_ERROR_CODE); in testHotwordDetectionServiceFailure_getErrorCode()
85 assertThat(hotwordDetectionServiceFailure.getErrorCode()).isEqualTo( in testHotwordDetectionServiceFailureParcelizeDeparcelize()
86 targetHotwordDetectionServiceFailure.getErrorCode()); in testHotwordDetectionServiceFailureParcelizeDeparcelize()
DSoundTriggerFailureTest.java51 assertThat(soundTriggerFailure.getErrorCode()).isEqualTo(TEST_ERROR_CODE); in testSoundTriggerFailure_getErrorCode()
84 assertThat(soundTriggerFailure.getErrorCode()).isEqualTo( in testSoundTriggerFailureParcelizeDeparcelize()
85 targetSoundTriggerFailure.getErrorCode()); in testSoundTriggerFailureParcelizeDeparcelize()
DVisualQueryDetectionServiceFailureTest.java52 assertThat(visualQueryDetectionServiceFailure.getErrorCode()).isEqualTo(TEST_ERROR_CODE); in testVisualQueryDetectionServiceFailure_getErrorCode()
86 assertThat(visualQueryDetectionServiceFailure.getErrorCode()).isEqualTo( in testVisualQueryDetectionServiceFailureParcelizeDeparcelize()
87 targetVisualQueryDetectionServiceFailure.getErrorCode()); in testVisualQueryDetectionServiceFailureParcelizeDeparcelize()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DResourceManagerCodecActivity.java88 Log.d(TAG, "onError " + codec.toString() + " errorCode " + e.getErrorCode()); in onError()
227 Log.d(TAG, "CodecException 0x" + Integer.toHexString(e.getErrorCode())); in allocateCodecs()
257 Log.d(TAG, "useCodecs got CodecException 0x" + Integer.toHexString(e.getErrorCode())); in doUseCodecs()
258 if (e.getErrorCode() == MediaCodec.CodecException.ERROR_RECLAIMED) { in doUseCodecs()
DResourceManagerTestActivityBase.java71 int error = e.getErrorCode(); in onError()
314 int error = e.getErrorCode(); in allocateCodecs()
368 Log.d(TAG, "useCodecs got CodecException 0x" + Integer.toHexString(e.getErrorCode())); in doUseCodecs()
369 if (e.getErrorCode() == MediaCodec.CodecException.ERROR_RECLAIMED) { in doUseCodecs()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/error/
DCecClientWrapperException.java48 public ErrorCodes getErrorCode() { in getErrorCode() method in CecClientWrapperException
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothSocketExceptionTest.java35 assertEquals(exception.getErrorCode(), BluetoothSocketException.SOCKET_CONNECTION_FAILURE); in test_getErrorCode_returnsCorrectErrorCode()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DBugreportManagerTest.java146 assertThat(callback.getErrorCode()) in startConnectivityBugreport_consentDenied()
163 assertThat(callback.getErrorCode()) in startConnectivityBugreport_consentTimeout()
196 assertThat(callback2.getErrorCode()) in simultaneousBugreportsNotAllowed()
229 assertThat(callback.getErrorCode()).isEqualTo(BugreportCallback.BUGREPORT_ERROR_RUNTIME); in cancelBugreport()
340 public synchronized int getErrorCode() { in getErrorCode() method in BugreportManagerTest.BugreportCallbackImpl
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DSatelliteManagerTest.java339 errorCode.set(exception.getErrorCode()); in testRequestIsSatelliteProvisioned()
381 errorCode.set(exception.getErrorCode()); in testRequestIsSatelliteEnabled()
407 errorCode.set(exception.getErrorCode()); in testRequestIsSatelliteSupported()
442 errorCode.set(exception.getErrorCode()); in testRequestSatelliteCapabilities()
642 errorCode.set(exception.getErrorCode()); in testRequestIsSatelliteCommunicationAllowedForCurrentLocation()
666 errorCode.set(exception.getErrorCode()); in testRequestTimeForNextSatelliteVisibility()
710 errorCode.set(exception.getErrorCode()); in testRequestIsSatelliteAttachEnabledForCarrier()
777 errorCode.set(exception.getErrorCode()); in testRequestNtnSignalStrength()
DSatelliteManagerTestBase.java861 errorCode.set(exception.getErrorCode()); in isSatelliteProvisioned()
901 errorCode.set(exception.getErrorCode()); in isSatelliteEnabled()
942 errorCode.set(exception.getErrorCode()); in isSatelliteDemoModeEnabled()
1062 errorCode.set(exception.getErrorCode()); in isSatelliteSupported()
/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/media/codec/src/android/media/codec/cts/
DMediaCodecResourceTest.java141 if (ex.getErrorCode() == CodecException.ERROR_INSUFFICIENT_RESOURCE) { in testLowerPriorityProcessFailsToReclaimResources()
168 if (ex.getErrorCode() == CodecException.ERROR_INSUFFICIENT_RESOURCE) { in testLowerPriorityProcessFailsToReclaimResources()
228 if (ex.getErrorCode() == CodecException.ERROR_INSUFFICIENT_RESOURCE) { in testHigherPriorityProcessReclaimsResources()
255 if (ex.getErrorCode() == CodecException.ERROR_INSUFFICIENT_RESOURCE) { in testHigherPriorityProcessReclaimsResources()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCallComposerTest.java189 String error = TelephonyUtils.parseErrorCodeToString(result.second.getErrorCode(), in pictureUploadHelper()
200 } else if (result.second.getErrorCode() != expectedErrorCode) { in pictureUploadHelper()
202 TelephonyUtils.parseErrorCodeToString(result.second.getErrorCode(), in pictureUploadHelper()
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaDrmCodecTest.java184 if (e.getErrorCode() != MediaCodec.CryptoException.ERROR_LOST_STATE) { in testCryptoErrorLostSessionState()
186 e.getErrorCode() + ": " + e.getMessage()); in testCryptoErrorLostSessionState()
/cts/tests/credentials/src/android/credentials/cts/unittests/selection/
DFailureResultTest.java52 assertThat(obj.getErrorCode()).isEqualTo(FailureResult.ERROR_CODE_DIALOG_CANCELED_BY_USER); in construction_success()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/audio/
DHdmiCecAudioReturnChannelControlTest.java63 if (e.getErrorCode() != ErrorCodes.CecMessageNotFound) { in checkArcIsInitiated()
DHdmiCecInvalidMessagesTest.java76 if (e.getErrorCode() != ErrorCodes.CecMessageNotFound) { in checkArcIsInitiated()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/tv/
DHdmiCecRoutingControlTest.java69 if (e.getErrorCode() != ErrorCodes.CecMessageNotFound) { in checkForInitialActiveSourceMessage()
DHdmiCecRemoteControlPassThroughTest.java78 if (e.getErrorCode() != ErrorCodes.CecMessageNotFound) { in checkForInitialActiveSourceMessage()
/cts/hostsidetests/neuralnetworks/src/com/android/nn/host/cts/
DNeuralNetworksStatsTests.java156 assertThat(atom.getErrorCode()).isEqualTo( in testAppNeuralNetworksCompilationFailedNative()
260 assertThat(atom.getErrorCode()).isEqualTo( in testAppNeuralNetworksExecutionFailedNative()
/cts/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/
DOnDeviceIntelligenceManagerTest.java590 assertEquals(error.getErrorCode(), expectedException.getErrorCode()); in exceptionPopulatedWhenAttemptingProcessRequest()
608 assertEquals(error.getErrorCode(), expectedException2.getErrorCode()); in exceptionPopulatedWhenAttemptingProcessRequest()
629 assertEquals(error.getErrorCode(), expectedException3.getErrorCode()); in exceptionPopulatedWhenAttemptingProcessRequest()
/cts/hostsidetests/calllog/app/src/android/provider/cts/contacts/testapp/
DCallLogDirectBootTest.java84 fail("Got error " + result.second.getErrorCode() + " when storing image"); in testShadowCallComposerPicture()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DAlwaysOnHotwordDetectorTest.java282 assertThat(failure.getErrorCode()).isEqualTo(ERROR_CODE_MODULE_DIED); in testHalIsDead_onFailureReceived()
323 assertThat(failure.getErrorCode()).isEqualTo(ERROR_CODE_RECOGNITION_RESUME_FAILED); in testRecognitionResumedFailed_onFailureReceived()
1049 assertThat(failure.getErrorCode()).isEqualTo(ERROR_CODE_RECOGNITION_RESUME_FAILED); in testRecognitionNotRequested_afterResumeFailed()
1252 assertThat(soundTriggerFailure.getErrorCode()).isEqualTo(ERROR_CODE_UNKNOWN); in testDspEnrollment_enrollmentStopsRunningSession_onFailureAndEnrolledReceived()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DThreadNetworkTest.java139 assertThat(cause.getErrorCode()).isEqualTo(ERROR_FAILED_PRECONDITION); in enableThread_disallowThreadNetworkIsSet_failWithFailedPrecondition()
/cts/tests/tests/media/common/src/android/media/cts/
DMediaCodecCryptoAsyncHelper.java348 + e.getErrorCode() + " Detail: " + e.getMessage()); in runDecodeShortClearKeyVideo()
536 + e.getErrorCode() + " Detail: " + e.getMessage()); in runComponentWithLinearInputUsingBlockModel()

12