Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAccessibilityManagerTest.java27 private AccessibilityManager accessibilityManager; field in ShadowAccessibilityManagerTest
31 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 …]
DShadowApplicationTest.java183 AccessibilityManager accessibilityManager = in shouldCorrectlyInstantiatedAccessibilityService() local
187 assertThat(accessibilityManager.addTouchExplorationStateChangeListener(listener)).isTrue(); in shouldCorrectlyInstantiatedAccessibilityService()
188 assertThat(accessibilityManager.removeTouchExplorationStateChangeListener(listener)).isTrue(); in shouldCorrectlyInstantiatedAccessibilityService()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAccessibilityManager.java62 AccessibilityManager accessibilityManager = Shadow.newInstance(AccessibilityManager.class, in createInstance() local
65 …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() local
69 …ReflectionHelpers.setField(accessibilityManager, "mHandler", new MyHandler(context.getMainLooper()… in createInstance()
70 return accessibilityManager; in createInstance()
159 private final AccessibilityManager accessibilityManager; field in ShadowAccessibilityManager.MyHandler
161 MyHandler(Looper mainLooper, AccessibilityManager accessibilityManager) { in MyHandler() argument
163 this.accessibilityManager = accessibilityManager; in MyHandler()
170 …ReflectionHelpers.callInstanceMethod(accessibilityManager, "setState", ClassParameter.from(int.cla… in handleMessage()
/external/droiddriver/src/io/appium/droiddriver/uiautomation/
DUiAutomationDriver.java150 AccessibilityManager accessibilityManager = in clearAccessibilityNodeInfoCache() local
153 accessibilityManager.sendAccessibilityEvent(AccessibilityEvent in clearAccessibilityNodeInfoCache()