Home
last modified time | relevance | path

Searched refs:AccessibilityServiceInfo (Results 1 – 25 of 47) 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;
61 List<AccessibilityServiceInfo> installedServiceInfos) { in hasServiceCrashed()
63 final AccessibilityServiceInfo accessibilityServiceInfo = installedServiceInfos.get(i); in hasServiceCrashed()
196 final List<AccessibilityServiceInfo> installedServiceInfos = in getInstalledServices()
203 for (final AccessibilityServiceInfo info : installedServiceInfos) { in getInstalledServices()
/frameworks/base/core/java/com/android/internal/accessibility/util/
DAccessibilityUtils.java22 import android.accessibilityservice.AccessibilityServiceInfo;
122 @NonNull AccessibilityServiceInfo accessibilityServiceInfo) { in getAccessibilityServiceFragmentType()
126 & AccessibilityServiceInfo.FLAG_REQUEST_ACCESSIBILITY_BUTTON) != 0; in getAccessibilityServiceFragmentType()
147 final List<AccessibilityServiceInfo> enabledServices = in isAccessibilityServiceEnabled()
148 am.getEnabledAccessibilityServiceList(AccessibilityServiceInfo.FEEDBACK_ALL_MASK); in isAccessibilityServiceEnabled()
150 for (AccessibilityServiceInfo info : enabledServices) { in isAccessibilityServiceEnabled()
/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()
/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/android/view/accessibility/
DIAccessibilityManager.aidl20 import android.accessibilityservice.AccessibilityServiceInfo;
45 List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList(int userId); in getInstalledAccessibilityServiceList()
48 List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList(int feedbackType, int userId); in getEnabledAccessibilityServiceList()
60 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;
358 @NonNull List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList( in getInstalledAccessibilityServiceList()
359 @Nullable List<AccessibilityServiceInfo> installedService); in getInstalledAccessibilityServiceList()
368 @Nullable List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList( in getEnabledAccessibilityServiceList()
370 @Nullable List<AccessibilityServiceInfo> enabledService); in getEnabledAccessibilityServiceList()
669 List<AccessibilityServiceInfo> infos = getInstalledAccessibilityServiceList(); in getAccessibilityServiceList()
673 AccessibilityServiceInfo info = infos.get(i); in getAccessibilityServiceList()
684 public List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList() { in getInstalledAccessibilityServiceList()
[all …]
/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/
DAbstractAccessibilityServiceConnectionTest.java23 import static android.accessibilityservice.AccessibilityServiceInfo.CAPABILITY_CAN_CONTROL_MAGNIFIC…
24 import static android.accessibilityservice.AccessibilityServiceInfo.CAPABILITY_CAN_PERFORM_GESTURES;
25 import static android.accessibilityservice.AccessibilityServiceInfo.CAPABILITY_CAN_REQUEST_FILTER_K…
26 import static android.accessibilityservice.AccessibilityServiceInfo.CAPABILITY_CAN_REQUEST_TOUCH_EX…
27 import static android.accessibilityservice.AccessibilityServiceInfo.CAPABILITY_CAN_RETRIEVE_WINDOW_…
28 import static android.accessibilityservice.AccessibilityServiceInfo.DEFAULT;
29 import static android.accessibilityservice.AccessibilityServiceInfo.FEEDBACK_HAPTIC;
30 import static android.accessibilityservice.AccessibilityServiceInfo.FEEDBACK_SPOKEN;
31 import static android.accessibilityservice.AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEW…
32 import static android.accessibilityservice.AccessibilityServiceInfo.FLAG_REPORT_VIEW_IDS;
[all …]
DAccessibilitySecurityPolicyTest.java37 import android.accessibilityservice.AccessibilityServiceInfo;
329 .thenReturn(AccessibilityServiceInfo.CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT); in canGetAccessibilityNodeInfo_windowIdNotExist_returnFalse()
338 .thenReturn(AccessibilityServiceInfo.CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT); in canGetAccessibilityNodeInfo_hasCapAndWindowIsActive_returnTrue()
349 .thenReturn(AccessibilityServiceInfo.CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT); in canGetAccessibilityNodeInfo_hasCapAndWindowExist_returnTrue()
362 .thenReturn(AccessibilityServiceInfo.CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT); in canRetrieveWindows_retrieveWindowsFlagIsFalse_returnFalse()
370 .thenReturn(AccessibilityServiceInfo.CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT); in canRetrieveWindows_hasCapabilityAndRetrieveWindowsFlag_returnTrue()
379 .thenReturn(AccessibilityServiceInfo.CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT); in canRetrieveWindowContent_hasCapability_returnTrue()
387 .thenReturn(AccessibilityServiceInfo.CAPABILITY_CAN_CONTROL_MAGNIFICATION); in canControlMagnification_hasCapability_returnTrue()
396 .thenReturn(AccessibilityServiceInfo.CAPABILITY_CAN_PERFORM_GESTURES); in canPerformGestures_hasCapability_returnTrue()
405 .thenReturn(AccessibilityServiceInfo.CAPABILITY_CAN_REQUEST_FINGERPRINT_GESTURES); in canCaptureFingerprintGestures_hasCapability_returnTrue()
[all …]
DUiAutomationManagerTest.java29 import android.accessibilityservice.AccessibilityServiceInfo;
61 @Mock AccessibilityServiceInfo mMockServiceInfo;
126 mMockServiceInfo.flags = AccessibilityServiceInfo.FLAG_REQUEST_TOUCH_EXPLORATION_MODE; in isTouchExplorationEnabledLocked_dependsOnInfoFlags()
139 mMockServiceInfo.flags = AccessibilityServiceInfo.FLAG_RETRIEVE_INTERACTIVE_WINDOWS; in canRetrieveInteractiveWindowsLocked_dependsOnInfoFlags()
/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;
52 private AccessibilityServiceInfo mUiAutomationServiceInfo;
86 Context context, AccessibilityServiceInfo accessibilityServiceInfo, in registerUiTestAutomationServiceLocked()
185 AccessibilityServiceInfo getServiceInfo() { in getServiceInfo()
226 UiAutomationService(Context context, AccessibilityServiceInfo accessibilityServiceInfo, in UiAutomationService()
274 protected boolean supportsFlagForNotImportantViews(AccessibilityServiceInfo info) { in supportsFlagForNotImportantViews()
DAbstractAccessibilityServiceConnection.java23 import static android.accessibilityservice.AccessibilityServiceInfo.DEFAULT;
32 import android.accessibilityservice.AccessibilityServiceInfo;
123 protected final AccessibilityServiceInfo mAccessibilityServiceInfo;
242 AccessibilityServiceInfo accessibilityServiceInfo, int id, Handler mainHandler, in AbstractAccessibilityServiceConnection()
281 & AccessibilityServiceInfo.CAPABILITY_CAN_REQUEST_FILTER_KEY_EVENTS) == 0) { in onKeyEvent()
295 public void setDynamicallyConfigurableProperties(AccessibilityServiceInfo info) { in setDynamicallyConfigurableProperties()
306 if ((info.flags & AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS) != 0) { in setDynamicallyConfigurableProperties()
313 if ((info.flags & AccessibilityServiceInfo.FLAG_REPORT_VIEW_IDS) != 0) { in setDynamicallyConfigurableProperties()
320 & AccessibilityServiceInfo.FLAG_REQUEST_TOUCH_EXPLORATION_MODE) != 0; in setDynamicallyConfigurableProperties()
322 & AccessibilityServiceInfo.FLAG_SERVICE_HANDLES_DOUBLE_TAP) != 0; in setDynamicallyConfigurableProperties()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityManagerTest.java30 import android.accessibilityservice.AccessibilityServiceInfo;
109 List<AccessibilityServiceInfo> expectedServices = new ArrayList<>(); in testGetAccessibilityServiceList()
110 AccessibilityServiceInfo accessibilityServiceInfo = new AccessibilityServiceInfo(); in testGetAccessibilityServiceList()
120 List<AccessibilityServiceInfo> receivedServices = in testGetAccessibilityServiceList()
DAccessibilityServiceConnectionImpl.java19 import android.accessibilityservice.AccessibilityServiceInfo;
35 public void setServiceInfo(AccessibilityServiceInfo info) {} in setServiceInfo()
82 public AccessibilityServiceInfo getServiceInfo() { in getServiceInfo()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityServiceInfo.java97 public class AccessibilityServiceInfo implements Parcelable { class
559 public AccessibilityServiceInfo() { in AccessibilityServiceInfo() method in AccessibilityServiceInfo
573 public AccessibilityServiceInfo(ResolveInfo resolveInfo, Context context) in AccessibilityServiceInfo() method in AccessibilityServiceInfo
709 AccessibilityServiceInfo other) { in updateDynamicallyConfigurableProperties()
1077 AccessibilityServiceInfo other = (AccessibilityServiceInfo) obj; in equals()
1408 …public static final @android.annotation.NonNull Parcelable.Creator<AccessibilityServiceInfo> CREAT…
1409 new Parcelable.Creator<AccessibilityServiceInfo>() {
1410 public AccessibilityServiceInfo createFromParcel(Parcel parcel) {
1411 AccessibilityServiceInfo info = new AccessibilityServiceInfo();
1416 public AccessibilityServiceInfo[] newArray(int size) {
[all …]
DIAccessibilityServiceConnection.aidl19 import android.accessibilityservice.AccessibilityServiceInfo;
40 void setServiceInfo(in AccessibilityServiceInfo info); in setServiceInfo()
69 AccessibilityServiceInfo getServiceInfo(); in getServiceInfo()
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
DDumpCommand.java19 import android.accessibilityservice.AccessibilityServiceInfo;
93 AccessibilityServiceInfo info = uiAutomation.getServiceInfo(); in run()
94 info.flags |= AccessibilityServiceInfo.FLAG_RETRIEVE_INTERACTIVE_WINDOWS; in run()
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java25 import android.accessibilityservice.AccessibilityServiceInfo;
244 final AccessibilityServiceInfo serviceInfo = getInfoForTargetService(); in showToast()
253 & AccessibilityServiceInfo.FLAG_REQUEST_ACCESSIBILITY_BUTTON) != 0; in showToast()
333 private AccessibilityServiceInfo getInfoForTargetService() { in getInfoForTargetService()
354 final AccessibilityServiceInfo serviceInfo = mFrameworkObjectProvider in getShortcutFeatureDescription()
369 private boolean isServiceEnabled(AccessibilityServiceInfo serviceInfo) { in isServiceEnabled()
373 AccessibilityServiceInfo.FEEDBACK_ALL_MASK).contains(serviceInfo); in isServiceEnabled()
400 final AccessibilityServiceInfo serviceInfo = getInfoForTargetService(); in performTtsPrompt()
404 if ((serviceInfo.flags & AccessibilityServiceInfo in performTtsPrompt()
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DAccessibilityServiceTarget.java23 import android.accessibilityservice.AccessibilityServiceInfo;
38 @NonNull AccessibilityServiceInfo serviceInfo) { in AccessibilityServiceTarget()
DInvisibleToggleAccessibilityServiceTarget.java26 import android.accessibilityservice.AccessibilityServiceInfo;
41 @NonNull AccessibilityServiceInfo serviceInfo) { in InvisibleToggleAccessibilityServiceTarget()
DToggleAccessibilityServiceTarget.java21 import android.accessibilityservice.AccessibilityServiceInfo;
39 @NonNull AccessibilityServiceInfo serviceInfo) { in ToggleAccessibilityServiceTarget()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DPersonalAppsSuspensionHelper.java19 import static android.accessibilityservice.AccessibilityServiceInfo.FEEDBACK_ALL_MASK;
21 import android.accessibilityservice.AccessibilityServiceInfo;
128 final List<AccessibilityServiceInfo> accessibilityServiceInfos = in getAccessibilityServices()
132 for (final AccessibilityServiceInfo serviceInfo : accessibilityServiceInfos) { in getAccessibilityServices()

12