/cts/tests/admin/src/android/admin/cts/ |
D | DevicePolicyManagerTest.java | 121 assertDeviceOwnerMessage(e.getMessage()); in testRequestRemoteBugreport_failIfNotDeviceOwner() 134 assertDeviceOwnerMessage(e.getMessage()); in testSetSecurityLoggingEnabled_failIfNotDeviceOwner() 147 assertDeviceOwnerMessage(e.getMessage()); in testIsSecurityLoggingEnabled_failIfNotDeviceOwner() 160 assertDeviceOwnerMessage(e.getMessage()); in testRetrieveSecurityLogs_failIfNotDeviceOwner() 173 assertDeviceOwnerMessage(e.getMessage()); in testRetrievePreRebootSecurityLogs_failIfNotDeviceOwner() 186 assertDeviceOwnerMessage(e.getMessage()); in testRemoveUser_failIfNotDeviceOwner() 199 assertProfileOwnerMessage(e.getMessage()); in testSetApplicationHidden_failIfNotDeviceOrProfileOwner() 212 assertProfileOwnerMessage(e.getMessage()); in testIsApplicationHidden_failIfNotDeviceOrProfileOwner() 226 assertDeviceOwnerMessage(e.getMessage()); in testSetGlobalSetting_failIfNotDeviceOwner() 240 assertProfileOwnerMessage(e.getMessage()); in testSetSecureSetting_failIfNotDeviceOrProfileOwner() [all …]
|
/cts/tests/tests/car/src/android/car/cts/ |
D | ExceptionsTest.java | 28 assertNull(exception.getMessage()); in testCarNotConnectedException() 32 assertEquals(MESSAGE, exception.getMessage()); in testCarNotConnectedException() 36 assertEquals(MESSAGE, exception.getMessage()); in testCarNotConnectedException() 45 assertNull(exception.getMessage()); in testCarNotSupportedException() 49 assertEquals(MESSAGE, exception.getMessage()); in testCarNotSupportedException() 53 assertEquals(MESSAGE, exception.getMessage()); in testCarNotSupportedException()
|
/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/tests/provider/src/android/provider/cts/ |
D | ContactsMetadataProviderTest.java | 49 MoreAsserts.assertContainsRegex("can't access ContactMetadataProvider", e.getMessage()); in testCallerCheck() 55 MoreAsserts.assertContainsRegex("can't access ContactMetadataProvider", e.getMessage()); in testCallerCheck() 61 MoreAsserts.assertContainsRegex("can't access ContactMetadataProvider", e.getMessage()); in testCallerCheck() 67 MoreAsserts.assertContainsRegex("can't access ContactMetadataProvider", e.getMessage()); in testCallerCheck()
|
D | BlockedNumberContractTest.java | 170 assertTrue(expected.getMessage().contains("Unsupported URI")); in testInsert_failsWithInvalidInputs() 178 assertTrue(expected.getMessage().contains("Missing a required column")); in testInsert_failsWithInvalidInputs() 187 assertTrue(expected.getMessage().contains("Missing a required column")); in testInsert_failsWithInvalidInputs() 196 assertTrue(expected.getMessage().contains("must not be specified")); in testInsert_failsWithInvalidInputs() 275 assertTrue(expected.getMessage().contains("selection must be null")); in testDelete_failsOnInvalidInputs() 313 assertTrue(expected.getMessage().contains("Unsupported method")); in testAccessingNonExistentMethod_fails()
|
/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 | SQLExceptionTest.java | 31 assertNull(e.getMessage()); in testConstructors() 38 assertEquals(expected1, e.getMessage()); in testConstructors()
|
D | StaleDataExceptionTest.java | 30 assertNull(e.getMessage()); in testConstructors() 37 assertEquals(expected1, e.getMessage()); in testConstructors()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | FileAccessPermissionTest.java | 116 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()
|
D | ConditionVariableTest.java | 63 fail(e.getMessage()); in testConditionVariable() 82 fail(e.getMessage()); in testConditionVariable()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | SecurityLoggingTest.java | 36 assertEquals(e.getMessage(), MESSAGE_ONLY_ONE_MANAGED_USER_ALLOWED); in testSetSecurityLoggingEnabledNotPossibleIfMoreThanOneUserPresent() 48 assertEquals(e.getMessage(), MESSAGE_ONLY_ONE_MANAGED_USER_ALLOWED); in testRetrievingSecurityLogsNotPossibleIfMoreThanOneUserPresent() 60 assertEquals(e.getMessage(), MESSAGE_ONLY_ONE_MANAGED_USER_ALLOWED); in testRetrievingPreviousSecurityLogsNotPossibleIfMoreThanOneUserPresent()
|
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/ |
D | WifiTest.java | 24 if (!e.getMessage().contains("for policy #-2")) { in testGetWifiMacAddress() 25 fail("Unexpected exception message: " + e.getMessage()); in testGetWifiMacAddress()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | ProviderPermissionTest.java | 87 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/util/src/android/util/cts/ |
D | XmlTest.java | 115 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 …]
|
D | XmlEncodingTest.java | 100 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()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | WindowManager_BadTokenExceptionTest.java | 29 assertNull(e.getMessage()); in testBadTokenException() 39 assertEquals(message, e.getMessage()); in testBadTokenException()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManager_NameNotFoundExceptionTest.java | 31 assertNull(e.getMessage()); in testNameNotFoundException() 39 assertEquals(message, e.getMessage()); in testNameNotFoundException()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | IntentFilter_MalformedMimeTypeExceptionTest.java | 46 assertEquals(message, mMalformedMimeTypeException.getMessage()); in testMalformedMimeTypeException() 52 assertEquals(message, e.getMessage()); in testMalformedMimeTypeException()
|
/cts/tests/app/src/android/app/cts/ |
D | PendingIntent_CanceledExceptionTest.java | 30 assertNull(e.getMessage()); in testConstructor() 38 assertEquals(message, canceledException.getMessage()); in testConstructor()
|
/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/common/util/tests/src/com/android/compatibility/common/util/ |
D | ReportLogTest.java | 102 assertEquals("Sample", report.getSummary().getMessage()); in testParse_summaryOnly() 108 assertEquals("Sample", report.getSummary().getMessage()); in testParse_full() 129 assertEquals("Expected message to be ok", MESSAGE, metric.getMessage()); in testLimits_message() 138 metric.getMessage()); in testLimits_message()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/ |
D | BaseUserRestrictionsTest.java | 153 assertTrue("Restriction=" + restriction + " Message was: " + e.getMessage(), in assertCannotSetUserRestriction() 154 e.getMessage().contains("cannot set user restriction")); in assertCannotSetUserRestriction() 166 assertTrue("Restriction=" + restriction + " Message was: " + e.getMessage(), in assertCannotSetUserRestriction() 167 e.getMessage().contains("cannot set user restriction")); in assertCannotSetUserRestriction()
|
/cts/hostsidetests/devicepolicy/app/AppRestrictionsManagingApp/src/com/android/cts/apprestrictions/managingapp/ |
D | ApplicationRestrictionsManagerTest.java | 98 "cannot manage application restrictions", expected.getMessage()); in testCannotManageAppRestrictions() 105 "cannot manage application restrictions", expected.getMessage()); in testCannotManageAppRestrictions() 144 MoreAsserts.assertContainsRegex("No active admin", expected.getMessage()); in testSettingComponentNameThrowsException() 151 MoreAsserts.assertContainsRegex("No active admin", expected.getMessage()); in testSettingComponentNameThrowsException()
|
/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/ |
D | DeviceAdminPasswordTest.java | 52 MoreAsserts.assertContainsRegex("Admin cannot change current password", e.getMessage()); in checkSetPassword_nycRestrictions_failure() 66 MoreAsserts.assertContainsRegex("Cannot call with null password", e.getMessage()); in checkClearPassword_nycRestrictions_failure()
|
/cts/tools/vm-tests-tf/src/util/build/ |
D | DasmBuildStep.java | 71 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()
|