Home
last modified time | relevance | path

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

12345

/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DDeviceInfoActivity.java95 failed("Exception while waiting for activity to finish: " + e.getMessage()); in waitForActivityToFinish()
161 failed("Failed to create JSON writer: " + e.getMessage()); in createJsonWriter()
169 failed("Failed to begin JSON object: " + e.getMessage()); in startJsonWriter()
178 failed("Failed to close JSON object: " + e.getMessage()); in closeJsonWriter()
189 error("Failed to begin JSON group: " + e.getMessage()); in startGroup()
201 error("Failed to begin JSON group: " + e.getMessage()); in startGroup()
212 error("Failed to end JSON group: " + e.getMessage()); in endGroup()
223 error("Failed to begin JSON array: " + e.getMessage()); in startArray()
236 error("Failed to begin JSON array: " + e.getMessage()); in startArray()
247 error("Failed to end JSON group: " + e.getMessage()); in endArray()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DExceptionTest.java31 assertEquals(e.getMessage(), "IAE"); in testExceptions()
37 assertEquals(e.getMessage(), "ISE"); in testExceptions()
43 assertEquals(e.getMessage(), "RE"); in testExceptions()
49 assertEquals(e.getMessage(), "DE"); in testExceptions()
/cts/tests/tests/database/src/android/database/cts/
DCursorIndexOutOfBoundsExceptionTest.java33 assertNull(e.getMessage()); in testConstructors()
39 assertEquals(expected1, e.getMessage()); in testConstructors()
46 assertEquals(expected2, e.getMessage()); in testConstructors()
DStaleDataExceptionTest.java30 assertNull(e.getMessage()); in testConstructors()
37 assertEquals(expected1, e.getMessage()); in testConstructors()
DSQLExceptionTest.java31 assertNull(e.getMessage()); in testConstructors()
38 assertEquals(expected1, e.getMessage()); in testConstructors()
/cts/tests/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java555 assertDeviceOwnerMessage(e.getMessage()); in testCreateUser_failIfNotDeviceOwner()
568 assertDeviceOwnerMessage(e.getMessage()); in testRemoveUser_failIfNotDeviceOwner()
581 assertProfileOwnerMessage(e.getMessage()); in testSetApplicationHidden_failIfNotDeviceOrProfileOwner()
594 assertProfileOwnerMessage(e.getMessage()); in testIsApplicationHidden_failIfNotDeviceOrProfileOwner()
608 assertDeviceOwnerMessage(e.getMessage()); in testSetGlobalSetting_failIfNotDeviceOwner()
622 assertProfileOwnerMessage(e.getMessage()); in testSetSecureSetting_failIfNotDeviceOrProfileOwner()
635 assertProfileOwnerMessage(e.getMessage()); in testSetMasterVolumeMuted_failIfNotDeviceOrProfileOwner()
648 assertProfileOwnerMessage(e.getMessage()); in testIsMasterVolumeMuted_failIfNotDeviceOrProfileOwner()
661 assertDeviceOwnerMessage(e.getMessage()); in testSetRecommendedGlobalProxy_failIfNotDeviceOwner()
686 assertDeviceOwnerMessage(e.getMessage()); in testClearDeviceOwnerApp_failIfNotDeviceOwner()
[all …]
/cts/tests/tests/os/src/android/os/cts/
DFileAccessPermissionTest.java116 fail(e.getMessage()); in testAccessAppDataDir()
142 fail(e.getMessage()); in testAccessAppDataDir()
152 fail(e.getMessage()); in testAccessAppDataDir()
175 fail(e.getMessage()); in writeFileCheck()
177 fail(e.getMessage()); in writeFileCheck()
183 fail(e.getMessage()); in writeFileCheck()
190 fail(e.getMessage()); in writeFileCheck()
DConditionVariableTest.java63 fail(e.getMessage()); in testConditionVariable()
82 fail(e.getMessage()); in testConditionVariable()
DSeccompTest.java259 fail(e.getMessage()); in doFileWriteTest()
262 fail(e.getMessage()); in doFileWriteTest()
273 fail(e.getMessage()); in doFileWriteTest()
275 fail(e.getMessage()); in doFileWriteTest()
/cts/tests/tests/permission/src/android/permission/cts/
DProviderPermissionTest.java87 assertNotNull("security exception's error message.", expected.getMessage()); in testWriteSettings()
89 + expected.getMessage() + "\".", in testWriteSettings()
90 expected.getMessage().contains(permission)); in testWriteSettings()
/cts/tests/tests/view/src/android/view/cts/
DWindowManager_BadTokenExceptionTest.java29 assertNull(e.getMessage()); in testBadTokenException()
39 assertEquals(message, e.getMessage()); in testBadTokenException()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManager_NameNotFoundExceptionTest.java31 assertNull(e.getMessage()); in testNameNotFoundException()
39 assertEquals(message, e.getMessage()); in testNameNotFoundException()
/cts/tests/tests/content/src/android/content/cts/
DIntentFilter_MalformedMimeTypeExceptionTest.java46 assertEquals(message, mMalformedMimeTypeException.getMessage()); in testMalformedMimeTypeException()
52 assertEquals(message, e.getMessage()); in testMalformedMimeTypeException()
/cts/tests/tests/app/src/android/app/cts/
DPendingIntent_CanceledExceptionTest.java30 assertNull(e.getMessage()); in testConstructor()
38 assertEquals(message, canceledException.getMessage()); in testConstructor()
/cts/tests/tests/util/src/android/util/cts/
DXmlTest.java115 fail(e.getMessage()); in testParseStringContentHandler()
193 fail(e.getMessage()); in testParseReaderContentHander()
199 fail(e.getMessage()); in testParseReaderContentHander()
228 fail(e.getMessage()); in testParseReaderContentHander()
230 fail(e.getMessage()); in testParseReaderContentHander()
263 fail(e.getMessage()); in testParseInputStreamEncodingContentHandler()
265 fail(e.getMessage()); in testParseInputStreamEncodingContentHandler()
295 fail(e.getMessage()); in testParseInputStreamEncodingContentHandler()
297 fail(e.getMessage()); in testParseInputStreamEncodingContentHandler()
327 fail(e.getMessage()); in testParseInputStreamEncodingContentHandler()
[all …]
DXmlEncodingTest.java100 fail(e.getMessage()); in testValueOf()
102 fail(e.getMessage()); in testValueOf()
132 fail(e.getMessage()); in testValueOf()
134 fail(e.getMessage()); in testValueOf()
164 fail(e.getMessage()); in testValueOf()
166 fail(e.getMessage()); in testValueOf()
196 fail(e.getMessage()); in testValueOf()
198 fail(e.getMessage()); in testValueOf()
DAndroidRuntimeExceptionTest.java36 assertEquals(NAME, e.getMessage()); in testAndroidRuntimeException()
DAndroidExceptionTest.java36 assertEquals(NAME, e.getMessage()); in testAndroidException()
/cts/common/util/tests/src/com/android/compatibility/common/util/
DReportLogTest.java52 assertEquals("Sample Summary", summary.getMessage()); in testEncodeDecode()
60 assertEquals("Details", detail.getMessage()); in testEncodeDecode()
/cts/common/util/src/com/android/compatibility/common/util/
DMetricsXmlSerializer.java44 mXmlSerializer.attribute(null, "message", summary.getMessage()); in serialize()
56 mXmlSerializer.attribute(null, "message", result.getMessage()); in serialize()
/cts/tools/dasm/src/java_cup/
Dinternal_error.java18 System.err.println(getMessage()); in crash()
/cts/tools/vm-tests-tf/src/util/build/
DDasmBuildStep.java71 System.err.println("DASM Error: " + e.getMessage()); in assemble()
75 System.err.println("Exception <" + e.getClass().getName() + ">" + e.getMessage() + in assemble()
132 System.err.println("Exception <" + e.getClass().getName() + ">" + e.getMessage() + in assemble()
/cts/tests/tests/graphics/src/android/graphics/cts/
DRasterizerTest.java29 fail(e.getMessage()); in testFinalize()
/cts/tools/dasm/src/dasm/
DMain.java93 System.err.println("DASM Error: " + e.getMessage()); in assemble()
97 + e.getMessage() + " while reading and parsing " + fname); in assemble()
159 + e.getMessage() + " while writing " + out_file.getPath()); in assemble()
/cts/tests/tests/media/src/android/media/cts/
DStreamingMediaPlayerTest.java471 fail(e.getMessage()); in testBlockingReadRelease()
473 fail(e.getMessage()); in testBlockingReadRelease()
475 fail(e.getMessage()); in testBlockingReadRelease()
477 fail(e.getMessage()); in testBlockingReadRelease()
479 fail(e.getMessage()); in testBlockingReadRelease()

12345