Home
last modified time | relevance | path

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

12345678910>>...20

/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java829 } catch (RemoteException ex) { in getDeviceSoftwareVersion()
831 } catch (NullPointerException ex) { in getDeviceSoftwareVersion()
849 } catch (RemoteException ex) { in getDeviceId()
851 } catch (NullPointerException ex) { in getDeviceId()
872 } catch (RemoteException ex) { in getDeviceId()
874 } catch (NullPointerException ex) { in getDeviceId()
905 } catch (RemoteException ex) { in getImei()
907 } catch (NullPointerException ex) { in getImei()
938 } catch (RemoteException ex) { in getNai()
940 } catch (NullPointerException ex) { in getNai()
[all …]
DSubscriptionManager.java435 } catch (RemoteException ex) { in addOnSubscriptionsChangedListener()
461 } catch (RemoteException ex) { in removeOnSubscriptionsChangedListener()
488 } catch (RemoteException ex) { in getActiveSubscriptionInfo()
516 } catch (RemoteException ex) { in getActiveSubscriptionInfoForIccIndex()
543 } catch (RemoteException ex) { in getActiveSubscriptionInfoForSimSlotIndex()
565 } catch (RemoteException ex) { in getAllSubscriptionInfoList()
603 } catch (RemoteException ex) { in getActiveSubscriptionInfoList()
624 } catch (RemoteException ex) { in getAllSubscriptionInfoCount()
644 } catch (RemoteException ex) { in getActiveSubscriptionInfoCount()
664 } catch (RemoteException ex) { in getActiveSubscriptionInfoCountMax()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSubInfoControllerTest.java93 } catch (Exception ex) { in testGetDeviceIdWithOutPermission()
94 assertTrue(ex instanceof SecurityException); in testGetDeviceIdWithOutPermission()
95 assertEquals(READ_PHONE_STATE + " denied: getDeviceId", ex.getMessage()); in testGetDeviceIdWithOutPermission()
101 } catch (Exception ex) { in testGetDeviceIdWithOutPermission()
102 assertTrue(ex instanceof SecurityException); in testGetDeviceIdWithOutPermission()
103 assertEquals(READ_PHONE_STATE + " denied: getDeviceId", ex.getMessage()); in testGetDeviceIdWithOutPermission()
143 } catch (Exception ex) { in testGetNaiWithOutPermission()
144 assertTrue(ex instanceof SecurityException); in testGetNaiWithOutPermission()
145 assertEquals(READ_PHONE_STATE + " denied: getNai", ex.getMessage()); in testGetNaiWithOutPermission()
151 } catch (Exception ex) { in testGetNaiWithOutPermission()
[all …]
DGsmCdmaCallTrackerTest.java103 } catch(Exception ex) { in testMOCallDial()
104 ex.printStackTrace(); in testMOCallDial()
105 Assert.fail("unexpected exception thrown"+ex.getMessage()+ex.getStackTrace()); in testMOCallDial()
143 } catch(Exception ex) { in testMOCallHangup()
144 ex.printStackTrace(); in testMOCallHangup()
145 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMOCallHangup()
166 } catch(Exception ex) { in testMOCallDialPickUpHangup()
167 ex.printStackTrace(); in testMOCallDialPickUpHangup()
168 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMOCallDialPickUpHangup()
189 } catch(Exception ex) { in testMOCallPendingHangUp()
[all …]
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerGlobal.java134 } catch (RemoteException ex) { in getDisplayInfo()
135 throw ex.rethrowFromSystemServer(); in getDisplayInfo()
160 } catch (RemoteException ex) { in getDisplayIds()
161 throw ex.rethrowFromSystemServer(); in getDisplayIds()
237 } catch (RemoteException ex) { in registerCallbackIfNeededLocked()
238 throw ex.rethrowFromSystemServer(); in registerCallbackIfNeededLocked()
266 } catch (RemoteException ex) { in startWifiDisplayScan()
267 throw ex.rethrowFromSystemServer(); in startWifiDisplayScan()
278 } catch (RemoteException ex) { in stopWifiDisplayScan()
279 throw ex.rethrowFromSystemServer(); in stopWifiDisplayScan()
[all …]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraAgent.java17 package com.android.ex.camera2.portability;
29 import com.android.ex.camera2.portability.debug.Log;
296 } catch (final RuntimeException ex) { in openCamera()
297 getCameraExceptionHandler().onDispatchThreadException(ex); in openCamera()
330 } catch (final RuntimeException ex) { in closeCamera()
331 getCameraExceptionHandler().onDispatchThreadException(ex); in closeCamera()
428 } catch (final RuntimeException ex) { in reconnect()
429 getAgent().getCameraExceptionHandler().onDispatchThreadException(ex); in reconnect()
452 } catch (final RuntimeException ex) { in unlock()
453 getAgent().getCameraExceptionHandler().onDispatchThreadException(ex); in unlock()
[all …]
/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 …]
/frameworks/base/services/core/java/com/android/server/
DSystemServiceManager.java59 } catch (ClassNotFoundException ex) { in startService()
65 + "services that implement it", ex); in startService()
94 } catch (InstantiationException ex) { in startService()
96 + ": service could not be instantiated", ex); in startService()
97 } catch (IllegalAccessException ex) { in startService()
99 + ": service must have a public constructor with a Context argument", ex); in startService()
100 } catch (NoSuchMethodException ex) { in startService()
102 + ": service must have a public constructor with a Context argument", ex); in startService()
103 } catch (InvocationTargetException ex) { in startService()
105 + ": service constructor threw an exception", ex); in startService()
[all …]
/frameworks/base/core/java/android/hardware/input/
DInputManager.java253 } catch (RemoteException ex) { in getInputDevice()
254 throw ex.rethrowFromSystemServer(); in getInputDevice()
285 } catch (RemoteException ex) { in getInputDeviceByDescriptor()
286 throw ex.rethrowFromSystemServer(); in getInputDeviceByDescriptor()
385 } catch (RemoteException ex) { in isInTabletMode()
386 throw ex.rethrowFromSystemServer(); in isInTabletMode()
439 } catch (RemoteException ex) { in initializeTabletModeListenerLocked()
440 throw ex.rethrowFromSystemServer(); in initializeTabletModeListenerLocked()
471 } catch (RemoteException ex) { in getKeyboardLayouts()
472 throw ex.rethrowFromSystemServer(); in getKeyboardLayouts()
[all …]
/frameworks/base/media/java/android/media/
DMiniThumbFile.java94 } catch (SecurityException ex) { in removeOldFile()
114 } catch (IOException ex) { in miniThumbDataFile()
140 } catch (IOException ex) { in deactivate()
169 } catch (IOException ex) { in getMagic()
170 Log.v(TAG, "Got exception checking file magic: ", ex); in getMagic()
171 } catch (RuntimeException ex) { in getMagic()
174 ", disk full or mount read-only? " + ex.getClass()); in getMagic()
179 catch (IOException ex) { in getMagic()
210 } catch (IOException ex) { in saveMiniThumbToFile()
212 + 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.java125 } catch (RemoteException ex) { in disable()
126 throw ex.rethrowFromSystemServer(); in disable()
142 } catch (RemoteException ex) { in disable2()
143 throw ex.rethrowFromSystemServer(); in disable2()
156 } catch (RemoteException ex) { in expandNotificationsPanel()
157 throw ex.rethrowFromSystemServer(); in expandNotificationsPanel()
170 } catch (RemoteException ex) { in collapsePanels()
171 throw ex.rethrowFromSystemServer(); in collapsePanels()
191 } catch (RemoteException ex) { in expandSettingsPanel()
192 throw ex.rethrowFromSystemServer(); in expandSettingsPanel()
[all …]
/frameworks/support/v7/mediarouter/jellybean-mr1/android/support/v7/media/
DMediaRouterJellybeanMr1.java47 } catch (NoSuchMethodError ex) { in getPresentationDisplay()
48 Log.w(TAG, "Cannot get presentation display for the route.", ex); in getPresentationDisplay()
83 } catch (NoSuchMethodException ex) { in ActiveScanWorkaround()
118 } catch (IllegalAccessException ex) { in run()
119 Log.w(TAG, "Cannot scan for wifi displays.", ex); in run()
120 } catch (InvocationTargetException ex) { in run()
121 Log.w(TAG, "Cannot scan for wifi displays.", ex); in run()
147 } catch (NoSuchFieldException ex) { in IsConnectingWorkaround()
148 } catch (NoSuchMethodException ex) { in IsConnectingWorkaround()
149 } catch (IllegalAccessException ex) { in IsConnectingWorkaround()
[all …]
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
DCameraTooActivity.java171 } catch (InterruptedException ex) { in onPause()
172 Log.e(TAG, "Background worker thread was interrupted while joined", ex); in onPause()
193 } catch (CameraAccessException ex) { in onClickOnSurfaceView()
194 Log.e(TAG, "Failed to file actual capture request", ex); in onClickOnSurfaceView()
196 } catch (CameraAccessException ex) { in onClickOnSurfaceView()
197 Log.e(TAG, "Failed to build actual capture request", ex); in onClickOnSurfaceView()
279 } catch (CameraAccessException ex) {
280 Log.e(TAG, "Unable to list cameras", ex);
295 } catch (CameraAccessException ex) {
296 Log.e(TAG, "Failed to configure output surface", ex);
[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/base/core/java/android/transition/
DArcMotion.java200 float ex; in getPath() local
203 ex = (startX + endX) / 2; in getPath()
206 ex = startX + mMinimumVerticalTangent * Math.abs(endY - startY) / 2; in getPath()
233 ex = startX; in getPath()
236 ex = endX; in getPath()
245 ex = endX - eDistX; in getPath()
248 ex = startX + eDistX; in getPath()
255 float arcDistX = dx - ex; in getPath()
270 ex = dx + (ratio * (ex - dx)); in getPath()
274 float controlX1 = (startX + ex) / 2; in getPath()
[all …]
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java249 } catch (Exception ex) { in testImsMTCallAccept()
250 ex.printStackTrace(); in testImsMTCallAccept()
251 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testImsMTCallAccept()
267 } catch (Exception ex) { in testImsMTCallReject()
268 ex.printStackTrace(); in testImsMTCallReject()
269 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testImsMTCallReject()
284 } catch (Exception ex) { in testImsMTCallAcceptHangUp()
285 ex.printStackTrace(); in testImsMTCallAcceptHangUp()
286 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testImsMTCallAcceptHangUp()
303 } catch (Exception ex) { in testImsMTCallAcceptHold()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DZygoteConnection.java103 } catch (IOException ex) { in ZygoteConnection()
104 Log.e(TAG, "Cannot read peer credentials", ex); in ZygoteConnection()
105 throw ex; in ZygoteConnection()
141 } catch (IOException ex) { in runOnce()
142 Log.w(TAG, "IOException on command socket " + ex.getMessage()); in runOnce()
229 } catch (ErrnoException ex) { in runOnce()
230 logAndPrintError(newStderr, "Exception creating pipe", ex); in runOnce()
231 } catch (IllegalArgumentException ex) { in runOnce()
232 logAndPrintError(newStderr, "Invalid zygote arguments", ex); in runOnce()
233 } catch (ZygoteSecurityException ex) { in runOnce()
[all …]
/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/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java129 } catch (RemoteException ex) {
140 } catch (RemoteException ex) {
152 } catch (RemoteException ex) {
217 } catch (RemoteException ex) {}
226 } catch (RemoteException ex) {}
235 } catch (RemoteException ex) {}
251 } catch (RemoteException ex) {}
260 } catch (RemoteException ex) {}
269 } catch (RemoteException ex) {}
278 } catch (RemoteException ex) {}
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternChecker.java78 } catch (RequestThrottledException ex) { in verifyPattern()
79 mThrottleTimeout = ex.getTimeoutMs(); in verifyPattern()
120 } catch (RequestThrottledException ex) { in checkPattern()
121 mThrottleTimeout = ex.getTimeoutMs(); in checkPattern()
156 } catch (RequestThrottledException ex) { in verifyPassword()
157 mThrottleTimeout = ex.getTimeoutMs(); in verifyPassword()
193 } catch (RequestThrottledException ex) { in verifyTiedProfileChallenge()
194 mThrottleTimeout = ex.getTimeoutMs(); in verifyTiedProfileChallenge()
227 } catch (RequestThrottledException ex) { in checkPassword()
228 mThrottleTimeout = ex.getTimeoutMs(); in checkPassword()
/frameworks/opt/chips/sample/src/com/android/ex/chips/sample/
DMainActivity.java16 package com.android.ex.chips.sample;
24 import com.android.ex.chips.BaseRecipientAdapter;
25 import com.android.ex.chips.RecipientEditTextView;
26 import com.android.ex.chips.RecipientEditTextView.PermissionsRequestItemClickedListener;
27 import com.android.ex.chips.RecipientEditTextView.RecipientChipAddedListener;
28 import com.android.ex.chips.RecipientEditTextView.RecipientChipDeletedListener;
29 import com.android.ex.chips.RecipientEntry;
/frameworks/opt/telephony/src/java/android/telephony/
DSmsManager.java322 } catch (RemoteException ex) { in sendTextMessageInternal()
368 } catch (RemoteException ex) { in sendTextMessageWithSelfPermissions()
402 } catch (RemoteException ex) { in injectSmsPdu()
490 } catch (RemoteException ex) { in sendMultipartTextMessageInternal()
568 } catch (RemoteException ex) { in sendDataMessage()
595 } catch (RemoteException ex) { in sendDataMessageWithSelfPermissions()
660 } catch (RemoteException ex) { in getSubscriptionId()
727 } catch (RemoteException ex) { in copyMessageToIcc()
757 } catch (RemoteException ex) { in deleteMessageFromIcc()
788 } catch (RemoteException ex) { in updateMessageOnIcc()
[all …]
/frameworks/base/core/java/android/view/animation/
DAnimationUtils.java109 } catch (XmlPullParserException ex) { in loadAnimation()
112 rnf.initCause(ex); in loadAnimation()
114 } catch (IOException ex) { in loadAnimation()
117 rnf.initCause(ex); in loadAnimation()
187 } catch (XmlPullParserException ex) { in loadLayoutAnimation()
190 rnf.initCause(ex); in loadLayoutAnimation()
192 } catch (IOException ex) { in loadLayoutAnimation()
195 rnf.initCause(ex); in loadLayoutAnimation()
309 } catch (XmlPullParserException ex) { in loadInterpolator()
312 rnf.initCause(ex); in loadInterpolator()
[all …]

12345678910>>...20