/frameworks/layoutlib/bridge/src/android/view/accessibility/ |
D | AccessibilityManager.java | 19 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/ |
D | AccessibilityButtonHelper.java | 19 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()
|
D | AccessibilityUtils.java | 19 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/ |
D | AccessibilityUtils.java | 22 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/ |
D | UiAutomationConnection.java | 19 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/ |
D | UiAutomationShellWrapper.java | 3 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/ |
D | IAccessibilityManager.aidl | 20 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()
|
D | AccessibilityManager.java | 19 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/ |
D | AccessibilityInteractionControllerTest.java | 22 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/ |
D | AbstractAccessibilityServiceConnectionTest.java | 23 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 …]
|
D | AccessibilitySecurityPolicyTest.java | 37 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 …]
|
D | UiAutomationManagerTest.java | 29 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/ |
D | UiAutomatorBridge.java | 3 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/ |
D | UiAutomationManager.java | 19 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()
|
D | AbstractAccessibilityServiceConnection.java | 23 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/ |
D | AccessibilityManagerTest.java | 30 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()
|
D | AccessibilityServiceConnectionImpl.java | 19 import android.accessibilityservice.AccessibilityServiceInfo; 35 public void setServiceInfo(AccessibilityServiceInfo info) {} in setServiceInfo() 82 public AccessibilityServiceInfo getServiceInfo() { in getServiceInfo()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | AccessibilityServiceInfo.java | 97 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 …]
|
D | IAccessibilityServiceConnection.aidl | 19 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/ |
D | DumpCommand.java | 19 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/ |
D | AccessibilityShortcutController.java | 25 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/ |
D | AccessibilityServiceTarget.java | 23 import android.accessibilityservice.AccessibilityServiceInfo; 38 @NonNull AccessibilityServiceInfo serviceInfo) { in AccessibilityServiceTarget()
|
D | InvisibleToggleAccessibilityServiceTarget.java | 26 import android.accessibilityservice.AccessibilityServiceInfo; 41 @NonNull AccessibilityServiceInfo serviceInfo) { in InvisibleToggleAccessibilityServiceTarget()
|
D | ToggleAccessibilityServiceTarget.java | 21 import android.accessibilityservice.AccessibilityServiceInfo; 39 @NonNull AccessibilityServiceInfo serviceInfo) { in ToggleAccessibilityServiceTarget()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | PersonalAppsSuspensionHelper.java | 19 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()
|