Java Code Examples for android.accessibilityservice.AccessibilityServiceInfo#getResolveInfo()
The following examples show how to use
android.accessibilityservice.AccessibilityServiceInfo#getResolveInfo() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: PolicyManagementFragment.java From android-testdpc with Apache License 2.0 | 6 votes |
@Override protected List<ResolveInfo> getResolveInfoListFromAvailableComponents( List<AccessibilityServiceInfo> accessibilityServiceInfoList) { HashSet<String> packageSet = new HashSet<>(); List<ResolveInfo> resolveInfoList = new ArrayList<>(); for (AccessibilityServiceInfo accessibilityServiceInfo: accessibilityServiceInfoList) { ResolveInfo resolveInfo = accessibilityServiceInfo.getResolveInfo(); // Some apps may contain multiple accessibility services. Make sure that the package // name is unique in the return list. if (!packageSet.contains(resolveInfo.serviceInfo.packageName)) { resolveInfoList.add(resolveInfo); packageSet.add(resolveInfo.serviceInfo.packageName); } } return resolveInfoList; }
Example 2
Source File: e.java From MiBandDecompiled with Apache License 2.0 | 4 votes |
public static ResolveInfo d(AccessibilityServiceInfo accessibilityserviceinfo) { return accessibilityserviceinfo.getResolveInfo(); }
Example 3
Source File: AccessibilityServiceInfoCompatIcs.java From CodenameOne with GNU General Public License v2.0 | 4 votes |
public static ResolveInfo getResolveInfo(AccessibilityServiceInfo info) { return info.getResolveInfo(); }
Example 4
Source File: AccessibilityServiceInfoCompatIcs.java From adt-leanback-support with Apache License 2.0 | 4 votes |
public static ResolveInfo getResolveInfo(AccessibilityServiceInfo info) { return info.getResolveInfo(); }
Example 5
Source File: AccessibilityServiceInfoCompatIcs.java From V.FlyoutTest with MIT License | 4 votes |
public static ResolveInfo getResolveInfo(AccessibilityServiceInfo info) { return info.getResolveInfo(); }
Example 6
Source File: AccessibilityServiceInfoCompatIcs.java From guideshow with MIT License | 4 votes |
public static ResolveInfo getResolveInfo(AccessibilityServiceInfo info) { return info.getResolveInfo(); }