Home
last modified time | relevance | path

Searched refs:getErrorCode (Results 1 – 25 of 91) 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/base/libs/appfunctions/java/com/android/extensions/appfunctions/
DSidecarConverter.java69 exception.getErrorCode(), exception.getErrorMessage(), exception.getExtras()); in getPlatformAppFunctionException()
110 exception.getErrorCode(), exception.getErrorMessage(), exception.getExtras()); in getSidecarAppFunctionException()
DAppFunctionException.java143 public int getErrorCode() { in getErrorCode() method in AppFunctionException
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DStagingManagerTest.java159 assertThat(session1.getErrorCode()).isEqualTo(PackageManager.INSTALL_ACTIVATION_FAILED); in restoreSessions_deviceUpgrading_failsAllSessions()
162 assertThat(session2.getErrorCode()).isEqualTo(PackageManager.INSTALL_ACTIVATION_FAILED); in restoreSessions_deviceUpgrading_failsAllSessions()
247 assertThat(apexSession.getErrorCode()) in restoreSessions_unknownApexSession_failsAllSessions()
252 assertThat(apkSession.getErrorCode()) in restoreSessions_unknownApexSession_failsAllSessions()
303 assertThat(apexSession1.getErrorCode()) in restoreSessions_failedApexSessions_failsAllSessions()
308 assertThat(apexSession2.getErrorCode()) in restoreSessions_failedApexSessions_failsAllSessions()
313 assertThat(apexSession3.getErrorCode()) in restoreSessions_failedApexSessions_failsAllSessions()
318 assertThat(apkSession.getErrorCode()) in restoreSessions_failedApexSessions_failsAllSessions()
351 assertThat(apexSession.getErrorCode()) in restoreSessions_stagedApexSession_failsAllSessions()
356 assertThat(apkSession.getErrorCode()) in restoreSessions_stagedApexSession_failsAllSessions()
[all …]
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_smoke_test.cpp189 int getErrorCode() { in getErrorCode() function in android::os::dumpstate::DumpstateListener
477 while (!listener->getIsFinished() && listener->getErrorCode() == -1 && in WaitTillExecutionComplete()
521 listener->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_DENIED_CONSENT || in TEST_F()
522 listener->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT); in TEST_F()
551 EXPECT_EQ(listener->getErrorCode(), IDumpstateListener::BUGREPORT_ERROR_INVALID_INPUT); in TEST_F()
595 EXPECT_EQ(listener2->getErrorCode(), in TEST_F()
604 listener1->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_DENIED_CONSENT || in TEST_F()
605 listener1->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT); in TEST_F()
/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/libs/gsma_services/satellite_client/src/android/telephony/satellite/wrapper/
DSatelliteManagerWrapper.java558 public int getErrorCode() { in getErrorCode() method in SatelliteManagerWrapper.SatelliteExceptionWrapper
616 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestIsEnabled()
643 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestIsDemoModeEnabled()
670 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestIsEmergencyModeEnabled()
695 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestIsSupported()
727 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestCapabilities()
1019 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestIsProvisioned()
1308 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestIsCommunicationAllowedForCurrentLocation()
1338 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestSatelliteAccessConfigurationForCurrentLocation()
1370 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestTimeForNextSatelliteVisibility()
[all …]
/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.java342 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testDisableProfile_Error()
378 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testSwitchToProfile_Error()
393 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testSwitchToProfile_MepA1()
442 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testDeleteProfile_Error()
623 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testAuthenticateServer_Error()
696 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testPrepareDownload_Error()
786 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testLoadBoundProfilePackage_ErrorAtEnd()
833 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testLoadBoundProfilePackage_ErrorInMiddle()
966 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testCancelSession_Error()
1002 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/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/packages/NeuralNetworks/framework/platform/java/android/service/ondeviceintelligence/
DOnDeviceSandboxedInferenceService.java486 callback.onFailure(exception.getErrorCode(), exception.getMessage(),
531 callback.onFailure(exception.getErrorCode(), exception.getMessage(),
582 tokenInfoCallback.onFailure(exception.getErrorCode(), exception.getMessage(),
609 callback.onFailure(error.getErrorCode(), error.getMessage());
/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/libs/service_entitlement/tests/src/com/android/libraries/entitlement/
DTs43AuthenticationTest.java178 assertThat(e.getErrorCode()).isEqualTo( in testGetAuthToken_tokenNotAvailable_throwException()
208 assertThat(e.getErrorCode()).isEqualTo( in testGetAuthToken_httpResponseError()
/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/packages/NeuralNetworks/framework/module/java/android/app/ondeviceintelligence/
DOnDeviceIntelligenceException.java138 public int getErrorCode() { in getErrorCode() method in OnDeviceIntelligenceException
/frameworks/base/packages/NeuralNetworks/framework/platform/java/android/app/ondeviceintelligence/
DOnDeviceIntelligenceException.java138 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

1234