Home
last modified time | relevance | path

Searched refs:getMessage (Results 1 – 25 of 408) sorted by relevance

12345678910>>...17

/frameworks/base/telephony/java/android/telephony/ims/
DImsMmTelManager.java306 throw new IllegalArgumentException(e.getMessage()); in registerImsRegistrationCallback()
308 throw new ImsException(e.getMessage(), e.errorCode); in registerImsRegistrationCallback()
311 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback()
348 throw new ImsException(e.getMessage(), e.errorCode); in registerImsRegistrationCallback()
350 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback()
550 throw new ImsException(e.getMessage(), e.errorCode); in registerMmTelCapabilityCallback()
554 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerMmTelCapabilityCallback()
650 throw new IllegalArgumentException(e.getMessage()); in isAdvancedCallingSettingEnabled()
652 throw new RuntimeException(e.getMessage()); in isAdvancedCallingSettingEnabled()
696 throw new IllegalArgumentException(e.getMessage()); in setAdvancedCallingSettingEnabled()
[all …]
DImsException.java88 super(getMessage(message, CODE_ERROR_UNSPECIFIED)); in ImsException()
99 super(getMessage(message, code)); in ImsException()
114 super(getMessage(message, code), cause); in ImsException()
125 private static String getMessage(String message, int code) { in getMessage() method in ImsException
/frameworks/base/core/java/android/se/omapi/
DSession.java85 throw new IllegalStateException(e.getMessage()); in getATR()
215 throw new IOException(e.getMessage()); in openBasicChannel()
217 throw new NoSuchElementException(e.getMessage()); in openBasicChannel()
219 throw new IllegalStateException(e.getMessage()); in openBasicChannel()
222 throw new IllegalStateException(e.getMessage()); in openBasicChannel()
322 throw new IOException(e.getMessage()); in openLogicalChannel()
324 throw new NoSuchElementException(e.getMessage()); in openLogicalChannel()
326 throw new IllegalStateException(e.getMessage()); in openLogicalChannel()
329 throw new IllegalStateException(e.getMessage()); in openLogicalChannel()
DChannel.java110 throw new IllegalStateException(e.getMessage()); in isBasicChannel()
174 throw new IOException(e.getMessage()); in transmit()
176 throw new IllegalStateException(e.getMessage()); in transmit()
209 throw new IllegalStateException(e.getMessage()); in getSelectResponse()
252 throw new IOException(e.getMessage()); in selectNext()
254 throw new IllegalStateException(e.getMessage()); in selectNext()
/frameworks/base/lowpan/java/android/net/lowpan/
DLowpanException.java77 e.getMessage() != null ? e.getMessage() : "Feature not supported", e); in rethrowFromServiceSpecificException()
81 e.getMessage() != null ? e.getMessage() : "NCP problem", e); in rethrowFromServiceSpecificException()
85 e.getMessage() != null ? e.getMessage() : "Invalid argument", e); in rethrowFromServiceSpecificException()
/frameworks/base/test-base/src/android/test/
DAndroidTestCase.java108 assertNotNull("security exception's error message.", expected.getMessage()); in assertActivityRequiresPermission()
110 expected.getMessage().contains(permission)); in assertActivityRequiresPermission()
127 assertNotNull("security exception's error message.", expected.getMessage()); in assertReadingContentUriRequiresPermission()
129 expected.getMessage().contains(permission)); in assertReadingContentUriRequiresPermission()
146 assertNotNull("security exception's error message.", expected.getMessage()); in assertWritingContentUriRequiresPermission()
148 + expected.getMessage() + "\".", in assertWritingContentUriRequiresPermission()
149 expected.getMessage().contains(permission)); in assertWritingContentUriRequiresPermission()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSubInfoControllerTest.java116 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission()
124 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission()
136 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission()
144 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission()
157 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission()
165 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission()
197 assertTrue(ex.getMessage().contains("getNai")); in testGetNaiWithOutPermission()
205 assertTrue(ex.getMessage().contains("getNai")); in testGetNaiWithOutPermission()
217 assertTrue(ex.getMessage().contains("getNai")); in testGetNaiWithOutPermission()
225 assertTrue(ex.getMessage().contains("getNai")); in testGetNaiWithOutPermission()
[all …]
DGsmCdmaCallTrackerTest.java97 Assert.fail("unexpected exception thrown"+ex.getMessage()+ex.getStackTrace()); in testMOCallDial()
138 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMOCallHangup()
163 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMOCallDialPickUpHangup()
186 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMOCallPendingHangUp()
209 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMOCallSwitch()
257 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMTCallAccept()
286 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMTCallReject()
309 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMOCallSwitchHangupForeGround()
329 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMOCallPickUpHangUpResumeBackGround()
341 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMOCallPickUpHangUpResumeBackGround()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManager.java124 throw new ServiceSpecificException(ERROR_SERVICE_INTERNAL_ERROR, e.getMessage()); in getInstance()
177 throw new ServiceSpecificException(ERROR_SERVICE_INTERNAL_ERROR, e.getMessage()); in RecoverableKeyStoreManager()
220 throw new ServiceSpecificException(ERROR_BAD_CERTIFICATE_FORMAT, e.getMessage()); in initRecoveryService()
248 throw new ServiceSpecificException(ERROR_INVALID_CERTIFICATE, e.getMessage()); in initRecoveryService()
283 throw new ServiceSpecificException(ERROR_BAD_CERTIFICATE_FORMAT, e.getMessage()); in initRecoveryService()
314 throw new ServiceSpecificException(ERROR_BAD_CERTIFICATE_FORMAT, e.getMessage()); in initRecoveryServiceWithSigFile()
325 throw new ServiceSpecificException(ERROR_INVALID_CERTIFICATE, e.getMessage()); in initRecoveryServiceWithSigFile()
503 throw new ServiceSpecificException(ERROR_BAD_CERTIFICATE_FORMAT, e.getMessage()); in startRecoverySession()
530 throw new ServiceSpecificException(ERROR_SERVICE_INTERNAL_ERROR, e.getMessage()); in startRecoverySession()
532 throw new ServiceSpecificException(ERROR_BAD_CERTIFICATE_FORMAT, e.getMessage()); in startRecoverySession()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsConfigCompatAdapter.java48 + e.getMessage()); in setConfig()
61 + e.getMessage()); in setConfig()
74 Log.w(TAG, "getConfigInt: item=" + item + "failed: " + e.getMessage()); in getConfigInt()
84 Log.w(TAG, "getConfigInt: item=" + item + "failed: " + e.getMessage()); in getConfigString()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/
DSigXmlTest.java74 assertThat(expected.getMessage()).contains("signature is invalid"); in parseAndVerifyFileSignature_throwsIfInvalidSignature()
103 assertThat(expected.getMessage()).contains("exactly one"); in parse_throwsIfNoSignerCert()
115 assertThat(expected.getMessage()).contains("exactly one"); in parse_throwsIfTwoSignerCerts()
127 assertThat(expected.getMessage()).contains("exactly one"); in parse_throwsIfNoSignatureValue()
139 assertThat(expected.getMessage()).contains("exactly one"); in parse_throwsIfTwoSignatureValues()
/frameworks/base/core/java/android/ddm/
DDdmHandleViewDebug.java232 + e.getMessage()); in dumpHierarchy()
250 + e.getMessage()); in captureLayers()
272 + e.getMessage()); in dumpTheme()
285 + e.getMessage()); in captureView()
381 Log.e(TAG, "No such method: " + e.getMessage()); in invokeViewMethod()
383 "No such method: " + e.getMessage()); in invokeViewMethod()
389 Log.e(TAG, "Exception while invoking method: " + e.getCause().getMessage()); in invokeViewMethod()
390 String msg = e.getCause().getMessage(); in invokeViewMethod()
409 + param + ":" + e.getMessage()); in setLayoutParameter()
422 return createFailChunk(1, "Unexpected error while profiling view: " + e.getMessage()); in profileView()
DDdmHandleProfiling.java117 return createFailChunk(1, re.getMessage()); in handleMPRS()
132 + re.getMessage()); in handleMPRE()
158 return createFailChunk(1, re.getMessage()); in handleMPSS()
175 + re.getMessage()); in handleMPSEOrSPSE()
176 return createFailChunk(1, re.getMessage()); in handleMPSEOrSPSE()
212 return createFailChunk(1, re.getMessage()); in handleSPSS()
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/localdrive/
DLocalDrive.java179 sLogger.severe("Failed to remove config: " + e.getMessage()); in updateConfig()
194 + e.getMessage()); in updateConfig()
204 sLogger.severe("Failed to write temp config file: " + e.getMessage()); in updateConfig()
214 sLogger.severe("Failed to update config: " + e.getMessage()); in updateConfig()
248 sLogger.severe("Failed to get report list: " + e.getMessage()); in cmdGetData()
269 + e.getMessage()); in cmdGetData()
292 sLogger.severe("Failed to get report list: " + e.getMessage()); in cmdClear()
315 sLogger.severe("Failed to remove config: " + e.getMessage()); in cmdRemove()
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
DProcessingException.java73 ERROR, getMessage(), mElement, mAnnotationMirror, mAnnotationValue); in print()
75 messager.printMessage(ERROR, getMessage(), mElement, mAnnotationMirror); in print()
78 messager.printMessage(ERROR, getMessage(), mElement); in print()
81 messager.printMessage(ERROR, getMessage()); in print()
/frameworks/base/core/java/android/app/
DStatsManager.java120 throw new StatsUnavailableException(e.getMessage(), e); in addConfig()
156 throw new StatsUnavailableException(e.getMessage(), e); in removeConfig()
225 throw new StatsUnavailableException(e.getMessage(), e); in setBroadcastSubscriber()
279 throw new StatsUnavailableException(e.getMessage(), e); in setFetchReportsOperation()
319 throw new StatsUnavailableException(e.getMessage(), e); in setActiveConfigsChangedOperation()
357 throw new StatsUnavailableException(e.getMessage(), e); in getReports()
394 throw new StatsUnavailableException(e.getMessage(), e); in getStatsMetadata()
470 throw new StatsUnavailableException(e.getMessage(), e); in setPullerCallback()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingMessage.java64 default Notification.MessagingStyle.Message getMessage() { in getMessage() method
65 return getState().getMessage(); in getMessage()
69 Notification.MessagingStyle.Message ownMessage = getMessage(); in sameAs()
96 return sameAs(message.getMessage()); in sameAs()
/frameworks/base/telephony/java/android/telephony/ims/stub/
DRcsPresenceExchangeImplBase.java182 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNetworkResponse()
201 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onCapabilityRequestResponse()
225 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNotifyUpdateCapabilites()
242 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onUnpublish()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DLastMileLogger.java122 mLog.warn("Failed to start event tracing: %").r(e.getMessage()).flush(); in enableTracing()
130 mLog.warn("Failed to stop event tracing: %").r(e.getMessage()).flush(); in disableTracing()
138 mLog.warn("Failed to read event trace: %").r(e.getMessage()).flush(); in readTrace()
163 mLog.warn("Failed to open free_buffer pseudo-file: %").r(e.getMessage()).flush(); in ensureFailSafeIsArmed()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DPackageInstallerImpl.java124 Log.e(TAG, "Can't create session for " + packageName + ": " + ioe.getMessage()); in install()
135 Log.e(TAG, "Can't open session for " + packageName + ": " + se.getMessage()); in install()
153 + e.getMessage()); in install()
172 Log.e(TAG, "Stale open session for " + packageName + ": " + ioe.getMessage()); in getSession()
175 Log.e(TAG, "Stale open session for " + packageName + ": " + se.getMessage()); in getSession()
192 Log.w(TAG, "IOException opening old session for " + ioe.getMessage() in getSession()
244 + e.getMessage()); in closeSession()
/frameworks/base/test-base/api/
Dlint-baseline.txt2 MissingNullability: junit.framework.ComparisonFailure#getMessage():
3 Missing nullability on method `getMessage` return
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
DTagNotFoundException.java35 public String getMessage() { in getMessage() method in TagNotFoundException
36 return super.getMessage() + " (tag=" + mTag + ")"; in getMessage()
DInvalidAsn1DataException.java42 public String getMessage() { in getMessage() method in InvalidAsn1DataException
43 return super.getMessage() + " (tag=" + mTag + ")"; in getMessage()
/frameworks/base/sax/java/android/sax/
DBadXmlException.java31 public String getMessage() { in getMessage() method in BadXmlException
32 return "Line " + getLineNumber() + ": " + super.getMessage(); in getMessage()
/frameworks/base/test-runner/src/android/test/
DComparisonFailure.java32 public String getMessage() { in getMessage() method in ComparisonFailure
33 return mComparison.getMessage(); in getMessage()

12345678910>>...17