/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | ProxyAccessibilityServiceConnectionTest.java | 19 import static android.accessibilityservice.AccessibilityServiceInfo.FEEDBACK_AUDIBLE; 20 import static android.accessibilityservice.AccessibilityServiceInfo.FEEDBACK_GENERIC; 21 import static android.accessibilityservice.AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEW… 22 import static android.accessibilityservice.AccessibilityServiceInfo.FLAG_REPORT_VIEW_IDS; 23 import static android.accessibilityservice.AccessibilityServiceInfo.FLAG_REQUEST_TOUCH_EXPLORATION_… 34 import android.accessibilityservice.AccessibilityServiceInfo; 85 AccessibilityServiceInfo mAccessibilityServiceInfo; 98 mAccessibilityServiceInfo = new AccessibilityServiceInfo(); in setup() 111 final List<AccessibilityServiceInfo> infos = new ArrayList<>(); in testSetInstalledAndEnabledServices_updateInfos_notifiesSystemOfProxyChange() 112 final AccessibilityServiceInfo info1 = new AccessibilityServiceInfo(); in testSetInstalledAndEnabledServices_updateInfos_notifiesSystemOfProxyChange() [all …]
|
D | ProxyManagerTest.java | 38 import android.accessibilityservice.AccessibilityServiceInfo; 294 final AccessibilityServiceInfo secondDisplayInfo = new AccessibilityServiceInfo(); in testGetClientState_proxyWantsTouchExploration_returnsTouchExplorationEnabled() 295 secondDisplayInfo.flags |= AccessibilityServiceInfo.FLAG_REQUEST_TOUCH_EXPLORATION_MODE; in testGetClientState_proxyWantsTouchExploration_returnsTouchExplorationEnabled() 311 final AccessibilityServiceInfo firstDisplayInfo = new AccessibilityServiceInfo(); in testGetRecommendedTimeout_multipleProxies_returnsHighestTimeout() 315 final AccessibilityServiceInfo secondDisplayInfo = new AccessibilityServiceInfo(); in testGetRecommendedTimeout_multipleProxies_returnsHighestTimeout() 335 final AccessibilityServiceInfo info = new AccessibilityServiceInfo(); in testGetInstalledAndEnabledServices_defaultInfo_returnsInfoForDisplayId() 337 final List<AccessibilityServiceInfo> installedAndEnabledServices = in testGetInstalledAndEnabledServices_defaultInfo_returnsInfoForDisplayId() 339 AccessibilityServiceInfo.FEEDBACK_ALL_MASK, DEVICE_ID); in testGetInstalledAndEnabledServices_defaultInfo_returnsInfoForDisplayId() 341 AccessibilityServiceInfo proxyInfo = installedAndEnabledServices.get(0); in testGetInstalledAndEnabledServices_defaultInfo_returnsInfoForDisplayId() 368 final AccessibilityServiceInfo secondDisplayInfo = new AccessibilityServiceInfo(); in testCanRetrieveInteractiveWindows_atLeastOneProxyWantsWindows_returnsTrue() [all …]
|
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 | 42 import android.accessibilityservice.AccessibilityServiceInfo; 147 private AccessibilityServiceInfo mMockA11yServiceInfo; 361 .thenReturn(AccessibilityServiceInfo.CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT); in canGetAccessibilityNodeInfo_windowIdNotExist_returnFalse() 370 .thenReturn(AccessibilityServiceInfo.CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT); in canGetAccessibilityNodeInfo_hasCapAndWindowIsActive_returnTrue() 381 .thenReturn(AccessibilityServiceInfo.CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT); in canGetAccessibilityNodeInfo_hasCapAndWindowExist_returnTrue() 394 .thenReturn(AccessibilityServiceInfo.CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT); in canRetrieveWindows_retrieveWindowsFlagIsFalse_returnFalse() 402 .thenReturn(AccessibilityServiceInfo.CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT); in canRetrieveWindows_hasCapabilityAndRetrieveWindowsFlag_returnTrue() 411 .thenReturn(AccessibilityServiceInfo.CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT); in canRetrieveWindowContent_hasCapability_returnTrue() 419 .thenReturn(AccessibilityServiceInfo.CAPABILITY_CAN_CONTROL_MAGNIFICATION); in canControlMagnification_hasCapability_returnTrue() 428 .thenReturn(AccessibilityServiceInfo.CAPABILITY_CAN_PERFORM_GESTURES); in canPerformGestures_hasCapability_returnTrue() [all …]
|
D | AccessibilityManagerServiceTest.java | 19 import static android.accessibilityservice.AccessibilityServiceInfo.FLAG_REQUEST_ACCESSIBILITY_BUTT… 53 import android.accessibilityservice.AccessibilityServiceInfo; 183 @Mock private AccessibilityServiceInfo mMockServiceInfo; 758 setupAccessibilityServiceConnection(AccessibilityServiceInfo.FLAG_INPUT_METHOD_EDITOR); in testUnbindIme_whenServiceUnbinds() 765 setupAccessibilityServiceConnection(AccessibilityServiceInfo.FLAG_INPUT_METHOD_EDITOR); in testUnbindIme_whenServiceCrashed() 772 setupAccessibilityServiceConnection(AccessibilityServiceInfo.FLAG_INPUT_METHOD_EDITOR); in testUnbindIme_whenServiceStopsRequestingIme() 774 any(IPlatformCompat.class), any(AccessibilityServiceInfo.class)); in testUnbindIme_whenServiceStopsRequestingIme() 775 mAccessibilityServiceConnection.setServiceInfo(new AccessibilityServiceInfo()); in testUnbindIme_whenServiceStopsRequestingIme() 834 final AccessibilityServiceInfo info_a = new AccessibilityServiceInfo(); in testPackagesForceStopped_disablesRelevantService() 836 final AccessibilityServiceInfo info_b = new AccessibilityServiceInfo(); in testPackagesForceStopped_disablesRelevantService() [all …]
|
/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/tests/coretests/src/com/android/internal/accessibility/ |
D | TestUtils.java | 23 import android.accessibilityservice.AccessibilityServiceInfo; 56 public static AccessibilityServiceInfo createFakeServiceInfo( in createFakeServiceInfo() 67 AccessibilityServiceInfo a11yServiceInfo = mock(AccessibilityServiceInfo.class); in createFakeServiceInfo() 74 a11yServiceInfo.flags |= AccessibilityServiceInfo in createFakeServiceInfo()
|
/frameworks/base/core/java/com/android/internal/accessibility/dialog/ |
D | AccessibilityServiceTarget.java | 22 import android.accessibilityservice.AccessibilityServiceInfo; 36 private final AccessibilityServiceInfo mAccessibilityServiceInfo; 40 @NonNull AccessibilityServiceInfo serviceInfo) { in AccessibilityServiceTarget() 70 public AccessibilityServiceInfo getAccessibilityServiceInfo() { in getAccessibilityServiceInfo()
|
D | VolumeShortcutToggleAccessibilityServiceTarget.java | 21 import android.accessibilityservice.AccessibilityServiceInfo; 35 @UserShortcutType int shortcutType, @NonNull AccessibilityServiceInfo serviceInfo) { in VolumeShortcutToggleAccessibilityServiceTarget()
|
D | AccessibilityServiceWarning.java | 21 import android.accessibilityservice.AccessibilityServiceInfo; 55 @NonNull AccessibilityServiceInfo info, in createAccessibilityServiceWarningDialog() 74 AccessibilityServiceInfo info, in createAccessibilityServiceWarningDialogContentView() 133 private static CharSequence getServiceName(Context context, AccessibilityServiceInfo info) {
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/ |
D | UiAutomationShellWrapper.java | 3 import android.accessibilityservice.AccessibilityServiceInfo; 79 AccessibilityServiceInfo info = mUiAutomation.getServiceInfo(); in setCompressedLayoutHierarchy() 81 info.flags &= ~AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS; in setCompressedLayoutHierarchy() 83 info.flags |= AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS; in setCompressedLayoutHierarchy()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | BatteryUtils.java | 19 import android.accessibilityservice.AccessibilityServiceInfo; 64 final List<AccessibilityServiceInfo> serviceInfoList = in getA11yPackageNames() 66 AccessibilityServiceInfo.FEEDBACK_ALL_MASK); in getA11yPackageNames() 70 for (AccessibilityServiceInfo serviceInfo : serviceInfoList) { in getA11yPackageNames()
|
/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
D | AccessibilityManagerTest.java | 40 import android.accessibilityservice.AccessibilityServiceInfo; 148 List<AccessibilityServiceInfo> expectedServices = new ArrayList<>(); in testGetAccessibilityServiceList() 149 AccessibilityServiceInfo accessibilityServiceInfo = new AccessibilityServiceInfo(); in testGetAccessibilityServiceList() 159 List<AccessibilityServiceInfo> receivedServices = in testGetAccessibilityServiceList() 257 ArrayList<AccessibilityServiceInfo> infos = new ArrayList<>(); in testRegisterAccessibilityProxy() 258 infos.add(new AccessibilityServiceInfo()); in testRegisterAccessibilityProxy() 273 final ArrayList<AccessibilityServiceInfo> infos = new ArrayList<>(); in testUnregisterAccessibilityProxy() 274 infos.add(new AccessibilityServiceInfo()); in testUnregisterAccessibilityProxy() 353 @NonNull List<AccessibilityServiceInfo> serviceInfos) { in MyAccessibilityProxy()
|
D | AccessibilityServiceConnectionImpl.java | 20 import android.accessibilityservice.AccessibilityServiceInfo; 45 public void setServiceInfo(AccessibilityServiceInfo info) {} in setServiceInfo() 94 public AccessibilityServiceInfo getServiceInfo() { in getServiceInfo() 223 public void setInstalledAndEnabledServices(List<AccessibilityServiceInfo> infos) in setInstalledAndEnabledServices() 229 public List<AccessibilityServiceInfo> getInstalledAndEnabledServices() throws RemoteException { in getInstalledAndEnabledServices()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | IAccessibilityManager.aidl | 20 import android.accessibilityservice.AccessibilityServiceInfo; 58 ParceledListSlice<AccessibilityServiceInfo> getInstalledAccessibilityServiceList(int userId); in getInstalledAccessibilityServiceList() 62 List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList(int feedbackType, int userId); in getEnabledAccessibilityServiceList() 78 in AccessibilityServiceInfo info, int userId, int flags); in registerUiTestAutomationService() 175 boolean isAccessibilityServiceWarningRequired(in AccessibilityServiceInfo info); in isAccessibilityServiceWarningRequired()
|
D | AccessibilityDisplayProxy.java | 21 import android.accessibilityservice.AccessibilityServiceInfo; 76 private List<AccessibilityServiceInfo> mInstalledAndEnabledServices; 90 @NonNull List<AccessibilityServiceInfo> installedAndEnabledServices) { in AccessibilityDisplayProxy() 195 @NonNull List<AccessibilityServiceInfo> installedAndEnabledServices) { in setInstalledAndEnabledServices() 229 public final List<AccessibilityServiceInfo> getInstalledAndEnabledServices() { in getInstalledAndEnabledServices()
|
/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 | ProxyAccessibilityServiceConnection.java | 22 import android.accessibilityservice.AccessibilityServiceInfo; 74 private List<AccessibilityServiceInfo> mInstalledAndEnabledServices; 87 AccessibilityServiceInfo accessibilityServiceInfo, int id, in ProxyAccessibilityServiceConnection() 131 public void setInstalledAndEnabledServices(@NonNull List<AccessibilityServiceInfo> infos) { in setInstalledAndEnabledServices() 136 final AccessibilityServiceInfo proxyInfo = mAccessibilityServiceInfo; in setInstalledAndEnabledServices() 150 for (AccessibilityServiceInfo info : infos) { in setInstalledAndEnabledServices() 194 private void setDefaultPropertiesIfNullLocked(AccessibilityServiceInfo info) { in setDefaultPropertiesIfNullLocked() 223 public List<AccessibilityServiceInfo> getInstalledAndEnabledServices() { in getInstalledAndEnabledServices() 304 protected boolean supportsFlagForNotImportantViews(AccessibilityServiceInfo info) { in supportsFlagForNotImportantViews() 374 public void setServiceInfo(AccessibilityServiceInfo info) in setServiceInfo() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/fuelgauge/ |
D | BatteryUtilsTest.java | 28 import android.accessibilityservice.AccessibilityServiceInfo; 59 private AccessibilityServiceInfo mAccessibilityServiceInfo1; 61 private AccessibilityServiceInfo mAccessibilityServiceInfo2; 76 .getEnabledAccessibilityServiceList(AccessibilityServiceInfo.FEEDBACK_ALL_MASK); in setUp()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | AccessibilityInteractionControllerTest.java | 22 import android.accessibilityservice.AccessibilityServiceInfo; 182 AccessibilityServiceInfo info = sUiAutomation.getServiceInfo(); in enableRetrieveAccessibilityWindows() 183 info.flags |= AccessibilityServiceInfo.FLAG_RETRIEVE_INTERACTIVE_WINDOWS; in enableRetrieveAccessibilityWindows() 199 final AccessibilityServiceInfo info = sUiAutomation.getServiceInfo(); in enableTouchExploration() 201 info.flags |= AccessibilityServiceInfo.FLAG_REQUEST_TOUCH_EXPLORATION_MODE; in enableTouchExploration() 203 info.flags &= ~AccessibilityServiceInfo.FLAG_REQUEST_TOUCH_EXPLORATION_MODE; in enableTouchExploration()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | IAccessibilityServiceConnection.aidl | 19 import android.accessibilityservice.AccessibilityServiceInfo; 47 void setServiceInfo(in AccessibilityServiceInfo info); in setServiceInfo() 88 AccessibilityServiceInfo getServiceInfo(); in getServiceInfo() 211 void setInstalledAndEnabledServices(in List<AccessibilityServiceInfo> infos); in setInstalledAndEnabledServices() 214 List<AccessibilityServiceInfo> getInstalledAndEnabledServices(); in getInstalledAndEnabledServices()
|
/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/services/core/java/com/android/server/policy/ |
D | TalkbackShortcutController.java | 21 import android.accessibilityservice.AccessibilityServiceInfo; 84 List<AccessibilityServiceInfo> serviceInfos = in getTalkbackComponent() 87 for (AccessibilityServiceInfo service : serviceInfos) { in getTalkbackComponent()
|
/frameworks/base/core/java/android/app/ |
D | UiAutomationConnection.java | 21 import android.accessibilityservice.AccessibilityServiceInfo; 636 final AccessibilityServiceInfo info = new AccessibilityServiceInfo(); in registerUiTestAutomationServiceLocked() 638 info.feedbackType = AccessibilityServiceInfo.FEEDBACK_GENERIC; in registerUiTestAutomationServiceLocked() 639 info.flags |= AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS in registerUiTestAutomationServiceLocked() 640 | AccessibilityServiceInfo.FLAG_REPORT_VIEW_IDS in registerUiTestAutomationServiceLocked() 641 | AccessibilityServiceInfo.FLAG_FORCE_DIRECT_BOOT_AWARE; in registerUiTestAutomationServiceLocked() 642 info.setCapabilities(AccessibilityServiceInfo.CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT in registerUiTestAutomationServiceLocked() 643 | AccessibilityServiceInfo.CAPABILITY_CAN_REQUEST_TOUCH_EXPLORATION in registerUiTestAutomationServiceLocked() 644 | AccessibilityServiceInfo.CAPABILITY_CAN_REQUEST_FILTER_KEY_EVENTS); in registerUiTestAutomationServiceLocked()
|