Home
last modified time | relevance | path

Searched refs:ex (Results 1 – 25 of 311) sorted by relevance

12345678910>>...13

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsDatabaseHelper.java413 } catch (Throwable ex) { in updateThread()
414 Log.e(TAG, ex.getMessage(), ex); in updateThread()
451 } catch (Throwable ex) { in updateAllThreads()
452 Log.e(TAG, ex.getMessage(), ex); in updateAllThreads()
577 } catch (Exception ex) { in createWordsTables()
578 Log.e(TAG, "got exception creating words table: " + ex.toString()); in createWordsTables()
590 } catch (Exception ex) { in createThreadIdIndex()
591 Log.e(TAG, "got exception creating indices: " + ex.toString()); in createThreadIdIndex()
1088 } catch (Throwable ex) { in onUpgrade()
1089 Log.e(TAG, ex.getMessage(), ex); in onUpgrade()
[all …]
/packages/apps/Camera2/src/com/android/camera/
DFatalErrorHandlerImpl.java37 Exception ex = new Exception(); in onMediaStorageFailure() local
39 Log.e(TAG, "Handling Media Storage Failure:", ex); in onMediaStorageFailure()
47 finishActivity, ex); in onMediaStorageFailure()
52 Exception ex = new Exception(); in onCameraOpenFailure() local
54 Log.e(TAG, "Handling Camera Open Failure:", ex); in onCameraOpenFailure()
63 finishActivity, ex); in onCameraOpenFailure()
68 Exception ex = new Exception(); in onCameraReconnectFailure() local
70 Log.e(TAG, "Handling Camera Reconnect Failure:", ex); in onCameraReconnectFailure()
79 finishActivity, ex); in onCameraReconnectFailure()
84 Exception ex = new Exception(); in onGenericCameraAccessFailure() local
[all …]
/packages/services/Car/car-lib/src/android/car/hardware/radio/
DCarRadioManager.java122 } catch (RemoteException ex) { in CarRadioManager()
123 Log.e(TAG, "Could not connect: " + ex.toString()); in CarRadioManager()
124 throw new CarNotConnectedException(ex); in CarRadioManager()
142 } catch (RemoteException ex) { in registerListener()
144 Log.e(TAG, "Could not connect: " + ex.toString()); in registerListener()
145 throw new CarNotConnectedException(ex); in registerListener()
146 } catch (IllegalStateException ex) { in registerListener()
147 Car.checkCarNotConnectedExceptionFromCarService(ex); in registerListener()
160 } catch (RemoteException ex) { in unregisterListener()
161 Log.e(TAG, "Could not connect: " + ex.toString()); in unregisterListener()
[all …]
/packages/services/Car/bluetooth/bt-map-client-lib/src/com/google/android/auto/mapservice/
DBluetoothMapManager.java189 } catch (Exception ex) { in connect()
190 Log.e(TAG, "Failed binding to service." + ex); in connect()
219 } catch (RemoteException ex) { in disconnect()
221 } catch (IllegalStateException ex) { in disconnect()
222 sendError(ex); in disconnect()
256 } catch (RemoteException ex) { in enableNotifications()
258 Log.e(TAG, "", ex); in enableNotifications()
260 } catch (IllegalStateException ex) { in enableNotifications()
261 sendError(ex); in enableNotifications()
286 } catch (RemoteException ex) { in pushMessage()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DCursorBackedSuggestionCursor.java96 } catch (RuntimeException ex) { in close()
98 Log.e(TAG, "close() failed, ", ex); in close()
117 } catch (RuntimeException ex) { in getCount()
119 Log.e(TAG, "getCount() failed, ", ex); in getCount()
132 } catch (RuntimeException ex) { in moveTo()
134 Log.e(TAG, "moveToPosition() failed, ", ex); in moveTo()
144 } catch (RuntimeException ex) { in moveToNext()
146 Log.e(TAG, "moveToNext() failed, ", ex); in moveToNext()
157 } catch (RuntimeException ex) { in getPosition()
159 Log.e(TAG, "getPosition() failed, ", ex); in getPosition()
[all …]
DPackageIconLoader.java83 } catch (PackageManager.NameNotFoundException ex) { in ensurePackageContext()
150 } catch (Resources.NotFoundException ex) { in getDrawable()
164 } catch (IOException ex) { in getDrawable()
165 Log.e(TAG, "Error closing icon stream for " + uri, ex); in getDrawable()
194 } catch (NameNotFoundException ex) { in getResourceId()
195 throw new FileNotFoundException("Failed to get resources: " + ex); in getResourceId()
DCursorBackedSuggestionExtras.java53 } catch (RuntimeException ex) { in getCursorColumns()
55 Log.e(TAG, "getColumnNames() failed, ", ex); in getCursorColumns()
99 } catch (RuntimeException ex) { in doGetExtra()
101 Log.e(TAG, "getExtra(" + columnName + ") failed, ", ex); in doGetExtra()
/packages/apps/Camera2/src/com/android/camera/app/
DLegacyLocationProvider.java94 } catch (SecurityException ex) { in startReceivingLocationUpdates()
95 Log.i(TAG, "fail to request location update, ignore", ex); in startReceivingLocationUpdates()
96 } catch (IllegalArgumentException ex) { in startReceivingLocationUpdates()
97 Log.d(TAG, "provider does not exist " + ex.getMessage()); in startReceivingLocationUpdates()
105 } catch (SecurityException ex) { in startReceivingLocationUpdates()
106 Log.i(TAG, "fail to request location update, ignore", ex); in startReceivingLocationUpdates()
107 } catch (IllegalArgumentException ex) { in startReceivingLocationUpdates()
108 Log.d(TAG, "provider does not exist " + ex.getMessage()); in startReceivingLocationUpdates()
120 } catch (Exception ex) { in stopReceivingLocationUpdates()
121 Log.i(TAG, "fail to remove location listners, ignore", ex); in stopReceivingLocationUpdates()
/packages/apps/LegacyCamera/src/com/android/camera/
DLocationManager.java86 } catch (SecurityException ex) { in startReceivingLocationUpdates()
87 Log.i(TAG, "fail to request location update, ignore", ex); in startReceivingLocationUpdates()
88 } catch (IllegalArgumentException ex) { in startReceivingLocationUpdates()
89 Log.d(TAG, "provider does not exist " + ex.getMessage()); in startReceivingLocationUpdates()
98 } catch (SecurityException ex) { in startReceivingLocationUpdates()
99 Log.i(TAG, "fail to request location update, ignore", ex); in startReceivingLocationUpdates()
100 } catch (IllegalArgumentException ex) { in startReceivingLocationUpdates()
101 Log.d(TAG, "provider does not exist " + ex.getMessage()); in startReceivingLocationUpdates()
112 } catch (Exception ex) { in stopReceivingLocationUpdates()
113 Log.i(TAG, "fail to remove location listners, ignore", ex); in stopReceivingLocationUpdates()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseWrapper.java156 } catch (SQLiteFullException ex) { in endTransaction()
157 LogUtil.e(TAG, "Database full, unable to endTransaction", ex); in endTransaction()
187 } catch (SQLiteFullException ex) { in insertWithOnConflict()
188 LogUtil.e(TAG, "Database full, unable to insertWithOnConflict", ex); in insertWithOnConflict()
347 } catch (SQLiteFullException ex) { in update()
348 LogUtil.e(TAG, "Database full, unable to update", ex); in update()
367 } catch (SQLiteFullException ex) { in delete()
368 LogUtil.e(TAG, "Database full, unable to delete", ex); in delete()
389 } catch (SQLiteFullException ex) { in insert()
390 LogUtil.e(TAG, "Database full, unable to insert", ex); in insert()
[all …]
DDatabaseHelper.java659 } catch (final SQLException ex) { in dropView()
662 + ex); in dropView()
666 throw ex; in dropView()
689 } catch (final SQLException ex) { in dropAllTables()
692 + ex); in dropAllTables()
720 } catch (final SQLException ex) { in dropAllTriggers()
723 " " + ex); in dropAllTriggers()
764 } catch (final SQLException ex) { in dropAllIndexes()
767 + ex); in dropAllIndexes()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DCamera2OneCameraManagerImpl.java55 } catch (IllegalStateException ex) { in create()
75 } catch (CameraAccessException ex) { in hasCamera()
76 Log.e(TAG, "Unable to read camera list.", ex); in hasCamera()
93 } catch (CameraAccessException ex) { in findFirstCamera()
94 Log.e(TAG, "Unable to read camera list.", ex); in findFirstCamera()
118 } catch (CameraAccessException ex) { in getCameraCharacteristics()
119 throw new OneCameraAccessException("Unable to get camera characteristics", ex); in getCameraCharacteristics()
164 } catch (CameraAccessException ex) { in findFirstCameraIdFacing()
165 Log.w(TAG, "Unable to get camera ID", ex); in findFirstCameraIdFacing()
DCamera2OneCameraOpenerImpl.java72 } catch (IllegalStateException ex) { in create()
195 } catch (CameraAccessException ex) { in open()
196 Log.e(TAG, "Could not open camera. " + ex.getMessage()); in open()
203 } catch (UnsupportedOperationException ex) { in open()
204 Log.e(TAG, "Could not open camera. " + ex.getMessage()); in open()
211 } catch (SecurityException ex) { in open()
/packages/services/Car/bluetooth/bt-map-service/src/com/google/android/auto/mapservice/
DBluetoothMapService.java572 } catch (RemoteException ex) { in onEnableNotifications()
581 } catch (RemoteException ex) { in onPushMessage()
610 } catch (RemoteException ex) { in onEventReport()
659 } catch (RemoteException ex) { in onGetMessage()
685 } catch (RemoteException ex) { in onGetMessage()
712 } catch (RemoteException ex) { in onGetMessagesListing()
750 } catch (RemoteException ex) { in pushMessage()
762 } catch (RemoteException ex) { in getMessage()
779 } catch (RemoteException ex) { in getMessagesListing()
798 } catch (RemoteException ex) { in connectInternal()
[all …]
/packages/apps/Music/src/com/android/music/
DMediaPlaybackActivity.java278 } catch (RemoteException ex) { in onLongClick()
280 } catch (NullPointerException ex) { in onLongClick()
378 } catch (RemoteException ex) {
432 } catch (RemoteException ex) {
442 } catch (RemoteException ex) {
634 } catch (RemoteException ex) { in onOptionsItemSelected()
723 } catch (RemoteException ex) { in seekMethod1()
743 } catch (RemoteException ex) { in seekMethod2()
796 } catch (RemoteException ex) { in onKeyUp()
911 } catch (RemoteException ex) { in scanBackward()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaThumbRequest.java127 } catch (Exception ex) {
128 Log.w(TAG, ex);
159 } catch (IOException ex) {
212 } catch (java.io.IOException ex) {
213 Log.e(TAG, "got exception ex " + ex);
233 } catch (java.lang.IllegalStateException ex) {
234 Log.e(TAG, "got exception while updating database " + ex);
/packages/apps/Email/src/com/android/email/activity/setup/
DCheckSettingsErrorDialogFragment.java134 public static int getReasonFromException (MessagingException ex) { in getReasonFromException() argument
135 final int exceptionCode = ex.getExceptionType(); in getReasonFromException()
146 public static String getErrorString(Context context, MessagingException ex) { in getErrorString() argument
148 String message = ex.getMessage(); in getErrorString()
152 switch (ex.getExceptionType()) { in getErrorString()
181 String[] unsupportedPolicies = (String[]) ex.getExceptionData(); in getErrorString()
/packages/apps/Gallery/src/com/android/camera/
DReverseGeocoderTask.java60 } catch (IOException ex) { in doInBackground()
62 Log.e(TAG, "Geocoder exception: ", ex); in doInBackground()
63 } catch (RuntimeException ex) { in doInBackground()
65 Log.e(TAG, "Geocoder exception: ", ex); in doInBackground()
DImageManager.java219 } catch (FileNotFoundException ex) { in addImage()
220 Log.w(TAG, ex); in addImage()
222 } catch (IOException ex) { in addImage()
223 Log.w(TAG, ex); in addImage()
254 } catch (IOException ex) { in getExifOrientation()
255 Log.e(TAG, "cannot read exif", ex); in getExifOrientation()
460 } catch (IOException ex) { in checkFsWritable()
495 } catch (UnsupportedOperationException ex) { in query()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java325 } catch (SQLException ex) { in deleteEmptyFolders()
326 Log.e(TAG, ex.getMessage(), ex); in deleteEmptyFolders()
692 } catch (SQLException ex) { in onUpgrade()
693 Log.e(TAG, ex.getMessage(), ex); in onUpgrade()
709 } catch (SQLException ex) { in onUpgrade()
710 Log.e(TAG, ex.getMessage(), ex); in onUpgrade()
841 } catch (SQLException ex) { in convertShortcutsToLauncherActivities()
842 Log.w(TAG, "Error deduping shortcuts", ex); in convertShortcutsToLauncherActivities()
892 } catch (SQLException ex) { in recreateWorkspaceTable()
894 Log.e(TAG, ex.getMessage(), ex); in recreateWorkspaceTable()
[all …]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
DThreadPool.java134 } catch (Throwable ex) { in run()
135 Log.w(TAG, "Exception in running a job", ex); in run()
178 } catch (Exception ex) { in get()
179 Log.w(TAG, "ingore exception", ex); in get()
247 } catch (InterruptedException ex) { in acquireResource()
/packages/apps/Messaging/src/com/android/messaging/
DBugleApplication.java184 public void uncaughtException(final Thread thread, final Throwable ex) { in uncaughtException() argument
187 LogUtil.e(TAG, "Uncaught exception in background thread " + thread, ex); in uncaughtException()
194 sSystemUncaughtExceptionHandler.uncaughtException(thread, ex); in uncaughtException()
198 sSystemUncaughtExceptionHandler.uncaughtException(thread, ex); in uncaughtException()
250 } catch (final Exception ex) { in maybeHandleSharedPrefsUpgrade()
253 LogUtil.e(LogUtil.BUGLE_TAG, "Failed to upgrade shared prefs", ex); in maybeHandleSharedPrefsUpgrade()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherProvider.java511 } catch (SQLException ex) { in onUpgrade()
513 Log.e(TAG, ex.getMessage(), ex); in onUpgrade()
542 } catch (SQLException ex) { in onUpgrade()
544 Log.e(TAG, ex.getMessage(), ex); in onUpgrade()
621 } catch (SQLException ex) { in addProfileColumn()
623 Log.e(TAG, ex.getMessage(), ex); in addProfileColumn()
688 } catch (RuntimeException ex) { in updateContactsShortcuts()
689 Log.e(TAG, "Problem upgrading shortcut", ex); in updateContactsShortcuts()
697 } catch (SQLException ex) { in updateContactsShortcuts()
698 Log.w(TAG, "Problem while upgrading contacts", ex); in updateContactsShortcuts()
[all …]
/packages/apps/Camera2/src/com/android/camera/util/
DSize.java70 public Size(com.android.ex.camera2.portability.Size size) { in Size()
146 public com.android.ex.camera2.portability.Size toPortabilitySize() { in toPortabilitySize()
147 return new com.android.ex.camera2.portability.Size(width, height); in toPortabilitySize()
159 public static List<Size> convert(List<com.android.ex.camera2.portability.Size> sizes) { in convert()
161 for (com.android.ex.camera2.portability.Size size : sizes) { in convert()
/packages/apps/Gallery/tests/src/com/android/camera/
DBitmapManagerUnitTests.java91 } catch (InterruptedException ex) { in testDefaultAllowDecoding()
103 } catch (InterruptedException ex) { in testCancelDecoding()
116 } catch (InterruptedException ex) { in testAllowDecoding()
133 } catch (InterruptedException ex) { in testThreadDecoding()

12345678910>>...13