Home
last modified time | relevance | path

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

12345678910>>...15

/frameworks/base/core/java/android/database/sqlite/
DSQLiteStatement.java45 } catch (SQLiteDatabaseCorruptException ex) { in execute()
47 throw ex; in execute()
66 } catch (SQLiteDatabaseCorruptException ex) { in executeUpdateDelete()
68 throw ex; in executeUpdateDelete()
88 } catch (SQLiteDatabaseCorruptException ex) { in executeInsert()
90 throw ex; in executeInsert()
109 } catch (SQLiteDatabaseCorruptException ex) { in simpleQueryForLong()
111 throw ex; in simpleQueryForLong()
130 } catch (SQLiteDatabaseCorruptException ex) { in simpleQueryForString()
132 throw ex; in simpleQueryForString()
[all …]
DSQLiteQuery.java66 } catch (SQLiteDatabaseCorruptException ex) { in fillWindow()
68 throw ex; in fillWindow()
69 } catch (SQLiteException ex) { in fillWindow()
70 Log.e(TAG, "exception: " + ex.getMessage() + "; query: " + getSql()); in fillWindow()
71 throw ex; in fillWindow()
DSQLiteConnection.java195 } catch (SQLiteException ex) { in open()
197 throw ex; in open()
329 } catch (SQLiteDatabaseLockedException ex) { in setJournalMode()
392 } catch (RuntimeException ex) { in setLocaleFromConfiguration()
394 + "' to '" + newLocale + "'.", ex); in setLocaleFromConfiguration()
521 } catch (RuntimeException ex) { in prepare()
522 mRecentOperations.failOperation(cookie, ex); in prepare()
523 throw ex; in prepare()
562 } catch (RuntimeException ex) { in execute()
563 mRecentOperations.failOperation(cookie, ex); in execute()
[all …]
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java271 } catch (RemoteException ex) { in getDeviceSoftwareVersion()
273 } catch (NullPointerException ex) { in getDeviceSoftwareVersion()
288 } catch (RemoteException ex) { in getDeviceId()
290 } catch (NullPointerException ex) { in getDeviceId()
318 } catch (RemoteException ex) { in getCellLocation()
320 } catch (NullPointerException ex) { in getCellLocation()
337 } catch (RemoteException ex) { in enableLocationUpdates()
338 } catch (NullPointerException ex) { in enableLocationUpdates()
354 } catch (RemoteException ex) { in disableLocationUpdates()
355 } catch (NullPointerException ex) { in disableLocationUpdates()
[all …]
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerGlobal.java132 } catch (RemoteException ex) { in getDisplayInfo()
133 Log.e(TAG, "Could not get display information from display manager.", ex); in getDisplayInfo()
159 } catch (RemoteException ex) { in getDisplayIds()
160 Log.e(TAG, "Could not get display ids from display manager.", ex); in getDisplayIds()
248 } catch (RemoteException ex) { in registerCallbackIfNeededLocked()
249 Log.e(TAG, "Failed to register callback with display manager service.", ex); in registerCallbackIfNeededLocked()
278 } catch (RemoteException ex) { in startWifiDisplayScan()
279 Log.e(TAG, "Failed to scan for Wifi displays.", ex); in startWifiDisplayScan()
290 } catch (RemoteException ex) { in stopWifiDisplayScan()
291 Log.e(TAG, "Failed to scan for Wifi displays.", ex); in stopWifiDisplayScan()
[all …]
/frameworks/base/media/java/android/media/
DMiniThumbFile.java95 } catch (SecurityException ex) { in removeOldFile()
115 } catch (IOException ex) { in miniThumbDataFile()
141 } catch (IOException ex) { in deactivate()
170 } catch (IOException ex) { in getMagic()
171 Log.v(TAG, "Got exception checking file magic: ", ex); in getMagic()
172 } catch (RuntimeException ex) { in getMagic()
175 ", disk full or mount read-only? " + ex.getClass()); in getMagic()
180 catch (IOException ex) { in getMagic()
211 } catch (IOException ex) { in saveMiniThumbToFile()
213 + id + "; ", ex); in saveMiniThumbToFile()
[all …]
/frameworks/base/core/java/android/widget/
DRemoteViewsService.java143 } catch (Exception ex) { in onDataSetChanged()
145 Thread.getDefaultUncaughtExceptionHandler().uncaughtException(t, ex); in onDataSetChanged()
155 } catch (Exception ex) { in getCount()
157 Thread.getDefaultUncaughtExceptionHandler().uncaughtException(t, ex); in getCount()
168 } catch (Exception ex) { in getViewAt()
170 Thread.getDefaultUncaughtExceptionHandler().uncaughtException(t, ex); in getViewAt()
178 } catch (Exception ex) { in getLoadingView()
180 Thread.getDefaultUncaughtExceptionHandler().uncaughtException(t, ex); in getLoadingView()
188 } catch (Exception ex) { in getViewTypeCount()
190 Thread.getDefaultUncaughtExceptionHandler().uncaughtException(t, ex); in getViewTypeCount()
[all …]
/frameworks/base/core/java/android/app/
DStatusBarManager.java99 } catch (RemoteException ex) { in disable()
101 throw new RuntimeException(ex); in disable()
114 } catch (RemoteException ex) { in expandNotificationsPanel()
116 throw new RuntimeException(ex); in expandNotificationsPanel()
129 } catch (RemoteException ex) { in collapsePanels()
131 throw new RuntimeException(ex); in collapsePanels()
144 } catch (RemoteException ex) { in expandSettingsPanel()
146 throw new RuntimeException(ex); in expandSettingsPanel()
157 } catch (RemoteException ex) { in setIcon()
159 throw new RuntimeException(ex); in setIcon()
[all …]
DKeyguardManager.java72 } catch (RemoteException ex) { in disableKeyguard()
93 } catch (RemoteException ex) { in reenableKeyguard()
145 } catch (RemoteException ex) { in isKeyguardLocked()
158 } catch (RemoteException ex) { in isKeyguardSecure()
175 } catch (RemoteException ex) { in inKeyguardRestrictedInputMode()
/frameworks/base/core/java/android/hardware/input/
DInputManager.java212 } catch (RemoteException ex) { in getInputDevice()
213 throw new RuntimeException("Could not get input device information.", ex); in getInputDevice()
244 } catch (RemoteException ex) { in getInputDeviceByDescriptor()
347 } catch (RemoteException ex) { in getKeyboardLayouts()
348 Log.w(TAG, "Could not get list of keyboard layout informations.", ex); in getKeyboardLayouts()
369 } catch (RemoteException ex) { in getKeyboardLayout()
370 Log.w(TAG, "Could not get keyboard layout information.", ex); in getKeyboardLayout()
390 } catch (RemoteException ex) { in getCurrentKeyboardLayoutForInputDevice()
391 Log.w(TAG, "Could not get current keyboard layout for input device.", ex); in getCurrentKeyboardLayoutForInputDevice()
420 } catch (RemoteException ex) { in setCurrentKeyboardLayoutForInputDevice()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DZygoteConnection.java97 } catch (IOException ex) { in ZygoteConnection()
98 Log.e(TAG, "Cannot read peer credentials", ex); in ZygoteConnection()
99 throw ex; in ZygoteConnection()
174 } catch (IOException ex) { in runOnce()
175 Log.w(TAG, "IOException on command socket " + ex.getMessage()); in runOnce()
226 } catch (IOException ex) { in runOnce()
227 logAndPrintError(newStderr, "Exception creating pipe", ex); in runOnce()
228 } catch (ErrnoException ex) { in runOnce()
229 logAndPrintError(newStderr, "Exception creating pipe", ex); in runOnce()
230 } catch (IllegalArgumentException ex) { in runOnce()
[all …]
DZygoteInit.java117 } catch (ClassNotFoundException ex) { in invokeStaticMain()
120 ex); in invokeStaticMain()
126 } catch (NoSuchMethodException ex) { in invokeStaticMain()
128 "Missing static main on " + className, ex); in invokeStaticMain()
129 } catch (SecurityException ex) { in invokeStaticMain()
131 "Problem getting static main on " + className, ex); in invokeStaticMain()
160 } catch (RuntimeException ex) { in registerZygoteSocket()
162 ANDROID_SOCKET_ENV + " unset or invalid", ex); in registerZygoteSocket()
168 } catch (IOException ex) { in registerZygoteSocket()
170 "Error binding to local socket '" + fileDesc + "'", ex); in registerZygoteSocket()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DModelInterpreter.java105 } catch (IOException ex) { in getNextLine()
107 } catch (IndexOutOfBoundsException ex) { in getNextLine()
113 } catch (UnsupportedEncodingException ex) { in getNextLine()
206 } catch (java.io.IOException ex) { in run()
208 "IOException on socket.accept(); stopping", ex); in run()
215 } catch (java.io.IOException ex) { in run()
217 "IOException on accepted socket(); re-listening", ex); in run()
244 } catch (InterruptedException ex) { in run()
254 } catch (InterpreterEx ex) { in run()
255 println(ex.mResult); in run()
[all …]
/frameworks/support/v7/mediarouter/jellybean-mr1/android/support/v7/media/
DMediaRouterJellybeanMr1.java76 } catch (NoSuchMethodException ex) { in ActiveScanWorkaround()
111 } catch (IllegalAccessException ex) { in run()
112 Log.w(TAG, "Cannot scan for wifi displays.", ex); in run()
113 } catch (InvocationTargetException ex) { in run()
114 Log.w(TAG, "Cannot scan for wifi displays.", ex); in run()
140 } catch (NoSuchFieldException ex) { in IsConnectingWorkaround()
141 } catch (NoSuchMethodException ex) { in IsConnectingWorkaround()
142 } catch (IllegalAccessException ex) { in IsConnectingWorkaround()
154 } catch (IllegalAccessException ex) { in isConnecting()
155 } catch (InvocationTargetException ex) { in isConnecting()
/frameworks/base/core/tests/coretests/src/android/net/
DLocalSocketTest.java89 } catch (ArrayIndexOutOfBoundsException ex) { in testBasic()
96 } catch (ArrayIndexOutOfBoundsException ex) { in testBasic()
103 } catch (ArrayIndexOutOfBoundsException ex) { in testBasic()
110 } catch (ArrayIndexOutOfBoundsException ex) { in testBasic()
117 } catch (ArrayIndexOutOfBoundsException ex) { in testBasic()
124 } catch (ArrayIndexOutOfBoundsException ex) { in testBasic()
143 } catch (IOException ex) { in testBasic()
152 } catch (IOException ex) { in testBasic()
161 } catch (IOException ex) { in testBasic()
/frameworks/base/core/java/com/android/internal/policy/
DPolicyManager.java40 } catch (ClassNotFoundException ex) {
42 POLICY_IMPL_CLASS_NAME + " could not be loaded", ex);
43 } catch (InstantiationException ex) {
45 POLICY_IMPL_CLASS_NAME + " could not be instantiated", ex);
46 } catch (IllegalAccessException ex) {
48 POLICY_IMPL_CLASS_NAME + " could not be instantiated", ex);
/frameworks/base/location/java/android/location/
DGeocoder.java133 String ex = mService.getFromLocation(latitude, longitude, maxResults, in getFromLocation() local
135 if (ex != null) { in getFromLocation()
136 throw new IOException(ex); in getFromLocation()
175 String ex = mService.getFromLocationName(locationName, in getFromLocationName() local
177 if (ex != null) { in getFromLocationName()
178 throw new IOException(ex); in getFromLocationName()
247 String ex = mService.getFromLocationName(locationName, in getFromLocationName() local
250 if (ex != null) { in getFromLocationName()
251 throw new IOException(ex); in getFromLocationName()
/frameworks/opt/telephony/src/java/android/telephony/
DSmsManager.java104 } catch (RemoteException ex) { in sendTextMessage()
185 } catch (RemoteException ex) { in sendMultipartTextMessage()
250 } catch (RemoteException ex) { in sendDataMessage()
294 } catch (RemoteException ex) { in copyMessageToIcc()
323 } catch (RemoteException ex) { in deleteMessageFromIcc()
353 } catch (RemoteException ex) { in updateMessageOnIcc()
377 } catch (RemoteException ex) { in getAllMessagesFromIcc()
408 } catch (RemoteException ex) { in enableCellBroadcast()
439 } catch (RemoteException ex) { in disableCellBroadcast()
476 } catch (RemoteException ex) { in enableCellBroadcastRange()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDefaultPhoneNotifier.java54 } catch (RemoteException ex) { in notifyPhoneState()
68 } catch (RemoteException ex) { in notifyServiceState()
77 } catch (RemoteException ex) { in notifySignalStrength()
86 } catch (RemoteException ex) { in notifyMessageWaitingChanged()
95 } catch (RemoteException ex) { in notifyCallForwardingChanged()
104 } catch (RemoteException ex) { in notifyDataActivity()
143 } catch (RemoteException ex) { in doNotifyDataConnection()
152 } catch (RemoteException ex) { in notifyDataConnectionFailed()
163 } catch (RemoteException ex) { in notifyCellLocation()
172 } catch (RemoteException ex) { in notifyCellInfo()
[all …]
/frameworks/base/tests/CoreTests/android/core/
DSSLSocketTest.java162 } catch (InterruptedException ex) { in fetch()
257 } catch (IOException ex) { in testLongTimeout()
276 } catch (IOException ex) { in xxtestBrokenConnection()
277 android.util.Log.d("SSLSocketTest", "Exception", ex); in xxtestBrokenConnection()
296 } catch (IOException ex) { in xxtestBrokenConnection2()
297 android.util.Log.d("SSLSocketTest", "Exception", ex); in xxtestBrokenConnection2()
347 } catch (Exception ex) { in testMultithreadedClose()
349 "testMultithreadedClose() reader got " + ex.toString()); in testMultithreadedClose()
360 } catch (Exception ex) { in testMultithreadedClose()
362 "testMultithreadedClose() closer got " + ex.toString()); in testMultithreadedClose()
[all …]
DInetAddrTest.java66 } catch (UnknownHostException ex) { in testInetAddr()
73 } catch (UnknownHostException ex) { in testInetAddr()
80 } catch (UnknownHostException ex) { in testInetAddr()
93 } catch (InterruptedException ex) { in testInetAddr()
95 } catch (UnknownHostException ex) { in testInetAddr()
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java117 } catch (android.os.RemoteException ex) { in cancelNotification()
118 Log.v(TAG, "Unable to contact notification manager", ex); in cancelNotification()
136 } catch (android.os.RemoteException ex) { in cancelAllNotifications()
137 Log.v(TAG, "Unable to contact notification manager", ex); in cancelAllNotifications()
150 } catch (android.os.RemoteException ex) { in getActiveNotifications()
151 Log.v(TAG, "Unable to contact notification manager", ex); in getActiveNotifications()
/frameworks/base/core/java/android/preference/
DPreferenceInflater.java79 XmlPullParserException ex = new XmlPullParserException( in onCreateCustomFromTag()
81 ex.initCause(e); in onCreateCustomFromTag()
82 throw ex; in onCreateCustomFromTag()
96 XmlPullParserException ex = new XmlPullParserException( in onCreateCustomFromTag()
98 ex.initCause(e); in onCreateCustomFromTag()
99 throw ex; in onCreateCustomFromTag()
/frameworks/base/services/java/com/android/server/media/
DRemoteDisplayProviderProxy.java199 } catch (SecurityException ex) { in bind()
201 Slog.d(TAG, this + ": Bind failed", ex); in bind()
345 } catch (RemoteException ex) { in register()
359 } catch (RemoteException ex) { in setDiscoveryMode()
360 Slog.e(TAG, "Failed to deliver request to set discovery mode.", ex); in setDiscoveryMode()
367 } catch (RemoteException ex) { in connect()
368 Slog.e(TAG, "Failed to deliver request to connect to display.", ex); in connect()
375 } catch (RemoteException ex) { in disconnect()
376 Slog.e(TAG, "Failed to deliver request to disconnect from display.", ex); in disconnect()
383 } catch (RemoteException ex) { in setVolume()
[all …]
/frameworks/base/core/java/android/speech/tts/
DFileSynthesisCallback.java83 } catch (IOException ex) { in closeFile()
84 Log.e(TAG, "Failed to close output file descriptor", ex); in closeFile()
121 } catch (IOException ex) { in start()
122 Log.e(TAG, "Failed to write wav header to output file descriptor" + ex); in start()
147 } catch (IOException ex) { in audioAvailable()
148 Log.e(TAG, "Failed to write to output file descriptor", ex); in audioAvailable()
182 } catch (IOException ex) { in done()
183 Log.e(TAG, "Failed to write to output file descriptor", ex); in done()

12345678910>>...15