Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleDataRepository.kt21 import android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_DYNAMIC in <lambda>()
22 import android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_PINNED_BY_ANY_LAUNCHER in <lambda>()
23 import android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_CACHED in <lambda>()
156 LauncherApps.ShortcutQuery() in <lambda>()
DBubbleExperimentConfig.java20 import static android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_DYNAMIC;
21 import static android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_MANIFEST;
22 import static android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_PINNED;
261 LauncherApps.ShortcutQuery query = new LauncherApps.ShortcutQuery(); in getShortcutInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java82 import android.content.pm.LauncherApps.ShortcutQuery;
1679 /* activity =*/ null, ShortcutQuery.FLAG_GET_DYNAMIC), getCallingUser())), in testGetShortcuts()
1686 ShortcutQuery.FLAG_GET_PINNED), getCallingUser()) in testGetShortcuts()
1694 ShortcutQuery.FLAG_GET_PINNED | ShortcutQuery.FLAG_GET_DYNAMIC), in testGetShortcuts()
1703 ShortcutQuery.FLAG_GET_DYNAMIC | ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY), in testGetShortcuts()
1712 ShortcutQuery.FLAG_GET_PINNED | ShortcutQuery.FLAG_GET_DYNAMIC), in testGetShortcuts()
1721 ShortcutQuery.FLAG_GET_DYNAMIC | ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY), in testGetShortcuts()
1728 ShortcutQuery.FLAG_GET_DYNAMIC | ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY), in testGetShortcuts()
1735 ShortcutQuery.FLAG_GET_DYNAMIC | ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY), in testGetShortcuts()
1742 ShortcutQuery.FLAG_GET_DYNAMIC | ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY), in testGetShortcuts()
[all …]
DBaseShortcutManagerTest.java61 import android.content.pm.LauncherApps.ShortcutQuery;
733 protected static final ShortcutQuery QUERY_ALL = new ShortcutQuery();
760 ShortcutQuery.FLAG_GET_ALL_KINDS);
1931 final ShortcutQuery q = new ShortcutQuery();
1939 return getLauncherShortcuts(launcher, userId, ShortcutQuery.FLAG_GET_PINNED);
1943 final ShortcutQuery q = new ShortcutQuery();
1944 q.setQueryFlags(ShortcutQuery.FLAG_MATCH_DYNAMIC | ShortcutQuery.FLAG_MATCH_DYNAMIC
1945 | ShortcutQuery.FLAG_MATCH_PINNED);
2020 protected static ShortcutQuery buildQuery(long changedSince,
2026 protected static ShortcutQuery buildQuery(long changedSince,
[all …]
DShortcutManagerTest11.java30 import android.content.pm.LauncherApps.ShortcutQuery;
47 private static final ShortcutQuery QUERY_MATCH_ALL = createShortcutQuery(
48 ShortcutQuery.FLAG_MATCH_ALL_KINDS_WITH_ALL_PINNED);
832 private static ShortcutQuery createShortcutQuery(int queryFlags) { in createShortcutQuery()
833 ShortcutQuery q = new ShortcutQuery(); in createShortcutQuery()
834 return q.setQueryFlags(ShortcutQuery.FLAG_MATCH_ALL_KINDS_WITH_ALL_PINNED); in createShortcutQuery()
/frameworks/base/services/core/java/com/android/server/notification/
DShortcutHelper.java19 import static android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_CACHED;
20 import static android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_DYNAMIC;
21 import static android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_PINNED_BY_ANY_LAUNCHER;
192 LauncherApps.ShortcutQuery query = new LauncherApps.ShortcutQuery(); in getValidShortcutInfo()
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java331 public static class ShortcutQuery { class in LauncherApps
453 public ShortcutQuery() { in ShortcutQuery() method in LauncherApps.ShortcutQuery
461 public ShortcutQuery setChangedSince(long changedSince) { in setChangedSince()
469 public ShortcutQuery setPackage(@Nullable String packageName) { in setPackage()
478 public ShortcutQuery setShortcutIds(@Nullable List<String> shortcutIds) { in setShortcutIds()
488 public ShortcutQuery setLocusIds(@Nullable List<LocusId> locusIds) { in setLocusIds()
498 public ShortcutQuery setActivity(@Nullable ComponentName activity) { in setActivity()
515 public ShortcutQuery setQueryFlags(@QueryFlags int queryFlags) { in setQueryFlags()
1060 public List<ShortcutInfo> getShortcuts(@NonNull ShortcutQuery query, in getShortcuts()
1085 final ShortcutQuery q = new ShortcutQuery(); in getShortcutInfo()
[all …]
DShortcutServiceInternal.java28 import android.content.pm.LauncherApps.ShortcutQuery;
51 @ShortcutQuery.QueryFlags int flags, int userId, int callingPid, int callingUid); in getShortcuts()
DShortcutQueryWrapper.java35 public final class ShortcutQueryWrapper extends LauncherApps.ShortcutQuery implements Parcelable {
37 public ShortcutQueryWrapper(LauncherApps.ShortcutQuery query) { in ShortcutQueryWrapper()
DShortcutInfo.java32 import android.content.pm.LauncherApps.ShortcutQuery;
/frameworks/base/core/tests/coretests/src/android/content/pm/
DShortcutQueryWrapperTest.java48 private static final int QUERY_FLAG = LauncherApps.ShortcutQuery.FLAG_MATCH_ALL_KINDS;
54 mShortcutQuery = new ShortcutQueryWrapper(new LauncherApps.ShortcutQuery() in setUp()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java48 import android.content.pm.LauncherApps.ShortcutQuery;
1167 final boolean matchDynamic = (flags & ShortcutQuery.FLAG_MATCH_DYNAMIC) != 0; in filterShortcutsByQuery()
1168 final boolean matchPinned = (flags & ShortcutQuery.FLAG_MATCH_PINNED) != 0; in filterShortcutsByQuery()
1169 final boolean matchManifest = (flags & ShortcutQuery.FLAG_MATCH_MANIFEST) != 0; in filterShortcutsByQuery()
1170 final boolean matchCached = (flags & ShortcutQuery.FLAG_MATCH_CACHED) != 0; in filterShortcutsByQuery()
1419 ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY in onShortcutChangedInner()
1420 | ShortcutQuery.FLAG_MATCH_ALL_KINDS_WITH_ALL_PINNED in onShortcutChangedInner()
DShortcutService.java44 import android.content.pm.LauncherApps.ShortcutQuery;
2861 ((queryFlags & ShortcutQuery.FLAG_GET_KEY_FIELDS_ONLY) != 0); in getShortcuts()
2911 final boolean matchDynamic = (queryFlags & ShortcutQuery.FLAG_MATCH_DYNAMIC) != 0; in getShortcutsInnerLocked()
2912 final boolean matchPinned = (queryFlags & ShortcutQuery.FLAG_MATCH_PINNED) != 0; in getShortcutsInnerLocked()
2913 final boolean matchManifest = (queryFlags & ShortcutQuery.FLAG_MATCH_MANIFEST) != 0; in getShortcutsInnerLocked()
2914 final boolean matchCached = (queryFlags & ShortcutQuery.FLAG_MATCH_CACHED) != 0; in getShortcutsInnerLocked()
2921 ((queryFlags & ShortcutQuery.FLAG_MATCH_PINNED_BY_ANY_LAUNCHER) != 0); in getShortcutsInnerLocked()
/frameworks/base/services/people/java/com/android/server/people/data/
DDataManager.java37 import android.content.pm.LauncherApps.ShortcutQuery;
468 @ShortcutQuery.QueryFlags int queryFlags = ShortcutQuery.FLAG_MATCH_DYNAMIC in getShortcuts()
469 | ShortcutQuery.FLAG_MATCH_PINNED | ShortcutQuery.FLAG_MATCH_PINNED_BY_ANY_LAUNCHER; in getShortcuts()
/frameworks/base/config/
Dboot-image-profile.txt5642 HSPLandroid/content/pm/LauncherApps$ShortcutQuery;-><init>()V
5643 …droid/content/pm/LauncherApps$ShortcutQuery;->setPackage(Ljava/lang/String;)Landroid/content/pm/La…
5644 HSPLandroid/content/pm/LauncherApps$ShortcutQuery;->setQueryFlags(I)Landroid/content/pm/LauncherApp…
5645 …roid/content/pm/LauncherApps$ShortcutQuery;->setShortcutIds(Ljava/util/List;)Landroid/content/pm/L…
5651 HSPLandroid/content/pm/LauncherApps;->getShortcuts(Landroid/content/pm/LauncherApps$ShortcutQuery;L…
6042 HSPLandroid/content/pm/ShortcutQueryWrapper;-><init>(Landroid/content/pm/LauncherApps$ShortcutQuery
41640 Landroid/content/pm/LauncherApps$ShortcutQuery;
Dpreloaded-classes1540 android.content.pm.LauncherApps$ShortcutQuery
/frameworks/base/api/
Dcurrent.txt11672 …m.ShortcutInfo> getShortcuts(@NonNull android.content.pm.LauncherApps.ShortcutQuery, @NonNull andr…
11723 public static class LauncherApps.ShortcutQuery {
11724 ctor public LauncherApps.ShortcutQuery();
11725 …method public android.content.pm.LauncherApps.ShortcutQuery setActivity(@Nullable android.content.…
11726 method public android.content.pm.LauncherApps.ShortcutQuery setChangedSince(long);
11727 …method @NonNull public android.content.pm.LauncherApps.ShortcutQuery setLocusIds(@Nullable java.ut…
11728 method public android.content.pm.LauncherApps.ShortcutQuery setPackage(@Nullable String);
11729 method public android.content.pm.LauncherApps.ShortcutQuery setQueryFlags(int);
11730 …method public android.content.pm.LauncherApps.ShortcutQuery setShortcutIds(@Nullable java.util.Lis…
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...