Searched refs:exception (Results 1 - 25 of 165) sorted by relevance

1234567

/frameworks/rs/tests/lldb/tests/harness/
H A D__init__.py19 from . import exception namespace
21 from .exception import TestSuiteException
H A Ddecorators.py122 exception=UserWarning
127 self.exception = exception
153 warnings.warn(warning, self.exception, 2)
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/verifier/
H A DDatabaseVerificaitonErrors.kt23 fun cannotVerifyQuery(exception: SQLException): String {
24 return CANNOT_VERIFY_QUERY.format(exception.message)
29 fun cannotCreateConnection(exception: Exception): String {
30 return CANNOT_CREATE_SQLITE_CONNECTION.format(exception.message)
/frameworks/opt/vcard/java/com/android/vcard/exception/
H A DVCardAgentNotSupportedException.java16 package com.android.vcard.exception;
H A DVCardException.java16 package com.android.vcard.exception;
H A DVCardInvalidCommentLineException.java17 package com.android.vcard.exception;
H A DVCardInvalidLineException.java16 package com.android.vcard.exception;
H A DVCardNestedException.java17 package com.android.vcard.exception;
H A DVCardNotSupportedException.java16 package com.android.vcard.exception;
19 * The exception which tells that the input VCard is probably valid from the view of
H A DVCardVersionException.java16 package com.android.vcard.exception;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
H A DEuiccCardController.java203 } catch (RemoteException exception) {
204 loge("getAllProfiles callback failure.", exception);
215 } catch (RemoteException exception) {
216 loge("getAllProfiles callback failure.", exception);
225 } catch (RemoteException exception) {
226 loge("getAllProfiles callback failure.", exception);
243 } catch (RemoteException exception) {
244 loge("getProfile callback failure.", exception);
254 } catch (RemoteException exception) {
255 loge("getProfile callback failure.", exception);
[all...]
/frameworks/base/test-base/src/junit/framework/
H A DTestCase.java128 * @throws Throwable if any exception is thrown
131 Throwable exception= null;
136 exception= running;
142 if (exception == null) exception= tearingDown;
145 if (exception != null) throw exception;
149 * @throws Throwable if any exception is thrown
/frameworks/base/core/java/android/os/
H A DRegistrant.java55 notifyException(Throwable exception) argument
57 internalNotifyRegistrant (null, exception);
66 internalNotifyRegistrant (ar.result, ar.exception);
70 internalNotifyRegistrant (Object result, Throwable exception) argument
81 msg.obj = new AsyncResult(userObj, result, exception);
H A DRegistrantList.java74 internalNotifyRegistrants (Object result, Throwable exception) argument
78 r.internalNotifyRegistrant(result, exception);
89 notifyException(Throwable exception) argument
91 internalNotifyRegistrants (null, exception);
104 internalNotifyRegistrants(ar.result, ar.exception);
H A DAsyncResult.java27 // Expect either exception or result to be null
29 public Throwable exception; field in class:AsyncResult
66 exception = ex;
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DAsyncRunner.java40 public Exception exception; field in class:AsyncRunner.RunnerResult
82 } catch (Exception exception) {
83 result.exception = exception;
90 } catch (Exception exception) {
91 result.exception = exception;
113 setException(result.exception);
118 } catch (Exception exception) {
120 setException(exception);
235 setException(Exception exception) argument
[all...]
/frameworks/layoutlib/bridge/tests/src/android/util/
H A DBridgeXmlPullAttributesTest.java90 boolean exception = false;
94 exception = true;
96 assertTrue(exception);
97 exception = false;
101 exception = true;
103 assertTrue(exception);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/
H A DCloseLogicalChannelInvocation.java30 * succeeded. No exception will be returned to the result callback.
51 if (ar.exception == null) {
54 if (ar.exception instanceof CommandException) {
55 Rlog.e(LOG_TAG, "CommandException", ar.exception);
57 Rlog.e(LOG_TAG, "Unknown exception", ar.exception);
H A DOpenLogicalChannelInvocation.java31 * included in the {@link IccOpenLogicalChannelResponse} result and no exception will be returned to
56 if (ar.exception == null && ar.result != null) {
72 if (ar.exception != null) {
73 Rlog.e(LOG_TAG, "Exception", ar.exception);
77 if (ar.exception instanceof CommandException) {
79 ((CommandException) (ar.exception)).getCommandError();
H A DTransmitApduLogicalChannelInvocation.java31 * returned response will be 0x6F00 if any error happens. No exception will be returned to the
57 if (ar.exception == null && ar.result != null) {
62 } else if (ar.exception instanceof CommandException) {
63 Rlog.e(LOG_TAG, "CommandException", ar.exception);
65 Rlog.e(LOG_TAG, "CommandException", ar.exception);
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/database/sqlite/
H A DSQLiteDatabaseTest.kt40 val exception = RuntimeException()
44 throw exception
46 }.isSameAs(exception)
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DOutputStreamTarget.java60 } catch (IOException exception) {
62 "OutputStreamTarget: Could not write to stream: " + exception.getMessage() + "!");
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardParser.java18 import com.android.vcard.exception.VCardException;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DAdnRecordLoader.java79 * or response.obj.exception is set
97 * or response.obj.exception is set
155 if (ar.exception != null) {
157 ar.exception);
168 ar.exception);
175 ar.exception);
187 if (ar.exception != null) {
189 ar.exception);
198 if (ar.exception != null) {
199 throw new RuntimeException("load failed", ar.exception);
[all...]
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DRootScanner.java148 } catch (FileNotFoundException exception) {
151 Log.e(MtpDocumentsProvider.TAG, "Unexpected FileNotFoundException", exception);
152 throw new AssertionError("Unexpected exception for the top parent", exception);
170 } catch (FileNotFoundException exception) {
171 Log.e(MtpDocumentsProvider.TAG, "Parent document is gone.", exception);

Completed in 447 milliseconds

1234567