Searched refs:exception (Results 76 - 100 of 139) sorted by relevance

123456

/frameworks/rs/tests/lldb/
H A Drun_tests.py31 from tests.harness.exception import TestSuiteException, FailFastException
366 ''' Throw an exception if the emulator process has ended.
633 log.exception('Test suite pre run failure')
808 log.exception('Internal test suite error')
814 log.exception('Early exit after first test failure')
819 log.exception('Test suite exception')
/frameworks/base/media/jni/
H A Dandroid_media_MediaMetadataRetriever.cpp54 static void process_media_retriever_call(JNIEnv *env, status_t opStatus, const char* exception, const char *message) argument
61 jniThrowException( env, exception, message);
66 jniThrowException( env, exception, msg);
107 if (!tmp) { // OutOfMemoryError exception already thrown
359 if (!array) { // OutOfMemoryError exception has already been thrown.
H A Dandroid_media_MediaDescrambler.cpp263 ALOGW("Discarding pending exception");
285 jthrowable exception = createServiceSpecificException(env, serviceSpecificError, msg); local
286 env->Throw(exception);
383 msg.appendFormat("Unknown exception code: %d, msg: %s",
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DNetworkDetail.java158 RuntimeException exception = null;
208 exception = e;
215 * If, however, a previous exception was detected and the UTF-8 bit is set, failure to
217 * an exception will be triggered.
229 if (extendedCapabilities.isStrictUtf8() && exception != null) {
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewFastScrollerTest.java274 Throwable exception = null;
278 exception = t;
280 assertTrue(exception instanceof IllegalArgumentException);
/frameworks/base/core/tests/coretests/src/android/widget/
H A DAppWidgetHostViewTest.java54 public final ExpectedException exception = ExpectedException.none(); field in class:AppWidgetHostViewTest
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DMtpManagerTest.java71 } catch (OperationCanceledException exception) {
H A DDocumentLoaderTest.java121 } catch (IOException exception) {
122 // Expect exception.
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DUsimPhoneBookManager.java527 if (ar.exception == null) {
537 if (ar.exception == null) {
547 if (ar.exception == null) {
557 if (ar.exception == null) {
H A DGsmMmiCode.java229 //Is a country-specific exception to short codes as defined in TS 22.030, 6.5.3.2
1103 if ((ar.exception == null) && (msg.arg1 == 1)) {
1131 if (ar.exception != null) {
1154 if (ar.exception instanceof CommandException) {
1155 CommandException.Error err = ((CommandException)(ar.exception)).getCommandError();
1210 if (ar.exception != null) {
1212 if (ar.exception instanceof CommandException) {
1213 CommandException.Error err = ((CommandException)(ar.exception)).getCommandError();
1317 if (ar.exception != null) {
1498 if (ar.exception !
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccCarrierPrivilegeRules.java419 if (ar.exception == null && ar.result != null) {
427 if (ar.exception instanceof CommandException && mRetryCount < MAX_RETRY
428 && ((CommandException) (ar.exception)).getCommandError()
446 if (ar.exception == null && ar.result != null) {
H A DIccFileHandler.java409 if (ar.exception != null) {
410 sendResult(response, null, ar.exception);
597 loge("uncaught exception" + exc);
H A DUiccCard.java389 if (ar.exception != null) {
390 loglocal("Exception: " + ar.exception);
391 log("Error in SIM access with exception" + ar.exception);
393 AsyncResult.forMessage((Message)ar.userObj, ar.result, ar.exception);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DNotificationInflaterTest.java240 public void setException(Exception exception) { argument
241 mException = exception;
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMapBmessageParser.java27 import com.android.vcard.exception.VCardException;
28 import com.android.vcard.exception.VCardVersionException;
87 Log.e(TAG, "I/O exception when parsing bMessage", e);
340 /* Handle possible exception for incorrect LENGTH value
355 /* Handle possible exception for incorrect LENGTH value
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DServiceStateTracker.java852 * an AsyncResult, and onComplete.obj.exception will be non-null
1057 if (ar.exception != null) {
1058 log("EVENT_GET_CELL_INFO_LIST: error ret null, e=" + ar.exception);
1077 if (ar.exception != null) {
1078 log("EVENT_UNSOL_CELL_INFO_LIST: error ignoring, e=" + ar.exception);
1097 if (ar.exception == null) {
1148 if (ar.exception == null) {
1171 if (ar.exception == null && ar.result != null) {
1221 if (ar.exception == null) {
1236 AsyncResult.forMessage(((Message) ar.userObj)).exception
[all...]
H A DGsmCdmaCallTracker.java742 if (ar.exception == null) {
744 } else if (isCommandExceptionRadioNotAvailable(ar.exception)) {
1402 if (ar.exception != null) {
1424 if (ar.exception != null) {
1425 // An exception occurred...just treat the disconnect
1500 if (ar.exception == null) {
1513 if (ar.exception == null) {
1527 if (ar.exception == null) {
1539 Rlog.w(LOG_TAG, "exception happened on Blank Flash for 3-way call");
H A DImsSMSDispatcher.java112 if (ar.exception == null) {
116 + ar.exception);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhone.java636 // exception.
1099 * The exception is cancellation of an incoming USSD-REQUEST, which is
1272 if (cf.mIsCfu && ar.exception == null && r != null) {
1275 sendResponse(cf.mOnComplete, null, ar.exception);
1280 if (ar.exception == null) {
1283 sendResponse((Message) ar.userObj, cfInfos, ar.exception);
1289 if (ar.exception == null) {
1296 sendResponse((Message) ar.userObj, ssInfos, ar.exception);
1305 sendResponse((Message) ar.userObj, clirInfo, ar.exception);
1309 if (ar.exception
[all...]
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMtpDocumentsProvider.java264 } catch (BusyDeviceException exception) {
266 } catch (IOException exception) {
267 Log.e(MtpDocumentsProvider.TAG, "queryChildDocuments", exception);
268 throw new FileNotFoundException(exception.getMessage());
290 } catch (UnsupportedOperationException exception) {
630 // It should fail unit tests by throwing runtime exception.
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardParserImpl_V21.java22 import com.android.vcard.exception.VCardAgentNotSupportedException;
23 import com.android.vcard.exception.VCardException;
24 import com.android.vcard.exception.VCardInvalidCommentLineException;
25 import com.android.vcard.exception.VCardInvalidLineException;
26 import com.android.vcard.exception.VCardVersionException;
H A DVCardParserImpl_V30.java20 import com.android.vcard.exception.VCardException;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcController.java188 if (ar.exception == null) {
194 log("DccDefaultState: Unexpected exception on EVENT_RIL_CONNECTED");
200 if (ar.exception == null) {
204 " exception; likely radio not available, ignore");
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java447 Throwable exception;
454 exception = e;
461 if (exception != null) {
465 Log.w(TAG, "Unable to load wallpaper!", exception);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
H A DUiccCardApplicationTest.java80 mException = (CommandException) ((AsyncResult) msg.obj).exception;

Completed in 1246 milliseconds

123456