Home
last modified time | relevance | path

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

12345678910>>...22

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsDatabaseHelper.java522 } catch (Throwable ex) { in updateThreads()
523 Log.e(TAG, ex.getMessage(), ex); in updateThreads()
725 } catch (Exception ex) { in createWordsTables()
726 Log.e(TAG, "got exception creating words table: " + ex.toString()); in createWordsTables()
727 logException(ex, oldVersion, currentVersion, upgradeVersion); in createWordsTables()
747 } catch (Exception ex) { in createThreadIdIndex()
748 Log.e(TAG, "got exception creating indices: " + ex.toString()); in createThreadIdIndex()
749 logException(ex, oldVersion, currentVersion, upgradeVersion); in createThreadIdIndex()
762 } catch (Exception ex) { in createThreadIdDateIndex()
763 Log.e(TAG, "got exception creating indices: " + ex.toString()); in createThreadIdDateIndex()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/storage/
DMetadataDatabase.java305 } catch (SQLException ex) {
310 throw ex;
328 } catch (SQLException ex) {
332 throw ex;
359 } catch (SQLException ex) {
363 throw ex;
378 } catch (SQLException ex) {
383 throw ex;
398 } catch (SQLException ex) {
404 throw ex;
[all …]
/packages/apps/Camera2/src/com/android/camera/
DFatalErrorHandlerImpl.java37 Exception ex = new Exception(); in onMediaStorageFailure() local
39 Log.e(TAG, "Handling Media Storage Failure:", ex); in onMediaStorageFailure()
47 finishActivity, ex); in onMediaStorageFailure()
52 Exception ex = new Exception(); in onCameraOpenFailure() local
54 Log.e(TAG, "Handling Camera Open Failure:", ex); in onCameraOpenFailure()
63 finishActivity, ex); in onCameraOpenFailure()
68 Exception ex = new Exception(); in onCameraReconnectFailure() local
70 Log.e(TAG, "Handling Camera Reconnect Failure:", ex); in onCameraReconnectFailure()
79 finishActivity, ex); in onCameraReconnectFailure()
84 Exception ex = new Exception(); in onGenericCameraAccessFailure() local
[all …]
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DRkpdExceptionTest.java37 RkpdException ex = RkpdException.createFromHttpError(123); in handlesUnknownHttpStatus() local
38 assertThat(ex).isNotNull(); in handlesUnknownHttpStatus()
39 assertThat(ex.getErrorCode()).isEqualTo(ErrorCode.HTTP_UNKNOWN_ERROR); in handlesUnknownHttpStatus()
46 RkpdException ex = RkpdException.createFromHttpError( in handlesServerErrors() local
48 assertThat(ex).isNotNull(); in handlesServerErrors()
49 assertThat(ex).hasMessageThat().contains("HTTP"); in handlesServerErrors()
51 .that(ex.getErrorCode()).isEqualTo(ErrorCode.HTTP_SERVER_ERROR); in handlesServerErrors()
59 RkpdException ex = RkpdException.createFromHttpError( in handlesClientErrors() local
61 assertThat(ex).isNotNull(); in handlesClientErrors()
63 assertThat(ex.getErrorCode()).isEqualTo(ErrorCode.DEVICE_NOT_REGISTERED); in handlesClientErrors()
[all …]
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DLogger.java35 public void v(String msg, Exception ex) { in v() argument
36 Log.v(mTag, buildMessage(msg), ex); in v()
45 public void i(String msg, Exception ex) { in i() argument
46 Log.i(mTag, buildMessage(msg), ex); in i()
55 public void d(String msg, Exception ex) { in d() argument
56 Log.d(mTag, buildMessage(msg), ex); in d()
60 public void w(String msg, Exception ex) { in w() argument
61 Log.w(mTag, buildMessage(msg), ex); in w()
75 public void e(String msg, Exception ex) { in e() argument
76 Log.e(mTag, buildMessage(msg), ex); in e()
[all …]
/packages/services/Car/car-lib/src/android/car/app/
DCarTaskViewClient.java46 } catch (RemoteException ex) { in getCurrentBoundsOnScreen()
47 ex.rethrowFromSystemServer(); in getCurrentBoundsOnScreen()
62 } catch (RemoteException ex) { in setResizeBackgroundColor()
63 ex.rethrowFromSystemServer(); in setResizeBackgroundColor()
72 } catch (RemoteException ex) { in onTaskAppeared()
73 ex.rethrowFromSystemServer(); in onTaskAppeared()
81 } catch (RemoteException ex) { in onTaskVanished()
82 ex.rethrowFromSystemServer(); in onTaskVanished()
90 } catch (RemoteException ex) { in onTaskInfoChanged()
91 ex.rethrowFromSystemServer(); in onTaskInfoChanged()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DCursorBackedSuggestionCursor.kt68 } catch (ex: RuntimeException) { in close()
70 Log.e(TAG, "close() failed, ", ex) in close()
91 } catch (ex: RuntimeException) {
93 Log.e(TAG, "getCount() failed, ", ex)
106 } catch (ex: RuntimeException) { in moveTo()
108 Log.e(TAG, "moveToPosition() failed, ", ex) in moveTo()
118 } catch (ex: RuntimeException) { in moveToNext()
120 Log.e(TAG, "moveToNext() failed, ", ex) in moveToNext()
132 } catch (ex: RuntimeException) {
134 Log.e(TAG, "get() on position failed, ", ex)
[all …]
/packages/services/Car/car-lib/src/com/android/car/internal/util/
DFunctionalUtils.java110 } catch (Exception ex) {
111 throw ExceptionUtils.propagate(ex);
134 } catch (Exception ex) {
135 throw ExceptionUtils.propagate(ex);
157 } catch (Exception ex) {
158 throw ExceptionUtils.propagate(ex);
180 } catch (RemoteException ex) {
205 } catch (Exception ex) {
206 throw ExceptionUtils.propagate(ex);
231 } catch (Exception ex) {
[all …]
/packages/apps/Camera2/src/com/android/camera/app/
DLegacyLocationProvider.java94 } catch (SecurityException ex) { in startReceivingLocationUpdates()
95 Log.i(TAG, "fail to request location update, ignore", ex); in startReceivingLocationUpdates()
96 } catch (IllegalArgumentException ex) { in startReceivingLocationUpdates()
97 Log.d(TAG, "provider does not exist " + ex.getMessage()); in startReceivingLocationUpdates()
105 } catch (SecurityException ex) { in startReceivingLocationUpdates()
106 Log.i(TAG, "fail to request location update, ignore", ex); in startReceivingLocationUpdates()
107 } catch (IllegalArgumentException ex) { in startReceivingLocationUpdates()
108 Log.d(TAG, "provider does not exist " + ex.getMessage()); in startReceivingLocationUpdates()
120 } catch (Exception ex) { in stopReceivingLocationUpdates()
121 Log.i(TAG, "fail to remove location listners, ignore", ex); in stopReceivingLocationUpdates()
/packages/apps/LegacyCamera/src/com/android/camera/
DLocationManager.java86 } catch (SecurityException ex) { in startReceivingLocationUpdates()
87 Log.i(TAG, "fail to request location update, ignore", ex); in startReceivingLocationUpdates()
88 } catch (IllegalArgumentException ex) { in startReceivingLocationUpdates()
89 Log.d(TAG, "provider does not exist " + ex.getMessage()); in startReceivingLocationUpdates()
98 } catch (SecurityException ex) { in startReceivingLocationUpdates()
99 Log.i(TAG, "fail to request location update, ignore", ex); in startReceivingLocationUpdates()
100 } catch (IllegalArgumentException ex) { in startReceivingLocationUpdates()
101 Log.d(TAG, "provider does not exist " + ex.getMessage()); in startReceivingLocationUpdates()
112 } catch (Exception ex) { in stopReceivingLocationUpdates()
113 Log.i(TAG, "fail to remove location listners, ignore", ex); in stopReceivingLocationUpdates()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothGattServer.java125 } catch (Exception ex) {
126 Log.w(TAG, "Unhandled exception in callback", ex);
176 } catch (Exception ex) {
177 Log.w(TAG, "Unhandled exception in callback", ex);
201 } catch (Exception ex) {
202 Log.w(TAG, "Unhandled exception in callback", ex);
225 } catch (Exception ex) {
226 Log.w(TAG, "Unhandled exception in callback", ex);
257 } catch (Exception ex) {
258 Log.w(TAG, "Unhandled exception in callback", ex);
[all …]
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/viewmodels/
DPerformanceTestingViewModel.kt61 } catch (ex: Exception) { in insertRecordsForPerformanceTesting()
63 PerformanceInsertedRecordsState.Error(ex.localizedMessage)) in insertRecordsForPerformanceTesting()
84 } catch (ex: Exception) { in insertRecordsForPerformanceTestingOverASpanOfTime()
86 PerformanceInsertedRecordsState.Error(ex.localizedMessage)) in insertRecordsForPerformanceTestingOverASpanOfTime()
108 } catch (ex: Exception) { in insertRecordsForPerformanceTestingInParallel()
125 } catch (ex: Exception) { in insertRecordsForPerformanceTestingInParallel()
127 PerformanceInsertedRecordsState.Error(ex.localizedMessage)) in insertRecordsForPerformanceTestingInParallel()
139 } catch (ex: Exception) { in insertBlocking()
166 } catch (ex: Exception) { in readRecordsForPerformanceTesting()
168 PerformanceReadRecordsState.Error(ex.localizedMessage)) in readRecordsForPerformanceTesting()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/
DDatastoreManager.java101 } catch (DatastoreException ex) { in runInTransactionWithResult()
105 .e(ex, "DatastoreException thrown during transaction"); in runInTransactionWithResult()
107 ex, in runInTransactionWithResult()
117 throw new IllegalStateException(ex); in runInTransactionWithResult()
119 } catch (Exception ex) { in runInTransactionWithResult()
123 .e(ex, "Unhandled exception thrown during transaction"); in runInTransactionWithResult()
125 ex, in runInTransactionWithResult()
129 throw ex; in runInTransactionWithResult()
/packages/services/Telephony/testapps/TestSatelliteApp/src/com/android/phone/testapps/satellitetestapp/
DTestSatelliteWrapper.java182 } catch (SecurityException ex) { in requestNtnSignalStrength()
183 String errorMessage = "requestNtnSignalStrength: " + ex.getMessage(); in requestNtnSignalStrength()
200 } catch (Exception ex) { in registerForCarrierRoamingNtnModeChanged()
201 String errorMessage = "registerForCarrierRoamingNtnModeChanged: " + ex.getMessage(); in registerForCarrierRoamingNtnModeChanged()
233 } catch (Exception ex) { in registerForNtnSignalStrengthChanged()
234 String errorMessage = "registerForNtnSignalStrengthChanged: " + ex.getMessage(); in registerForNtnSignalStrengthChanged()
376 } catch (SecurityException | IllegalArgumentException ex) { in requestAttachEnabledForCarrier_enable()
377 String errorMessage = "requestAttachEnabledForCarrier: " + ex.getMessage(); in requestAttachEnabledForCarrier_enable()
401 } catch (SecurityException | IllegalArgumentException ex) { in requestAttachEnabledForCarrier_disable()
402 String errorMessage = "requestAttachEnabledForCarrier: " + ex.getMessage(); in requestAttachEnabledForCarrier_disable()
[all …]
/packages/services/Telephony/src/com/android/phone/utils/
DCarrierAllowListInfo.java86 } catch (Exception ex) { in loadJsonFile()
87 Rlog.e(LOG_TAG, "CarrierAllowListInfo: JSON file reading exception = " + ex); in loadJsonFile()
112 } catch (JSONException ex) { in parseJsonForCallerInfo()
113 Rlog.e(LOG_TAG, "getCallerSignatureInfo: JSONException = " + ex); in parseJsonForCallerInfo()
135 } catch (IOException ex) { in getJsonFromAssets()
136 Rlog.e(LOG_TAG, "getJsonFromAssets: Exception = " + ex); in getJsonFromAssets()
171 } catch (NoSuchAlgorithmException | PackageManager.NameNotFoundException ex) { in validateCallerSignature()
172 Rlog.e(LOG_TAG, "validateCallerSignature: Exception = " + ex); in validateCallerSignature()
186 } catch (JSONException ex) { in updateJsonForTest()
187 Rlog.e(LOG_TAG, "updateJsonForTest: Exception = " + ex); in updateJsonForTest()
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DOpportunisticNetworkServiceTest.java157 } catch (RemoteException ex) { in testCheckEnable()
158 Log.e(TAG, "RemoteException", ex); in testCheckEnable()
245 } catch (RemoteException ex) { in testSystemPreferredDataWhileCarrierAppIsActive()
246 Log.e(TAG, "RemoteException", ex); in testSystemPreferredDataWhileCarrierAppIsActive()
267 } catch (RemoteException ex) { in testSetPreferredDataSubscriptionId()
268 Log.e(TAG, "RemoteException", ex); in testSetPreferredDataSubscriptionId()
283 } catch (RemoteException ex) { in testGetPreferredDataSubscriptionId()
284 Log.e(TAG, "RemoteException", ex); in testGetPreferredDataSubscriptionId()
309 } catch (RemoteException ex) { in testUpdateAvailableNetworksWithInvalidArguments()
310 Log.e(TAG, "RemoteException", ex); in testUpdateAvailableNetworksWithInvalidArguments()
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseWrapper.java156 } catch (SQLiteFullException ex) { in endTransaction()
157 LogUtil.e(TAG, "Database full, unable to endTransaction", ex); in endTransaction()
187 } catch (SQLiteFullException ex) { in insertWithOnConflict()
188 LogUtil.e(TAG, "Database full, unable to insertWithOnConflict", ex); in insertWithOnConflict()
347 } catch (SQLiteFullException ex) { in update()
348 LogUtil.e(TAG, "Database full, unable to update", ex); in update()
367 } catch (SQLiteFullException ex) { in delete()
368 LogUtil.e(TAG, "Database full, unable to delete", ex); in delete()
389 } catch (SQLiteFullException ex) { in insert()
390 LogUtil.e(TAG, "Database full, unable to insert", ex); in insert()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/privacysources/
DTextStorageRepository.kt35 } catch (ex: IOException) { in <lambda>()
36 Log.e(LOG_TAG, "Could not read ${file.absolutePath}", ex) in <lambda>()
47 } catch (ex: Exception) { in <lambda>()
48 Log.e(LOG_TAG, "corrupted data : $it in file ${file.absolutePath}", ex) in <lambda>()
57 } catch (ex: IOException) { in <lambda>()
58 Log.e(LOG_TAG, "Could not read ${file.absolutePath}", ex) in <lambda>()
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DReverseGeocodeTask.java118 } catch (AuthException ex) { in doInBackground()
119 LogUtil.e("ReverseGeocodeTask.onLocationChanged", "AuthException", ex); in doInBackground()
121 } catch (JSONException ex) { in doInBackground()
122 LogUtil.e("ReverseGeocodeTask.onLocationChanged", "JSONException", ex); in doInBackground()
124 } catch (Exception ex) { in doInBackground()
125 LogUtil.e("ReverseGeocodeTask.onLocationChanged", "Exception!!!", ex); in doInBackground()
141 } catch (Exception ex) { in onPostExecute()
142 LogUtil.e("ReverseGeocodeTask.onPostExecute", "Exception!!!", ex); in onPostExecute()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapAkaMethodStateMachine.java349 } catch (EapSimAkaInvalidAttributeException ex) { in process()
350 LOG.wtf(mTAG, "Exception thrown while making AtIdentity attribute", ex); in process()
351 return new EapError(ex); in process()
468 } catch (EapAkaInvalidAuthenticationResponse ex) { in handleChallengeAuthentication()
469 return new EapError(ex); in handleChallengeAuthentication()
470 } catch (EapSimAkaInvalidLengthException | BufferUnderflowException ex) { in handleChallengeAuthentication()
471 LOG.e(mTAG, "Invalid response returned from SIM", ex); in handleChallengeAuthentication()
474 } catch (EapSimAkaAuthenticationFailureException ex) { in handleChallengeAuthentication()
487 } catch (EapSimAkaInvalidAttributeException ex) { in handleChallengeAuthentication()
488 LOG.wtf(mTAG, "Error creating an AtAuts attr", ex); in handleChallengeAuthentication()
[all …]
DEapSimMethodStateMachine.java178 } catch (EapSimAkaInvalidAttributeException ex) { in process()
179 LOG.wtf(mTAG, "Exception thrown while creating AtNonceMt", ex); in process()
180 return new EapError(ex); in process()
269 } catch (EapSimAkaInvalidAttributeException ex) { in process()
270 LOG.wtf(mTAG, "Exception thrown while making AtIdentity attribute", ex); in process()
271 return new EapError(ex); in process()
272 } catch (EapSimAkaIdentityUnavailableException ex) { in process()
274 return new EapError(ex); in process()
430 } catch (EapSimAkaInvalidLengthException | BufferUnderflowException ex) { in process()
431 LOG.e(mTAG, "Invalid SRES/Kc tuple returned from SIM", ex); in process()
[all …]
DEapMsChapV2MethodStateMachine.java278 } catch (GeneralSecurityException ex) { in process()
279 LOG.e(mTAG, "Error generating EAP MSCHAPv2 Challenge response", ex); in process()
280 return new EapError(ex); in process()
303 } catch (EapMsChapV2ParsingException ex) { in process()
304 LOG.e(mTAG, "Error building response type data", ex); in process()
305 return new EapError(ex); in process()
335 } catch (BufferUnderflowException ex) { in process()
336 LOG.e(mTAG, "Empty type data received in ValidateAuthenticatorState", ex); in process()
337 return new EapError(ex); in process()
372 } catch (GeneralSecurityException | UnsupportedEncodingException ex) { in process()
[all …]
/packages/apps/Camera2/src/com/android/camera/one/v2/
DCamera2OneCameraManagerImpl.java59 } catch (IllegalStateException ex) { in create()
90 } catch (CameraAccessException ex) { in hasCamera()
91 Log.e(TAG, "Unable to read camera list.", ex); in hasCamera()
108 } catch (CameraAccessException ex) { in findFirstCamera()
109 Log.e(TAG, "Unable to read camera list.", ex); in findFirstCamera()
139 } catch (CameraAccessException ex) { in getCameraCharacteristics()
140 throw new OneCameraAccessException("Unable to get camera characteristics", ex); in getCameraCharacteristics()
210 } catch (CameraAccessException ex) { in findFirstCameraIdFacing()
211 Log.w(TAG, "Unable to get camera ID", ex); in findFirstCameraIdFacing()
/packages/apps/Settings/tests/unit/src/com/android/settings/development/mediadrm/
DForceSwSecureCryptoFallbackPreferenceControllerTest.java115 } catch (UnsupportedSchemeException ex) { in updateState_checkWidevine()
116 assumeNoException(ex); in updateState_checkWidevine()
126 } catch (UnsupportedSchemeException ex) { in updateState_checkWidevine()
127 assumeNoException(ex); in updateState_checkWidevine()
136 } catch (UnsupportedSchemeException ex) { in updateState_checkWidevine()
137 assumeNoException(ex); in updateState_checkWidevine()
154 } catch (UnsupportedSchemeException ex) { in updateState_checkWhenWidevineReady()
155 assumeNoException(ex); in updateState_checkWhenWidevineReady()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/mschapv2/
DEapMsChapV2TypeData.java275 } catch (EapMsChapV2ParsingException ex) { in getEapMsChapV2SuccessResponse()
280 ex); in getEapMsChapV2SuccessResponse()
398 } catch (EapMsChapV2ParsingException ex) { in getEapMsChapV2FailureResponse()
403 ex); in getEapMsChapV2FailureResponse()
498 } catch (BufferUnderflowException | EapMsChapV2ParsingException ex) { in decodeChallengeRequest()
499 LOG.e(tag, "Error parsing EAP MSCHAPv2 Challenge Request type data", ex); in decodeChallengeRequest()
500 return new DecodeResult<>(new EapError(ex)); in decodeChallengeRequest()
531 | EapMsChapV2ParsingException ex) { in decodeSuccessRequest()
532 LOG.e(tag, "Error parsing EAP MSCHAPv2 Success Request type data", ex); in decodeSuccessRequest()
533 return new DecodeResult<>(new EapError(ex)); in decodeSuccessRequest()
[all …]

12345678910>>...22