Home
last modified time | relevance | path

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

12345678910>>...21

/frameworks/base/core/java/android/hardware/display/
DDisplayManagerGlobal.java135 } catch (RemoteException ex) { in getDisplayInfo()
136 throw ex.rethrowFromSystemServer(); in getDisplayInfo()
161 } catch (RemoteException ex) { in getDisplayIds()
162 throw ex.rethrowFromSystemServer(); in getDisplayIds()
256 } catch (RemoteException ex) { in registerCallbackIfNeededLocked()
257 throw ex.rethrowFromSystemServer(); in registerCallbackIfNeededLocked()
285 } catch (RemoteException ex) { in startWifiDisplayScan()
286 throw ex.rethrowFromSystemServer(); in startWifiDisplayScan()
297 } catch (RemoteException ex) { in stopWifiDisplayScan()
298 throw ex.rethrowFromSystemServer(); in stopWifiDisplayScan()
[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.java107 } catch(Exception ex) { in testMOCallDial()
108 ex.printStackTrace(); in testMOCallDial()
109 Assert.fail("unexpected exception thrown"+ex.getMessage()+ex.getStackTrace()); in testMOCallDial()
149 } catch(Exception ex) { in testMOCallHangup()
150 ex.printStackTrace(); in testMOCallHangup()
151 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMOCallHangup()
174 } catch(Exception ex) { in testMOCallDialPickUpHangup()
175 ex.printStackTrace(); in testMOCallDialPickUpHangup()
176 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMOCallDialPickUpHangup()
198 } catch(Exception ex) { in testMOCallPendingHangUp()
[all …]
/frameworks/base/core/java/android/hardware/input/
DInputManager.java257 } catch (RemoteException ex) { in getInputDevice()
258 throw ex.rethrowFromSystemServer(); in getInputDevice()
289 } catch (RemoteException ex) { in getInputDeviceByDescriptor()
290 throw ex.rethrowFromSystemServer(); in getInputDeviceByDescriptor()
334 } catch (RemoteException ex) { in isInputDeviceEnabled()
336 throw ex.rethrowFromSystemServer(); in isInputDeviceEnabled()
353 } catch (RemoteException ex) { in enableInputDevice()
355 throw ex.rethrowFromSystemServer(); in enableInputDevice()
372 } catch (RemoteException ex) { in disableInputDevice()
374 throw ex.rethrowFromSystemServer(); in disableInputDevice()
[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/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/telephony/java/android/telephony/
DTelephonyManager.java986 } catch (RemoteException ex) { in getDeviceSoftwareVersion()
988 } catch (NullPointerException ex) { in getDeviceSoftwareVersion()
1008 } catch (RemoteException ex) { in getDeviceId()
1010 } catch (NullPointerException ex) { in getDeviceId()
1033 } catch (RemoteException ex) { in getDeviceId()
1035 } catch (NullPointerException ex) { in getDeviceId()
1062 } catch (RemoteException ex) { in getImei()
1064 } catch (NullPointerException ex) { in getImei()
1089 } catch (RemoteException ex) { in getMeid()
1091 } catch (NullPointerException ex) { in getMeid()
[all …]
DSubscriptionManager.java489 } catch (RemoteException ex) { in addOnSubscriptionsChangedListener()
515 } catch (RemoteException ex) { in removeOnSubscriptionsChangedListener()
542 } catch (RemoteException ex) { in getActiveSubscriptionInfo()
570 } catch (RemoteException ex) { in getActiveSubscriptionInfoForIccIndex()
597 } catch (RemoteException ex) { in getActiveSubscriptionInfoForSimSlotIndex()
619 } catch (RemoteException ex) { in getAllSubscriptionInfoList()
657 } catch (RemoteException ex) { in getActiveSubscriptionInfoList()
698 } catch (RemoteException ex) { in getAvailableSubscriptionInfoList()
739 } catch (RemoteException ex) { in getAccessibleSubscriptionInfoList()
764 } catch (RemoteException ex) { in requestEmbeddedSubscriptionInfoListRefresh()
[all …]
DSmsManager.java333 } catch (RemoteException ex) { in sendTextMessageInternal()
384 } catch (RemoteException ex) { in sendTextMessageWithSelfPermissions()
418 } catch (RemoteException ex) { in injectSmsPdu()
506 } catch (RemoteException ex) { in sendMultipartTextMessageInternal()
589 } catch (RemoteException ex) { in sendDataMessage()
616 } catch (RemoteException ex) { in sendDataMessageWithSelfPermissions()
681 } catch (RemoteException ex) { in getSubscriptionId()
748 } catch (RemoteException ex) { in copyMessageToIcc()
778 } catch (RemoteException ex) { in deleteMessageFromIcc()
809 } catch (RemoteException ex) { in updateMessageOnIcc()
[all …]
/frameworks/base/media/java/android/media/
DMiniThumbFile.java95 } catch (SecurityException ex) { in removeOldFile()
115 } catch (IOException ex) { in miniThumbDataFile()
142 } catch (IOException ex) { in deactivate()
171 } catch (IOException ex) { in getMagic()
172 Log.v(TAG, "Got exception checking file magic: ", ex); in getMagic()
173 } catch (RuntimeException ex) { in getMagic()
176 ", disk full or mount read-only? " + ex.getClass()); in getMagic()
181 catch (IOException ex) { in getMagic()
218 } catch (IOException ex) { in eraseMiniThumb()
219 Log.v(TAG, "Got exception checking file magic: ", ex); in eraseMiniThumb()
[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.java128 } catch (RemoteException ex) { in disable()
129 throw ex.rethrowFromSystemServer(); in disable()
145 } catch (RemoteException ex) { in disable2()
146 throw ex.rethrowFromSystemServer(); in disable2()
159 } catch (RemoteException ex) { in expandNotificationsPanel()
160 throw ex.rethrowFromSystemServer(); in expandNotificationsPanel()
173 } catch (RemoteException ex) { in collapsePanels()
174 throw ex.rethrowFromSystemServer(); in collapsePanels()
194 } catch (RemoteException ex) { in expandSettingsPanel()
195 throw ex.rethrowFromSystemServer(); in expandSettingsPanel()
[all …]
/frameworks/support/transition/tests/src/android/support/transition/
DArcMotionTest.java114 float ex = 50 + (50 * ratio); in testMaximumAngle() local
115 float ey = ex; in testMaximumAngle()
117 Path expected = arcWithPoint(0, 100, 100, 0, ex, ey); in testMaximumAngle()
128 float ex = 37.5f; in testMinimumHorizontalAngle() local
130 Path expected = arcWithPoint(0, 0, 100, 50, ex, ey); in testMinimumHorizontalAngle()
135 expected = arcWithPoint(0, 0, 100.001f, 50, ex, ey); in testMinimumHorizontalAngle()
140 expected = arcWithPoint(100, 50, 0, 0, ex, ey); in testMinimumHorizontalAngle()
145 ex = 0; in testMinimumHorizontalAngle()
147 expected = arcWithPoint(0, 0, 50, 100, ex, ey); in testMinimumHorizontalAngle()
152 expected = arcWithPoint(0, 0, 50, 100.001f, ex, ey); in testMinimumHorizontalAngle()
[all …]
/frameworks/base/services/core/java/com/android/server/
DSystemServiceManager.java62 } catch (ClassNotFoundException ex) { in startService()
68 + "services that implement it", ex); in startService()
97 } catch (InstantiationException ex) { in startService()
99 + ": service could not be instantiated", ex); in startService()
100 } catch (IllegalAccessException ex) { in startService()
102 + ": service must have a public constructor with a Context argument", ex); in startService()
103 } catch (NoSuchMethodException ex) { in startService()
105 + ": service must have a public constructor with a Context argument", ex); in startService()
106 } catch (InvocationTargetException ex) { in startService()
108 + ": service constructor threw an exception", ex); in startService()
[all …]
/frameworks/support/v7/mediarouter/jellybean-mr1/android/support/v7/media/
DMediaRouterJellybeanMr1.java49 } catch (NoSuchMethodError ex) { in getPresentationDisplay()
50 Log.w(TAG, "Cannot get presentation display for the route.", ex); in getPresentationDisplay()
85 } catch (NoSuchMethodException ex) { in ActiveScanWorkaround()
120 } catch (IllegalAccessException ex) { in run()
121 Log.w(TAG, "Cannot scan for wifi displays.", ex); in run()
122 } catch (InvocationTargetException ex) { in run()
123 Log.w(TAG, "Cannot scan for wifi displays.", ex); in run()
149 } catch (NoSuchFieldException ex) { in IsConnectingWorkaround()
150 } catch (NoSuchMethodException ex) { in IsConnectingWorkaround()
151 } 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/base/core/java/com/android/internal/os/
DZygoteServer.java73 } catch (RuntimeException ex) { in registerServerSocket()
74 throw new RuntimeException(fullSocketName + " unset or invalid", ex); in registerServerSocket()
81 } catch (IOException ex) { in registerServerSocket()
83 "Error binding to local socket '" + fileDesc + "'", ex); in registerServerSocket()
95 } catch (IOException ex) { in acceptCommandPeer()
97 "IOException during accept()", ex); in acceptCommandPeer()
119 } catch (IOException ex) { in closeServerSocket()
120 Log.e(TAG, "Zygote: error closing sockets", ex); in closeServerSocket()
121 } catch (ErrnoException ex) { in closeServerSocket()
122 Log.e(TAG, "Zygote: error closing descriptor", ex); in closeServerSocket()
[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/opt/telephony/src/java/com/android/internal/telephony/
DDefaultPhoneNotifier.java63 } catch (RemoteException ex) { in notifyPhoneState()
84 } catch (RemoteException ex) { in notifyServiceState()
103 } catch (RemoteException ex) { in notifySignalStrength()
118 } catch (RemoteException ex) { in notifyMessageWaitingChanged()
134 } catch (RemoteException ex) { in notifyCallForwardingChanged()
147 } catch (RemoteException ex) { in notifyDataActivity()
191 } catch (RemoteException ex) { in doNotifyDataConnection()
203 } catch (RemoteException ex) { in notifyDataConnectionFailed()
217 } catch (RemoteException ex) { in notifyCellLocation()
229 } catch (RemoteException ex) { in notifyCellInfo()
[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/base/core/java/android/service/notification/
DNotificationAssistantService.java100 } catch (android.os.RemoteException ex) { in adjustNotification()
101 Log.v(TAG, "Unable to contact notification manager", ex); in adjustNotification()
102 throw ex.rethrowFromSystemServer(); in adjustNotification()
117 } catch (android.os.RemoteException ex) { in adjustNotifications()
118 Log.v(TAG, "Unable to contact notification manager", ex); in adjustNotifications()
119 throw ex.rethrowFromSystemServer(); in adjustNotifications()
136 } catch (android.os.RemoteException ex) { in unsnoozeNotification()
137 Log.v(TAG, "Unable to contact notification manager", ex); in unsnoozeNotification()
199 } catch (android.os.RemoteException ex) { in handleMessage()
200 Log.v(TAG, "Unable to contact notification manager", ex); in handleMessage()
[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/core/java/android/transition/
DArcMotion.java200 float ex; in getPath() local
228 ex = endX; in getPath()
231 ex = startX; in getPath()
240 ex = startX + eDistX; in getPath()
243 ex = endX - eDistX; in getPath()
250 float arcDistX = dx - ex; in getPath()
265 ex = dx + (ratio * (ex - dx)); in getPath()
268 float control1X = (startX + ex) / 2; in getPath()
270 float control2X = (ex + endX) / 2; in getPath()
/frameworks/support/transition/src/android/support/transition/
DArcMotion.java200 float ex; in getPath() local
228 ex = endX; in getPath()
231 ex = startX; in getPath()
240 ex = startX + eDistX; in getPath()
243 ex = endX - eDistX; in getPath()
250 float arcDistX = dx - ex; in getPath()
265 ex = dx + (ratio * (ex - dx)); in getPath()
268 float control1X = (startX + ex) / 2; in getPath()
270 float control2X = (ex + endX) / 2; in getPath()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternChecker.java83 } catch (RequestThrottledException ex) { in verifyPattern()
84 mThrottleTimeout = ex.getTimeoutMs(); in verifyPattern()
125 } catch (RequestThrottledException ex) { in checkPattern()
126 mThrottleTimeout = ex.getTimeoutMs(); in checkPattern()
166 } catch (RequestThrottledException ex) { in verifyPassword()
167 mThrottleTimeout = ex.getTimeoutMs(); in verifyPassword()
203 } catch (RequestThrottledException ex) { in verifyTiedProfileChallenge()
204 mThrottleTimeout = ex.getTimeoutMs(); in verifyTiedProfileChallenge()
237 } catch (RequestThrottledException ex) { in checkPassword()
238 mThrottleTimeout = ex.getTimeoutMs(); in checkPassword()

12345678910>>...21