Home
last modified time | relevance | path

Searched refs:AccessibilityServiceInfo (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/layoutlib/bridge/src/android/view/accessibility/
DAccessibilityManager.java19 import android.accessibilityservice.AccessibilityServiceInfo;
20 import android.accessibilityservice.AccessibilityServiceInfo.FeedbackType;
134 @NonNull List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList( in getInstalledAccessibilityServiceList()
135 @Nullable List<AccessibilityServiceInfo> installedService); in getInstalledAccessibilityServiceList()
144 @Nullable List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList( in getEnabledAccessibilityServiceList()
146 @Nullable List<AccessibilityServiceInfo> enabledService); in getEnabledAccessibilityServiceList()
245 public List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList() { in getInstalledAccessibilityServiceList()
262 public List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList( in getEnabledAccessibilityServiceList()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accessibility/
DAccessibilityButtonHelper.java19 import android.accessibilityservice.AccessibilityServiceInfo;
39 List<AccessibilityServiceInfo> services = in isRequestedByAccessibilityService()
41 AccessibilityServiceInfo.FEEDBACK_ALL_MASK); in isRequestedByAccessibilityService()
45 & AccessibilityServiceInfo.FLAG_REQUEST_ACCESSIBILITY_BUTTON) in isRequestedByAccessibilityService()
DAccessibilityUtils.java19 import android.accessibilityservice.AccessibilityServiceInfo;
52 List<AccessibilityServiceInfo> enabledServiceInfos) { in hasServiceCrashed()
54 AccessibilityServiceInfo accessibilityServiceInfo = enabledServiceInfos.get(i); in hasServiceCrashed()
199 final List<AccessibilityServiceInfo> installedServiceInfos = in getInstalledServices()
206 for (final AccessibilityServiceInfo info : installedServiceInfos) { in getInstalledServices()
/frameworks/base/core/java/android/view/accessibility/
DIAccessibilityManager.aidl19 import android.accessibilityservice.AccessibilityServiceInfo;
43 List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList(int userId); in getInstalledAccessibilityServiceList()
46 List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList(int feedbackType, int userId); in getEnabledAccessibilityServiceList()
58 in AccessibilityServiceInfo info, int flags); in registerUiTestAutomationService()
DAccessibilityManager.java19 import static android.accessibilityservice.AccessibilityServiceInfo.FLAG_ENABLE_ACCESSIBILITY_VOLUM…
22 import android.accessibilityservice.AccessibilityServiceInfo;
23 import android.accessibilityservice.AccessibilityServiceInfo.FeedbackType;
316 @NonNull List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList( in getInstalledAccessibilityServiceList()
317 @Nullable List<AccessibilityServiceInfo> installedService); in getInstalledAccessibilityServiceList()
326 @Nullable List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList( in getEnabledAccessibilityServiceList()
328 @Nullable List<AccessibilityServiceInfo> enabledService); in getEnabledAccessibilityServiceList()
627 List<AccessibilityServiceInfo> infos = getInstalledAccessibilityServiceList(); in getAccessibilityServiceList()
631 AccessibilityServiceInfo info = infos.get(i); in getAccessibilityServiceList()
642 public List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList() { in getInstalledAccessibilityServiceList()
[all …]
/frameworks/base/core/java/android/app/
DUiAutomationConnection.java19 import android.accessibilityservice.AccessibilityServiceInfo;
443 final AccessibilityServiceInfo info = new AccessibilityServiceInfo(); in registerUiTestAutomationServiceLocked()
445 info.feedbackType = AccessibilityServiceInfo.FEEDBACK_GENERIC; in registerUiTestAutomationServiceLocked()
446 info.flags |= AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS in registerUiTestAutomationServiceLocked()
447 | AccessibilityServiceInfo.FLAG_REPORT_VIEW_IDS in registerUiTestAutomationServiceLocked()
448 | AccessibilityServiceInfo.FLAG_FORCE_DIRECT_BOOT_AWARE; in registerUiTestAutomationServiceLocked()
449 info.setCapabilities(AccessibilityServiceInfo.CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT in registerUiTestAutomationServiceLocked()
450 | AccessibilityServiceInfo.CAPABILITY_CAN_REQUEST_TOUCH_EXPLORATION in registerUiTestAutomationServiceLocked()
451 | AccessibilityServiceInfo.CAPABILITY_CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITY in registerUiTestAutomationServiceLocked()
452 | AccessibilityServiceInfo.CAPABILITY_CAN_REQUEST_FILTER_KEY_EVENTS); in registerUiTestAutomationServiceLocked()
DUiAutomation.java21 import android.accessibilityservice.AccessibilityServiceInfo;
492 public final AccessibilityServiceInfo getServiceInfo() { in getServiceInfo()
518 public final void setServiceInfo(AccessibilityServiceInfo info) { in setServiceInfo()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DUiAutomationShellWrapper.java3 import android.accessibilityservice.AccessibilityServiceInfo;
74 AccessibilityServiceInfo info = mUiAutomation.getServiceInfo(); in setCompressedLayoutHierarchy()
76 info.flags &= ~AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS; in setCompressedLayoutHierarchy()
78 info.flags |= AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS; in setCompressedLayoutHierarchy()
/frameworks/base/core/java/com/android/internal/app/
DAccessibilityButtonChooserActivity.java20 import android.accessibilityservice.AccessibilityServiceInfo;
123 List<AccessibilityServiceInfo> services = ams.getEnabledAccessibilityServiceList( in getServiceAccessibilityButtonTargets()
124 AccessibilityServiceInfo.FEEDBACK_ALL_MASK); in getServiceAccessibilityButtonTargets()
130 for (AccessibilityServiceInfo info : services) { in getServiceAccessibilityButtonTargets()
131 if ((info.flags & AccessibilityServiceInfo.FLAG_REQUEST_ACCESSIBILITY_BUTTON) != 0) { in getServiceAccessibilityButtonTargets()
180 @NonNull AccessibilityServiceInfo serviceInfo) { in AccessibilityButtonTarget()
/frameworks/base/core/tests/coretests/src/android/view/
DAccessibilityInteractionControllerTest.java22 import android.accessibilityservice.AccessibilityServiceInfo;
164 AccessibilityServiceInfo info = sUiAutomation.getServiceInfo(); in enableRetrieveAccessibilityWindows()
165 info.flags |= AccessibilityServiceInfo.FLAG_RETRIEVE_INTERACTIVE_WINDOWS; in enableRetrieveAccessibilityWindows()
181 final AccessibilityServiceInfo info = sUiAutomation.getServiceInfo(); in enableTouchExploration()
183 info.flags |= AccessibilityServiceInfo.FLAG_REQUEST_TOUCH_EXPLORATION_MODE; in enableTouchExploration()
185 info.flags &= ~AccessibilityServiceInfo.FLAG_REQUEST_TOUCH_EXPLORATION_MODE; in enableTouchExploration()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityManagerTest.java30 import android.accessibilityservice.AccessibilityServiceInfo;
97 List<AccessibilityServiceInfo> expectedServices = new ArrayList<>(); in testGetAccessibilityServiceList()
98 AccessibilityServiceInfo accessibilityServiceInfo = new AccessibilityServiceInfo(); in testGetAccessibilityServiceList()
108 List<AccessibilityServiceInfo> receivedServices = in testGetAccessibilityServiceList()
DUiAutomationManagerTest.java27 import android.accessibilityservice.AccessibilityServiceInfo;
58 @Mock AccessibilityServiceInfo mMockServiceInfo;
117 mMockServiceInfo.flags = AccessibilityServiceInfo.FLAG_REQUEST_TOUCH_EXPLORATION_MODE; in isTouchExplorationEnabledLocked_dependsOnInfoFlags()
130 mMockServiceInfo.flags = AccessibilityServiceInfo.FLAG_RETRIEVE_INTERACTIVE_WINDOWS; in canRetrieveInteractiveWindowsLocked_dependsOnInfoFlags()
DAccessibilityServiceConnectionTest.java30 import android.accessibilityservice.AccessibilityServiceInfo;
68 @Mock AccessibilityServiceInfo mMockServiceInfo;
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiAutomatorBridge.java3 import android.accessibilityservice.AccessibilityServiceInfo;
78 AccessibilityServiceInfo info = mUiAutomation.getServiceInfo(); in setCompressedLayoutHierarchy()
80 info.flags &= ~AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS; in setCompressedLayoutHierarchy()
82 info.flags |= AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS; in setCompressedLayoutHierarchy()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DUiAutomationManager.java19 import android.accessibilityservice.AccessibilityServiceInfo;
50 private AccessibilityServiceInfo mUiAutomationServiceInfo;
83 Context context, AccessibilityServiceInfo accessibilityServiceInfo, in registerUiTestAutomationServiceLocked()
181 AccessibilityServiceInfo getServiceInfo() { in getServiceInfo()
222 UiAutomationService(Context context, AccessibilityServiceInfo accessibilityServiceInfo, in UiAutomationService()
268 protected boolean supportsFlagForNotImportantViews(AccessibilityServiceInfo info) { in supportsFlagForNotImportantViews()
DAbstractAccessibilityServiceConnection.java19 import static android.accessibilityservice.AccessibilityServiceInfo.DEFAULT;
23 import android.accessibilityservice.AccessibilityServiceInfo;
91 protected final AccessibilityServiceInfo mAccessibilityServiceInfo;
243 AccessibilityServiceInfo accessibilityServiceInfo, int id, Handler mainHandler, in AbstractAccessibilityServiceConnection()
275 & AccessibilityServiceInfo.CAPABILITY_CAN_REQUEST_FILTER_KEY_EVENTS) == 0) { in onKeyEvent()
289 public void setDynamicallyConfigurableProperties(AccessibilityServiceInfo info) { in setDynamicallyConfigurableProperties()
300 if ((info.flags & AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS) != 0) { in setDynamicallyConfigurableProperties()
307 if ((info.flags & AccessibilityServiceInfo.FLAG_REPORT_VIEW_IDS) != 0) { in setDynamicallyConfigurableProperties()
314 & AccessibilityServiceInfo.FLAG_REQUEST_TOUCH_EXPLORATION_MODE) != 0; in setDynamicallyConfigurableProperties()
316 & AccessibilityServiceInfo.FLAG_REQUEST_FILTER_KEY_EVENTS) != 0; in setDynamicallyConfigurableProperties()
[all …]
DAccessibilityServiceConnection.java21 import android.accessibilityservice.AccessibilityServiceInfo;
71 AccessibilityServiceInfo accessibilityServiceInfo, int id, Handler mainHandler, in AccessibilityServiceConnection()
179 public AccessibilityServiceInfo getServiceInfo() { in getServiceInfo()
DAccessibilityManagerService.java37 import android.accessibilityservice.AccessibilityServiceInfo;
242 private final List<AccessibilityServiceInfo> mTempAccessibilityServiceInfoList =
642 public List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList(int userId) { in getInstalledAccessibilityServiceList()
654 public List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList(int feedbackType, in getEnabledAccessibilityServiceList()
671 final List<AccessibilityServiceInfo> result = new ArrayList<>(serviceCount); in getEnabledAccessibilityServiceList()
847 AccessibilityServiceInfo accessibilityServiceInfo, in registerUiTestAutomationService()
1368 AccessibilityServiceInfo accessibilityServiceInfo; in readInstalledAccessibilityServiceLocked()
1370 accessibilityServiceInfo = new AccessibilityServiceInfo(resolveInfo, mContext); in readInstalledAccessibilityServiceLocked()
1504 @Nullable AccessibilityServiceInfo serviceInfo, Client client) { in isClientInPackageWhitelist()
1618 AccessibilityServiceInfo installedService = userState.mInstalledServices.get(i); in updateServicesLocked()
[all …]
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityServiceInfo.java86 public class AccessibilityServiceInfo implements Parcelable { class
492 public AccessibilityServiceInfo() { in AccessibilityServiceInfo() method in AccessibilityServiceInfo
506 public AccessibilityServiceInfo(ResolveInfo resolveInfo, Context context) in AccessibilityServiceInfo() method in AccessibilityServiceInfo
622 public void updateDynamicallyConfigurableProperties(AccessibilityServiceInfo other) { in updateDynamicallyConfigurableProperties()
907 AccessibilityServiceInfo other = (AccessibilityServiceInfo) obj; in equals()
1228 …public static final @android.annotation.NonNull Parcelable.Creator<AccessibilityServiceInfo> CREAT…
1229 new Parcelable.Creator<AccessibilityServiceInfo>() {
1230 public AccessibilityServiceInfo createFromParcel(Parcel parcel) {
1231 AccessibilityServiceInfo info = new AccessibilityServiceInfo();
1236 public AccessibilityServiceInfo[] newArray(int size) {
[all …]
DIAccessibilityServiceConnection.aidl19 import android.accessibilityservice.AccessibilityServiceInfo;
36 void setServiceInfo(in AccessibilityServiceInfo info); in setServiceInfo()
65 AccessibilityServiceInfo getServiceInfo(); in getServiceInfo()
DAccessibilityServiceInfo.aidl19 parcelable AccessibilityServiceInfo;
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityServiceConnectionImpl.java19 import android.accessibilityservice.AccessibilityServiceInfo;
32 public void setServiceInfo(AccessibilityServiceInfo info) {} in setServiceInfo()
79 public AccessibilityServiceInfo getServiceInfo() { in getServiceInfo()
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java23 import android.accessibilityservice.AccessibilityServiceInfo;
240 final AccessibilityServiceInfo serviceInfo = getInfoForTargetService(); in performAccessibilityShortcut()
290 private AccessibilityServiceInfo getInfoForTargetService() { in getInfoForTargetService()
315 final AccessibilityServiceInfo serviceInfo = mFrameworkObjectProvider in getShortcutFeatureDescription()
330 private boolean isServiceEnabled(AccessibilityServiceInfo serviceInfo) { in isServiceEnabled()
334 AccessibilityServiceInfo.FEEDBACK_ALL_MASK).contains(serviceInfo); in isServiceEnabled()
361 final AccessibilityServiceInfo serviceInfo = getInfoForTargetService(); in performTtsPrompt()
365 if ((serviceInfo.flags & AccessibilityServiceInfo in performTtsPrompt()
/frameworks/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/
DAELogger.java18 import android.accessibilityservice.AccessibilityServiceInfo;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarFragment.java40 import android.accessibilityservice.AccessibilityServiceInfo;
919 final List<AccessibilityServiceInfo> services = in getA11yButtonState()
921 AccessibilityServiceInfo.FEEDBACK_ALL_MASK); in getA11yButtonState()
923 AccessibilityServiceInfo info = services.get(i); in getA11yButtonState()
924 if ((info.flags & AccessibilityServiceInfo.FLAG_REQUEST_ACCESSIBILITY_BUTTON) != 0) { in getA11yButtonState()
929 AccessibilityServiceInfo.FEEDBACK_GENERIC) { in getA11yButtonState()

12