Home
last modified time | relevance | path

Searched refs:ShortcutQuery (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java82 import android.content.pm.LauncherApps.ShortcutQuery;
1272 /* activity =*/ null, ShortcutQuery.FLAG_GET_DYNAMIC), getCallingUser())), in testGetShortcuts()
1279 ShortcutQuery.FLAG_GET_PINNED), getCallingUser()) in testGetShortcuts()
1287 ShortcutQuery.FLAG_GET_PINNED | ShortcutQuery.FLAG_GET_DYNAMIC), in testGetShortcuts()
1296 ShortcutQuery.FLAG_GET_DYNAMIC | ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY), in testGetShortcuts()
1305 ShortcutQuery.FLAG_GET_PINNED | ShortcutQuery.FLAG_GET_DYNAMIC), in testGetShortcuts()
1314 ShortcutQuery.FLAG_GET_DYNAMIC | ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY), in testGetShortcuts()
1321 ShortcutQuery.FLAG_GET_DYNAMIC | ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY), in testGetShortcuts()
1328 ShortcutQuery.FLAG_GET_DYNAMIC | ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY), in testGetShortcuts()
1335 ShortcutQuery.FLAG_GET_DYNAMIC | ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY), in testGetShortcuts()
[all …]
DBaseShortcutManagerTest.java59 import android.content.pm.LauncherApps.ShortcutQuery;
714 protected static final ShortcutQuery QUERY_ALL = new ShortcutQuery();
741 ShortcutQuery.FLAG_GET_ALL_KINDS);
1866 final ShortcutQuery q = new ShortcutQuery();
1874 return getLauncherShortcuts(launcher, userId, ShortcutQuery.FLAG_GET_PINNED);
1878 final ShortcutQuery q = new ShortcutQuery();
1879 q.setQueryFlags(ShortcutQuery.FLAG_MATCH_DYNAMIC | ShortcutQuery.FLAG_MATCH_DYNAMIC
1880 | ShortcutQuery.FLAG_MATCH_PINNED);
1955 protected static ShortcutQuery buildQuery(long changedSince,
1961 protected static ShortcutQuery buildQuery(long changedSince,
[all …]
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java292 public static class ShortcutQuery { class in LauncherApps
406 public ShortcutQuery() { in ShortcutQuery() method in LauncherApps.ShortcutQuery
414 public ShortcutQuery setChangedSince(long changedSince) { in setChangedSince()
422 public ShortcutQuery setPackage(@Nullable String packageName) { in setPackage()
431 public ShortcutQuery setShortcutIds(@Nullable List<String> shortcutIds) { in setShortcutIds()
441 public ShortcutQuery setActivity(@Nullable ComponentName activity) { in setActivity()
457 public ShortcutQuery setQueryFlags(@QueryFlags int queryFlags) { in setQueryFlags()
878 public List<ShortcutInfo> getShortcuts(@NonNull ShortcutQuery query, in getShortcuts()
904 final ShortcutQuery q = new ShortcutQuery(); in getShortcutInfo()
907 q.setQueryFlags(ShortcutQuery.FLAG_GET_ALL_KINDS); in getShortcutInfo()
[all …]
DShortcutServiceInternal.java26 import android.content.pm.LauncherApps.ShortcutQuery;
48 @Nullable ComponentName componentName, @ShortcutQuery.QueryFlags int flags, in getShortcuts()
DShortcutInfo.java32 import android.content.pm.LauncherApps.ShortcutQuery;
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java38 import android.content.pm.LauncherApps.ShortcutQuery;
1110 ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY in onShortcutChangedInner()
1111 | ShortcutQuery.FLAG_MATCH_ALL_KINDS_WITH_ALL_PINNED in onShortcutChangedInner()
DShortcutService.java41 import android.content.pm.LauncherApps.ShortcutQuery;
2574 ((queryFlags & ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY) != 0); in getShortcuts()
2620 final boolean matchDynamic = (queryFlags & ShortcutQuery.FLAG_MATCH_DYNAMIC) != 0; in getShortcutsInnerLocked()
2621 final boolean matchPinned = (queryFlags & ShortcutQuery.FLAG_MATCH_PINNED) != 0; in getShortcutsInnerLocked()
2622 final boolean matchManifest = (queryFlags & ShortcutQuery.FLAG_MATCH_MANIFEST) != 0; in getShortcutsInnerLocked()
2629 ((queryFlags & ShortcutQuery.FLAG_MATCH_PINNED_BY_ANY_LAUNCHER) != 0); in getShortcutsInnerLocked()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java2093 final LauncherApps.ShortcutQuery q = new LauncherApps.ShortcutQuery();
2096 q.setQueryFlags(LauncherApps.ShortcutQuery.FLAG_MATCH_DYNAMIC);
/frameworks/base/api/
Dcurrent.txt11280 …m.ShortcutInfo> getShortcuts(@NonNull android.content.pm.LauncherApps.ShortcutQuery, @NonNull andr…
11331 public static class LauncherApps.ShortcutQuery {
11332 ctor public LauncherApps.ShortcutQuery();
11333 …method public android.content.pm.LauncherApps.ShortcutQuery setActivity(@Nullable android.content.…
11334 method public android.content.pm.LauncherApps.ShortcutQuery setChangedSince(long);
11335 method public android.content.pm.LauncherApps.ShortcutQuery setPackage(@Nullable String);
11336 method public android.content.pm.LauncherApps.ShortcutQuery setQueryFlags(int);
11337 …method public android.content.pm.LauncherApps.ShortcutQuery setShortcutIds(@Nullable java.util.Lis…
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt16115 Landroid/content/pm/LauncherApps$ShortcutQuery$QueryFlags;
16116 Landroid/content/pm/LauncherApps$ShortcutQuery;->FLAG_GET_ALL_KINDS:I
16117 Landroid/content/pm/LauncherApps$ShortcutQuery;->FLAG_GET_DYNAMIC:I
16118 Landroid/content/pm/LauncherApps$ShortcutQuery;->FLAG_GET_MANIFEST:I
16119 Landroid/content/pm/LauncherApps$ShortcutQuery;->FLAG_GET_PINNED:I
16120 Landroid/content/pm/LauncherApps$ShortcutQuery;->FLAG_MATCH_ALL_KINDS:I
16121 Landroid/content/pm/LauncherApps$ShortcutQuery;->FLAG_MATCH_ALL_KINDS_WITH_ALL_PINNED:I
16122 Landroid/content/pm/LauncherApps$ShortcutQuery;->mActivity:Landroid/content/ComponentName;
16123 Landroid/content/pm/LauncherApps$ShortcutQuery;->mChangedSince:J
16124 Landroid/content/pm/LauncherApps$ShortcutQuery;->mPackage:Ljava/lang/String;
[all …]
Dboot-image-profile.txt41410 HSPLandroid/content/pm/LauncherApps;->getShortcuts(Landroid/content/pm/LauncherApps$ShortcutQuery;L…