Home
last modified time | relevance | path

Searched refs:exception (Results 1 – 13 of 13) 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/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/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/vndk/tools/sourcedr/sourcedr/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/gsi/gsi_util/
Dgsi_util.py68 logging.exception(e)
/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/
DNetworkFragment.java136 public Result(Exception exception) { in Result() argument
137 mException = exception; in Result()
/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: