Home
last modified time | relevance | path

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

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSmsMessageTest.java159 private void assertRemaining(int messageLength, int remaining, int maxChars) { in assertRemaining() argument
161 assertTrue(checkRemaining(SEPTETS_SKT, messageLength, remaining) in assertRemaining()
162 || checkRemaining(maxChars, messageLength, remaining)); in assertRemaining()
164 assertTrue(checkRemaining(SEPTETS_KT, messageLength, remaining) in assertRemaining()
165 || checkRemaining(maxChars, messageLength, remaining)); in assertRemaining()
167 assertTrue(checkRemaining(maxChars, messageLength, remaining)); in assertRemaining()
171 private boolean checkRemaining(int total, int messageLength, int remaining) { in checkRemaining() argument
172 return total - messageLength == remaining; in checkRemaining()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DLockScreenInfoTest.java60 final int messageLength = 128; in testReasonablyLongString() local
61 setLockInfo(new String(new char[messageLength]).replace('\0', 'Z')); in testReasonablyLongString()