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

1234

/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/core/java/android/os/
H A DRegistrant.java56 notifyException(Throwable exception) argument
58 internalNotifyRegistrant (null, exception);
67 internalNotifyRegistrant (ar.result, ar.exception);
71 internalNotifyRegistrant (Object result, Throwable exception) argument
82 msg.obj = new AsyncResult(userObj, result, exception);
H A DRegistrantList.java76 internalNotifyRegistrants (Object result, Throwable exception) argument
80 r.internalNotifyRegistrant(result, exception);
91 notifyException(Throwable exception) argument
93 internalNotifyRegistrants (null, exception);
106 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.java48 public Exception exception; field in class:AsyncRunner.RunnerResult
90 } catch (Exception exception) {
91 result.exception = exception;
98 } catch (Exception exception) {
99 result.exception = exception;
121 setException(result.exception);
126 } catch (Exception exception) {
128 setException(exception);
243 setException(Exception exception) argument
[all...]
/frameworks/base/core/java/android/net/http/
H A DConnection.java162 Exception exception = null;
237 exception = e;
240 exception = e;
243 exception = e;
246 if (exception != null) {
247 if (httpFailure(req, error, exception) &&
253 exception = null;
285 exception = e;
288 exception = e;
291 exception
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DAdnRecordLoader.java69 * or response.obj.exception is set
88 * or response.obj.exception is set
142 if (ar.exception != null) {
144 ar.exception);
155 ar.exception);
162 ar.exception);
173 if (ar.exception != null) {
175 ar.exception);
184 if (ar.exception != null) {
185 throw new RuntimeException("load failed", ar.exception);
[all...]
H A DIccFileHandler.java333 sendResult(response, result.payload, ar.exception);
343 sendResult(response, result.payload, ar.exception);
352 if (ar.exception != null) {
353 sendResult(response, null, ar.exception);
384 if (ar.exception != null) {
385 sendResult(response, null, ar.exception);
430 if (ar.exception != null) {
431 sendResult(response, null, ar.exception);
470 if (ar.exception != null) {
471 sendResult(response, null, ar.exception);
[all...]
H A DAdnRecordCache.java126 AsyncResult.forMessage(response).exception = e;
139 * response.exception hold the exception in error
175 * response.exception hold the exception in error
243 * Responds with exception (in response) if efid is not a known ADN-like
291 AsyncResult.forMessage(response).exception
315 AsyncResult.forMessage(waiter, ar.result, ar.exception);
337 if (ar.exception == null) {
348 if (ar.exception
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardParser.java18 import com.android.vcard.exception.VCardException;
/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/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSIMRecords.java274 * ((AsyncResult)onComplete.obj).exception == null on success
275 * ((AsyncResult)onComplete.obj).exception != null on fail
321 * ((AsyncResult)onComplete.obj).exception == null on success
322 * ((AsyncResult)onComplete.obj).exception != null on fail
327 AsyncResult.forMessage((onComplete)).exception =
351 AsyncResult.forMessage((onComplete)).exception =
553 if (ar.exception != null) {
554 loge("Exception querying IMSI, Exception:" + ar.exception);
607 if (ar.exception == null) {
641 //If they are not reset, incase of invalid data/exception thes
[all...]
/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestSuiteBuilder.java194 } catch (Exception exception) {
195 Log.i("TestSuiteBuilder", "Failed to create test.", exception);
197 suite.addTest(new FailedToCreateTests(exception));
230 private final Exception exception; field in class:TestSuiteBuilder.FailedToCreateTests
232 public FailedToCreateTests(Exception exception) { argument
234 this.exception = exception;
238 throw new RuntimeException("Exception during suite construction", exception);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DOutputStreamTarget.java61 } catch (IOException exception) {
63 "OutputStreamTarget: Could not write to stream: " + exception.getMessage() + "!");
H A DInputStreamSource.java77 } catch (IOException exception) {
79 "InputStreamSource: Could not read stream: " + exception.getMessage() + "!");
/frameworks/base/core/java/android/test/
H A DInstrumentationTestCase.java209 Throwable exception = null;
215 exception = null;
218 exception = e.getTargetException();
221 exception = e;
231 } while ((runCount < tolerance) && (isRepetitive || exception != null));
233 if (exception != null) {
234 throw exception;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaRecorderPrepareStateUnitTest.java57 } catch (IOException exception) {
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DBridgeInflater.java111 // If the class was not found, we throw the exception directly, because this
116 // Wrap the real exception in a ClassNotFoundException, so that the calling method
118 ClassNotFoundException exception = new ClassNotFoundException("onCreateView", e);
119 throw exception;
137 // Wrap the real exception in an InflateException so that the calling
139 InflateException exception = new InflateException();
141 exception.initCause(e2);
143 exception.initCause(e);
145 throw exception;
/frameworks/ex/photoviewer/src/com/android/ex/photo/util/
H A DImageUtils.java108 } catch (FileNotFoundException exception) {
110 } catch (IOException exception) {
112 } catch (IllegalArgumentException exception) {

Completed in 304 milliseconds

1234