/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | IdentityApiTest.java | 47 assertEquals("Message", e.getMessage()); in testConstructorsAlreadyPersonalizedException() 51 assertEquals("Message 2", e.getMessage()); in testConstructorsAlreadyPersonalizedException() 58 assertEquals("Message", e.getMessage()); in testConstructorsCipherSuiteNotSupportedException() 62 assertEquals("Message 2", e.getMessage()); in testConstructorsCipherSuiteNotSupportedException() 69 assertEquals("Message", e.getMessage()); in testConstructorsDocTypeNotSupportedException() 73 assertEquals("Message 2", e.getMessage()); in testConstructorsDocTypeNotSupportedException() 80 assertEquals("Message", e.getMessage()); in testConstructorsEphemeralPublicKeyNotFoundException() 84 assertEquals("Message 2", e.getMessage()); in testConstructorsEphemeralPublicKeyNotFoundException() 91 assertEquals("Message", e.getMessage()); in testConstructorsIdentityCredentialException() 95 assertEquals("Message 2", e.getMessage()); in testConstructorsIdentityCredentialException() [all …]
|
/cts/tests/admin/src/android/admin/cts/ |
D | DevicePolicyManagerTest.java | 170 assertDeviceOwnerMessage(e.getMessage()); in testRequestRemoteBugreport_failIfNotDeviceOwner() 184 assertOrganizationOwnedProfileOwnerMessage(e.getMessage()); in testSetSecurityLoggingEnabled_failIfNotOrganizationOwnedProfileOwner() 198 assertOrganizationOwnedProfileOwnerMessage(e.getMessage()); in testIsSecurityLoggingEnabled_failIfNotOrganizationOwnedProfileOwner() 211 assertOrganizationOwnedProfileOwnerMessage(e.getMessage()); in testRetrieveSecurityLogs_failIfNotOrganizationOwnedProfileOwner() 225 assertOrganizationOwnedProfileOwnerMessage(e.getMessage()); in testRetrievePreRebootSecurityLogs_failIfNotOrganizationOwnedProfileOwner() 238 assertDeviceOwnerMessage(e.getMessage()); in testSetNetworkLoggingEnabled_failIfNotDeviceOwner() 251 assertDeviceOwnerOrManageUsersMessage(e.getMessage()); in testIsNetworkLoggingEnabled_failIfNotDeviceOwner() 264 assertDeviceOwnerMessage(e.getMessage()); in testRetrieveNetworkLogs_failIfNotDeviceOwner() 276 assertDeviceOwnerMessage(e.getMessage()); in testRemoveUser_failIfNotDeviceOwner() 289 assertProfileOwnerMessage(e.getMessage()); in testSetApplicationHidden_failIfNotDeviceOrProfileOwner() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | ExceptionTest.java | 31 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/quickaccesswallet/src/android/quickaccesswallet/cts/ |
D | GetWalletCardsErrorTest.java | 57 assertThat(error.getMessage()).isEqualTo(newError.getMessage()); in testParcel_toParcel() 69 assertThat(error.getMessage()).isEqualTo(newError.getMessage()); in testParcel_withNullIcon_toParcel() 81 assertThat(error.getMessage()).isEqualTo(newError.getMessage()); in testParcel_withNullIconAndMessage_toParcel()
|
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/common/src/com/android/cts/appdataisolation/common/ |
D | FileUtils.java | 60 assertThat(exception.getMessage()).contains(JAVA_FILE_PERMISSION_DENIED_MSG); in assertDirIsNotAccessible() 61 assertThat(exception.getMessage()).doesNotContain(JAVA_FILE_NOT_FOUND_MSG); in assertDirIsNotAccessible() 73 assertThat(exception.getMessage()).contains(JAVA_FILE_NOT_FOUND_MSG); in assertDirDoesNotExist() 74 assertThat(exception.getMessage()).doesNotContain(JAVA_FILE_PERMISSION_DENIED_MSG); in assertDirDoesNotExist() 119 assertThat(exception.getMessage()).contains(JAVA_FILE_NOT_FOUND_MSG); in assertFileDoesNotExist() 120 assertThat(exception.getMessage()).doesNotContain(JAVA_FILE_PERMISSION_DENIED_MSG); in assertFileDoesNotExist()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | CursorIndexOutOfBoundsExceptionTest.java | 33 assertNull(e.getMessage()); in testConstructors() 39 assertEquals(expected1, e.getMessage()); in testConstructors() 46 assertEquals(expected2, e.getMessage()); in testConstructors()
|
D | SQLiteCantOpenDatabaseExceptionTest.java | 44 Log.i(TAG, "Caught excepted exception: " + e.getMessage(), e); in callWithExceptedMessage() 45 if (e.getMessage().startsWith("Cannot open database") && in callWithExceptedMessage() 46 e.getMessage().matches(expectedMessagePatter)) { in callWithExceptedMessage() 49 fail("Unexpected exception message: " + e.getMessage()); in callWithExceptedMessage()
|
D | StaleDataExceptionTest.java | 30 assertNull(e.getMessage()); in testConstructors() 37 assertEquals(expected1, e.getMessage()); in testConstructors()
|
D | SQLExceptionTest.java | 31 assertNull(e.getMessage()); in testConstructors() 38 assertEquals(expected1, e.getMessage()); in testConstructors()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | FileAccessPermissionTest.java | 118 fail(e.getMessage()); in testAccessAppDataDir() 148 fail(e.getMessage()); in testExternalStorageAccess() 158 fail(e.getMessage()); in testExternalStorageAccess() 198 fail(e.getMessage()); in writeFileCheck() 200 fail(e.getMessage()); in writeFileCheck() 206 fail(e.getMessage()); in writeFileCheck() 213 fail(e.getMessage()); in writeFileCheck()
|
D | LimitExceededExceptionTest.java | 35 assertThat(e.getMessage()).isNull(); in testLimitExceededExceptionCtor() 45 assertThat(e.getMessage()).isEqualTo(testMessage); in testLimitExceededExceptionCtor_withMessage()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | MuxerUnitTest.java | 100 fail(e.getMessage()); in testIfNullPathIsRejected() 116 fail(e.getMessage()); in testIfNullFdIsRejected() 132 fail(e.getMessage()); in testIfInvalidFdIsRejected() 147 fail(e.getMessage()); in testIfReadOnlyFdIsRejected() 179 fail(e.getMessage()); in testIfNonSeekableFdIsRejected() 194 fail(e.getMessage()); in testIfInvalidOutputFormatIsRejected() 275 fail(e.getMessage()); in testIfAddTrackSucceedsAfterStart() 295 fail(e.getMessage()); in testIfAddTrackSucceedsAfterWriteSampleData() 316 fail(e.getMessage()); in testIfAddTrackSucceedsAfterStop() 334 fail(e.getMessage()); in testIfAddTrackSucceedsAfterRelease() [all …]
|
/cts/tests/tests/util/src/android/util/cts/ |
D | XmlTest.java | 123 fail(e.getMessage()); in testParseStringContentHandler() 202 fail(e.getMessage()); in testParseReaderContentHander() 208 fail(e.getMessage()); in testParseReaderContentHander() 237 fail(e.getMessage()); in testParseReaderContentHander() 239 fail(e.getMessage()); in testParseReaderContentHander() 272 fail(e.getMessage()); in testParseInputStreamEncodingContentHandler() 274 fail(e.getMessage()); in testParseInputStreamEncodingContentHandler() 304 fail(e.getMessage()); in testParseInputStreamEncodingContentHandler() 306 fail(e.getMessage()); in testParseInputStreamEncodingContentHandler() 336 fail(e.getMessage()); in testParseInputStreamEncodingContentHandler() [all …]
|
D | AndroidExceptionTest.java | 45 assertEquals(NAME, e.getMessage()); in testAndroidException() 57 assertEquals(NAME, e.getMessage()); in testAndroidException()
|
/cts/tests/app/src/android/app/cts/ |
D | RecoverableSecurityExceptionTest.java | 31 assertEquals(rse.getMessage(), "foo"); in testSimple() 45 assertEquals(before.getMessage(), after.getMessage()); in testParcelable()
|
D | PendingIntent_CanceledExceptionTest.java | 30 assertNull(e.getMessage()); in testConstructor() 38 assertEquals(message, canceledException.getMessage()); in testConstructor()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | ExceptionsTest.java | 50 assertNull(exception.getMessage()); in testCarNotConnectedException() 54 assertEquals(MESSAGE, exception.getMessage()); in testCarNotConnectedException() 58 assertEquals(MESSAGE, exception.getMessage()); in testCarNotConnectedException()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | Asserts.java | 81 assertNotNull("security exception's error message.", expected.getMessage()); in assertReadingContentUriNotAllowed() 89 fail("unexpected SecurityException reading " + uri + ": " + e.getMessage()); in assertReadingContentUriAllowed() 124 assertNotNull("security exception's error message.", expected.getMessage()); in assertOpenFileDescriptorModeNotAllowed() 144 assertNotNull("security exception's error message.", expected.getMessage()); in assertWritingContentUriNotAllowed() 151 assertNotNull("security exception's error message.", expected.getMessage()); in assertWritingContentUriNotAllowed() 158 assertNotNull("security exception's error message.", expected.getMessage()); in assertWritingContentUriNotAllowed() 167 assertNotNull("security exception's error message.", expected.getMessage()); in assertWritingContentUriNotAllowed() 191 fail("unexpected IOException writing " + uri + ": " + e.getMessage()); in assertWritingContentUriAllowed() 193 fail("unexpected SecurityException writing " + uri + ": " + e.getMessage()); in assertWritingContentUriAllowed()
|
/cts/tests/tests/proto/src/android/util/proto/cts/ |
D | ProtoOutputStreamTagTest.java | 100 ex.getMessage()); in checkMessageForType() 111 ex.getMessage()); in checkMessageForType() 136 ex.getMessage()); in checkMessageForCount() 151 ex.getMessage()); in checkMessageForCount()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | BuggyProviderTest.java | 37 fail("Unexpected exception while fetching type: " + e.getMessage()); in testGetTypeDoesntCrashSystem() 47 fail("Unexpected exception while fetching type: " + e.getMessage()); in testGetTypeViaResolverDoesntCrashSystem()
|
D | IntentFilter_MalformedMimeTypeExceptionTest.java | 46 assertEquals(message, mMalformedMimeTypeException.getMessage()); in testMalformedMimeTypeException() 52 assertEquals(message, e.getMessage()); in testMalformedMimeTypeException()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManager_NameNotFoundExceptionTest.java | 33 assertNull(e.getMessage()); in testNameNotFoundException() 41 assertEquals(message, e.getMessage()); in testNameNotFoundException()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowManager_BadTokenExceptionTest.java | 41 assertNull(e.getMessage()); in testBadTokenException() 51 assertEquals(message, e.getMessage()); in testBadTokenException()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | Resources_NotFoundExceptionTest.java | 53 assertEquals(MESSAGE, e.getMessage()); in testNotFoundException() 70 assertEquals(MESSAGE, e.getMessage()); in testNotFoundException()
|
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | ContactsContract_AllUriTest.java | 291 addFailure("Query failed: URI=" + uri + " Message=" + th.getMessage(), th); in checkQueryExecutable() 300 addFailure("Query with cancel failed: URI=" + uri + " Message=" + th.getMessage(), th); in checkQueryExecutable() 311 addFailure("Query with limit failed: URI=" + uri + " Message=" + th.getMessage(), th); in checkQueryExecutable() 326 addFailure("Query with limit failed: URI=" + uri + " Message=" + th.getMessage(), th); in checkQueryExecutable() 536 addFailure("Query failed: URI=" + uri + " Message=" + th.getMessage(), th); in checkColumnAccessible() 612 addFailure(operation + " for '" + uri + "' failed: " + e.getMessage(), e); in checkExecutable() 677 if (e.getMessage().contains("Stream I/O not supported")) { in testAllFileOperations()
|