Home
last modified time | relevance | path

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

12345678910>>...23

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSubInfoControllerTest.java119 } catch (Exception ex) { in testGetDeviceIdWithOutPermission()
120 assertTrue(ex instanceof SecurityException); in testGetDeviceIdWithOutPermission()
121 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission()
127 } catch (Exception ex) { in testGetDeviceIdWithOutPermission()
128 assertTrue(ex instanceof SecurityException); in testGetDeviceIdWithOutPermission()
129 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission()
140 } catch (Exception ex) { in testGetDeviceIdWithOutPermission()
141 assertTrue(ex instanceof SecurityException); in testGetDeviceIdWithOutPermission()
142 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission()
148 } catch (Exception ex) { in testGetDeviceIdWithOutPermission()
[all …]
DGsmCdmaCallTrackerTest.java95 } catch(Exception ex) { in testMOCallDial()
96 ex.printStackTrace(); in testMOCallDial()
97 Assert.fail("unexpected exception thrown"+ex.getMessage()+ex.getStackTrace()); in testMOCallDial()
136 } catch(Exception ex) { in testMOCallHangup()
137 ex.printStackTrace(); in testMOCallHangup()
138 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMOCallHangup()
161 } catch(Exception ex) { in testMOCallDialPickUpHangup()
162 ex.printStackTrace(); in testMOCallDialPickUpHangup()
163 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMOCallDialPickUpHangup()
184 } catch(Exception ex) { in testMOCallPendingHangUp()
[all …]
DModelInterpreter.java107 } catch (IOException ex) { in getNextLine()
109 } catch (IndexOutOfBoundsException ex) { in getNextLine()
115 } catch (UnsupportedEncodingException ex) { in getNextLine()
209 } catch (java.io.IOException ex) { in run()
211 "IOException on socket.accept(); stopping", ex); in run()
218 } catch (java.io.IOException ex) { in run()
220 "IOException on accepted socket(); re-listening", ex); in run()
247 } catch (InterruptedException ex) { in run()
257 } catch (InterpreterEx ex) { in run()
258 println(ex.mResult); in run()
[all …]
DSimActivationTrackerTest.java55 } catch (IllegalArgumentException ex) { in testSetVoiceActivationState()
56 fail("Exception in setVoiceActivationState: " + ex); in testSetVoiceActivationState()
68 } catch (IllegalArgumentException ex) { in testSetVoiceActivationState()
84 } catch (InvalidParameterException ex) { in testSetDataActivationState()
85 fail("Exception in setDataActivationState: " + ex); in testSetDataActivationState()
94 } catch (InvalidParameterException ex) { in testSetDataActivationState()
95 fail("Exception in setDataActivationState: " + ex); in testSetDataActivationState()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerGlobal.java99 } catch (RemoteException ex) { in DisplayManagerGlobal()
100 throw ex.rethrowFromSystemServer(); in DisplayManagerGlobal()
112 } catch (RemoteException ex) {
113 throw ex.rethrowFromSystemServer();
162 } catch (RemoteException ex) { in getDisplayInfoLocked()
163 ex.rethrowFromSystemServer(); in getDisplayInfoLocked()
200 } catch (RemoteException ex) { in getDisplayIds()
201 throw ex.rethrowFromSystemServer(); in getDisplayIds()
215 } catch (RemoteException ex) { in isUidPresentOnDisplay()
216 throw ex.rethrowFromSystemServer(); in isUidPresentOnDisplay()
[all …]
/frameworks/base/core/java/android/hardware/input/
DInputManager.java268 } catch (RemoteException ex) { in getInputDevice()
269 throw ex.rethrowFromSystemServer(); in getInputDevice()
300 } catch (RemoteException ex) { in getInputDeviceByDescriptor()
301 throw ex.rethrowFromSystemServer(); in getInputDeviceByDescriptor()
345 } catch (RemoteException ex) { in isInputDeviceEnabled()
347 throw ex.rethrowFromSystemServer(); in isInputDeviceEnabled()
364 } catch (RemoteException ex) { in enableInputDevice()
366 throw ex.rethrowFromSystemServer(); in enableInputDevice()
383 } catch (RemoteException ex) { in disableInputDevice()
385 throw ex.rethrowFromSystemServer(); in disableInputDevice()
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteStatement.java47 } catch (SQLiteDatabaseCorruptException ex) { in execute()
49 throw ex; in execute()
68 } catch (SQLiteDatabaseCorruptException ex) { in executeUpdateDelete()
70 throw ex; in executeUpdateDelete()
90 } catch (SQLiteDatabaseCorruptException ex) { in executeInsert()
92 throw ex; in executeInsert()
111 } catch (SQLiteDatabaseCorruptException ex) { in simpleQueryForLong()
113 throw ex; in simpleQueryForLong()
132 } catch (SQLiteDatabaseCorruptException ex) { in simpleQueryForString()
134 throw ex; in simpleQueryForString()
[all …]
/frameworks/base/core/java/android/telephony/
DTelephonyRegistryManager.java119 } catch (RemoteException ex) { in addOnSubscriptionsChangedListener()
140 } catch (RemoteException ex) { in removeOnSubscriptionsChangedListener()
178 } catch (RemoteException ex) { in addOnOpportunisticSubscriptionsChangedListener()
197 } catch (RemoteException ex) { in removeOnOpportunisticSubscriptionsChangedListener()
256 } catch (RemoteException ex) { in notifyCarrierNetworkChange()
274 } catch (RemoteException ex) { in notifyCallStateChanged()
292 } catch (RemoteException ex) { in notifyCallStateChangedForAllSubscriptions()
304 } catch (RemoteException ex) { in notifySubscriptionInfoChanged()
316 } catch (RemoteException ex) { in notifyOpportunisticSubscriptionInfoChanged()
332 } catch (RemoteException ex) { in notifyServiceStateChanged()
[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/content/pm/
DCrossProfileApps.java103 } catch (RemoteException ex) { in startMainActivity()
104 throw ex.rethrowFromSystemServer(); in startMainActivity()
170 } catch (RemoteException ex) { in startActivity()
171 throw ex.rethrowFromSystemServer(); in startActivity()
195 } catch (RemoteException ex) { in startActivity()
196 throw ex.rethrowFromSystemServer(); in startActivity()
217 } catch (RemoteException ex) { in getTargetUserProfiles()
218 throw ex.rethrowFromSystemServer(); in getTargetUserProfiles()
300 } catch (RemoteException ex) { in canRequestInteractAcrossProfiles()
301 throw ex.rethrowFromSystemServer(); in canRequestInteractAcrossProfiles()
[all …]
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java392 } catch (RemoteException ex) { in getOpPackageName()
394 } catch (NullPointerException ex) { in getOpPackageName()
1878 } catch (RemoteException ex) { in getDeviceSoftwareVersion()
1880 } catch (NullPointerException ex) { in getDeviceSoftwareVersion()
1931 } catch (RemoteException ex) { in getDeviceId()
1933 } catch (NullPointerException ex) { in getDeviceId()
1987 } catch (RemoteException ex) { in getDeviceId()
1989 } catch (NullPointerException ex) { in getDeviceId()
2050 } catch (RemoteException ex) { in getImei()
2052 } catch (NullPointerException ex) { in getImei()
[all …]
DNetworkScan.java114 } catch (IllegalArgumentException ex) { in stopScan()
116 } catch (RemoteException ex) { in stopScan()
117 Rlog.e(TAG, "stopNetworkScan RemoteException", ex); in stopScan()
118 } catch (RuntimeException ex) { in stopScan()
119 Rlog.e(TAG, "stopNetworkScan RuntimeException", ex); in stopScan()
131 } catch (RuntimeException ex) { in stop()
/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/com/android/internal/util/
DFunctionalUtils.java107 } catch (Exception ex) {
108 throw ExceptionUtils.propagate(ex);
128 } catch (Exception ex) {
129 throw ExceptionUtils.propagate(ex);
148 } catch (Exception ex) {
149 throw ExceptionUtils.propagate(ex);
168 } catch (RemoteException ex) {
193 } catch (Exception ex) {
194 throw ExceptionUtils.propagate(ex);
219 } catch (Exception ex) {
[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/android/os/
DIncidentManager.java191 } catch (NumberFormatException ex) { in PendingReport()
207 } catch (NumberFormatException ex) { in PendingReport()
505 } catch (RemoteException ex) { in requestAuthorization()
507 throw new RuntimeException(ex); in requestAuthorization()
518 } catch (RemoteException ex) { in cancelAuthorization()
520 throw new RuntimeException(ex); in cancelAuthorization()
532 } catch (RemoteException ex) { in getPendingReports()
533 throw new RuntimeException(ex); in getPendingReports()
550 } catch (RemoteException ex) { in approveReport()
552 throw new RuntimeException(ex); in approveReport()
[all …]
/frameworks/base/core/java/android/app/
DStatusBarManager.java239 } catch (RemoteException ex) { in disable()
240 throw ex.rethrowFromSystemServer(); in disable()
259 } catch (RemoteException ex) { in disable2()
260 throw ex.rethrowFromSystemServer(); in disable2()
277 } catch (RemoteException ex) { in expandNotificationsPanel()
278 throw ex.rethrowFromSystemServer(); in expandNotificationsPanel()
295 } catch (RemoteException ex) { in collapsePanels()
296 throw ex.rethrowFromSystemServer(); in collapsePanels()
323 } catch (RemoteException ex) { in expandSettingsPanel()
324 throw ex.rethrowFromSystemServer(); in expandSettingsPanel()
[all …]
/frameworks/base/core/java/android/transition/
DArcMotion.java200 float ex; in getPath() local
220 ex = dx; in getPath()
223 ex = dx + (Math.abs(deltaY) * 0.5f * mMinimumVerticalTangent); in getPath()
234 ex = endX; in getPath()
237 ex = startX; in getPath()
246 ex = startX + eDistX; in getPath()
249 ex = endX - eDistX; in getPath()
256 float arcDistX = dx - ex; in getPath()
271 ex = dx + (ratio * (ex - dx)); in getPath()
274 float control1X = (startX + ex) / 2; in getPath()
[all …]
/frameworks/base/core/tests/coretests/src/android/net/
DLocalSocketTest.java101 } catch (ArrayIndexOutOfBoundsException ex) { in testBasic()
108 } catch (ArrayIndexOutOfBoundsException ex) { in testBasic()
115 } catch (ArrayIndexOutOfBoundsException ex) { in testBasic()
122 } catch (ArrayIndexOutOfBoundsException ex) { in testBasic()
129 } catch (ArrayIndexOutOfBoundsException ex) { in testBasic()
136 } catch (ArrayIndexOutOfBoundsException ex) { in testBasic()
155 } catch (IOException ex) { in testBasic()
164 } catch (IOException ex) { in testBasic()
173 } catch (IOException ex) { in testBasic()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DSecureBox.java144 } catch (InvalidAlgorithmParameterException ex) { in genKeyPair()
150 } catch (InvalidAlgorithmParameterException ex) { in genKeyPair()
151 throw new NoSuchAlgorithmException("Unable to find the NIST P-256 curve", ex); in genKeyPair()
281 } catch (BufferUnderflowException ex) { in readEncryptedPayload()
292 } catch (RuntimeException ex) { in dhComputeSecret()
294 throw new InvalidKeyException(ex); in dhComputeSecret()
306 } catch (InvalidKeyException ex) { in hkdfDeriveKey()
308 throw new RuntimeException(ex); in hkdfDeriveKey()
314 } catch (InvalidKeyException ex) { in hkdfDeriveKey()
316 throw new RuntimeException(ex); in hkdfDeriveKey()
[all …]
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java278 } catch (RemoteException ex) {}
288 } catch (RemoteException ex) {}
297 } catch (RemoteException ex) {}
313 } catch (RemoteException ex) {}
322 } catch (RemoteException ex) {}
331 } catch (RemoteException ex) {}
340 } catch (RemoteException ex) {}
349 } catch (RemoteException ex) {}
358 } catch (RemoteException ex) {}
367 } catch (RemoteException ex){
[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/bluetooth/
DBluetoothGattServer.java96 } catch (Exception ex) {
97 Log.w(TAG, "Unhandled exception in callback", ex);
140 } catch (Exception ex) {
141 Log.w(TAG, "Unhandled exception in callback", ex);
164 } catch (Exception ex) {
165 Log.w(TAG, "Unhandled exception in callback", ex);
187 } catch (Exception ex) {
188 Log.w(TAG, "Unhandled exception in callback", ex);
212 } catch (Exception ex) {
213 Log.w(TAG, "Unhandled exception in callback", ex);
[all …]
/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/base/services/core/java/com/android/server/
DSystemServiceManager.java117 } catch (ClassNotFoundException ex) { in loadClassFromLoader()
124 + "classloader is supplied, if applicable.", ex); in loadClassFromLoader()
151 } catch (InstantiationException ex) { in startService()
153 + ": service could not be instantiated", ex); in startService()
154 } catch (IllegalAccessException ex) { in startService()
156 + ": service must have a public constructor with a Context argument", ex); in startService()
157 } catch (NoSuchMethodException ex) { in startService()
159 + ": service must have a public constructor with a Context argument", ex); in startService()
160 } catch (InvocationTargetException ex) { in startService()
162 + ": service constructor threw an exception", ex); in startService()
[all …]

12345678910>>...23