/frameworks/base/keystore/java/android/security/keystore2/ |
D | KeyStoreCryptoOperationUtils.java | 112 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/ |
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/libs/gsma_services/satellite_client/src/android/telephony/satellite/wrapper/ |
D | SatelliteManagerWrapper.java | 488 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/ |
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/libs/service_entitlement/tests/src/com/android/libraries/entitlement/ |
D | Ts43AuthenticationTest.java | 172 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/ |
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/base/core/java/android/service/ondeviceintelligence/ |
D | OnDeviceSandboxedInferenceService.java | 476 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());
|
D | OnDeviceIntelligenceService.java | 346 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/ |
D | PackageParser2.java | 136 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/ |
D | FailureResult.java | 102 public int getErrorCode() { in getErrorCode() method in FailureResult
|
/frameworks/base/media/java/android/media/ |
D | MediaCasStateException.java | 114 public int getErrorCode() { in getErrorCode() method in MediaCasStateException
|
/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()
|
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/ |
D | ServiceEntitlementException.java | 151 public int getErrorCode() { in getErrorCode() method in ServiceEntitlementException
|
/frameworks/base/core/java/android/app/ondeviceintelligence/ |
D | OnDeviceIntelligenceException.java | 136 public int getErrorCode() { in getErrorCode() method in OnDeviceIntelligenceException
|
/frameworks/base/core/java/android/service/voice/ |
D | VisualQueryDetectionServiceFailure.java | 102 public int getErrorCode() { in getErrorCode() method in VisualQueryDetectionServiceFailure
|
D | HotwordDetectionServiceFailure.java | 125 public int getErrorCode() { in getErrorCode() method in HotwordDetectionServiceFailure
|
/frameworks/libs/gsma_services/ts43authentication/src/com/android/libraries/ts43authentication/ |
D | AuthenticationException.java | 163 this(convertToAuthenticationError(exception.getErrorCode()), in AuthenticationException()
|