Home
last modified time | relevance | path

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

12345678910>>...21

/frameworks/base/telephony/java/android/telephony/ims/
DImsMmTelManager.java328 throw new IllegalArgumentException(e.getMessage()); in registerImsRegistrationCallback()
330 throw new ImsException(e.getMessage(), e.errorCode); in registerImsRegistrationCallback()
333 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback()
370 throw new ImsException(e.getMessage(), e.errorCode); in registerImsRegistrationCallback()
372 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback()
585 throw new ImsException(e.getMessage(), e.errorCode); in registerMmTelCapabilityCallback()
589 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerMmTelCapabilityCallback()
685 throw new IllegalArgumentException(e.getMessage()); in isAdvancedCallingSettingEnabled()
687 throw new RuntimeException(e.getMessage()); in isAdvancedCallingSettingEnabled()
731 throw new IllegalArgumentException(e.getMessage()); in setAdvancedCallingSettingEnabled()
[all …]
DImsException.java86 super(getMessage(message, CODE_ERROR_UNSPECIFIED)); in ImsException()
96 super(getMessage(message, code)); in ImsException()
110 super(getMessage(message, code), cause); in ImsException()
121 private static String getMessage(String message, int code) { in getMessage() method in ImsException
/frameworks/base/omapi/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.java130 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission()
138 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission()
151 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission()
159 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission()
173 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission()
181 assertTrue(ex.getMessage().contains("getDeviceId")); in testGetDeviceIdWithOutPermission()
214 assertTrue(ex.getMessage().contains("getNai")); in testGetNaiWithOutPermission()
222 assertTrue(ex.getMessage().contains("getNai")); in testGetNaiWithOutPermission()
235 assertTrue(ex.getMessage().contains("getNai")); in testGetNaiWithOutPermission()
243 assertTrue(ex.getMessage().contains("getNai")); in testGetNaiWithOutPermission()
[all …]
/frameworks/base/telephony/java/android/telephony/ims/aidl/
DRcsSubscribeResponseAidlWrapper.java47 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onCommandError()
56 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNetworkResponse()
67 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNetworkResponse()
76 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNotifyCapabilitiesUpdate()
86 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onResourceTerminated()
108 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onTerminated()
DRcsPublishResponseAidlWrapper.java41 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onCommandError()
50 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNetworkResponse()
61 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNetworkResponse()
/frameworks/base/services/core/java/com/android/server/utils/
DSlogf.java161 v(tag, getMessage(format, args)); in v()
176 d(tag, getMessage(format, args)); in d()
191 i(tag, getMessage(format, args)); in i()
206 w(tag, getMessage(format, args)); in w()
221 w(tag, getMessage(format, args), exception); in w()
235 e(tag, getMessage(format, args)); in e()
250 e(tag, getMessage(format, args), exception); in e()
257 wtf(tag, getMessage(format, args)); in wtf()
265 wtf(tag, getMessage(format, args), exception); in wtf()
268 private static String getMessage(String format, @Nullable Object... args) { in getMessage() method in Slogf
/frameworks/base/omapi/aidl/vts/functional/AccessControlApp/
DVtsHalOmapiSeAccessControlTestCases.cpp96 ASSERT_TRUE(res.isOk()) << res.getMessage(); in testSelectableAid()
100 ASSERT_TRUE(res.isOk()) << res.getMessage(); in testSelectableAid()
104 ASSERT_TRUE(res.isOk()) << res.getMessage(); in testSelectableAid()
136 ASSERT_TRUE(res.isOk()) << res.getMessage(); in testUnauthorisedAid()
140 ASSERT_TRUE(res.isOk()) << res.getMessage(); in testUnauthorisedAid()
172 ASSERT_TRUE(res.isOk()) << res.getMessage(); in testTransmitAPDU()
176 ASSERT_TRUE(res.isOk()) << res.getMessage(); in testTransmitAPDU()
180 ASSERT_TRUE(res.isOk()) << res.getMessage(); in testTransmitAPDU()
193 << " Message: " << res.getMessage(); in testTransmitAPDU()
217 ASSERT_TRUE(res.isOk()) << res.getMessage(); in testUnauthorisedAPDU()
[all …]
/frameworks/base/omapi/aidl/vts/functional/omapi/
DVtsHalOmapiSeServiceV1_TargetTest.cpp64 ASSERT_TRUE(res.isOk()) << res.getMessage(); in testSelectableAid()
68 ASSERT_TRUE(res.isOk()) << res.getMessage(); in testSelectableAid()
72 ASSERT_TRUE(res.isOk()) << res.getMessage(); in testSelectableAid()
97 ASSERT_TRUE(res.isOk()) << res.getMessage(); in testNonSelectableAid()
101 ASSERT_TRUE(res.isOk()) << res.getMessage(); in testNonSelectableAid()
108 LOG(ERROR) << res.getMessage(); in testNonSelectableAid()
153 ASSERT_TRUE(res.isOk()) << res.getMessage(); in internalTransmitApdu()
157 ASSERT_TRUE(res.isOk()) << res.getMessage(); in internalTransmitApdu()
161 ASSERT_TRUE(res.isOk()) << res.getMessage(); in internalTransmitApdu()
172 << " Message: " << res.getMessage(); in internalTransmitApdu()
[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/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/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/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/ddm/
DDdmHandleProfiling.java119 return createFailChunk(1, re.getMessage()); in handleMPRS()
134 + re.getMessage()); in handleMPRE()
160 return createFailChunk(1, re.getMessage()); in handleMPSS()
177 + re.getMessage()); in handleMPSEOrSPSE()
178 return createFailChunk(1, re.getMessage()); in handleMPSEOrSPSE()
214 return createFailChunk(1, re.getMessage()); in handleSPSS()
DDdmHandleViewDebug.java238 + e.getMessage()); in dumpHierarchy()
256 + e.getMessage()); in captureLayers()
278 + e.getMessage()); in dumpTheme()
291 + e.getMessage()); in captureView()
372 return createFailChunk(ERR_INVALID_PARAM, e.getMessage()); in invokeViewMethod()
380 Log.e(TAG, "No such method: " + e.getMessage()); in invokeViewMethod()
382 "No such method: " + e.getMessage()); in invokeViewMethod()
391 Log.e(TAG, "Exception while invoking method: " + e.getCause().getMessage()); in invokeViewMethod()
392 String msg = e.getCause().getMessage(); in invokeViewMethod()
409 + param + ":" + e.getMessage()); in setLayoutParameter()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DMessagingMessage.java65 default Notification.MessagingStyle.Message getMessage() { in getMessage() method
66 return getState().getMessage(); in getMessage()
70 Notification.MessagingStyle.Message ownMessage = getMessage(); in sameAs()
97 return sameAs(message.getMessage()); in sameAs()
/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()
/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/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-runner/src/android/test/
DComparisonFailure.java32 public String getMessage() { in getMessage() method in ComparisonFailure
33 return mComparison.getMessage(); in getMessage()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/exception/
DVCardNotSupportedExceptionTest.java28 assertNull(exception.getMessage()); in testExceptionWithoutMessage()
33 assertEquals(exception.getMessage(), TEST_MESSAGE); in testExceptionWithMessage()

12345678910>>...21