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

123

/frameworks/base/core/java/android/pim/vcard/exception/
H A DVCardAgentNotSupportedException.java16 package android.pim.vcard.exception;
H A DVCardException.java16 package android.pim.vcard.exception;
H A DVCardInvalidCommentLineException.java17 package android.pim.vcard.exception;
H A DVCardInvalidLineException.java16 package android.pim.vcard.exception;
H A DVCardNestedException.java17 package android.pim.vcard.exception;
H A DVCardNotSupportedException.java16 package android.pim.vcard.exception;
19 * The exception which tells that the input VCard is probably valid from the view of
H A DVCardVersionException.java16 package android.pim.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/pim/vcard/
H A DVCardParser.java18 import android.pim.vcard.exception.VCardException;
H A DVCardParser_V30.java18 import android.pim.vcard.exception.VCardException;
H A DVCardParser_V40.java18 import android.pim.vcard.exception.VCardException;
/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/tests/CoreTests/android/core/
H A DPipedStreamTest.java57 android.util.Log.e("PST", "Got exception " + e, e);
59 exception = e;
63 Throwable exception; field in class:PipedStreamTest.TestThread
128 if (writer.exception != null) {
129 throw new Exception(writer.exception);
131 if (reader.exception != null) {
132 throw new Exception(reader.exception);
212 if (reader.exception != null) {
213 throw new Exception(reader.exception);
215 if (writer.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.java210 * ((AsyncResult)onComplete.obj).exception == null on success
211 * ((AsyncResult)onComplete.obj).exception != null on fail
214 * ((AsyncResult)onComplete.obj).exception != null
215 * && ((AsyncResult)onComplete.obj).exception
217 * && ((CommandException)(((AsyncResult)onComplete.obj).exception))
278 * ((AsyncResult)onComplete.obj).exception == null on success
279 * ((AsyncResult)onComplete.obj).exception != null on fail
303 * ((AsyncResult)onComplete.obj).exception == null on success
304 * ((AsyncResult)onComplete.obj).exception != null on fail
329 * ((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
227 * Responds with exception (in response) if efid is not a known ADN-like
275 AsyncResult.forMessage(response).exception
299 AsyncResult.forMessage(waiter, ar.result, ar.exception);
321 if (ar.exception == null) {
332 if (ar.exception
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DSIMRecords.java251 * ((AsyncResult)onComplete.obj).exception == null on success
252 * ((AsyncResult)onComplete.obj).exception != null on fail
298 * ((AsyncResult)onComplete.obj).exception == null on success
299 * ((AsyncResult)onComplete.obj).exception != null on fail
304 AsyncResult.forMessage((onComplete)).exception =
328 AsyncResult.forMessage((onComplete)).exception =
504 if (ar.exception != null) {
505 Log.e(LOG_TAG, "Exception querying IMSI, Exception:" + ar.exception);
559 if (ar.exception == null) {
596 if (ar.exception !
[all...]
/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestSuiteBuilder.java195 } catch (Exception exception) {
196 Log.i("TestSuiteBuilder", "Failed to create test.", exception);
198 suite.addTest(new FailedToCreateTests(exception));
231 private final Exception exception; field in class:TestSuiteBuilder.FailedToCreateTests
233 public FailedToCreateTests(Exception exception) { argument
235 this.exception = exception;
239 throw new RuntimeException("Exception during suite construction", exception);
/frameworks/base/core/java/android/test/
H A DInstrumentationTestCase.java199 Throwable exception = null;
205 exception = null;
208 exception = e.getTargetException();
211 exception = e;
215 } while ((runCount < tolerance) && (exception != null));
217 if (exception != null) {
218 throw exception;
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java167 Exception exception = null;
211 exception = e;
221 exception = e;
234 Log.w(TAG, "updateAppWidget couldn't find any view, using error view", exception);
340 Exception exception = null;
356 exception = e;
358 exception = e;
361 if (exception != null) {
362 Log.w(TAG, "Error inflating AppWidget " + mInfo + ": " + exception.toString());
/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.java139 AsyncResult.forMessage((onComplete)).exception =
208 if (ar.exception != null) {
226 if (ar.exception != null) {
238 if (ar.exception != null) {
239 Log.i(LOG_TAG, "RuimRecords update failed", ar.exception);
258 if (ar.exception == null) {

Completed in 272 milliseconds

123