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.java62 assertTrue(isAscii(ev.getContentDescription())); in onInitializeAccessibilityEvent_producesNonEmptyAsciiContentDesc()
71 assertTrue(isAscii(ev.getText())); in onPopulateAccessibilityEvent_producesNonEmptyAsciiText()
82 assertTrue(isAscii(info.getText())); in onInitializeAccessibilityNodeInfo_producesNonEmptyAsciiText()
85 assertTrue(isAscii(info.getContentDescription())); in onInitializeAccessibilityNodeInfo_producesNonEmptyAsciiText()
90 if (!isAscii(m12HoursFormat) || !isAscii(m24HoursFormat)) { in isNeeded_returnsTrueIfDateFormatsContainNonAscii()
103 private boolean isAscii(CharSequence text) { in isAscii() method in KeyguardClockAccessibilityDelegateTest
107 private boolean isAscii(List<CharSequence> texts) { in isAscii() method in KeyguardClockAccessibilityDelegateTest
108 return texts.stream().allMatch(this::isAscii); in isAscii()