Home
last modified time | relevance | path

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

12

/frameworks/support/v4/java/android/support/v4/accessibilityservice/
DAccessibilityServiceInfoCompat.java20 import android.accessibilityservice.AccessibilityServiceInfo;
32 public String getId(AccessibilityServiceInfo info); in getId()
33 public ResolveInfo getResolveInfo(AccessibilityServiceInfo info); in getResolveInfo()
34 public boolean getCanRetrieveWindowContent(AccessibilityServiceInfo info); in getCanRetrieveWindowContent()
35 public String getDescription(AccessibilityServiceInfo info); in getDescription()
36 public String getSettingsActivityName(AccessibilityServiceInfo info); in getSettingsActivityName()
37 public int getCapabilities(AccessibilityServiceInfo info); in getCapabilities()
42 public boolean getCanRetrieveWindowContent(AccessibilityServiceInfo info) { in getCanRetrieveWindowContent()
46 public String getDescription(AccessibilityServiceInfo info) { in getDescription()
50 public String getId(AccessibilityServiceInfo info) { in getId()
[all …]
/frameworks/support/v4/ics/android/support/v4/accessibilityservice/
DAccessibilityServiceInfoCompatIcs.java20 import android.accessibilityservice.AccessibilityServiceInfo;
28 public static boolean getCanRetrieveWindowContent(AccessibilityServiceInfo info) { in getCanRetrieveWindowContent()
32 public static String getDescription(AccessibilityServiceInfo info) { in getDescription()
36 public static String getId(AccessibilityServiceInfo info) { in getId()
40 public static ResolveInfo getResolveInfo(AccessibilityServiceInfo info) { in getResolveInfo()
44 public static String getSettingsActivityName(AccessibilityServiceInfo info) { in getSettingsActivityName()
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityManagerCompat.java19 import android.accessibilityservice.AccessibilityServiceInfo;
40 public List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList( in getEnabledAccessibilityServiceList()
42 public List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList( in getInstalledAccessibilityServiceList()
63 public List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList( in getEnabledAccessibilityServiceList()
68 public List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList( in getInstalledAccessibilityServiceList()
106 public List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList( in getEnabledAccessibilityServiceList()
113 public List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList( in getInstalledAccessibilityServiceList()
165 public static List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList(
184 public static List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList(
/frameworks/base/services/core/java/com/android/server/policy/
DEnableAccessibilityController.java19 import android.accessibilityservice.AccessibilityServiceInfo;
125 AccessibilityServiceInfo.FEEDBACK_SPOKEN).isEmpty()) { in canEnableAccessibilityViaGesture()
135 private static List<AccessibilityServiceInfo> getInstalledSpeakingAccessibilityServices( in getInstalledSpeakingAccessibilityServices()
137 List<AccessibilityServiceInfo> services = new ArrayList<AccessibilityServiceInfo>(); in getInstalledSpeakingAccessibilityServices()
140 Iterator<AccessibilityServiceInfo> iterator = services.iterator(); in getInstalledSpeakingAccessibilityServices()
142 AccessibilityServiceInfo service = iterator.next(); in getInstalledSpeakingAccessibilityServices()
143 if ((service.feedbackType & AccessibilityServiceInfo.FEEDBACK_SPOKEN) == 0) { in getInstalledSpeakingAccessibilityServices()
216 List<AccessibilityServiceInfo> services = getInstalledSpeakingAccessibilityServices( in enableAccessibility()
230 AccessibilityServiceInfo service = services.get(0); in enableAccessibility()
232 & AccessibilityServiceInfo.FLAG_REQUEST_TOUCH_EXPLORATION_MODE) != 0; in enableAccessibility()
[all …]
/frameworks/base/core/java/android/view/accessibility/
DIAccessibilityManager.aidl20 import android.accessibilityservice.AccessibilityServiceInfo;
42 List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList(int userId); in getInstalledAccessibilityServiceList()
44 List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList(int feedbackType, int userId); in getEnabledAccessibilityServiceList()
54 in AccessibilityServiceInfo info); in registerUiTestAutomationService()
DAccessibilityManager.java20 import android.accessibilityservice.AccessibilityServiceInfo;
369 List<AccessibilityServiceInfo> infos = getInstalledAccessibilityServiceList(); in getAccessibilityServiceList()
373 AccessibilityServiceInfo info = infos.get(i); in getAccessibilityServiceList()
384 public List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList() { in getInstalledAccessibilityServiceList()
395 List<AccessibilityServiceInfo> services = null; in getInstalledAccessibilityServiceList()
425 public List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList( in getEnabledAccessibilityServiceList()
437 List<AccessibilityServiceInfo> services = null; in getEnabledAccessibilityServiceList()
/frameworks/base/core/java/android/app/
DUiAutomationConnection.java19 import android.accessibilityservice.AccessibilityServiceInfo;
325 AccessibilityServiceInfo info = new AccessibilityServiceInfo(); in registerUiTestAutomationServiceLocked()
327 info.feedbackType = AccessibilityServiceInfo.FEEDBACK_GENERIC; in registerUiTestAutomationServiceLocked()
328 info.flags |= AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS in registerUiTestAutomationServiceLocked()
329 | AccessibilityServiceInfo.FLAG_REPORT_VIEW_IDS; in registerUiTestAutomationServiceLocked()
330 info.setCapabilities(AccessibilityServiceInfo.CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT in registerUiTestAutomationServiceLocked()
331 | AccessibilityServiceInfo.CAPABILITY_CAN_REQUEST_TOUCH_EXPLORATION in registerUiTestAutomationServiceLocked()
332 | AccessibilityServiceInfo.CAPABILITY_CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITY in registerUiTestAutomationServiceLocked()
333 | AccessibilityServiceInfo.CAPABILITY_CAN_REQUEST_FILTER_KEY_EVENTS); in registerUiTestAutomationServiceLocked()
DUiAutomation.java21 import android.accessibilityservice.AccessibilityServiceInfo;
335 public final AccessibilityServiceInfo getServiceInfo() { in getServiceInfo()
361 public final void setServiceInfo(AccessibilityServiceInfo info) { in setServiceInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DAccessibilityManagerServiceTest.java20 import android.accessibilityservice.AccessibilityServiceInfo;
164 for (AccessibilityServiceInfo info : mManagerService.getInstalledAccessibilityServiceList( in testGetAccessibilityServicesList()
282 AccessibilityServiceInfo info = MockAccessibilityService.createDefaultInfo(); in testSendAccessibilityEvent_OneService_NotifivationAfterTimeout()
333 AccessibilityServiceInfo firstInfo = MockAccessibilityService.createDefaultInfo(); in testSendAccessibilityEvent_TwoServices_MatchingPackageAndEventType_DiffFeedback()
334 firstInfo.feedbackType = AccessibilityServiceInfo.FEEDBACK_AUDIBLE; in testSendAccessibilityEvent_TwoServices_MatchingPackageAndEventType_DiffFeedback()
339 AccessibilityServiceInfo secondInfo = MockAccessibilityService.createDefaultInfo(); in testSendAccessibilityEvent_TwoServices_MatchingPackageAndEventType_DiffFeedback()
340 secondInfo.feedbackType = AccessibilityServiceInfo.FEEDBACK_HAPTIC; in testSendAccessibilityEvent_TwoServices_MatchingPackageAndEventType_DiffFeedback()
416 AccessibilityServiceInfo firstInfo = MyFirstMockAccessibilityService.createDefaultInfo(); in testSendAccessibilityEvent_TwoServices_MatchingPackageAndEventType_OneDefault()
417 firstInfo.flags = AccessibilityServiceInfo.DEFAULT; in testSendAccessibilityEvent_TwoServices_MatchingPackageAndEventType_OneDefault()
457 AccessibilityServiceInfo firstInfo = MyFirstMockAccessibilityService.createDefaultInfo(); in testSendAccessibilityEvent_TwoServices_MatchingPackageAndEventType_TwoDefault()
[all …]
DAccessibilityManagerTest.java28 import android.accessibilityservice.AccessibilityServiceInfo;
66 List<AccessibilityServiceInfo> expectedServices = new ArrayList<AccessibilityServiceInfo>(); in testGetAccessibilityServiceList()
67 AccessibilityServiceInfo accessibilityServiceInfo = new AccessibilityServiceInfo(); in testGetAccessibilityServiceList()
83 List<AccessibilityServiceInfo> receivedServices = in testGetAccessibilityServiceList()
DMockAccessibilityService.java20 import android.accessibilityservice.AccessibilityServiceInfo;
63 public static AccessibilityServiceInfo createDefaultInfo() { in createDefaultInfo()
64 AccessibilityServiceInfo defaultInfo = new AccessibilityServiceInfo(); in createDefaultInfo()
66 defaultInfo.feedbackType = AccessibilityServiceInfo.FEEDBACK_AUDIBLE; in createDefaultInfo()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityServiceInfo.java77 public class AccessibilityServiceInfo implements Parcelable { class
425 public AccessibilityServiceInfo() { in AccessibilityServiceInfo() method in AccessibilityServiceInfo
439 public AccessibilityServiceInfo(ResolveInfo resolveInfo, Context context) in AccessibilityServiceInfo() method in AccessibilityServiceInfo
532 public void updateDynamicallyConfigurableProperties(AccessibilityServiceInfo other) { in updateDynamicallyConfigurableProperties()
713 AccessibilityServiceInfo other = (AccessibilityServiceInfo) obj; in equals()
964 public static final Parcelable.Creator<AccessibilityServiceInfo> CREATOR =
965 new Parcelable.Creator<AccessibilityServiceInfo>() {
966 public AccessibilityServiceInfo createFromParcel(Parcel parcel) {
967 AccessibilityServiceInfo info = new AccessibilityServiceInfo();
972 public AccessibilityServiceInfo[] newArray(int size) {
[all …]
DIAccessibilityServiceConnection.aidl20 import android.accessibilityservice.AccessibilityServiceInfo;
33 void setServiceInfo(in AccessibilityServiceInfo info); in setServiceInfo()
61 AccessibilityServiceInfo getServiceInfo(); in getServiceInfo()
DAccessibilityServiceInfo.aidl19 parcelable AccessibilityServiceInfo;
DAccessibilityService.java380 private AccessibilityServiceInfo mInfo;
577 public final AccessibilityServiceInfo getServiceInfo() { in getServiceInfo()
598 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;
75 AccessibilityServiceInfo info = mUiAutomation.getServiceInfo(); in setCompressedLayoutHierarchy()
77 info.flags &= ~AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS; in setCompressedLayoutHierarchy()
79 info.flags |= AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS; in setCompressedLayoutHierarchy()
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
DAccessibilityManagerCompatIcs.java19 import android.accessibilityservice.AccessibilityServiceInfo;
56 public static List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList(
61 public static List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList(
/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/tools/layoutlib/bridge/src/android/view/accessibility/
DAccessibilityManager.java19 import android.accessibilityservice.AccessibilityServiceInfo;
169 public List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList() { in getInstalledAccessibilityServiceList()
186 public List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList( in getEnabledAccessibilityServiceList()
/frameworks/support/v4/jellybean-mr2/android/support/v4/accessibilityservice/
DAccessibilityServiceInfoCompatJellyBeanMr2.java19 import android.accessibilityservice.AccessibilityServiceInfo;
27 public static int getCapabilities(AccessibilityServiceInfo info) { in getCapabilities()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java19 import static android.accessibilityservice.AccessibilityServiceInfo.DEFAULT;
23 import android.accessibilityservice.AccessibilityServiceInfo;
166 private final List<AccessibilityServiceInfo> mEnabledServicesForFeedbackTempList =
193 private final List<AccessibilityServiceInfo> mTempAccessibilityServiceInfoList =
447 public List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList(int userId) { in getInstalledAccessibilityServiceList()
458 List<AccessibilityServiceInfo> installedServices = new ArrayList<>(); in getInstalledAccessibilityServiceList()
468 public List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList(int feedbackType, in getEnabledAccessibilityServiceList()
470 List<AccessibilityServiceInfo> result = null; in getEnabledAccessibilityServiceList()
626 AccessibilityServiceInfo accessibilityServiceInfo) { in registerUiTestAutomationService()
924 (service.mAccessibilityServiceInfo.getCapabilities() & AccessibilityServiceInfo in notifyKeyEventLocked()
[all …]
/frameworks/base/docs/html/guide/topics/ui/accessibility/
Dservices.jd33 <li>{@link android.accessibilityservice.AccessibilityServiceInfo}</li>
109 android.accessibilityservice.AccessibilityServiceInfo} class. Your service can build and set a
159 the {@link android.accessibilityservice.AccessibilityServiceInfo} reference documentation.</p>
176 android.accessibilityservice.AccessibilityServiceInfo#packageNames
177 AccessibilityServiceInfo.packageNames} member.</li>
182 {@link android.accessibilityservice.AccessibilityServiceInfo#eventTypes
183 AccessibilityServiceInfo.eventTypes} member. </li>
308 {@link android.accessibilityservice.AccessibilityServiceInfo#flags flags} member of the service's
309 {@link android.accessibilityservice.AccessibilityServiceInfo} instance to
310 {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS}.</p>
[all …]
/frameworks/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventslogger/
DAELogger.java18 import android.accessibilityservice.AccessibilityServiceInfo;
/frameworks/base/docs/html/training/accessibility/
Dservice.jd98 …ervice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}.
118 info.feedbackType = AccessibilityServiceInfo.FEEDBACK_SPOKEN;
126 // info.flags = AccessibilityServiceInfo.DEFAULT;
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialog.java19 import static android.accessibilityservice.AccessibilityServiceInfo.FEEDBACK_ALL_MASK;
20 import static android.accessibilityservice.AccessibilityServiceInfo.FEEDBACK_GENERIC;
22 import android.accessibilityservice.AccessibilityServiceInfo;
1092 final List<AccessibilityServiceInfo> services = in computeFeedbackEnabled()
1094 for (AccessibilityServiceInfo asi : services) { in computeFeedbackEnabled()

12