Home
last modified time | relevance | path

Searched refs:LongMessage (Results 1 – 1 of 1) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSupportMessageTest.java45 private static class LongMessage { class in SupportMessageTest
66 setLongMessage(LongMessage.SIMPLE); in testLongSupportMessageSetGetAndClear()
72 setLongMessage(LongMessage.SIMPLE); in testLongAndShortMessagesDoNotClobber()
75 assertEquals(LongMessage.SIMPLE, getLongMessage()); in testLongAndShortMessagesDoNotClobber()
93 mDevicePolicyManager.setLongSupportMessage(ADMIN_RECEIVER_COMPONENT, LongMessage.LONG); in testMaximumLengthPrefixIsSaved()
94 assertEquals(LongMessage.LONG, getLongMessage()); in testMaximumLengthPrefixIsSaved()
99 setLongMessage(LongMessage.EMPTY); in testEmptySupportMessage()
104 setLongMessage(LongMessage.UNICODE); in testUnicodeCharactersInMessage()
109 setLongMessage(LongMessage.CONTAINS_NULL); in testNullCharacterInMessage()
127 mDevicePolicyManager.setLongSupportMessage(null, LongMessage.SIMPLE); in testSetOrGetSupportMessageWithNullAdminFails()