Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/data/repository/
DAccessibilityRepositoryTest.kt47 @Mock private lateinit var a11yManager: AccessibilityManager variable in com.android.systemui.accessibility.data.repository.AccessibilityRepositoryTest
50 private val underTest by lazy { AccessibilityRepository(a11yManager) } in <lambda>()
54 whenever(a11yManager.isTouchExplorationEnabled).thenReturn(false) in <lambda>()
61 whenever(a11yManager.isTouchExplorationEnabled).thenReturn(true) in <lambda>()
68 whenever(a11yManager.isTouchExplorationEnabled).thenReturn(false) in <lambda>()
71 withArgCaptor { verify(a11yManager).addTouchExplorationStateChangeListener(capture()) } in <lambda>()
78 whenever(a11yManager.isTouchExplorationEnabled).thenReturn(true) in isTouchExplorationEnabled_reflectsA11yManager_changeFalse()
81 withArgCaptor { verify(a11yManager).addTouchExplorationStateChangeListener(capture()) } in isTouchExplorationEnabled_reflectsA11yManager_changeFalse()
DAccessibilityQsShortcutsRepositoryImplForDeviceTest.kt65 @Mock private lateinit var a11yManager: AccessibilityManager variable in com.android.systemui.accessibility.data.repository.AccessibilityQsShortcutsRepositoryImplForDeviceTest
88 a11yManager, in setUp()
143 Mockito.verify(a11yManager, Mockito.times(1)) in notifyAccessibilityManagerTilesChanged_customTiles_onlyNotifyA11yTileServices()
158 Mockito.verify(a11yManager, Mockito.times(1)) in notifyAccessibilityManagerTilesChanged_noMatchingA11yFrameworkTiles()
177 Mockito.verify(a11yManager, Mockito.times(1)) in notifyAccessibilityManagerTilesChanged_convertA11yTilesSpecToComponentName()
198 whenever(a11yManager.getInstalledAccessibilityShortcutListAsUser(context, context.userId)) in setupInstalledAccessibilityShortcutTargets()
203 whenever(a11yManager.installedAccessibilityServiceList) in setupInstalledAccessibilityServices()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/data/repository/
DAccessibilityRepository.kt36 operator fun invoke(a11yManager: AccessibilityManager): AccessibilityRepository = in invoke()
37 AccessibilityRepositoryImpl(a11yManager) in invoke()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/accessibility/data/repository/
DAccessibilityQsShortcutsRepositoryImplTest.kt45 @Mock private lateinit var a11yManager: AccessibilityManager variable in com.android.systemui.accessibility.data.repository.AccessibilityQsShortcutsRepositoryImplTest
68 a11yManager, in setUp()