Home
last modified time | relevance | path

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

123

/frameworks/support/compat/src/main/java/androidx/core/accessibilityservice/
DAccessibilityServiceInfoCompat.java20 import android.accessibilityservice.AccessibilityServiceInfo;
196 @NonNull AccessibilityServiceInfo info, @NonNull PackageManager packageManager) { in loadDescription()
224 case AccessibilityServiceInfo.FEEDBACK_AUDIBLE: in feedbackTypeToString()
227 case AccessibilityServiceInfo.FEEDBACK_HAPTIC: in feedbackTypeToString()
230 case AccessibilityServiceInfo.FEEDBACK_GENERIC: in feedbackTypeToString()
233 case AccessibilityServiceInfo.FEEDBACK_SPOKEN: in feedbackTypeToString()
236 case AccessibilityServiceInfo.FEEDBACK_VISUAL: in feedbackTypeToString()
256 case AccessibilityServiceInfo.DEFAULT: in flagToString()
285 public static int getCapabilities(@NonNull AccessibilityServiceInfo info) { in getCapabilities()
/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;
55 List<AccessibilityServiceInfo> enabledServiceInfos) { in hasServiceCrashed()
57 AccessibilityServiceInfo accessibilityServiceInfo = enabledServiceInfos.get(i); in hasServiceCrashed()
203 final List<AccessibilityServiceInfo> installedServiceInfos = in getInstalledServices()
210 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()
45 List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList(int feedbackType, int userId); in getEnabledAccessibilityServiceList()
57 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;
261 @NonNull List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList( in getInstalledAccessibilityServiceList()
262 @Nullable List<AccessibilityServiceInfo> installedService); in getInstalledAccessibilityServiceList()
271 @Nullable List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList( in getEnabledAccessibilityServiceList()
273 @Nullable List<AccessibilityServiceInfo> enabledService); in getEnabledAccessibilityServiceList()
568 List<AccessibilityServiceInfo> infos = getInstalledAccessibilityServiceList(); in getAccessibilityServiceList()
572 AccessibilityServiceInfo info = infos.get(i); in getAccessibilityServiceList()
583 public List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList() { in getInstalledAccessibilityServiceList()
[all …]
/frameworks/base/core/java/android/app/
DUiAutomationConnection.java19 import android.accessibilityservice.AccessibilityServiceInfo;
386 final AccessibilityServiceInfo info = new AccessibilityServiceInfo(); in registerUiTestAutomationServiceLocked()
388 info.feedbackType = AccessibilityServiceInfo.FEEDBACK_GENERIC; in registerUiTestAutomationServiceLocked()
389 info.flags |= AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS in registerUiTestAutomationServiceLocked()
390 | AccessibilityServiceInfo.FLAG_REPORT_VIEW_IDS in registerUiTestAutomationServiceLocked()
391 | AccessibilityServiceInfo.FLAG_FORCE_DIRECT_BOOT_AWARE; in registerUiTestAutomationServiceLocked()
392 info.setCapabilities(AccessibilityServiceInfo.CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT in registerUiTestAutomationServiceLocked()
393 | AccessibilityServiceInfo.CAPABILITY_CAN_REQUEST_TOUCH_EXPLORATION in registerUiTestAutomationServiceLocked()
394 | AccessibilityServiceInfo.CAPABILITY_CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITY in registerUiTestAutomationServiceLocked()
395 | 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/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/accessibility/
DAccessibilityManagerSupportActivity.java19 import android.accessibilityservice.AccessibilityServiceInfo;
99 List<AccessibilityServiceInfo> enabledServices = in updateAccessibilityStateView()
101 AccessibilityServiceInfo.FEEDBACK_SPOKEN); in updateAccessibilityStateView()
106 AccessibilityServiceInfo service = enabledServices.get(i); in updateAccessibilityStateView()
/frameworks/base/core/java/com/android/internal/app/
DAccessibilityButtonChooserActivity.java18 import android.accessibilityservice.AccessibilityServiceInfo;
98 List<AccessibilityServiceInfo> services = ams.getEnabledAccessibilityServiceList( in getServiceAccessibilityButtonTargets()
99 AccessibilityServiceInfo.FEEDBACK_ALL_MASK); in getServiceAccessibilityButtonTargets()
105 for (AccessibilityServiceInfo info : services) { in getServiceAccessibilityButtonTargets()
106 if ((info.flags & AccessibilityServiceInfo.FLAG_REQUEST_ACCESSIBILITY_BUTTON) != 0) { in getServiceAccessibilityButtonTargets()
155 @NonNull AccessibilityServiceInfo serviceInfo) { in AccessibilityButtonTarget()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityManagerTest.java29 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;
59 @Mock AccessibilityServiceInfo mMockServiceInfo;
119 mMockServiceInfo.flags = AccessibilityServiceInfo.FLAG_REQUEST_TOUCH_EXPLORATION_MODE; in isTouchExplorationEnabledLocked_dependsOnInfoFlags()
132 mMockServiceInfo.flags = AccessibilityServiceInfo.FLAG_RETRIEVE_INTERACTIVE_WINDOWS; in canRetrieveInteractiveWindowsLocked_dependsOnInfoFlags()
DAccessibilityServiceConnectionTest.java29 import android.accessibilityservice.AccessibilityServiceInfo;
66 @Mock AccessibilityServiceInfo mMockServiceInfo;
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DUiAutomationManager.java19 import android.accessibilityservice.AccessibilityServiceInfo;
48 private AccessibilityServiceInfo mUiAutomationServiceInfo;
79 Context context, AccessibilityServiceInfo accessibilityServiceInfo, in registerUiTestAutomationServiceLocked()
167 AccessibilityServiceInfo getServiceInfo() { in getServiceInfo()
194 UiAutomationService(Context context, AccessibilityServiceInfo accessibilityServiceInfo, in UiAutomationService()
240 protected boolean supportsFlagForNotImportantViews(AccessibilityServiceInfo info) { in supportsFlagForNotImportantViews()
DAbstractAccessibilityServiceConnection.java19 import static android.accessibilityservice.AccessibilityServiceInfo.DEFAULT;
23 import android.accessibilityservice.AccessibilityServiceInfo;
90 protected final AccessibilityServiceInfo mAccessibilityServiceInfo;
242 AccessibilityServiceInfo accessibilityServiceInfo, int id, Handler mainHandler, in AbstractAccessibilityServiceConnection()
274 & AccessibilityServiceInfo.CAPABILITY_CAN_REQUEST_FILTER_KEY_EVENTS) == 0) { in onKeyEvent()
285 public void setDynamicallyConfigurableProperties(AccessibilityServiceInfo info) { in setDynamicallyConfigurableProperties()
296 if ((info.flags & AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS) != 0) { in setDynamicallyConfigurableProperties()
303 if ((info.flags & AccessibilityServiceInfo.FLAG_REPORT_VIEW_IDS) != 0) { in setDynamicallyConfigurableProperties()
310 & AccessibilityServiceInfo.FLAG_REQUEST_TOUCH_EXPLORATION_MODE) != 0; in setDynamicallyConfigurableProperties()
312 & AccessibilityServiceInfo.FLAG_REQUEST_FILTER_KEY_EVENTS) != 0; in setDynamicallyConfigurableProperties()
[all …]
DAccessibilityServiceConnection.java23 import android.accessibilityservice.AccessibilityServiceInfo;
71 AccessibilityServiceInfo accessibilityServiceInfo, int id, Handler mainHandler, in AccessibilityServiceConnection()
169 public AccessibilityServiceInfo getServiceInfo() { in getServiceInfo()
DAccessibilityManagerService.java29 import android.accessibilityservice.AccessibilityServiceInfo;
230 private final List<AccessibilityServiceInfo> mTempAccessibilityServiceInfoList =
591 public List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList(int userId) { in getInstalledAccessibilityServiceList()
603 public List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList(int feedbackType, in getEnabledAccessibilityServiceList()
620 final List<AccessibilityServiceInfo> result = new ArrayList<>(serviceCount); in getEnabledAccessibilityServiceList()
791 AccessibilityServiceInfo accessibilityServiceInfo, in registerUiTestAutomationService()
1299 AccessibilityServiceInfo accessibilityServiceInfo; in readInstalledAccessibilityServiceLocked()
1301 accessibilityServiceInfo = new AccessibilityServiceInfo(resolveInfo, mContext); in readInstalledAccessibilityServiceLocked()
1435 @Nullable AccessibilityServiceInfo serviceInfo, Client client) { in isClientInPackageWhitelist()
1548 AccessibilityServiceInfo installedService = userState.mInstalledServices.get(i); in updateServicesLocked()
[all …]
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityServiceInfo.java83 public class AccessibilityServiceInfo implements Parcelable { class
474 public AccessibilityServiceInfo() { in AccessibilityServiceInfo() method in AccessibilityServiceInfo
488 public AccessibilityServiceInfo(ResolveInfo resolveInfo, Context context) in AccessibilityServiceInfo() method in AccessibilityServiceInfo
598 public void updateDynamicallyConfigurableProperties(AccessibilityServiceInfo other) { in updateDynamicallyConfigurableProperties()
822 AccessibilityServiceInfo other = (AccessibilityServiceInfo) obj; in equals()
1137 public static final Parcelable.Creator<AccessibilityServiceInfo> CREATOR =
1138 new Parcelable.Creator<AccessibilityServiceInfo>() {
1139 public AccessibilityServiceInfo createFromParcel(Parcel parcel) {
1140 AccessibilityServiceInfo info = new AccessibilityServiceInfo();
1145 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/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/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/support/compat/src/main/java/androidx/core/view/accessibility/
DAccessibilityManagerCompat.java19 import android.accessibilityservice.AccessibilityServiceInfo;
115 public static List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList( in getInstalledAccessibilityServiceList()
138 public static List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList( in getEnabledAccessibilityServiceList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAccessibilityManagerWrapper.java17 import android.accessibilityservice.AccessibilityServiceInfo;
65 public List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList( in getEnabledAccessibilityServiceList()
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java19 import android.accessibilityservice.AccessibilityServiceInfo;
246 final AccessibilityServiceInfo serviceInfo = getInfoForTargetService(); in performAccessibilityShortcut()
296 private AccessibilityServiceInfo getInfoForTargetService() { in getInfoForTargetService()
321 final AccessibilityServiceInfo serviceInfo = mFrameworkObjectProvider in getShortcutFeatureDescription()
336 private boolean isServiceEnabled(AccessibilityServiceInfo serviceInfo) { in isServiceEnabled()
340 AccessibilityServiceInfo.FEEDBACK_ALL_MASK).contains(serviceInfo); in isServiceEnabled()

123