Home
last modified time | relevance | path

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

12345678910>>...14

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsDatabaseHelper.java499 } catch (Throwable ex) { in updateThreads()
500 Log.e(TAG, ex.getMessage(), ex); in updateThreads()
670 } catch (Exception ex) { in createWordsTables()
671 Log.e(TAG, "got exception creating words table: " + ex.toString()); in createWordsTables()
686 } catch (Exception ex) { in createThreadIdIndex()
687 Log.e(TAG, "got exception creating indices: " + ex.toString()); in createThreadIdIndex()
695 } catch (Exception ex) { in createThreadIdDateIndex()
696 Log.e(TAG, "got exception creating indices: " + ex.toString()); in createThreadIdDateIndex()
703 } catch (Exception ex) { in createPartMidIndex()
704 Log.e(TAG, "got exception creating indices: " + ex.toString()); in createPartMidIndex()
[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/services/Car/service/src/com/android/car/garagemode/
DLogger.java36 public void v(String msg, Exception ex) { in v() argument
37 Log.v(mTag, buildMessage(msg), ex); in v()
46 public void i(String msg, Exception ex) { in i() argument
47 Log.i(mTag, buildMessage(msg), ex); in i()
56 public void d(String msg, Exception ex) { in d() argument
57 Log.d(mTag, buildMessage(msg), ex); in d()
61 public void w(String msg, Exception ex) { in w() argument
62 Log.w(mTag, buildMessage(msg), ex); in w()
76 public void e(String msg, Exception ex) { in e() argument
77 Log.e(mTag, buildMessage(msg), ex); in e()
[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/apps/QuickSearchBox/src/com/android/quicksearchbox/
DCursorBackedSuggestionCursor.java96 } catch (RuntimeException ex) { in close()
98 Log.e(TAG, "close() failed, ", ex); in close()
117 } catch (RuntimeException ex) { in getCount()
119 Log.e(TAG, "getCount() failed, ", ex); in getCount()
132 } catch (RuntimeException ex) { in moveTo()
134 Log.e(TAG, "moveToPosition() failed, ", ex); in moveTo()
144 } catch (RuntimeException ex) { in moveToNext()
146 Log.e(TAG, "moveToNext() failed, ", ex); in moveToNext()
157 } catch (RuntimeException ex) { in getPosition()
159 Log.e(TAG, "getPosition() failed, ", ex); in getPosition()
[all …]
DPackageIconLoader.java83 } catch (PackageManager.NameNotFoundException ex) { in ensurePackageContext()
150 } catch (Resources.NotFoundException ex) { in getDrawable()
164 } catch (IOException ex) { in getDrawable()
165 Log.e(TAG, "Error closing icon stream for " + uri, ex); in getDrawable()
194 } catch (NameNotFoundException ex) { in getResourceId()
195 throw new FileNotFoundException("Failed to get resources: " + ex); in getResourceId()
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DOpportunisticNetworkServiceTest.java112 } catch (RemoteException ex) { in testCheckEnable()
113 Log.e(TAG, "RemoteException", ex); in testCheckEnable()
200 } catch (RemoteException ex) { in testSystemPreferredDataWhileCarrierAppIsActive()
201 Log.e(TAG, "RemoteException", ex); in testSystemPreferredDataWhileCarrierAppIsActive()
221 } catch (RemoteException ex) { in testSetPreferredDataSubscriptionId()
222 Log.e(TAG, "RemoteException", ex); in testSetPreferredDataSubscriptionId()
237 } catch (RemoteException ex) { in testGetPreferredDataSubscriptionId()
238 Log.e(TAG, "RemoteException", ex); in testGetPreferredDataSubscriptionId()
263 } catch (RemoteException ex) { in testUpdateAvailableNetworksWithInvalidArguments()
264 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/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/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapAkaMethodStateMachine.java266 } catch (EapSimAkaInvalidAttributeException ex) { in process()
267 LOG.wtf(mTAG, "Exception thrown while making AtIdentity attribute", ex); in process()
268 return new EapError(ex); in process()
379 } catch (EapAkaInvalidAuthenticationResponse ex) { in handleChallengeAuthentication()
380 return new EapError(ex); in handleChallengeAuthentication()
381 } catch (EapSimAkaInvalidLengthException | BufferUnderflowException ex) { in handleChallengeAuthentication()
382 LOG.e(mTAG, "Invalid response returned from SIM", ex); in handleChallengeAuthentication()
385 } catch (EapSimAkaAuthenticationFailureException ex) { in handleChallengeAuthentication()
398 } catch (EapSimAkaInvalidAttributeException ex) { in handleChallengeAuthentication()
399 LOG.wtf(mTAG, "Error creating an AtAuts attr", ex); in handleChallengeAuthentication()
[all …]
DEapSimMethodStateMachine.java175 } catch (EapSimAkaInvalidAttributeException ex) { in process()
176 LOG.wtf(mTAG, "Exception thrown while creating AtNonceMt", ex); in process()
177 return new EapError(ex); in process()
263 } catch (EapSimAkaInvalidAttributeException ex) { in process()
264 LOG.wtf(mTAG, "Exception thrown while making AtIdentity attribute", ex); in process()
265 return new EapError(ex); in process()
266 } catch (EapSimAkaIdentityUnavailableException ex) { in process()
268 return new EapError(ex); in process()
421 } catch (EapSimAkaInvalidLengthException | BufferUnderflowException ex) { in process()
422 LOG.e(mTAG, "Invalid SRES/Kc tuple returned from SIM", ex); in process()
[all …]
DEapMsChapV2MethodStateMachine.java274 } catch (GeneralSecurityException ex) { in process()
275 LOG.e(mTAG, "Error generating EAP MSCHAPv2 Challenge response", ex); in process()
276 return new EapError(ex); in process()
299 } catch (EapMsChapV2ParsingException ex) { in process()
300 LOG.e(mTAG, "Error building response type data", ex); in process()
301 return new EapError(ex); in process()
331 } catch (BufferUnderflowException ex) { in process()
332 LOG.e(mTAG, "Empty type data received in ValidateAuthenticatorState", ex); in process()
333 return new EapError(ex); in process()
368 } catch (GeneralSecurityException | UnsupportedEncodingException ex) { in process()
[all …]
DEapSimAkaMethodStateMachine.java147 } catch (EapSilentException ex) { in buildClientErrorResponse()
148 return new EapResult.EapError(ex); in buildClientErrorResponse()
164 } catch (EapSilentException ex) { in buildResponseMessage()
165 return new EapResult.EapError(ex); in buildResponseMessage()
288 } catch (EapSimAkaInvalidAttributeException | EapSilentException ex) { in buildResponseMessageWithMac()
290 return new EapError(ex); in buildResponseMessageWithMac()
351 } catch (EapSilentException | EapSimAkaInvalidAttributeException ex) { in handleEapSimAkaNotification()
353 return new EapError(ex); in handleEapSimAkaNotification()
/packages/modules/DnsResolver/
Dgetaddrinfo.cpp100 #define WILD_AF(ex) ((ex).e_wild & 0x01) argument
101 #define WILD_SOCKTYPE(ex) ((ex).e_wild & 0x02) argument
102 #define WILD_PROTOCOL(ex) ((ex).e_wild & 0x04) argument
309 for (const Explore& ex : explore_options) { in validateHints() local
310 if (hints->ai_family != ex.e_af) continue; in validateHints()
311 if (ex.e_socktype == ANY) continue; in validateHints()
312 if (ex.e_protocol == ANY) continue; in validateHints()
313 if (hints->ai_socktype == ex.e_socktype && hints->ai_protocol != ex.e_protocol) { in validateHints()
359 for (const Explore& ex : explore_options) { in android_getaddrinfofornetcontext() local
361 if (ex.e_af == PF_UNSPEC) continue; in android_getaddrinfofornetcontext()
[all …]
/packages/apps/Camera2/src/com/android/camera/one/v2/
DCamera2OneCameraManagerImpl.java57 } catch (IllegalStateException ex) { in create()
87 } catch (CameraAccessException ex) { in hasCamera()
88 Log.e(TAG, "Unable to read camera list.", ex); in hasCamera()
105 } catch (CameraAccessException ex) { in findFirstCamera()
106 Log.e(TAG, "Unable to read camera list.", ex); in findFirstCamera()
130 } catch (CameraAccessException ex) { in getCameraCharacteristics()
131 throw new OneCameraAccessException("Unable to get camera characteristics", ex); in getCameraCharacteristics()
194 } catch (CameraAccessException ex) { in findFirstCameraIdFacing()
195 Log.w(TAG, "Unable to get camera ID", ex); in findFirstCameraIdFacing()
DCamera2OneCameraOpenerImpl.java72 } catch (IllegalStateException ex) { in create()
195 } catch (CameraAccessException ex) { in open()
196 Log.e(TAG, "Could not open camera. " + ex.getMessage()); in open()
203 } catch (UnsupportedOperationException ex) { in open()
204 Log.e(TAG, "Could not open camera. " + ex.getMessage()); in open()
211 } catch (SecurityException ex) { in open()
/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 …]
/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/services/Telephony/src/com/android/phone/
DTelephonyShellCommand.java328 } catch (RemoteException ex) { in handleDataTestModeCommand()
329 Log.w(LOG_TAG, "data enable, error " + ex.getMessage()); in handleDataTestModeCommand()
330 errPw.println("Exception: " + ex.getMessage()); in handleDataTestModeCommand()
338 } catch (RemoteException ex) { in handleDataTestModeCommand()
339 Log.w(LOG_TAG, "data disable, error " + ex.getMessage()); in handleDataTestModeCommand()
340 errPw.println("Exception: " + ex.getMessage()); in handleDataTestModeCommand()
377 } catch (RemoteException ex) { in handleEmergencyNumberTestModeCommand()
379 + ", error " + ex.getMessage()); in handleEmergencyNumberTestModeCommand()
380 errPw.println("Exception: " + ex.getMessage()); in handleEmergencyNumberTestModeCommand()
389 } catch (RemoteException ex) { in handleEmergencyNumberTestModeCommand()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/
DEapMessage.java152 } catch (BufferUnderflowException ex) { in decode()
154 LOG.e(TAG, msg, ex); in decode()
155 throw new EapInvalidPacketLengthException(msg, ex); in decode()
198 } catch (EapSilentException ex) { in getNotificationResponse()
202 return new EapError(ex); in getNotificationResponse()
227 } catch (EapSilentException ex) { in getNakResponse()
231 return new EapError(ex); in getNakResponse()
/packages/apps/PermissionController/src/com/android/packageinstaller/incident/
DReportDetails.java51 public ParseException(String message, Throwable ex) { in ParseException() argument
52 super(message, ex); in ParseException()
85 } catch (IOException ex) { in parseIncidentReport()
86 throw new ParseException("Error while reading stream.", ex); in parseIncidentReport()
87 } catch (OutOfMemoryError ex) { in parseIncidentReport()
88 throw new ParseException("Out of memory while loading incident report.", ex); in parseIncidentReport()
/packages/services/BuiltInPrintService/src/com/android/bips/jni/
DPdfRender.java115 } catch (RemoteException | FileNotFoundException ex) { in openDocument()
116 Log.w(TAG, "Failed to open " + fileName, ex); in openDocument()
134 } catch (RemoteException | IllegalArgumentException ex) { in getPageSize()
135 Log.w(TAG, "getPageWidth failed", ex); in getPageSize()
182 } catch (RemoteException | IOException | IllegalArgumentException | OutOfMemoryError ex) { in renderPageStripe()
183 Log.w(TAG, "Render failed", ex); in renderPageStripe()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
DEapSimAkaTypeData.java146 } catch (EapSimInvalidAtRandException ex) { in decode()
147 LOG.e(mTAG, "Invalid AtRand attribute", ex); in decode()
149 } catch (EapSimAkaInvalidAttributeException | BufferUnderflowException ex) { in decode()
150 LOG.e(mTAG, "Incorrectly formatted attribute", ex); in decode()
152 } catch (EapSimAkaUnsupportedAttributeException ex) { in decode()
153 LOG.e(mTAG, "Unrecognized, non-skippable attribute encountered", ex); in decode()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java435 } catch (SQLException ex) { in deleteEmptyFolders()
436 Log.e(TAG, ex.getMessage(), ex); in deleteEmptyFolders()
702 } catch (SQLException ex) { in onUpgrade()
703 Log.e(TAG, ex.getMessage(), ex); in onUpgrade()
883 } catch (SQLException ex) { in convertShortcutsToLauncherActivities()
884 Log.w(TAG, "Error deduping shortcuts", ex); in convertShortcutsToLauncherActivities()
909 } catch (SQLException ex) { in updateFolderItemsRank()
911 Log.e(TAG, ex.getMessage(), ex); in updateFolderItemsRank()
922 } catch (SQLException ex) { in addIntegerColumn()
923 Log.e(TAG, ex.getMessage(), ex); in addIntegerColumn()

12345678910>>...14