Searched refs:accessibilityManager (Results 1 – 4 of 4) sorted by relevance
27 private AccessibilityManager accessibilityManager; field in ShadowAccessibilityManagerTest31 accessibilityManager = in setUp()38 shadowOf(accessibilityManager).setEnabled(true); in shouldReturnTrueWhenEnabled()39 assertThat(accessibilityManager.isEnabled()).isTrue(); in shouldReturnTrueWhenEnabled()55 shadowOf(accessibilityManager).setTouchExplorationEnabled(true); in shouldReturnTrueForTouchExplorationWhenEnabled()56 assertThat(accessibilityManager.isTouchExplorationEnabled()).isTrue(); in shouldReturnTrueForTouchExplorationWhenEnabled()62 shadowOf(accessibilityManager).setEnabledAccessibilityServiceList(expected); in shouldReturnExpectedEnabledServiceList()63 assertThat(accessibilityManager.getEnabledAccessibilityServiceList(0)).isEqualTo(expected); in shouldReturnExpectedEnabledServiceList()69 shadowOf(accessibilityManager).setInstalledAccessibilityServiceList(expected); in shouldReturnExpectedInstalledServiceList()70 assertThat(accessibilityManager.getInstalledAccessibilityServiceList()).isEqualTo(expected); in shouldReturnExpectedInstalledServiceList()[all …]
183 AccessibilityManager accessibilityManager = in shouldCorrectlyInstantiatedAccessibilityService() local187 assertThat(accessibilityManager.addTouchExplorationStateChangeListener(listener)).isTrue(); in shouldCorrectlyInstantiatedAccessibilityService()188 assertThat(accessibilityManager.removeTouchExplorationStateChangeListener(listener)).isTrue(); in shouldCorrectlyInstantiatedAccessibilityService()
62 AccessibilityManager accessibilityManager = Shadow.newInstance(AccessibilityManager.class, in createInstance() local65 …ReflectionHelpers.setField(accessibilityManager, "mHandler", new MyHandler(context.getMainLooper()… in createInstance()66 return accessibilityManager; in createInstance()68 …AccessibilityManager accessibilityManager = Shadow.newInstance(AccessibilityManager.class, new Cla… in createInstance() local69 …ReflectionHelpers.setField(accessibilityManager, "mHandler", new MyHandler(context.getMainLooper()… in createInstance()70 return accessibilityManager; in createInstance()159 private final AccessibilityManager accessibilityManager; field in ShadowAccessibilityManager.MyHandler161 MyHandler(Looper mainLooper, AccessibilityManager accessibilityManager) { in MyHandler() argument163 this.accessibilityManager = accessibilityManager; in MyHandler()170 …ReflectionHelpers.callInstanceMethod(accessibilityManager, "setState", ClassParameter.from(int.cla… in handleMessage()
150 AccessibilityManager accessibilityManager = in clearAccessibilityNodeInfoCache() local153 accessibilityManager.sendAccessibilityEvent(AccessibilityEvent in clearAccessibilityNodeInfoCache()