Home
last modified time | relevance | path

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

/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/ui/
DDialogHelperImpl.java82 public void showErrorMessageDialog(int titleId, Exception exception) { in showErrorMessageDialog() argument
83 showErrorMessageDialog(mActivity.getString(titleId), exception); in showErrorMessageDialog() local
87 public void showErrorMessageDialog(String title, Exception exception) { in showErrorMessageDialog() argument
90 bundle.putSerializable(KEY_EXCEPTION, exception); in showErrorMessageDialog()
99 Exception exception = (Exception) args.getSerializable(KEY_EXCEPTION); in handleOnCreateDialog() local
103 .setMessage(convertExceptionToErrorMessage(exception)) in handleOnCreateDialog()
110 private String convertExceptionToErrorMessage(Exception exception) { in convertExceptionToErrorMessage() argument
111 StringBuilder sb = new StringBuilder().append(exception.getClass().getSimpleName()); in convertExceptionToErrorMessage()
112 if (exception.getMessage() != null) { in convertExceptionToErrorMessage()
114 sb.append(exception.getMessage()); in convertExceptionToErrorMessage()
DDialogHelper.java26 public void showErrorMessageDialog(int titleId, Exception exception); in showErrorMessageDialog() argument
28 public void showErrorMessageDialog(String title, Exception exception); in showErrorMessageDialog() argument
/development/vndk/tools/sourcedr/blueprint/tests/
Dtest_lexer.py147 self.assertEqual(ctx.exception.line, 1)
148 self.assertEqual(ctx.exception.column, 3)
152 self.assertEqual(ctx.exception.line, 1)
153 self.assertEqual(ctx.exception.column, 3)
170 self.assertEqual(ctx.exception.line, 1)
171 self.assertEqual(ctx.exception.column, 2)
220 self.assertEqual(ctx.exception.line, 1)
221 self.assertEqual(ctx.exception.column, 2)
246 self.assertEqual(ctx.exception.line, 1)
247 self.assertEqual(ctx.exception.column, 2)
[all …]
/development/vndk/tools/sourcedr/ninja/tests/
Dtest_ninja.py598 self.assertEqual(input_path, ctx.exception.path)
599 self.assertEqual(1, ctx.exception.line)
600 self.assertEqual(1, ctx.exception.column)
607 self.assertEqual(input_path, ctx.exception.path)
608 self.assertEqual(1, ctx.exception.line)
609 self.assertEqual(1, ctx.exception.column)
616 self.assertEqual(input_path, ctx.exception.path)
617 self.assertEqual(4, ctx.exception.line)
618 self.assertEqual(1, ctx.exception.column)
625 self.assertEqual(input_path, ctx.exception.path)
[all …]
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DCameraFragment.java206 } catch (IOException exception) { in switchCamera()
207 Log.e(TAG, "IOException caused by setPreviewDisplay()", exception); in switchCamera()
272 } catch (IOException exception) { in surfaceCreated()
273 Log.e(TAG, "IOException caused by setPreviewDisplay()", exception); in surfaceCreated()
DContentFragment.java256 } catch (NumberFormatException exception) { in processDrop()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DCameraPreview.java195 } catch (IOException exception) { in switchCamera()
196 Log.e(TAG, "IOException caused by setPreviewDisplay()", exception); in switchCamera()
254 } catch (IOException exception) { in surfaceCreated()
255 Log.e(TAG, "IOException caused by setPreviewDisplay()", exception); in surfaceCreated()
/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/
DNetworkFragment.java136 public Result(Exception exception) { in Result() argument
137 mException = exception; in Result()
/development/gsi/gsi_util/
Dgsi_util.py69 logging.exception(e)
/development/host/windows/usb/adb_winapi_test/
DSOURCES44 # The STL uses C++ exception handling.
/development/gsi/gsi_util/gsi_util/utils/tests/
Dcmd_utils_unittest.py120 proc_err = context_manager.exception
/development/tools/mkstubs/
DREADME.txt67 before the generated throw exception. Any attempt to load such a class should trigger
/development/tools/logblame/
Dsample.txt878 Attempt to cast generated internal exception:
962 Attempt to cast generated internal exception:
1150 Attempt to cast generated internal exception:
1250 Attempt to cast generated internal exception:
2161 Attempt to cast generated internal exception:
2250 Attempt to cast generated internal exception:
2429 Attempt to cast generated internal exception:
2545 Attempt to cast generated internal exception:
2718 Attempt to cast generated internal exception:
2828 Attempt to cast generated internal exception:
/development/sdk/
Dsdk_files_NOTICE.txt797 6. As an exception to the Sections above, you may also combine or
846 reproducing the executable from it. However, as a special exception,
1755 special exception, the source code distributed need not include
2520 6. As an exception to the Sections above, you may also compile or
2561 reproducing the executable from it. However, as a special exception,
2971 6. As an exception to the Sections above, you may also combine or
3020 reproducing the executable from it. However, as a special exception,
4197 special exception, the source code distributed need not include
5127 6. As an exception to the Sections above, you may also compile or
5168 reproducing the executable from it. However, as a special exception,
[all …]
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv19 …/frameworks/multidex,fake_bLlpMvOJRFq5KNwc7GxC1A@fakeemail.com,Fix handling of suppressed exception
37 …k,fake_h42tfGhiQFGeS0pEX3KQUA@fakeemail.com,TestingCamera: fix fragment cannot be created exception
2975 …cts,fake_1UMISJfoRT2QL5pz8G2HBQ@fakeemail.com,TIF: fix 'divide by zero' exception in BundledTvInpu…
3480 …ts,fake_aqnn5Y6FStCMFip0ljmd5Q@fakeemail.com,SELinuxHostTest: Assert no exception for vendor execu…
3674 …c88,platform/cts,fake_LhnpdyFrQyG9IHO3R92JvQ@fakeemail.com,Fix expected exception from NPE to NotF…
3861 …fake_ui7_Aq-xSl2medbpYQVrqA@fakeemail.com,Verify StaticLayout.getPrimaryHorizontal throws exception
3863 …ESbIMmbcnQ6eg@fakeemail.com,Camera: Verify deferred OutputConfiguration throws exception for size 0
4222 …Y91yxdntWFA@fakeemail.com,media: Change the write-only FileDescriptor test to not expect exception.
4637 …form/cts,fake_q7EsIx3VTwiOzTp4jIM6hw@fakeemail.com,Add test for AsyncTask cancelling upon exception
4676 …atform/cts,fake_kDBUAWL4SY21otAYUOdyTg@fakeemail.com,Add test for restoreToCount exception behavior
[all …]