Home
last modified time | relevance | path

Searched refs:LauncherApps (Results 1 – 25 of 30) 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()
DLauncherAppsService.java37 import android.content.pm.LauncherApps;
38 import android.content.pm.LauncherApps.ShortcutQuery;
634 public LauncherApps.AppUsageLimit getAppUsageLimit(String callingPackage, in getAppUsageLimit()
649 return new LauncherApps.AppUsageLimit( in getAppUsageLimit()
DShortcutService.java40 import android.content.pm.LauncherApps;
41 import android.content.pm.LauncherApps.ShortcutQuery;
3525 String action = requestType == LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT ? in injectGetPinConfirmationActivity()
3526 LauncherApps.ACTION_CONFIRM_PIN_SHORTCUT : in injectGetPinConfirmationActivity()
3527 LauncherApps.ACTION_CONFIRM_PIN_APPWIDGET; in injectGetPinConfirmationActivity()
/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.java41 import android.content.pm.LauncherApps;
109 private LauncherApps mLauncherApps;
180 mLauncherApps = (LauncherApps) mContext.getSystemService(Context.LAUNCHER_APPS_SERVICE); in setUp()
606 private static abstract class StubbedCallback extends LauncherApps.Callback {
DShortcutManagerTest10.java25 import android.content.pm.LauncherApps.PinItemRequest;
DShortcutManagerTest1.java80 import android.content.pm.LauncherApps;
81 import android.content.pm.LauncherApps.PinItemRequest;
82 import android.content.pm.LauncherApps.ShortcutQuery;
3109 final LauncherApps.Callback c0_1 = mock(LauncherApps.Callback.class); in testLauncherCallback_crossProfile()
3110 final LauncherApps.Callback c0_2 = mock(LauncherApps.Callback.class); in testLauncherCallback_crossProfile()
3111 final LauncherApps.Callback c0_3 = mock(LauncherApps.Callback.class); in testLauncherCallback_crossProfile()
3112 final LauncherApps.Callback c0_4 = mock(LauncherApps.Callback.class); in testLauncherCallback_crossProfile()
3114 final LauncherApps.Callback cP0_1 = mock(LauncherApps.Callback.class); in testLauncherCallback_crossProfile()
3115 final LauncherApps.Callback cP1_1 = mock(LauncherApps.Callback.class); in testLauncherCallback_crossProfile()
3116 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.java58 import android.content.pm.LauncherApps;
59 import android.content.pm.LauncherApps.ShortcutQuery;
560 protected class LauncherAppsTestable extends LauncherApps {
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java93 public class LauncherApps { class
464 public LauncherApps(Context context, ILauncherApps service) { in LauncherApps() method in LauncherApps
473 public LauncherApps(Context context) { in LauncherApps() method in LauncherApps
790 public LauncherApps.AppUsageLimit getAppUsageLimit(@NonNull String packageName, in getAppUsageLimit()
1241 synchronized (LauncherApps.this) {
1253 synchronized (LauncherApps.this) {
1265 synchronized (LauncherApps.this) {
1278 synchronized (LauncherApps.this) {
1291 synchronized (LauncherApps.this) {
1305 synchronized (LauncherApps.this) {
[all …]
DLauncherApps.aidl19 parcelable LauncherApps.AppUsageLimit;
DILauncherApps.aidl26 import android.content.pm.LauncherApps;
65 LauncherApps.AppUsageLimit getAppUsageLimit(String callingPackage, String packageName, in getAppUsageLimit()
DShortcutServiceInternal.java26 import android.content.pm.LauncherApps.ShortcutQuery;
DShortcutManager.java451 LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT); in isRequestPinShortcutSupported()
DShortcutInfo.java32 import android.content.pm.LauncherApps.ShortcutQuery;
/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()
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java40 import android.content.pm.LauncherApps;
41 import android.content.pm.LauncherApps.Callback;
639 public static void assertCallbackNotReceived(LauncherApps.Callback mock) { in assertCallbackNotReceived()
644 public static void assertCallbackReceived(LauncherApps.Callback mock, in assertCallbackReceived()
1093 private final LauncherApps.Callback mCallback = mock(LauncherApps.Callback.class);
1137 LauncherApps launcherApps, Runnable body) throws InterruptedException { in assertForLauncherCallback()
1153 LauncherApps launcherApps, Runnable body) { in assertForLauncherCallbackNoThrow()
/frameworks/base/core/java/android/appwidget/
DAppWidgetHostView.java28 import android.content.pm.LauncherApps;
651 LauncherApps launcherApps = getContext().getSystemService(LauncherApps.class); in onDefaultViewClicked()
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/
DAppWidgetServiceImplTest.java38 import android.content.pm.LauncherApps;
132 eq(LauncherApps.PinItemRequest.REQUEST_TYPE_APPWIDGET)); in testIsRequestPinAppWidgetSupported()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java55 import android.content.pm.LauncherApps;
821 registerService(Context.LAUNCHER_APPS_SERVICE, LauncherApps.class, in registerService()
822 new CachedServiceFetcher<LauncherApps>() { in registerService()
824 public LauncherApps createService(ContextImpl ctx) { in registerService()
825 return new LauncherApps(ctx); in registerService()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java48 import android.content.pm.LauncherApps;
2091 LauncherApps launcherApps = (LauncherApps) getSystemService(
2093 final LauncherApps.ShortcutQuery q = new LauncherApps.ShortcutQuery();
2096 q.setQueryFlags(LauncherApps.ShortcutQuery.FLAG_MATCH_DYNAMIC);
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java50 import android.content.pm.LauncherApps;
1658 LauncherApps.PinItemRequest.REQUEST_TYPE_APPWIDGET); in isRequestPinAppWidgetSupported()
/frameworks/base/api/
Dtest-current.txt681 public class LauncherApps {
682 ctor public LauncherApps(android.content.Context);
/frameworks/base/config/
Dboot-image-profile.txt2360 …ystemServiceRegistry$70;->createService(Landroid/app/ContextImpl;)Landroid/content/pm/LauncherApps;
4179 HSPLandroid/content/pm/LauncherApps;-><init>(Landroid/content/Context;Landroid/content/pm/ILauncher…
33037 Landroid/content/pm/LauncherApps$1;
33038 Landroid/content/pm/LauncherApps;
41401 HSPLandroid/content/pm/LauncherApps$1;->onPackageChanged(Landroid/os/UserHandle;Ljava/lang/String;)V
41402 HSPLandroid/content/pm/LauncherApps$1;->onShortcutChanged(Landroid/os/UserHandle;Ljava/lang/String;…
41403 HSPLandroid/content/pm/LauncherApps;->access$100(Landroid/content/pm/LauncherApps;)Ljava/util/List;
41404 HSPLandroid/content/pm/LauncherApps;->addCallbackLocked(Landroid/content/pm/LauncherApps$Callback;L…
41405 HSPLandroid/content/pm/LauncherApps;->convertToActivityList(Landroid/content/pm/ParceledListSlice;L…
41406 HSPLandroid/content/pm/LauncherApps;->findCallbackLocked(Landroid/content/pm/LauncherApps$Callback;…
[all …]
Dhiddenapi-greylist-max-o.txt16083 Landroid/content/pm/LauncherApps$CallbackMessageHandler$CallbackInfo;
16084 Landroid/content/pm/LauncherApps$CallbackMessageHandler$CallbackInfo;-><init>()V
16085 Landroid/content/pm/LauncherApps$CallbackMessageHandler$CallbackInfo;->launcherExtras:Landroid/os/B…
16086 Landroid/content/pm/LauncherApps$CallbackMessageHandler$CallbackInfo;->packageName:Ljava/lang/Strin…
16087 Landroid/content/pm/LauncherApps$CallbackMessageHandler$CallbackInfo;->packageNames:[Ljava/lang/Str…
16088 Landroid/content/pm/LauncherApps$CallbackMessageHandler$CallbackInfo;->replacing:Z
16089 Landroid/content/pm/LauncherApps$CallbackMessageHandler$CallbackInfo;->shortcuts:Ljava/util/List;
16090 Landroid/content/pm/LauncherApps$CallbackMessageHandler$CallbackInfo;->user:Landroid/os/UserHandle;
16091 Landroid/content/pm/LauncherApps$CallbackMessageHandler;
16092 Landroid/content/pm/LauncherApps$CallbackMessageHandler;-><init>(Landroid/os/Looper;Landroid/conten…
[all …]

12