| /frameworks/base/keystore/java/android/security/keystore2/ |
| D | KeyStoreCryptoOperationUtils.java | 113 switch (e.getErrorCode()) { in getInvalidKeyException() 139 if (e.getErrorCode() == KeyStore.NO_ERROR) { in getExceptionForCipherInit() 144 switch (e.getErrorCode()) { in getExceptionForCipherInit() 189 if (e.getErrorCode() != ErrorCode.INVALID_OPERATION_HANDLE) { in abortOperation()
|
| D | AndroidKeyStoreSpi.java | 128 if (((android.security.KeyStoreException) cause).getErrorCode() in engineGetKey() 168 if (e.getErrorCode() != ResponseCode.KEY_NOT_FOUND) { in getKeyMetadata() 943 + e.getErrorCode(), e); in setWrappedKeyEntry() 977 switch (e.getErrorCode()) { in setWrappedKeyEntry() 983 + "code: " + e.getErrorCode(), e); in setWrappedKeyEntry() 1044 if (e.getErrorCode() != ResponseCode.KEY_NOT_FOUND) { in engineDeleteEntry()
|
| /frameworks/libs/gsma_services/satellite_client/src/android/telephony/satellite/wrapper/ |
| D | SatelliteManagerWrapper.java | 357 public int getErrorCode() { in getErrorCode() method in SatelliteManagerWrapper.SatelliteExceptionWrapper 389 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestIsSatelliteEnabled() 408 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestIsDemoModeEnabled() 427 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestIsSatelliteSupported() 451 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestSatelliteCapabilities() 591 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestIsSatelliteProvisioned() 701 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestIsSatelliteCommunicationAllowedForCurrentLocation() 724 callback.onError(new SatelliteExceptionWrapper(exception.getErrorCode())); in requestTimeForNextSatelliteVisibility()
|
| /frameworks/native/cmds/dumpstate/tests/ |
| D | dumpstate_smoke_test.cpp | 187 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/ |
| D | StagingManagerTest.java | 160 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/av/media/module/service.mediatranscoding/tests/TranscodingUidPolicyTestApp/src/com/android/tests/transcoding/ |
| D | ResourcePolicyTestActivity.java | 58 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/ |
| D | WebResourceError.java | 32 public abstract int getErrorCode(); in getErrorCode() method in WebResourceError
|
| /frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/ |
| D | UceDeviceState.java | 139 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/ |
| D | ParseResult.java | 56 int getErrorCode(); in getErrorCode() method
|
| D | ParseTypeImpl.java | 213 return error(intentResult.getErrorCode(), intentResult.getErrorMessage(), 256 public int getErrorCode() {
|
| /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/ |
| D | EuiccPortTest.java | 341 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/ |
| D | KeystoreResponse.java | 56 public final int getErrorCode() { in getErrorCode() method in KeystoreResponse
|
| /frameworks/base/services/tests/servicestests/src/com/android/server/os/ |
| D | BugreportManagerServiceImplTest.java | 135 assertThat(listener.getErrorCode()).isEqualTo( in testRetrieveBugreportWithoutFilesForCaller() 208 int getErrorCode() { in getErrorCode() method in BugreportManagerServiceImplTest.Listener
|
| /frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/http/ |
| D | HttpClientTest.java | 127 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/libs/service_entitlement/java/com/android/libraries/entitlement/ |
| D | ServiceEntitlementException.java | 119 public int getErrorCode() { in getErrorCode() method in ServiceEntitlementException
|
| /frameworks/base/media/java/android/media/ |
| D | MediaCasStateException.java | 114 public int getErrorCode() { in getErrorCode() method in MediaCasStateException
|
| /frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/ |
| D | UpdatableFontDirTest.java | 541 assertThat(e.getErrorCode()).isEqualTo(FontManager.RESULT_ERROR_DOWNGRADING); in installFontFile_downgrade() 598 assertThat(e.getErrorCode()) in installFontFile_invalidSignature() 657 assertThat(e.getErrorCode()).isEqualTo(FontManager.RESULT_ERROR_DOWNGRADING); in installFontFile_preinstalled_downgrade() 688 assertThat(e.getErrorCode()) in installFontFile_failedToWriteConfigXml() 731 assertThat(e.getErrorCode()) in installFontFile_failedToParsePostScript() 768 assertThat(e.getErrorCode()) in installFontFile_failedToParsePostScriptName_invalidFont() 806 assertThat(e.getErrorCode()) in installFontFile_failedToCreateTypeface() 841 assertThat(e.getErrorCode()) in installFontFile_renameToPsNameFailure() 918 assertThat(e.getErrorCode()) in addFontFamily_fontNotAvailable()
|
| /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/ |
| D | EuiccCardErrorException.java | 103 public int getErrorCode() { in getErrorCode() method in EuiccCardErrorException
|
| /frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/ |
| D | SubscribeRequestCoordinator.java | 118 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()
|
| D | SubscriptionTerminatedHelper.java | 60 public Optional<Integer> getErrorCode() { in getErrorCode() method in SubscriptionTerminatedHelper.TerminatedResult
|
| /frameworks/base/core/java/android/service/voice/ |
| D | HotwordDetectionServiceFailure.java | 117 public int getErrorCode() { in getErrorCode() method in HotwordDetectionServiceFailure
|
| D | VisualQueryDetectionServiceFailure.java | 102 public int getErrorCode() { in getErrorCode() method in VisualQueryDetectionServiceFailure
|
| D | SoundTriggerFailure.java | 119 public int getErrorCode() { in getErrorCode() method in SoundTriggerFailure
|
| /frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/eapaka/ |
| D | EapAkaApiTest.java | 217 assertThat(exception.getErrorCode()) in queryEntitlementStatus_noAuthenticationToken_invalidChallenge() 353 assertThat(exception.getErrorCode()) in queryEntitlementStatus_noAuthenticationToken_fourthChallenge_throwException() 400 assertThat(exception.getErrorCode()).isEqualTo( in queryEntitlementStatus_noAuthenticationToken_emptyResponseBody_throwException() 477 assertThat(exception.getErrorCode()) in queryEntitlementStatus_noAuthenticationToken_eapAkaSyncFailure_invalidChallenge() 518 assertThat(exception.getErrorCode()) in queryEntitlementStatus_noAuthenticationToken_fourthEapAkaSyncFailure() 696 assertThat(exception.getErrorCode()) in performEsimOdsaOperation_noAuthenticationToken_invalidChallenge()
|
| /frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/ |
| D | UceControllerTest.java | 161 .getErrorCode(); in testRequestCapabilitiesWithForbidden() 208 .getErrorCode(); in testRequestAvailabilityWithForbidden()
|