Home
last modified time | relevance | path

Searched refs:exception (Results 1 – 25 of 92) sorted by relevance

1234

/frameworks/base/telephony/java/com/android/internal/telephony/
DAdnRecordLoader.java143 if (ar.exception != null) { in handleMessage()
145 ar.exception); in handleMessage()
156 ar.exception); in handleMessage()
163 ar.exception); in handleMessage()
174 if (ar.exception != null) { in handleMessage()
176 ar.exception); in handleMessage()
185 if (ar.exception != null) { in handleMessage()
186 throw new RuntimeException("load failed", ar.exception); in handleMessage()
217 if (ar.exception != null) { in handleMessage()
218 throw new RuntimeException("load failed", ar.exception); in handleMessage()
[all …]
DIccCard.java383 if (ar.exception != null) { in getIccCardStatusDone()
386 + "never return an error", ar.exception); in getIccCardStatusDone()
436 if(ar.exception != null) { in onQueryFdnEnabled()
437 if(mDbg) log("Error in querying facility lock:" + ar.exception); in onQueryFdnEnabled()
455 if(ar.exception != null) { in onQueryFacilityLock()
456 if (mDbg) log("Error in querying facility lock:" + ar.exception); in onQueryFacilityLock()
522 AsyncResult.forMessage(((Message)ar.userObj)).exception
523 = ar.exception;
547 if (ar.exception == null) {
553 + ar.exception);
[all …]
DIccFileHandler.java312 sendResult(response, result.payload, ar.exception); in handleMessage()
322 sendResult(response, result.payload, ar.exception); in handleMessage()
331 if (ar.exception != null) { in handleMessage()
332 sendResult(response, null, ar.exception); in handleMessage()
363 if (ar.exception != null) { in handleMessage()
364 sendResult(response, null, ar.exception); in handleMessage()
409 if (ar.exception != null) { in handleMessage()
410 sendResult(response, null, ar.exception); in handleMessage()
449 if (ar.exception != null) { in handleMessage()
450 sendResult(response, null, ar.exception); in handleMessage()
[all …]
DAdnRecordCache.java126 AsyncResult.forMessage(response).exception = e; in sendErrorResponse()
275 AsyncResult.forMessage(response).exception in requestLoadAllAdnLike()
299 AsyncResult.forMessage(waiter, ar.result, ar.exception); in notifyWaiters()
321 if (ar.exception == null) { in handleMessage()
332 if (ar.exception == null) { in handleMessage()
339 AsyncResult.forMessage(response, null, ar.exception); in handleMessage()
DIccPhoneBookInterfaceManager.java60 if (ar.exception == null) {
75 success = (ar.exception == null);
82 if (ar.exception == null) {
/frameworks/base/tests/CoreTests/android/core/
DPipedStreamTest.java59 exception = e; in run()
63 Throwable exception; field in PipedStreamTest.TestThread
128 if (writer.exception != null) { in testA()
129 throw new Exception(writer.exception); in testA()
131 if (reader.exception != null) { in testA()
132 throw new Exception(reader.exception); in testA()
212 if (reader.exception != null) { in testB()
213 throw new Exception(reader.exception); in testB()
215 if (writer.exception != null) { in testB()
216 throw new Exception(writer.exception); in testB()
[all …]
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
Duexception.cpp34 void exception::info (string& msgbuf, const char*) const throw() in info()
44 void exception::read (istream& is) in read()
50 …assert (stmSize - exception::stream_size() <= is.remaining() && "The saved exception data is corru… in read()
55 void exception::write (ostream& os) const in write()
61 void exception::text_write (ostringstream& os) const in text_write()
78 : ustl::exception(), in bad_alloc()
98 ustl::exception::read (is); in read()
105 ustl::exception::write (os); in write()
112 return (ustl::exception::stream_size() + stream_size_of(m_nBytesRequested)); in stream_size()
119 : exception(), in libc_exception()
[all …]
Duexception.h64 class exception {
66 class exception : public std::exception {
71 inline exception (void) throw() : m_Format (xfmt_Exception) {} in exception() function
72 inline virtual ~exception (void) throw() {} in ~exception()
96 class bad_cast : public exception {
98 inline explicit bad_cast (void) throw() : exception() {} in bad_cast()
110 class bad_alloc : public exception {
112 class bad_alloc : public std::bad_alloc, public exception {
132 class libc_exception : public exception {
Dustdxept.cpp51 exception::read (is); in read()
58 exception::write (os); in write()
65 return (exception::stream_size() + Align (stream_size_of (m_Arg))); in stream_size()
/frameworks/base/core/java/android/net/http/
DConnection.java168 Exception exception = null; in processRequests() local
237 exception = e; in processRequests()
240 exception = e; in processRequests()
243 exception = e; in processRequests()
246 if (exception != null) { in processRequests()
247 if (httpFailure(req, error, exception) && in processRequests()
253 exception = null; in processRequests()
285 exception = e; in processRequests()
288 exception = e; in processRequests()
291 exception = e; in processRequests()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSIMRecords.java285 AsyncResult.forMessage((onComplete)).exception = in setVoiceMailNumber()
309 AsyncResult.forMessage((onComplete)).exception = in setVoiceMailNumber()
485 if (ar.exception != null) { in handleMessage()
486 Log.e(LOG_TAG, "Exception querying IMSI, Exception:" + ar.exception); in handleMessage()
529 if (ar.exception == null) { in handleMessage()
566 if (ar.exception != null) { in handleMessage()
612 if (ar.exception != null) { in handleMessage()
630 AsyncResult.forMessage(((Message) ar.userObj)).exception in handleMessage()
631 = ar.exception; in handleMessage()
642 if (ar.exception != null) { in handleMessage()
[all …]
DPdpConnection.java252 if (ar.exception != null) { in onSetupConnectionCompleted()
253 Log.e(LOG_TAG, "PDP Context Init failed " + ar.exception); in onSetupConnectionCompleted()
261 if ( ar.exception instanceof CommandException && in onSetupConnectionCompleted()
262 ((CommandException) (ar.exception)).getCommandError() in onSetupConnectionCompleted()
/frameworks/base/core/java/android/os/
DRegistrant.java56 notifyException(Throwable exception) in notifyException() argument
58 internalNotifyRegistrant (null, exception); in notifyException()
67 internalNotifyRegistrant (ar.result, ar.exception); in notifyRegistrant()
71 internalNotifyRegistrant (Object result, Throwable exception) in internalNotifyRegistrant() argument
82 msg.obj = new AsyncResult(userObj, result, exception); in internalNotifyRegistrant()
DRegistrantList.java76 internalNotifyRegistrants (Object result, Throwable exception) in internalNotifyRegistrants() argument
80 r.internalNotifyRegistrant(result, exception); in internalNotifyRegistrants()
91 notifyException(Throwable exception) in notifyException() argument
93 internalNotifyRegistrants (null, exception); in notifyException()
106 internalNotifyRegistrants(ar.result, ar.exception); in notifyRegistrants()
DAsyncResult.java29 public Throwable exception; field in AsyncResult
66 exception = ex; in AsyncResult()
/frameworks/base/test-runner/android/test/suitebuilder/
DTestSuiteBuilder.java195 } catch (Exception exception) { in build()
196 Log.i("TestSuiteBuilder", "Failed to create test.", exception); in build()
198 suite.addTest(new FailedToCreateTests(exception)); in build()
231 private final Exception exception; field in TestSuiteBuilder.FailedToCreateTests
233 public FailedToCreateTests(Exception exception) { in FailedToCreateTests() argument
235 this.exception = exception; in FailedToCreateTests()
239 throw new RuntimeException("Exception during suite construction", exception); in testSuiteConstructionFailed()
/frameworks/base/core/java/android/test/
DInstrumentationTestCase.java200 Throwable exception = null; in runMethod() local
206 exception = null; in runMethod()
209 exception = e.getTargetException(); in runMethod()
212 exception = e; in runMethod()
216 } while ((runCount < tolerance) && (exception != null)); in runMethod()
218 if (exception != null) { in runMethod()
219 throw exception; in runMethod()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DBridgeInflater.java109 ClassNotFoundException exception = new ClassNotFoundException("onCreateView", e); in onCreateView()
110 throw exception; in onCreateView()
130 InflateException exception = new InflateException(); in createViewFromTag()
132 exception.initCause(e2); in createViewFromTag()
134 exception.initCause(e); in createViewFromTag()
136 throw exception; in createViewFromTag()
/frameworks/base/core/java/android/appwidget/
DAppWidgetHostView.java157 Exception exception = null; in updateAppWidget() local
201 exception = e; in updateAppWidget()
211 exception = e; in updateAppWidget()
224 Log.w(TAG, "updateAppWidget couldn't find any view, using error view", exception); in updateAppWidget()
327 Exception exception = null; in getDefaultView() local
343 exception = e; in getDefaultView()
345 exception = e; in getDefaultView()
348 if (exception != null) { in getDefaultView()
349 Log.w(TAG, "Error inflating AppWidget " + mInfo + ": " + exception.toString()); in getDefaultView()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DRuimRecords.java139 AsyncResult.forMessage((onComplete)).exception = in setVoiceMailNumber()
210 if (ar.exception != null) { in handleMessage()
228 if (ar.exception != null) { in handleMessage()
240 if (ar.exception != null) { in handleMessage()
241 Log.i(LOG_TAG, "RuimRecords update failed", ar.exception); in handleMessage()
260 if (ar.exception == null) { in handleMessage()
DCdmaDataConnection.java268 if (ar.exception != null) { in onSetupConnectionCompleted()
269 Log.e(LOG_TAG, "CdmaDataConnection Init failed " + ar.exception); in onSetupConnectionCompleted()
277 if (ar.exception instanceof CommandException in onSetupConnectionCompleted()
278 && ((CommandException) (ar.exception)).getCommandError() in onSetupConnectionCompleted()
/frameworks/base/awt/java/awt/
DEventQueue.java128 Exception exception = event.getException(); in invokeAndWait() local
130 if (exception != null) { in invokeAndWait()
131 throw new InvocationTargetException(exception); in invokeAndWait()
/frameworks/base/test-runner/android/test/
DTestPrinter.java81 public void failed(String className, Throwable exception) { in failed() argument
84 Log.i(mTag, "", exception); in failed()
/frameworks/base/core/java/android/pim/vcard/exception/
DVCardNotSupportedException.java16 package android.pim.vcard.exception;
DVCardNestedException.java17 package android.pim.vcard.exception;

1234