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

123456

/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/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/base/legacy-test/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/base/tools/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/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...]
H A DSIMRecords.java358 * ((AsyncResult)onComplete.obj).exception == null on success
359 * ((AsyncResult)onComplete.obj).exception != null on fail
410 * ((AsyncResult)onComplete.obj).exception == null on success
411 * ((AsyncResult)onComplete.obj).exception != null on fail
417 AsyncResult.forMessage((onComplete)).exception =
441 AsyncResult.forMessage((onComplete)).exception =
687 if (ar.exception != null) {
688 loge("Exception querying IMSI, Exception:" + ar.exception);
747 if (ar.exception == null) {
781 //If they are not reset, incase of invalid data/exception thes
[all...]
H A DUiccPkcs15.java112 if (ar.exception != null || ar.result == null) {
113 log("Error: " + ar.exception);
114 AsyncResult.forMessage(mCallback, null, ar.exception);
161 if (ar.exception == null && ar.result != null) {
166 log("error: " + ar.exception);
167 AsyncResult.forMessage(mCallback, null, ar.exception);
208 if (ar.exception == null) {
216 log("select pkcs15 failed: " + ar.exception);
223 if (ar.exception == null && ar.result != null) {
234 if (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);
H A DReceiverActivity.java53 } catch (IOException exception) {
54 Log.e(MtpDocumentsProvider.TAG, "Failed to open device", exception);
/frameworks/base/core/tests/utillib/src/android/test/
H A DBandwidthTestCase.java118 Throwable exception = null;
124 exception = null;
127 exception = e.getTargetException();
130 exception = e;
140 } while ((runCount < tolerance) && (isRepetitive || exception != null));
142 if (exception != null) {
143 throw exception;
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
H A DMultiLayoutVerificationTest.java54 for (ScopedException exception : exceptions) {
55 ScopedErrorReport report = exception.getScopedErrorReport();
72 "layout/with_class_name"), exception.getBareMessage());
84 "layout-land/with_class_name"), exception.getBareMessage());
110 for (ScopedException exception : exceptions) {
111 ScopedErrorReport report = exception.getScopedErrorReport();
139 config + "/layout_with_variable_type"), exception.getBareMessage());
163 for (ScopedException exception : exceptions) {
164 ScopedErrorReport report = exception.getScopedErrorReport();
192 config + "/layout_with_import_type"), exception
[all...]
/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestSuiteBuilder.java196 } catch (Exception exception) {
197 Log.i("TestSuiteBuilder", "Failed to create test.", exception);
199 suite.addTest(new FailedToCreateTests(exception));
236 private final Exception exception; field in class:TestSuiteBuilder.FailedToCreateTests
238 public FailedToCreateTests(Exception exception) { argument
240 this.exception = exception;
244 throw new RuntimeException("Exception during suite construction", exception);

Completed in 441 milliseconds

123456