Searched refs:exception (Results 1 - 25 of 81) 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/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/base/telephony/java/com/android/internal/telephony/
H A DAdnRecordLoader.java70 * or response.obj.exception is set
89 * or response.obj.exception is set
143 if (ar.exception != null) {
145 ar.exception);
156 ar.exception);
163 ar.exception);
174 if (ar.exception != null) {
176 ar.exception);
185 if (ar.exception != null) {
186 throw new RuntimeException("load failed", ar.exception);
[all...]
H A DIccCard.java238 * ((AsyncResult)onComplete.obj).exception == null on success
239 * ((AsyncResult)onComplete.obj).exception != null on fail
242 * ((AsyncResult)onComplete.obj).exception != null
243 * && ((AsyncResult)onComplete.obj).exception
245 * && ((CommandException)(((AsyncResult)onComplete.obj).exception))
305 * ((AsyncResult)onComplete.obj).exception == null on success
306 * ((AsyncResult)onComplete.obj).exception != null on fail
330 * ((AsyncResult)onComplete.obj).exception == null on success
331 * ((AsyncResult)onComplete.obj).exception != null on fail
356 * ((AsyncResult)onComplete.obj).exception
[all...]
H A DIccFileHandler.java312 sendResult(response, result.payload, ar.exception);
322 sendResult(response, result.payload, ar.exception);
331 if (ar.exception != null) {
332 sendResult(response, null, ar.exception);
363 if (ar.exception != null) {
364 sendResult(response, null, ar.exception);
409 if (ar.exception != null) {
410 sendResult(response, null, ar.exception);
449 if (ar.exception != null) {
450 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/telephony/java/com/android/internal/telephony/gsm/
H A DSIMRecords.java268 * ((AsyncResult)onComplete.obj).exception == null on success
269 * ((AsyncResult)onComplete.obj).exception != null on fail
315 * ((AsyncResult)onComplete.obj).exception == null on success
316 * ((AsyncResult)onComplete.obj).exception != null on fail
321 AsyncResult.forMessage((onComplete)).exception =
345 AsyncResult.forMessage((onComplete)).exception =
535 if (ar.exception != null) {
536 Log.e(LOG_TAG, "Exception querying IMSI, Exception:" + ar.exception);
590 if (ar.exception == null) {
625 //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/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/telephony/java/com/android/internal/telephony/cdma/
H A DRuimRecords.java150 AsyncResult.forMessage((onComplete)).exception =
219 if (ar.exception != null) {
220 Log.e(LOG_TAG, "Exception querying IMSI, Exception:" + ar.exception);
246 if (ar.exception != null) {
264 if (ar.exception != null) {
276 if (ar.exception != null) {
277 Log.i(LOG_TAG, "RuimRecords update failed", ar.exception);
296 if (ar.exception == null) {
/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/base/core/java/android/appwidget/
H A DAppWidgetHostView.java238 Exception exception = null;
282 exception = e;
292 exception = e;
305 Log.w(TAG, "updateAppWidget couldn't find any view, using error view", exception);
433 Exception exception = null;
449 exception = e;
451 exception = e;
454 if (exception != null) {
455 Log.w(TAG, "Error inflating AppWidget " + mInfo + ": " + exception.toString());
/frameworks/base/test-runner/src/android/test/
H A DTestPrinter.java81 public void failed(String className, Throwable exception) { argument
83 Log.i(mTag, "----- begin exception -----");
84 Log.i(mTag, "", exception);
85 Log.i(mTag, "----- end exception -----");
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DLog.java46 public void exception(Throwable t, String format, Object... args) { method in class:Log

Completed in 562 milliseconds

1234