Home
last modified time | relevance | path

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

12345678910>>...13

/frameworks/base/legacy-test/src/android/test/
DAndroidTestCase.java109 assertNotNull("security exception's error message.", expected.getMessage()); in assertActivityRequiresPermission()
111 expected.getMessage().contains(permission)); in assertActivityRequiresPermission()
128 assertNotNull("security exception's error message.", expected.getMessage()); in assertReadingContentUriRequiresPermission()
130 expected.getMessage().contains(permission)); in assertReadingContentUriRequiresPermission()
147 assertNotNull("security exception's error message.", expected.getMessage()); in assertWritingContentUriRequiresPermission()
149 + expected.getMessage() + "\".", in assertWritingContentUriRequiresPermission()
150 expected.getMessage().contains(permission)); in assertWritingContentUriRequiresPermission()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSubInfoControllerTest.java95 assertEquals(READ_PHONE_STATE + " denied: getDeviceId", ex.getMessage()); in testGetDeviceIdWithOutPermission()
103 assertEquals(READ_PHONE_STATE + " denied: getDeviceId", ex.getMessage()); in testGetDeviceIdWithOutPermission()
145 assertEquals(READ_PHONE_STATE + " denied: getNai", ex.getMessage()); in testGetNaiWithOutPermission()
153 assertEquals(READ_PHONE_STATE + " denied: getNai", ex.getMessage()); in testGetNaiWithOutPermission()
195 assertEquals(READ_PHONE_STATE + " denied: getImei", ex.getMessage()); in testGetImeiWithOutPermission()
203 assertEquals(READ_PHONE_STATE + " denied: getImei", ex.getMessage()); in testGetImeiWithOutPermission()
245 assertEquals(READ_PHONE_STATE + " denied: getDeviceSvn", ex.getMessage()); in testGetDeviceSvnWithOutPermission()
253 assertEquals(READ_PHONE_STATE + " denied: getDeviceSvn", ex.getMessage()); in testGetDeviceSvnWithOutPermission()
298 assertEquals(READ_PHONE_STATE + " denied: getSubscriberId", ex.getMessage()); in testGetSubscriberIdWithOutPermission()
306 assertEquals(READ_PHONE_STATE + " denied: getSubscriberId", ex.getMessage()); in testGetSubscriberIdWithOutPermission()
[all …]
DGsmCdmaCallTrackerTest.java109 Assert.fail("unexpected exception thrown"+ex.getMessage()+ex.getStackTrace()); in testMOCallDial()
151 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMOCallHangup()
176 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMOCallDialPickUpHangup()
199 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMOCallPendingHangUp()
222 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMOCallSwitch()
262 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMTCallAccept()
286 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMTCallReject()
306 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMOCallSwitchHangupForeGround()
326 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMOCallPickUpHangUpResumeBackGround()
338 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testMOCallPickUpHangUpResumeBackGround()
DCallStateExceptionTest.java35 assertEquals("sanity test", mCallStateException.getMessage()); in testCallStateExceptionDefault()
44 assertEquals("sanity test with err code", mCallStateException.getMessage()); in testCallStateExceptionWithErrCode()
/frameworks/base/core/java/android/ddm/
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()
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()
/frameworks/base/media/java/android/media/
DMediaCasException.java66 throw new NotProvisionedException(e.getMessage()); in throwExceptions()
68 throw new ResourceBusyException(e.getMessage()); in throwExceptions()
70 throw new DeniedByServerException(e.getMessage()); in throwExceptions()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DLastMileLogger.java119 mLog.warn("Failed to start event tracing: %").r(e.getMessage()).flush(); in enableTracing()
127 mLog.warn("Failed to stop event tracing: %").r(e.getMessage()).flush(); in disableTracing()
135 mLog.warn("Failed to read event trace: %").r(e.getMessage()).flush(); in readTrace()
160 mLog.warn("Failed to open free_buffer pseudo-file: %").r(e.getMessage()).flush(); in ensureFailSafeIsArmed()
/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.java31 public String getMessage() { in getMessage() method in ComparisonFailure
32 return mComparison.getMessage(); in getMessage()
/frameworks/base/legacy-test/src/junit/framework/
DComparisonFailure.java34 public String getMessage() { in getMessage() method in ComparisonFailure
35 …return new ComparisonCompactor(MAX_CONTEXT_LENGTH, fExpected, fActual).compact(super.getMessage()); in getMessage()
DTestFailure.java42 buffer.append(fFailedTest+": "+fThrownException.getMessage()); in toString()
53 return thrownException().getMessage(); in exceptionMessage()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerException.java45 throw new PackageManagerException(e.error, e.getMessage(), e.getCause()); in from()
51 e.getMessage(), e.getCause()); in from()
/frameworks/base/core/java/android/app/
DAuthenticationRequiredException.java62 super(cause.getMessage()); in AuthenticationRequiredException()
80 dest.writeString(getMessage()); in writeToParcel()
/frameworks/base/core/java/android/app/backup/
DBlobBackupHelper.java122 Log.e(TAG, "Error examining prior backup state " + e.getMessage()); in readOldState()
178 Log.w(TAG, "Unable to process payload: " + e.getMessage()); in deflate()
212 Log.w(TAG, "Unable to process restored payload: " + e.getMessage()); in inflate()
277 Log.w(TAG, "Unable to record notification state: " + e.getMessage()); in performBackup()
306 Log.e(TAG, "Exception restoring entity " + key + " : " + e.getMessage()); in restoreEntity()
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/processing/
DScopedException.java59 return super.getMessage(); in getBareMessage()
63 public String getMessage() { in getMessage() method in ScopedException
70 sb.append(super.getMessage()).append("\n") in createHumanReadableMessage()
84 .append(MSG_KEY).append(super.getMessage()).append("\n") in createEncodedMessage()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DVCardVerifier.java259 AndroidTestCase.assertTrue(e.getMessage().contains(mExceptionContents)); in verifyWithInputStream()
262 AndroidTestCase.fail("Unexpected VCardException: " + e.getMessage()); in verifyWithInputStream()
274 AndroidTestCase.fail("Unexpected IOException: " + e.getMessage()); in verifyOneVCardForExport()
280 AndroidTestCase.fail("Unexpected IOException: " + e.getMessage()); in verifyOneVCardForExport()
315 AndroidTestCase.fail("IOException was thrown: " + e.getMessage()); in verifyForImportTest()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DTestResultInstrumentation.java81 if (t != null && t.getMessage() != null) { in show()
82 message = t.getMessage(); in show()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseStressTest.java74 Log.e(TAG, "exception " + e.getMessage()); in testSingleThreadInsertDelete()
95 Log.e(TAG, "exception " + e.getMessage()); in testOutOfSpace()
/frameworks/base/core/java/android/util/
DExceptionUtils.java48 builder.append(t.getMessage()); in getCompleteMessage()
50 builder.append(": ").append(t.getMessage()); in getCompleteMessage()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java270 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testImsMTCallAccept()
288 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testImsMTCallReject()
305 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testImsMTCallAcceptHangUp()
324 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testImsMTCallAcceptHold()
341 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testImsMTCallAcceptHold()
362 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testImsMOCallDial()
389 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testImsMTActiveMODial()
405 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testImsMOCallHangup()
428 Assert.fail("unexpected exception thrown" + ex.getMessage()); in testImsSendDtmf()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntryCommitter.java92 Log.e(LOG_TAG, String.format("%s: %s", e.toString(), e.getMessage())); in pushIntoContentResolver()
95 Log.e(LOG_TAG, String.format("%s: %s", e.toString(), e.getMessage())); in pushIntoContentResolver()
/frameworks/base/core/java/com/android/internal/logging/
DAndroidHandler.java96 sw.write(r.getMessage());
102 return r.getMessage();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsServiceController.java103 + e.getMessage()); in onServiceConnected()
277 + e.getMessage()); in bind()
397 + "callback. Exception:" + e.getMessage()); in sendImsFeatureCreatedCallback()
414 + "callback. Exception:" + e.getMessage()); in sendImsFeatureRemovedCallback()
431 + "callback. Exception:" + e.getMessage()); in sendImsFeatureStatusChanged()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DPipeManager.java88 Log.w(MtpDocumentsProvider.TAG, closeError.getMessage()); in run()
112 Log.w(MtpDocumentsProvider.TAG, closeError.getMessage()); in run()

12345678910>>...13