Home
last modified time | relevance | path

Searched refs:LauncherApps (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/pm/
DShortcutRequestPinProcessor.java25 import android.content.pm.LauncherApps;
26 import android.content.pm.LauncherApps.PinItemRequest;
289 return new Intent().putExtra(LauncherApps.EXTRA_PIN_ITEM_REQUEST, request); in createShortcutResultIntent()
387 final String action = requestType == LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT ? in startRequestConfirmActivity()
388 LauncherApps.ACTION_CONFIRM_PIN_SHORTCUT : in startRequestConfirmActivity()
389 LauncherApps.ACTION_CONFIRM_PIN_APPWIDGET; in startRequestConfirmActivity()
394 confirmIntent.putExtra(LauncherApps.EXTRA_PIN_ITEM_REQUEST, request); in startRequestConfirmActivity()
DShortcutService.java40 import android.content.pm.LauncherApps;
41 import android.content.pm.LauncherApps.ShortcutQuery;
3461 String action = requestType == LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT ? in injectGetPinConfirmationActivity()
3462 LauncherApps.ACTION_CONFIRM_PIN_SHORTCUT : in injectGetPinConfirmationActivity()
3463 LauncherApps.ACTION_CONFIRM_PIN_APPWIDGET; in injectGetPinConfirmationActivity()
DLauncherAppsService.java34 import android.content.pm.LauncherApps.ShortcutQuery;
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java84 public class LauncherApps { class
453 public LauncherApps(Context context, ILauncherApps service) { in LauncherApps() method in LauncherApps
462 public LauncherApps(Context context) { in LauncherApps() method in LauncherApps
1163 synchronized (LauncherApps.this) {
1175 synchronized (LauncherApps.this) {
1187 synchronized (LauncherApps.this) {
1200 synchronized (LauncherApps.this) {
1213 synchronized (LauncherApps.this) {
1227 synchronized (LauncherApps.this) {
1240 synchronized (LauncherApps.this) {
[all …]
DShortcutServiceInternal.java26 import android.content.pm.LauncherApps.ShortcutQuery;
DShortcutManager.java669 LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT); in isRequestPinShortcutSupported()
DShortcutInfo.java27 import android.content.pm.LauncherApps.ShortcutQuery;
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest9.java32 import android.content.pm.LauncherApps;
33 import android.content.pm.LauncherApps.PinItemRequest;
75 assertEquals(LauncherApps.ACTION_CONFIRM_PIN_APPWIDGET, actualIntent.getAction()); in assertPinItemRequestIntent()
DSuspendPackagesTest.java34 import android.content.pm.LauncherApps;
97 private LauncherApps mLauncherApps;
168 mLauncherApps = (LauncherApps) mContext.getSystemService(Context.LAUNCHER_APPS_SERVICE); in setUp()
560 private static abstract class StubbedCallback extends LauncherApps.Callback {
DShortcutManagerTest10.java25 import android.content.pm.LauncherApps.PinItemRequest;
DShortcutManagerTest1.java79 import android.content.pm.LauncherApps;
80 import android.content.pm.LauncherApps.PinItemRequest;
81 import android.content.pm.LauncherApps.ShortcutQuery;
3098 final LauncherApps.Callback c0_1 = mock(LauncherApps.Callback.class); in testLauncherCallback_crossProfile()
3099 final LauncherApps.Callback c0_2 = mock(LauncherApps.Callback.class); in testLauncherCallback_crossProfile()
3100 final LauncherApps.Callback c0_3 = mock(LauncherApps.Callback.class); in testLauncherCallback_crossProfile()
3101 final LauncherApps.Callback c0_4 = mock(LauncherApps.Callback.class); in testLauncherCallback_crossProfile()
3103 final LauncherApps.Callback cP0_1 = mock(LauncherApps.Callback.class); in testLauncherCallback_crossProfile()
3104 final LauncherApps.Callback cP1_1 = mock(LauncherApps.Callback.class); in testLauncherCallback_crossProfile()
3105 final LauncherApps.Callback c10_1 = mock(LauncherApps.Callback.class); in testLauncherCallback_crossProfile()
[all …]
DShortcutManagerTest8.java37 import android.content.pm.LauncherApps;
38 import android.content.pm.LauncherApps.PinItemRequest;
214 assertEquals(LauncherApps.ACTION_CONFIRM_PIN_SHORTCUT, actualIntent.getAction()); in assertPinItemRequestIntent()
DBaseShortcutManagerTest.java56 import android.content.pm.LauncherApps;
57 import android.content.pm.LauncherApps.ShortcutQuery;
557 protected class LauncherAppsTestable extends LauncherApps {
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DShortcutPicker.java21 import android.content.pm.LauncherApps;
61 LauncherApps apps = getContext().getSystemService(LauncherApps.class); in onCreatePreferences()
DLockscreenFragment.java24 import android.content.pm.LauncherApps;
25 import android.content.pm.LauncherApps.ShortcutQuery;
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java39 import android.content.pm.LauncherApps;
40 import android.content.pm.LauncherApps.Callback;
634 public static void assertCallbackNotReceived(LauncherApps.Callback mock) { in assertCallbackNotReceived()
639 public static void assertCallbackReceived(LauncherApps.Callback mock, in assertCallbackReceived()
1088 private final LauncherApps.Callback mCallback = mock(LauncherApps.Callback.class);
1132 LauncherApps launcherApps, Runnable body) throws InterruptedException { in assertForLauncherCallback()
1148 LauncherApps launcherApps, Runnable body) { in assertForLauncherCallbackNoThrow()
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/
DAppWidgetServiceImplTest.java38 import android.content.pm.LauncherApps;
133 eq(LauncherApps.PinItemRequest.REQUEST_TYPE_APPWIDGET)); in testIsRequestPinAppWidgetSupported()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java45 import android.content.pm.LauncherApps;
702 registerService(Context.LAUNCHER_APPS_SERVICE, LauncherApps.class, in registerService()
703 new CachedServiceFetcher<LauncherApps>() { in registerService()
705 public LauncherApps createService(ContextImpl ctx) { in registerService()
706 return new LauncherApps(ctx); in registerService()
/frameworks/support/compat/src/main/java/androidx/core/content/
DContextCompat.java92 import android.content.pm.LauncherApps;
734 SERVICES.put(LauncherApps.class, LAUNCHER_APPS_SERVICE); in SERVICES.put()
/frameworks/base/api/
Dtest-current.txt244 public class LauncherApps {
245 ctor public LauncherApps(android.content.Context);
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java51 import android.content.pm.LauncherApps;
1658 LauncherApps.PinItemRequest.REQUEST_TYPE_APPWIDGET); in isRequestPinAppWidgetSupported()
/frameworks/base/config/
Dhiddenapi-public-dex.txt8007 Landroid/content/pm/LauncherApps$Callback;
8008 Landroid/content/pm/LauncherApps$Callback;-><init>()V
8009 Landroid/content/pm/LauncherApps$Callback;->onPackageAdded(Ljava/lang/String;Landroid/os/UserHandle…
8010 Landroid/content/pm/LauncherApps$Callback;->onPackageChanged(Ljava/lang/String;Landroid/os/UserHand…
8011 Landroid/content/pm/LauncherApps$Callback;->onPackageRemoved(Ljava/lang/String;Landroid/os/UserHand…
8012 Landroid/content/pm/LauncherApps$Callback;->onPackagesAvailable([Ljava/lang/String;Landroid/os/User…
8013 Landroid/content/pm/LauncherApps$Callback;->onPackagesSuspended([Ljava/lang/String;Landroid/os/User…
8014 Landroid/content/pm/LauncherApps$Callback;->onPackagesSuspended([Ljava/lang/String;Landroid/os/User…
8015 Landroid/content/pm/LauncherApps$Callback;->onPackagesUnavailable([Ljava/lang/String;Landroid/os/Us…
8016 Landroid/content/pm/LauncherApps$Callback;->onPackagesUnsuspended([Ljava/lang/String;Landroid/os/Us…
[all …]
Dboot-image-profile.txt1749 HPLandroid/content/pm/LauncherApps$1;->onPackageAdded(Landroid/os/UserHandle;Ljava/lang/String;)V
1750 HPLandroid/content/pm/LauncherApps$1;->onPackageChanged(Landroid/os/UserHandle;Ljava/lang/String;)V
1751 HPLandroid/content/pm/LauncherApps$1;->onPackageRemoved(Landroid/os/UserHandle;Ljava/lang/String;)V
1752 HPLandroid/content/pm/LauncherApps$CallbackMessageHandler;->postOnPackageAdded(Ljava/lang/String;La…
1753 HPLandroid/content/pm/LauncherApps$CallbackMessageHandler;->postOnPackageChanged(Ljava/lang/String;…
1754 HPLandroid/content/pm/LauncherApps$CallbackMessageHandler;->postOnPackageRemoved(Ljava/lang/String;…
1755 HPLandroid/content/pm/LauncherApps$ShortcutQuery;->setActivity(Landroid/content/ComponentName;)Land…
15344 …ystemServiceRegistry$62;->createService(Landroid/app/ContextImpl;)Landroid/content/pm/LauncherApps;
18238 HSPLandroid/content/pm/LauncherApps$1;->onShortcutChanged(Landroid/os/UserHandle;Ljava/lang/String;…
18239 HSPLandroid/content/pm/LauncherApps$Callback;-><init>()V
[all …]
Dpreloaded-classes820 android.content.pm.LauncherApps
821 android.content.pm.LauncherApps$1
Dhiddenapi-light-greylist.txt1596 Landroid/content/pm/LauncherApps;->mPm:Landroid/content/pm/PackageManager;
1597 Landroid/content/pm/LauncherApps;->mService:Landroid/content/pm/ILauncherApps;
1598 Landroid/content/pm/LauncherApps;->startShortcut(Ljava/lang/String;Ljava/lang/String;Landroid/graph…

12