Searched refs:isAccessibilityShortcutAvailable (Results 1 – 4 of 4) sorted by relevance
216 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 …]
172 public boolean isAccessibilityShortcutAvailable(boolean phoneLocked) { in isAccessibilityShortcutAvailable() method in AccessibilityShortcutController
699 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()
27499 …droid/internal/accessibility/AccessibilityShortcutController;->isAccessibilityShortcutAvailable(Z)Z