Searched refs:isAccessibilityShortcutAvailable (Results 1 – 4 of 4) sorted by relevance
244 assertThat(getController().isAccessibilityShortcutAvailable(false)).isFalse(); in testShortcutAvailable_enabledButNoServiceWhenCreated_shouldReturnFalse()252 assertThat(getController().isAccessibilityShortcutAvailable(false)).isTrue(); in testShortcutAvailable_enabledWithValidServiceWhenCreated_shouldReturnTrue()260 assertThat(getController().isAccessibilityShortcutAvailable(true)).isFalse(); in testShortcutAvailable_onLockScreenButDisabledThere_shouldReturnFalse()268 assertThat(getController().isAccessibilityShortcutAvailable(true)).isTrue(); in testShortcutAvailable_onLockScreenAndEnabledThere_shouldReturnTrue()282 assertThat(getController().isAccessibilityShortcutAvailable(true)).isFalse(); in testShortcutAvailable_onLockScreenAndLockScreenPreferenceUnset()286 assertThat(getController().isAccessibilityShortcutAvailable(true)).isTrue(); in testShortcutAvailable_onLockScreenAndLockScreenPreferenceUnset()298 accessibilityShortcutController.isAccessibilityShortcutAvailable(false) in testShortcutAvailable_whenServiceIdBecomesNull_shouldReturnFalse()311 accessibilityShortcutController.isAccessibilityShortcutAvailable(false) in testShortcutAvailable_whenServiceIdBecomesNonNull_shouldReturnTrue()323 accessibilityShortcutController.isAccessibilityShortcutAvailable(false) in testShortcutAvailable_whenShortcutBecomesEnabled_shouldReturnTrue()336 accessibilityShortcutController.isAccessibilityShortcutAvailable(true) in testShortcutAvailable_whenLockscreenBecomesDisabled_shouldReturnFalse()[all …]
226 public boolean isAccessibilityShortcutAvailable(boolean phoneLocked) { in isAccessibilityShortcutAvailable() method in AccessibilityShortcutController
414 .isAccessibilityShortcutAvailable(anyBoolean()); in overrideLaunchAccessibility()
798 if (mAccessibilityShortcutController.isAccessibilityShortcutAvailable(false)) { in handleMessage()2491 .isAccessibilityShortcutAvailable(isKeyguardLocked());4074 .isAccessibilityShortcutAvailable(isKeyguardLocked())) {