Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockAccessibilityDelegateTest.java61 assertTrue(isAscii(ev.getContentDescription())); in onInitializeAccessibilityEvent_producesNonEmptyAsciiContentDesc()
70 assertTrue(isAscii(ev.getText())); in onPopulateAccessibilityEvent_producesNonEmptyAsciiText()
81 assertTrue(isAscii(info.getText())); in onInitializeAccessibilityNodeInfo_producesNonEmptyAsciiText()
84 assertTrue(isAscii(info.getContentDescription())); in onInitializeAccessibilityNodeInfo_producesNonEmptyAsciiText()
89 if (!isAscii(m12HoursFormat) || !isAscii(m24HoursFormat)) { in isNeeded_returnsTrueIfDateFormatsContainNonAscii()
102 private boolean isAscii(CharSequence text) { in isAscii() method in KeyguardClockAccessibilityDelegateTest
106 private boolean isAscii(List<CharSequence> texts) { in isAscii() method in KeyguardClockAccessibilityDelegateTest
107 return texts.stream().allMatch(this::isAscii); in isAscii()