Home
last modified time | relevance | path

Searched refs:accessibilityServiceInfo (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DUiAutomationManager.java95 Context context, AccessibilityServiceInfo accessibilityServiceInfo, in registerUiTestAutomationServiceLocked() argument
103 accessibilityServiceInfo.setComponentName(COMPONENT_NAME); in registerUiTestAutomationServiceLocked()
106 accessibilityServiceInfo.getId(), flags, in registerUiTestAutomationServiceLocked()
129 mUiAutomationService = new UiAutomationService(context, accessibilityServiceInfo, id, in registerUiTestAutomationServiceLocked()
252 UiAutomationService(Context context, AccessibilityServiceInfo accessibilityServiceInfo, in UiAutomationService() argument
258 super(context, COMPONENT_NAME, accessibilityServiceInfo, id, mainHandler, lock, in UiAutomationService()
DProxyAccessibilityServiceConnection.java87 AccessibilityServiceInfo accessibilityServiceInfo, int id, in ProxyAccessibilityServiceConnection() argument
93 super(/* userState= */null, context, componentName, accessibilityServiceInfo, id, in ProxyAccessibilityServiceConnection()
DAccessibilityServiceConnection.java129 AccessibilityServiceInfo accessibilityServiceInfo, int id, Handler mainHandler, in AccessibilityServiceConnection() argument
134 super(context, componentName, accessibilityServiceInfo, id, mainHandler, lock, in AccessibilityServiceConnection()
DAccessibilityManagerService.java1476 AccessibilityServiceInfo accessibilityServiceInfo, in registerUiTestAutomationService() argument
1484 + ";accessibilityServiceInfo=" + accessibilityServiceInfo + ";flags=" + flags); in registerUiTestAutomationService()
1490 mContext, accessibilityServiceInfo, sIdCounter++, mMainHandler, in registerUiTestAutomationService()
2354 AccessibilityServiceInfo accessibilityServiceInfo; in parseAccessibilityServiceInfos() local
2356 accessibilityServiceInfo = new AccessibilityServiceInfo(resolveInfo, mContext); in parseAccessibilityServiceInfos()
2361 if (!accessibilityServiceInfo.isWithinParcelableSize()) { in parseAccessibilityServiceInfos()
2363 + accessibilityServiceInfo.getResolveInfo().getComponentInfo() in parseAccessibilityServiceInfos()
2367 result.add(accessibilityServiceInfo); in parseAccessibilityServiceInfos()
2375 AccessibilityServiceInfo accessibilityServiceInfo = in readInstalledAccessibilityServiceLocked() local
2377 if (userState.mCrashedServices.contains(accessibilityServiceInfo.getComponentName())) { in readInstalledAccessibilityServiceLocked()
[all …]
DAbstractAccessibilityServiceConnection.java339 AccessibilityServiceInfo accessibilityServiceInfo, int id, Handler mainHandler, in AbstractAccessibilityServiceConnection() argument
349 mAccessibilityServiceInfo = accessibilityServiceInfo; in AbstractAccessibilityServiceConnection()
371 setDynamicallyConfigurableProperties(accessibilityServiceInfo); in AbstractAccessibilityServiceConnection()
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/dialog/
DInvisibleToggleAccessibilityServiceTargetTest.java104 AccessibilityServiceInfo accessibilityServiceInfo = TestUtils.createFakeServiceInfo( in setUp() local
112 Collections.singletonList(accessibilityServiceInfo))); in setUp()
116 ShortcutConstants.UserShortcutType.HARDWARE, accessibilityServiceInfo); in setUp()
/frameworks/base/core/java/com/android/internal/accessibility/util/
DAccessibilityUtils.java178 @NonNull AccessibilityServiceInfo accessibilityServiceInfo) { in getAccessibilityServiceFragmentType()
179 final int targetSdk = accessibilityServiceInfo.getResolveInfo() in getAccessibilityServiceFragmentType()
181 final boolean requestA11yButton = (accessibilityServiceInfo.flags in getAccessibilityServiceFragmentType()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accessibility/
DAccessibilityUtils.java63 final AccessibilityServiceInfo accessibilityServiceInfo = installedServiceInfos.get(i); in hasServiceCrashed() local
68 return accessibilityServiceInfo.crashed; in hasServiceCrashed()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DMenuViewLayerTest.java458 final AccessibilityServiceInfo accessibilityServiceInfo = new AccessibilityServiceInfo(); in setupEnabledAccessibilityServiceList() local
459 accessibilityServiceInfo.setResolveInfo(resolveInfo); in setupEnabledAccessibilityServiceList()
460 accessibilityServiceInfo.flags = AccessibilityServiceInfo.FLAG_REQUEST_ACCESSIBILITY_BUTTON; in setupEnabledAccessibilityServiceList()
462 accessibilityServiceInfo.setComponentName(TEST_SELECT_TO_SPEAK_COMPONENT_NAME); in setupEnabledAccessibilityServiceList()
463 serviceInfoList.add(accessibilityServiceInfo); in setupEnabledAccessibilityServiceList()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityManagerTest.java149 AccessibilityServiceInfo accessibilityServiceInfo = new AccessibilityServiceInfo(); in testGetAccessibilityServiceList() local
150 accessibilityServiceInfo.packageNames = new String[] { "foo.bar" }; in testGetAccessibilityServiceList()
151 expectedServices.add(accessibilityServiceInfo); in testGetAccessibilityServiceList()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityManagerServiceTest.java1828 AccessibilityServiceInfo accessibilityServiceInfo = in mockAccessibilityServiceInfo() local
1830 accessibilityServiceInfo.setComponentName(componentName); in mockAccessibilityServiceInfo()
1832 when(accessibilityServiceInfo.getResolveInfo()).thenReturn(mockResolveInfo); in mockAccessibilityServiceInfo()
1839 accessibilityServiceInfo.flags |= in mockAccessibilityServiceInfo()
1844 return accessibilityServiceInfo; in mockAccessibilityServiceInfo()
DAbstractAccessibilityServiceConnectionTest.java849 AccessibilityServiceInfo accessibilityServiceInfo, int id, Handler mainHandler, in TestAccessibilityServiceConnection() argument
855 super(context, componentName, accessibilityServiceInfo, id, mainHandler, lock, in TestAccessibilityServiceConnection()