/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSubInfoControllerTest.java | 114 } catch (Exception ex) { in testGetDeviceIdWithOutPermission() 115 assertTrue(ex instanceof SecurityException); in testGetDeviceIdWithOutPermission() 116 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission() 122 } catch (Exception ex) { in testGetDeviceIdWithOutPermission() 123 assertTrue(ex instanceof SecurityException); in testGetDeviceIdWithOutPermission() 124 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission() 134 } catch (Exception ex) { in testGetDeviceIdWithOutPermission() 135 assertTrue(ex instanceof SecurityException); in testGetDeviceIdWithOutPermission() 136 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission() 142 } catch (Exception ex) { in testGetDeviceIdWithOutPermission() [all …]
|
D | GsmCdmaCallTrackerTest.java | 95 } 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 …]
|
D | ModelInterpreter.java | 107 } 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 …]
|
D | SimActivationTrackerTest.java | 55 } 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/ |
D | DisplayManagerGlobal.java | 97 } catch (RemoteException ex) { in DisplayManagerGlobal() 98 throw ex.rethrowFromSystemServer(); in DisplayManagerGlobal() 155 } catch (RemoteException ex) { in getDisplayInfo() 156 throw ex.rethrowFromSystemServer(); in getDisplayInfo() 182 } catch (RemoteException ex) { in getDisplayIds() 183 throw ex.rethrowFromSystemServer(); in getDisplayIds() 197 } catch (RemoteException ex) { in isUidPresentOnDisplay() 198 throw ex.rethrowFromSystemServer(); in isUidPresentOnDisplay() 315 } catch (RemoteException ex) { in registerCallbackIfNeededLocked() 316 throw ex.rethrowFromSystemServer(); in registerCallbackIfNeededLocked() [all …]
|
/frameworks/base/core/java/android/hardware/input/ |
D | InputManager.java | 263 } catch (RemoteException ex) { in getInputDevice() 264 throw ex.rethrowFromSystemServer(); in getInputDevice() 295 } catch (RemoteException ex) { in getInputDeviceByDescriptor() 296 throw ex.rethrowFromSystemServer(); in getInputDeviceByDescriptor() 340 } catch (RemoteException ex) { in isInputDeviceEnabled() 342 throw ex.rethrowFromSystemServer(); in isInputDeviceEnabled() 359 } catch (RemoteException ex) { in enableInputDevice() 361 throw ex.rethrowFromSystemServer(); in enableInputDevice() 378 } catch (RemoteException ex) { in disableInputDevice() 380 throw ex.rethrowFromSystemServer(); in disableInputDevice() [all …]
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | CameraAgent.java | 17 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/ |
D | SQLiteStatement.java | 47 } 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/ |
D | TelephonyRegistryManager.java | 118 } catch (RemoteException ex) { in addOnSubscriptionsChangedListener() 139 } catch (RemoteException ex) { in removeOnSubscriptionsChangedListener() 177 } catch (RemoteException ex) { in addOnOpportunisticSubscriptionsChangedListener() 196 } catch (RemoteException ex) { in removeOnOpportunisticSubscriptionsChangedListener() 219 } catch (RemoteException ex) { in notifyCarrierNetworkChange() 237 } catch (RemoteException ex) { in notifyCallStateChanged() 254 } catch (RemoteException ex) { in notifyCallStateChangedForAllSubscriptions() 270 } catch (RemoteException ex) { in notifyServiceStateChanged() 287 } catch (RemoteException ex) { in notifySignalStrengthChanged() 305 } catch (RemoteException ex) { in notifyMessageWaitingChanged() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | TelephonyManager.java | 362 } catch (RemoteException ex) { in getOpPackageName() 364 } catch (NullPointerException ex) { in getOpPackageName() 1798 } catch (RemoteException ex) { in getDeviceSoftwareVersion() 1800 } catch (NullPointerException ex) { in getDeviceSoftwareVersion() 1840 } catch (RemoteException ex) { in getDeviceId() 1842 } catch (NullPointerException ex) { in getDeviceId() 1885 } catch (RemoteException ex) { in getDeviceId() 1887 } catch (NullPointerException ex) { in getDeviceId() 1943 } catch (RemoteException ex) { in getImei() 1945 } catch (NullPointerException ex) { in getImei() [all …]
|
D | NetworkScan.java | 116 } catch (IllegalArgumentException ex) { in stopScan() 118 } catch (RemoteException ex) { in stopScan() 119 Rlog.e(TAG, "stopNetworkScan RemoteException", ex); in stopScan() 120 } catch (RuntimeException ex) { in stopScan() 121 Rlog.e(TAG, "stopNetworkScan RuntimeException", ex); in stopScan() 133 } catch (RuntimeException ex) { in stop()
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViewsService.java | 143 } 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/services/core/java/com/android/server/ |
D | SystemServiceManager.java | 68 } catch (ClassNotFoundException ex) { in startService() 74 + "services that implement it", ex); in startService() 103 } catch (InstantiationException ex) { in startService() 105 + ": service could not be instantiated", ex); in startService() 106 } catch (IllegalAccessException ex) { in startService() 108 + ": service must have a public constructor with a Context argument", ex); in startService() 109 } catch (NoSuchMethodException ex) { in startService() 111 + ": service must have a public constructor with a Context argument", ex); in startService() 112 } catch (InvocationTargetException ex) { in startService() 114 + ": service constructor threw an exception", ex); in startService() [all …]
|
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/ |
D | CameraTooActivity.java | 171 } 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/app/ |
D | StatusBarManager.java | 239 } catch (RemoteException ex) { in disable() 240 throw ex.rethrowFromSystemServer(); in disable() 259 } catch (RemoteException ex) { in disable2() 260 throw ex.rethrowFromSystemServer(); in disable2() 276 } catch (RemoteException ex) { in expandNotificationsPanel() 277 throw ex.rethrowFromSystemServer(); in expandNotificationsPanel() 293 } catch (RemoteException ex) { in collapsePanels() 294 throw ex.rethrowFromSystemServer(); in collapsePanels() 321 } catch (RemoteException ex) { in expandSettingsPanel() 322 throw ex.rethrowFromSystemServer(); in expandSettingsPanel() [all …]
|
/frameworks/base/core/java/android/transition/ |
D | ArcMotion.java | 200 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/java/android/os/ |
D | IncidentManager.java | 189 } catch (NumberFormatException ex) { in PendingReport() 205 } catch (NumberFormatException ex) { in PendingReport() 466 } catch (RemoteException ex) { in requestAuthorization() 468 throw new RuntimeException(ex); in requestAuthorization() 479 } catch (RemoteException ex) { in cancelAuthorization() 481 throw new RuntimeException(ex); in cancelAuthorization() 493 } catch (RemoteException ex) { in getPendingReports() 494 throw new RuntimeException(ex); in getPendingReports() 511 } catch (RemoteException ex) { in approveReport() 513 throw new RuntimeException(ex); in approveReport() [all …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | SecureBox.java | 144 } 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/core/tests/coretests/src/android/net/ |
D | LocalSocketTest.java | 101 } 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/location/java/android/location/ |
D | Geocoder.java | 133 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/ |
D | BluetoothGattServer.java | 96 } 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/ |
D | MainActivity.java | 16 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/core/java/com/android/internal/widget/ |
D | LockPatternChecker.java | 84 } catch (RequestThrottledException ex) { in verifyPattern() 85 mThrottleTimeout = ex.getTimeoutMs(); in verifyPattern() 126 } catch (RequestThrottledException ex) { in checkPattern() 127 mThrottleTimeout = ex.getTimeoutMs(); in checkPattern() 188 } catch (RequestThrottledException ex) { in verifyPassword() 189 mThrottleTimeout = ex.getTimeoutMs(); in verifyPassword() 225 } catch (RequestThrottledException ex) { in verifyTiedProfileChallenge() 226 mThrottleTimeout = ex.getTimeoutMs(); in verifyTiedProfileChallenge() 278 } catch (RequestThrottledException ex) { in checkPassword() 279 mThrottleTimeout = ex.getTimeoutMs(); in checkPassword()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | PowerProfile.java | 134 } catch (ParserConfigurationException ex) { in parse() 136 throw new RuntimeException(ex); in parse() 137 } catch (SAXParseException ex) { in parse() 138 throw new ParseException(ex.getLineNumber(), ex.getMessage(), ex); in parse() 139 } catch (SAXException | IOException ex) { in parse() 141 throw new ParseException(handler.getLineNumber(), ex.getMessage(), ex); in parse() 216 } catch (ParseException ex) { in onItem() 217 throw new SAXParseException(ex.getMessage(), locator, ex); in onItem() 242 } catch (ParseException ex) { in onArray() 243 throw new SAXParseException(ex.getMessage(), locator, ex); in onArray() [all …]
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
D | StatusBarManagerService.java | 277 } catch (RemoteException ex) {} 287 } catch (RemoteException ex) {} 296 } catch (RemoteException ex) {} 312 } catch (RemoteException ex) {} 321 } catch (RemoteException ex) {} 330 } catch (RemoteException ex) {} 339 } catch (RemoteException ex) {} 348 } catch (RemoteException ex) {} 357 } catch (RemoteException ex) {} 366 } catch (RemoteException ex){ [all …]
|