Searched refs:exception (Results 51 - 75 of 165) sorted by relevance

1234567

/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DImageUtils.java113 } catch (FileNotFoundException exception) {
115 } catch (IOException exception) {
117 } catch (IllegalArgumentException exception) {
119 } catch (SecurityException exception) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DUsimDataDownloadHandler.java292 if (ar.exception != null) {
293 Rlog.e(TAG, "UICC Send Envelope failure, exception: " + ar.exception);
305 if (ar.exception == null) {
309 Rlog.d(TAG, "Failed to write SMS-PP message to UICC", ar.exception);
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardParser_V21.java18 import com.android.vcard.exception.VCardException;
H A DVCardParser_V30.java18 import com.android.vcard.exception.VCardException;
H A DVCardParser_V40.java18 import com.android.vcard.exception.VCardException;
/frameworks/rs/tests/lldb/tests/testcases/
H A Dtest_single_source.py21 from harness.exception import TestSuiteException
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecFeatureAction.java205 final HdmiCecFeatureAction exception) {
206 mSource.removeActionExcept(clazz, exception);
204 removeActionExcept(final Class<T> clazz, final HdmiCecFeatureAction exception) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
H A DMffFilterTestCase.java80 public void onGraphRunnerError(Exception exception, boolean closedSuccessfully) {
81 mProcessResult.setException(exception);
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/
H A DDataBindingBuilder.java90 } catch (IOException exception) {
91 L.e(exception, "Cannot read data binding version");
138 L.e(e, "Unexpected exception while reading %s",
/frameworks/data-binding/compilerCommon/src/main/xml-gen/android/databinding/parser/
H A DXMLParser.java170 _localctx.exception = re;
236 _localctx.exception = re;
375 _localctx.exception = re;
490 _localctx.exception = re;
539 _localctx.exception = re;
588 _localctx.exception = re;
637 _localctx.exception = re;
687 _localctx.exception = re;
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DMain.java162 log.exception(e, "Failed to load jar");
180 log.exception(e, "Failed to load jar");
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DNetworkScanRequestTracker.java105 Log.e(TAG, "NetworkScanResult: Exception: " + ar.exception);
353 if (ar.exception == null && ar.result != null) {
359 if (ar.exception != null) {
361 ((CommandException) (ar.exception)).getCommandError();
364 Log.wtf(TAG, "EVENT_START_NETWORK_SCAN_DONE: ar.exception can not be null!");
375 if (ar.exception == null && ar.result != null) {
424 if (ar.exception == null && ar.result != null) {
428 if (ar.exception != null) {
430 ((CommandException) (ar.exception)).getCommandError();
433 Log.wtf(TAG, "EVENT_STOP_NETWORK_SCAN_DONE: ar.exception ca
[all...]
H A DIccCard.java92 * ((AsyncResult)onComplete.obj).exception == null on success
93 * ((AsyncResult)onComplete.obj).exception != null on fail
96 * ((AsyncResult)onComplete.obj).exception != null
97 * && ((AsyncResult)onComplete.obj).exception
99 * && ((CommandException)(((AsyncResult)onComplete.obj).exception))
164 * ((AsyncResult)onComplete.obj).exception == null on success
165 * ((AsyncResult)onComplete.obj).exception != null on fail
180 * ((AsyncResult)onComplete.obj).exception == null on success
181 * ((AsyncResult)onComplete.obj).exception != null on fail
196 * ((AsyncResult)onComplete.obj).exception
[all...]
H A DIccPhoneBookInterfaceManager.java70 if (ar.exception == null) {
85 mSuccess = (ar.exception == null);
92 if (ar.exception == null) {
/frameworks/base/services/backup/java/com/android/server/backup/
H A DDataChangedJournal.java100 } catch (IOException exception) {
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DPropertyNodesVerifier.java22 import com.android.vcard.exception.VCardException;
/frameworks/rs/tests/lldb/tests/
H A Drun_test.py34 from harness.exception import DisconnectedException
35 from harness.exception import TestSuiteException, TestIgnoredException
396 log.exception(str(error))
401 # use a global exception handler to be sure that we will
405 log.exception('INTERNAL ERROR')
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/
H A DApduSender.java37 * {@link #STATUS_NO_ERROR}) or causing an exception, an {@link ApduException} will be returned
86 * returned as an {@link ApduException} exception.
173 null /* exception */, resultCallback, handler);
191 * @param resultCallback Error will be included in the result and no exception will be returned.
229 * @param response If {@code exception} is null, this will be returned to {@code resultCallback}
231 * @param exception If not null, this will be returned to {@code resultCallback} after the
237 @Nullable Throwable exception,
247 if (exception == null) {
250 resultCallback.onException(exception);
234 closeAndReturn( int channel, @Nullable byte[] response, @Nullable Throwable exception, AsyncResultCallback<byte[]> resultCallback, Handler handler) argument
/frameworks/rs/tests/lldb/tests/harness/
H A Dtest_base.py26 from .exception import DisconnectedException, TestSuiteException
39 This exception is thrown if a lldb command does not return the expected
225 except self.TestFail as exception:
242 log.error('[TEST ERROR] {0}'.format(exception.message))
250 Raises a TestFail exception in case one of the literals is not contained
268 Raises a TestFail exception in case one of the patterns is not matched
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneMmiCode.java290 //Is a country-specific exception to short codes as defined in TS 22.030, 6.5.3.2
1096 if ((ar.exception == null) && (msg.arg1 == 1)) {
1119 if (ar.exception != null) {
1187 if (ar.exception instanceof ImsException) {
1188 switch (((ImsException) ar.exception).getCode()) {
1202 } else if (ar.exception instanceof CommandException) {
1203 CommandException err = (CommandException) ar.exception;
1252 if (ar.exception != null) {
1255 if (ar.exception instanceof CommandException) {
1256 CommandException err = (CommandException) ar.exception;
[all...]
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/migration/
H A DMigrationTest.java72 throw new AssertionError("must have failed with missing file exception");
73 } catch (FileNotFoundException exception) {
74 assertThat(exception.getMessage(), containsString("Cannot find"));
266 IllegalStateException exception = null;
278 exception = ex;
281 exception, notNullValue());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccProfile.java215 if (ar.exception != null) {
216 loglocal("handleMessage: Exception " + ar.exception);
217 log("handleMessage: Error in SIM access with exception" + ar.exception);
219 AsyncResult.forMessage((Message) ar.userObj, ar.result, ar.exception);
709 AsyncResult.forMessage(onComplete).exception = e;
723 AsyncResult.forMessage(onComplete).exception = e;
737 AsyncResult.forMessage(onComplete).exception = e;
751 AsyncResult.forMessage(onComplete).exception = e;
765 AsyncResult.forMessage(onComplete).exception
[all...]
H A DUiccController.java55 * and throws an exception if called multiple times.
476 if (ar.exception != null) {
479 + "never return an error", ar.exception);
519 Throwable e = ar.exception;
524 // this is not expected; there should be no exception other than
526 logStr = "Unexpected error getting slot status: " + ar.exception;
618 if (ar.exception != null) {
619 Rlog.e(LOG_TAG, "onSimRefresh: Sim REFRESH with exception: " + ar.exception);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphRunner.java176 // Exception during exception recovery? Abort all processing. Do not
177 // overwrite the original exception.
553 * thrown exception is passed to the listener in this method. If no listener is set, the
554 * exception message is logged to the error stream. You will not receive an
557 * @param exception the exception that was thrown.
560 public void onGraphRunnerError(Exception exception, boolean closedSuccessfully); argument
1002 private void onRunnerStopped(final Exception exception, final boolean closed) { argument
1009 if (exception == null) {
1012 mParams.listener.onGraphRunnerError(exception, close
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/
H A DApduSenderTest.java52 public Throwable exception; field in class:ApduSenderTest.ResponseCaptor
74 exception = e;
118 assertNull(mResponseCaptor.exception);
137 assertTrue(mResponseCaptor.exception instanceof ApduException);
311 assertEquals(0x6985, ((ApduException) mResponseCaptor.exception).getApduStatus());
341 assertTrue(mResponseCaptor.exception instanceof ApduException);

Completed in 387 milliseconds

1234567