Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
H A DDozeSuspendScreenStatePreventingAdapter.java51 return isNeeded(params) ? new DozeSuspendScreenStatePreventingAdapter(inner, bgExecutor) in wrapIfNeeded()
55 private static boolean isNeeded(DozeParameters params) { in isNeeded() method in DozeSuspendScreenStatePreventingAdapter
H A DDozeScreenStatePreventingAdapter.java53 return isNeeded(params) ? new DozeScreenStatePreventingAdapter(inner, bgExecutor) : inner; in wrapIfNeeded()
56 private static boolean isNeeded(DozeParameters params) { in isNeeded() method in DozeScreenStatePreventingAdapter
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardClockAccessibilityDelegateTest.java91 assertTrue(KeyguardClockAccessibilityDelegate.isNeeded(mContext)); in isNeeded_returnsTrueIfDateFormatsContainNonAscii()
100 assertEquals(hasFancyColon, KeyguardClockAccessibilityDelegate.isNeeded(mContext)); in isNeeded_returnsWhetherFancyColonExists()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardClockAccessibilityDelegate.java83 public static boolean isNeeded(Context context) { in isNeeded() method in KeyguardClockAccessibilityDelegate
H A DKeyguardStatusView.java74 if (KeyguardClockAccessibilityDelegate.isNeeded(mContext)) { in onFinishInflate()