Home
last modified time | relevance | path

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

1234

/frameworks/base/keystore/java/android/security/keystore2/
DKeyStoreCryptoOperationUtils.java112 switch (e.getErrorCode()) { in getInvalidKeyException()
138 switch (e.getErrorCode()) { in getExceptionForCipherInit()
183 if (e.getErrorCode() != ErrorCode.INVALID_OPERATION_HANDLE) { in abortOperation()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_smoke_test.cpp187 int getErrorCode() { in getErrorCode() function in android::os::dumpstate::DumpstateListener
475 while (!listener->getIsFinished() && listener->getErrorCode() == -1 && in WaitTillExecutionComplete()
519 listener->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_DENIED_CONSENT || in TEST_F()
520 listener->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT); in TEST_F()
549 EXPECT_EQ(listener->getErrorCode(), IDumpstateListener::BUGREPORT_ERROR_INVALID_INPUT); in TEST_F()
593 EXPECT_EQ(listener2->getErrorCode(), in TEST_F()
602 listener1->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_DENIED_CONSENT || in TEST_F()
603 listener1->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT); in TEST_F()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DStagingManagerTest.java160 assertThat(session1.getErrorCode()).isEqualTo(PackageManager.INSTALL_ACTIVATION_FAILED); in restoreSessions_deviceUpgrading_failsAllSessions()
163 assertThat(session2.getErrorCode()).isEqualTo(PackageManager.INSTALL_ACTIVATION_FAILED); in restoreSessions_deviceUpgrading_failsAllSessions()
248 assertThat(apexSession.getErrorCode()) in restoreSessions_unknownApexSession_failsAllSessions()
253 assertThat(apkSession.getErrorCode()) in restoreSessions_unknownApexSession_failsAllSessions()
304 assertThat(apexSession1.getErrorCode()) in restoreSessions_failedApexSessions_failsAllSessions()
309 assertThat(apexSession2.getErrorCode()) in restoreSessions_failedApexSessions_failsAllSessions()
314 assertThat(apexSession3.getErrorCode()) in restoreSessions_failedApexSessions_failsAllSessions()
319 assertThat(apkSession.getErrorCode()) in restoreSessions_failedApexSessions_failsAllSessions()
352 assertThat(apexSession.getErrorCode()) in restoreSessions_stagedApexSession_failsAllSessions()
357 assertThat(apkSession.getErrorCode()) in restoreSessions_stagedApexSession_failsAllSessions()
[all …]
/frameworks/libs/gsma_services/satellite_client/src/android/telephony/satellite/wrapper/
DSatelliteManagerWrapper.java488 public int getErrorCode() { in getErrorCode() method in SatelliteManagerWrapper.SatelliteExceptionWrapper
523 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestIsEnabled()
542 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestIsDemoModeEnabled()
561 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestIsEmergencyModeEnabled()
580 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestIsSupported()
604 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestCapabilities()
753 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestIsProvisioned()
904 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestIsCommunicationAllowedForCurrentLocation()
927 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestTimeForNextSatelliteVisibility()
974 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestNtnSignalStrength()
[all …]
/frameworks/av/media/module/service.mediatranscoding/tests/TranscodingUidPolicyTestApp/src/com/android/tests/transcoding/
DResourcePolicyTestActivity.java58 Log.d(TAG, "onError " + codec.toString() + " errorCode " + e.getErrorCode()); in onError()
181 Log.d(TAG, "CodecException 0x" + Integer.toHexString(e.getErrorCode())); in allocateCodecs()
211 Log.d(TAG, "useCodecs got CodecException 0x" + Integer.toHexString(e.getErrorCode())); in doUseCodecs()
212 if (e.getErrorCode() == MediaCodec.CodecException.ERROR_RECLAIMED) { in doUseCodecs()
/frameworks/base/core/java/android/webkit/
DWebResourceError.java32 public abstract int getErrorCode(); in getErrorCode() method in WebResourceError
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/
DUceDeviceState.java139 public Optional<Integer> getErrorCode() { in getErrorCode() method in UceDeviceState.DeviceStateResult
164 mErrorCode.equals(otherDeviceState.getErrorCode()) && in isDeviceStateEqual()
176 .append(", ErrorCode=").append(getErrorCode()) in toString()
204 mErrorCode = deviceState.get().getErrorCode(); in UceDeviceState()
/frameworks/base/core/java/android/content/pm/parsing/result/
DParseResult.java56 int getErrorCode(); in getErrorCode() method
DParseTypeImpl.java213 return error(intentResult.getErrorCode(), intentResult.getErrorMessage(),
256 public int getErrorCode() {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccPortTest.java341 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testDisableProfile_Error()
377 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testSwitchToProfile_Error()
392 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testSwitchToProfile_MepA1()
441 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testDeleteProfile_Error()
622 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testAuthenticateServer_Error()
695 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testPrepareDownload_Error()
785 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testLoadBoundProfilePackage_ErrorAtEnd()
832 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testLoadBoundProfilePackage_ErrorInMiddle()
965 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testCancelSession_Error()
1001 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testListNotifications_Error()
[all …]
/frameworks/base/keystore/java/android/security/keystore/
DKeystoreResponse.java56 public final int getErrorCode() { in getErrorCode() method in KeystoreResponse
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/
DTs43AuthenticationTest.java172 assertThat(e.getErrorCode()).isEqualTo( in testGetAuthToken_tokenNotAvailable_throwException()
196 assertThat(e.getErrorCode()).isEqualTo( in testGetAuthToken_httpResponseError()
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/http/
DHttpClientTest.java127 assertThat(exception.getErrorCode()).isEqualTo( in request_httpGetResponseBadRequest_throwsException()
216 assertThat(exception.getErrorCode()).isEqualTo( in request_getResponseCodeFailed_expectThrowsException()
242 assertThat(exception.getErrorCode()).isEqualTo( in request_getResponseBodyFailed_expectThrowsException()
/frameworks/base/core/java/android/service/ondeviceintelligence/
DOnDeviceSandboxedInferenceService.java476 callback.onFailure(exception.getErrorCode(), exception.getMessage(),
521 callback.onFailure(exception.getErrorCode(), exception.getMessage(),
572 tokenInfoCallback.onFailure(exception.getErrorCode(), exception.getMessage(),
599 callback.onFailure(error.getErrorCode(), error.getMessage());
DOnDeviceIntelligenceService.java346 featureCallback.onFailure(exception.getErrorCode(), exception.getMessage(),
372 listFeaturesCallback.onFailure(exception.getErrorCode(), exception.getMessage(),
398 featureStatusCallback.onFailure(exception.getErrorCode(),
/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageParser2.java136 throw new PackageParserException(result.getErrorCode(), result.getErrorMessage(), in parsePackage()
169 throw new PackageParserException(result.getErrorCode(), result.getErrorMessage(), in parsePackageFromPackageLite()
/frameworks/base/core/java/android/credentials/selection/
DFailureResult.java102 public int getErrorCode() { in getErrorCode() method in FailureResult
/frameworks/base/media/java/android/media/
DMediaCasStateException.java114 public int getErrorCode() { in getErrorCode() method in MediaCasStateException
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCardErrorException.java103 public int getErrorCode() { in getErrorCode() method in EuiccCardErrorException
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/
DSubscribeRequestCoordinator.java118 int errorCode = deviceState.getErrorCode().orElse(RcsUceAdapter.ERROR_FORBIDDEN);
144 if (terminatedResult.getErrorCode().isPresent()) {
146 int errorCode = terminatedResult.getErrorCode().get();
562 int errorCode = result.getErrorCode().orElse(DEFAULT_ERROR_CODE); in checkAndFinishRequestCoordinator()
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/
DServiceEntitlementException.java151 public int getErrorCode() { in getErrorCode() method in ServiceEntitlementException
/frameworks/base/core/java/android/app/ondeviceintelligence/
DOnDeviceIntelligenceException.java136 public int getErrorCode() { in getErrorCode() method in OnDeviceIntelligenceException
/frameworks/base/core/java/android/service/voice/
DVisualQueryDetectionServiceFailure.java102 public int getErrorCode() { in getErrorCode() method in VisualQueryDetectionServiceFailure
DHotwordDetectionServiceFailure.java125 public int getErrorCode() { in getErrorCode() method in HotwordDetectionServiceFailure
/frameworks/libs/gsma_services/ts43authentication/src/com/android/libraries/ts43authentication/
DAuthenticationException.java163 this(convertToAuthenticationError(exception.getErrorCode()), in AuthenticationException()

1234