Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutControllerTest.java204 assertFalse(getController().isAccessibilityShortcutAvailable(false)); in testShortcutAvailable_enabledButNoServiceWhenCreated_shouldReturnFalse()
211 assertTrue(getController().isAccessibilityShortcutAvailable(false)); in testShortcutAvailable_enabledWithValidServiceWhenCreated_shouldReturnTrue()
218 assertFalse(getController().isAccessibilityShortcutAvailable(false)); in testShortcutAvailable_disabledWithValidServiceWhenCreated_shouldReturnFalse()
225 assertFalse(getController().isAccessibilityShortcutAvailable(true)); in testShortcutAvailable_onLockScreenButDisabledThere_shouldReturnFalse()
232 assertTrue(getController().isAccessibilityShortcutAvailable(true)); in testShortcutAvailable_onLockScreenAndEnabledThere_shouldReturnTrue()
244 assertFalse(getController().isAccessibilityShortcutAvailable(true)); in testShortcutAvailable_onLockScreenAndLockScreenPreferenceUnset()
246 assertTrue(getController().isAccessibilityShortcutAvailable(true)); in testShortcutAvailable_onLockScreenAndLockScreenPreferenceUnset()
256 assertFalse(accessibilityShortcutController.isAccessibilityShortcutAvailable(false)); in testShortcutAvailable_whenServiceIdBecomesNull_shouldReturnFalse()
266 assertTrue(accessibilityShortcutController.isAccessibilityShortcutAvailable(false)); in testShortcutAvailable_whenServiceIdBecomesNonNull_shouldReturnTrue()
276 assertFalse(accessibilityShortcutController.isAccessibilityShortcutAvailable(false)); in testShortcutAvailable_whenShortcutBecomesDisabled_shouldReturnFalse()
[all …]
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java170 public boolean isAccessibilityShortcutAvailable(boolean phoneLocked) { in isAccessibilityShortcutAvailable() method in AccessibilityShortcutController
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java715 if (mAccessibilityShortcutController.isAccessibilityShortcutAvailable(false)) { in handleMessage()
1365 if (mAccessibilityShortcutController.isAccessibilityShortcutAvailable(isKeyguardLocked()) in interceptAccessibilityShortcutChord()
2672 if (mAccessibilityShortcutController.isAccessibilityShortcutAvailable(false) in interceptKeyBeforeDispatchingInner()
4078 if (mAccessibilityShortcutController.isAccessibilityShortcutAvailable(isKeyguardLocked())) { in interceptKeyBeforeQueueing()
/frameworks/base/config/
Dboot-image-profile.txt19931 …droid/internal/accessibility/AccessibilityShortcutController;->isAccessibilityShortcutAvailable(Z)Z