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