Home
last modified time | relevance | path

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

12

/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_smoke_test.cpp175 int getErrorCode() { in getErrorCode() function in android::os::dumpstate::DumpstateListener
421 while (!listener->getIsFinished() && listener->getErrorCode() == -1 && in WaitTillExecutionComplete()
462 listener->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_DENIED_CONSENT || in TEST_F()
463 listener->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT); in TEST_F()
491 EXPECT_EQ(listener->getErrorCode(), IDumpstateListener::BUGREPORT_ERROR_INVALID_INPUT); in TEST_F()
530 EXPECT_EQ(listener2->getErrorCode(), in TEST_F()
539 listener1->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_DENIED_CONSENT || in TEST_F()
540 listener1->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT); in TEST_F()
/frameworks/base/core/tests/bugreports/src/android/server/bugreports/
DBugreportManagerTest.java102 assertThat(callback.getErrorCode()).isEqualTo( in normalFlow_wifi()
118 assertThat(callback.getErrorCode()).isEqualTo( in normalFlow_interactive()
139 assertThat(callback2.getErrorCode()).isEqualTo( in simultaneousBugreportsNotAllowed()
245 public int getErrorCode() { in getErrorCode() method in BugreportManagerTest.BugreportCallbackImpl
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccCardTest.java306 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testDisableProfile_Error()
342 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testSwitchToProfile_Error()
390 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testDeleteProfile_Error()
571 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testAuthenticateServer_Error()
644 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testPrepareDownload_Error()
734 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testLoadBoundProfilePackage_ErrorAtEnd()
781 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testLoadBoundProfilePackage_ErrorInMiddle()
914 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testCancelSession_Error()
950 assertEquals(3, ((EuiccCardErrorException) resultCaptor.exception).getErrorCode()); in testListNotifications_Error()
1006 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.java340 error.getErrorCode(), error.getDescription().toString(), in onReceivedError()
/frameworks/base/keystore/java/android/security/
DKeyStoreException.java37 public int getErrorCode() { in getErrorCode() method in KeyStoreException
DKeyStore.java488 return interruptedPreservingGet(promise.getFuture()).getErrorCode() == NO_ERROR; in addRngEntropy()
569 error = result.getKeystoreResponse().getErrorCode(); in generateKeyInternal()
620 error = result.getKeystoreResponse().getErrorCode(); in getKeyCharacteristics()
654 error = result.getKeystoreResponse().getErrorCode(); in importKeyInternal()
762 error = result.getKeystoreResponse().getErrorCode(); in importWrappedKeyInternal()
977 return interruptedPreservingGet(promise.getFuture()).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.java2239 public int getErrorCode() {
2380 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/core/java/android/os/
DUpdateEngine.java482 public int getErrorCode() { in getErrorCode() method in UpdateEngine.AllocateSpaceResult
/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.txt2678 method public int getErrorCode();
Dsystem-current.txt6216 method public int getErrorCode();
/frameworks/base/non-updatable-api/
Dsystem-current.txt6122 method public int getErrorCode();
Dcurrent.txt7101 method public int getErrorCode();
24505 method public int getErrorCode();
24514 method public int getErrorCode();
25191 method public int getErrorCode();
55680 method public abstract int getErrorCode();
67947 method public int getErrorCode();

12