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.java216 assertFalse(getController().isAccessibilityShortcutAvailable(false)); in testShortcutAvailable_enabledButNoServiceWhenCreated_shouldReturnFalse()
224 assertTrue(getController().isAccessibilityShortcutAvailable(false)); in testShortcutAvailable_enabledWithValidServiceWhenCreated_shouldReturnTrue()
232 assertFalse(getController().isAccessibilityShortcutAvailable(true)); in testShortcutAvailable_onLockScreenButDisabledThere_shouldReturnFalse()
240 assertTrue(getController().isAccessibilityShortcutAvailable(true)); in testShortcutAvailable_onLockScreenAndEnabledThere_shouldReturnTrue()
252 assertFalse(getController().isAccessibilityShortcutAvailable(true)); in testShortcutAvailable_onLockScreenAndLockScreenPreferenceUnset()
254 assertTrue(getController().isAccessibilityShortcutAvailable(true)); in testShortcutAvailable_onLockScreenAndLockScreenPreferenceUnset()
265 assertFalse(accessibilityShortcutController.isAccessibilityShortcutAvailable(false)); in testShortcutAvailable_whenServiceIdBecomesNull_shouldReturnFalse()
276 assertTrue(accessibilityShortcutController.isAccessibilityShortcutAvailable(false)); in testShortcutAvailable_whenServiceIdBecomesNonNull_shouldReturnTrue()
286 assertTrue(accessibilityShortcutController.isAccessibilityShortcutAvailable(false)); in testShortcutAvailable_whenShortcutBecomesEnabled_shouldReturnTrue()
297 assertFalse(accessibilityShortcutController.isAccessibilityShortcutAvailable(true)); in testShortcutAvailable_whenLockscreenBecomesDisabled_shouldReturnFalse()
[all …]
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java172 public boolean isAccessibilityShortcutAvailable(boolean phoneLocked) { in isAccessibilityShortcutAvailable() method in AccessibilityShortcutController
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java699 if (mAccessibilityShortcutController.isAccessibilityShortcutAvailable(false)) { in handleMessage()
1340 if (mAccessibilityShortcutController.isAccessibilityShortcutAvailable(isKeyguardLocked()) in interceptAccessibilityShortcutChord()
2587 if (mAccessibilityShortcutController.isAccessibilityShortcutAvailable(false) in interceptKeyBeforeDispatching()
3991 if (mAccessibilityShortcutController.isAccessibilityShortcutAvailable(isKeyguardLocked())) { in interceptKeyBeforeQueueing()
/frameworks/base/config/
Dboot-image-profile.txt27499 …droid/internal/accessibility/AccessibilityShortcutController;->isAccessibilityShortcutAvailable(Z)Z