Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_smoke_test.cpp124 int getErrorCode() { in getErrorCode() function in android::os::dumpstate::DumpstateListener
372 while (!listener->getIsFinished() && listener->getErrorCode() == -1 && in WaitTillExecutionComplete()
413 listener->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_DENIED_CONSENT || in TEST_F()
414 listener->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT); in TEST_F()
442 EXPECT_EQ(listener->getErrorCode(), IDumpstateListener::BUGREPORT_ERROR_INVALID_INPUT); in TEST_F()
477 EXPECT_EQ(listener2->getErrorCode(), in TEST_F()
486 listener1->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_DENIED_CONSENT || in TEST_F()
487 listener1->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT); in TEST_F()
/frameworks/base/core/tests/bugreports/src/android/server/bugreports/
DBugreportManagerTest.java106 assertThat(callback.getErrorCode()).isEqualTo( in normalFlow_wifi()
122 assertThat(callback.getErrorCode()).isEqualTo( in normalFlow_interactive()
134 assertThat(callback.getErrorCode()).isEqualTo( in normalFlow_full()
159 assertThat(callback2.getErrorCode()).isEqualTo( in simultaneousBugreportsNotAllowed()
265 public int getErrorCode() { in getErrorCode() method in BugreportManagerTest.BugreportCallbackImpl
/frameworks/base/tools/preload2/src/com/android/preload/classdataretrieval/jdwp/
DJDWPClassDataRetriever.java87 if (reply.getErrorCode() != JDWPConstants.Error.NONE) { in retrieveImpl()
98 if (reply.getErrorCode() != JDWPConstants.Error.NONE) { in retrieveImpl()
166 if (reply.getErrorCode() != JDWPConstants.Error.NONE) { in checkClass()
187 if (reply.getErrorCode() != JDWPConstants.Error.NONE) { in checkArrayClass()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccCardTest.java335 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testDisableProfile_Error()
371 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testSwitchToProfile_Error()
419 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testDeleteProfile_Error()
600 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testAuthenticateServer_Error()
673 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testPrepareDownload_Error()
763 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testLoadBoundProfilePackage_ErrorAtEnd()
810 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testLoadBoundProfilePackage_ErrorInMiddle()
884 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testCancelSession_Error()
920 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testListNotifications_Error()
976 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testRetrieveNotificationList_Error()
[all …]
/frameworks/base/core/java/android/webkit/
DWebResourceError.java32 public abstract int getErrorCode(); in getErrorCode() method in WebResourceError
DWebViewClient.java338 error.getErrorCode(), error.getDescription().toString(), in onReceivedError()
/frameworks/base/keystore/java/android/security/
DKeyStoreException.java37 public int getErrorCode() { in getErrorCode() method in KeyStoreException
DKeyStore.java499 return promise.getFuture().get().getErrorCode() == NO_ERROR; in addRngEntropy()
580 error = result.getKeystoreResponse().getErrorCode(); in generateKeyInternal()
631 error = result.getKeystoreResponse().getErrorCode(); in getKeyCharacteristics()
665 error = result.getKeystoreResponse().getErrorCode(); in importKeyInternal()
773 error = result.getKeystoreResponse().getErrorCode(); in importWrappedKeyInternal()
977 return promise.getFuture().get().getErrorCode(); in abort()
1141 error = result.getKeystoreResponse().getErrorCode(); in attestKey()
1170 error = result.getKeystoreResponse().getErrorCode(); in attestDeviceIds()
1314 switch (e.getErrorCode()) { in getInvalidKeyException()
/frameworks/base/keystore/java/android/security/keystore/
DKeystoreResponse.java56 public final int getErrorCode() { in getErrorCode() method in KeystoreResponse
DAndroidKeyStoreSignatureSpiBase.java366 switch (e.getErrorCode()) { in engineVerify()
DAndroidKeyStoreCipherSpiBase.java511 switch (e.getErrorCode()) { in engineDoFinal()
/frameworks/base/media/java/android/media/
DMediaCasStateException.java94 public int getErrorCode() { in getErrorCode() method in MediaCasStateException
DMediaDrm.java281 public int getErrorCode() {
329 public int getErrorCode() {
DMediaCodec.java2236 public int getErrorCode() {
2377 public int getErrorCode() {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCardErrorException.java103 public int getErrorCode() { in getErrorCode() method in EuiccCardErrorException
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DSystemUpdatePolicyTest.java414 e.getErrorCode() == expectedError); in testFreezePeriodsFails()
430 e.getErrorCode() == expectedError); in testPrevFreezePeriodFails()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipSessionGroup.java1425 onError(getErrorCode(exception), exception.toString());
1433 onError(getErrorCode(statusCode), createErrorMessage(response));
1437 private int getErrorCode(int responseStatusCode) {
1464 private int getErrorCode(Throwable exception) {
1487 onRegistrationFailed(getErrorCode(statusCode),
/frameworks/base/packages/OsuLogin/src/com/android/hotspot2/osu/
DOsuLoginActivity.java279 Log.e(TAG, "onReceived Error for MainFrame: " + error.getErrorCode()); in onReceivedError()
/frameworks/base/core/java/android/app/
DDownloadManager.java1664 return getErrorCode(status);
1690 private long getErrorCode(int status) {
/frameworks/base/core/java/android/app/admin/
DSystemUpdatePolicy.java242 public @ValidationFailureType int getErrorCode() { in getErrorCode() method in SystemUpdatePolicy.ValidationFailedException
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccCardController.java212 return ((EuiccCardErrorException) e).getErrorCode(); in getResultCode()
/frameworks/base/api/
Dtest-current.txt2389 method public int getErrorCode();
Dcurrent.txt7098 method public int getErrorCode();
24238 method public int getErrorCode();
24247 method public int getErrorCode();
24948 method public int getErrorCode();
54316 method public abstract int getErrorCode();
66583 method public int getErrorCode();
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt14552 method public int getErrorCode();
46674 method public int getErrorCode();
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt5135 Landroid/app/DownloadManager$CursorTranslator;->getErrorCode(I)J
39542 Landroid/media/MediaCasStateException;->getErrorCode()I
39957 Landroid/media/MediaDrm$MediaDrmStateException;->getErrorCode()I