Searched refs:LauncherApps (Results 1 – 25 of 26) sorted by relevance
12
25 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()
37 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()
40 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()
32 import android.content.pm.LauncherApps;33 import android.content.pm.LauncherApps.PinItemRequest;75 assertEquals(LauncherApps.ACTION_CONFIRM_PIN_APPWIDGET, actualIntent.getAction()); in assertPinItemRequestIntent()
38 import android.content.pm.LauncherApps;107 private LauncherApps mLauncherApps;178 mLauncherApps = (LauncherApps) mContext.getSystemService(Context.LAUNCHER_APPS_SERVICE); in setUp()590 private static abstract class StubbedCallback extends LauncherApps.Callback {
25 import android.content.pm.LauncherApps.PinItemRequest;
80 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 …]
37 import android.content.pm.LauncherApps;38 import android.content.pm.LauncherApps.PinItemRequest;214 assertEquals(LauncherApps.ACTION_CONFIRM_PIN_SHORTCUT, actualIntent.getAction()); in assertPinItemRequestIntent()
58 import android.content.pm.LauncherApps;59 import android.content.pm.LauncherApps.ShortcutQuery;560 protected class LauncherAppsTestable extends LauncherApps {
93 public class LauncherApps { class464 public LauncherApps(Context context, ILauncherApps service) { in LauncherApps() method in LauncherApps473 public LauncherApps(Context context) { in LauncherApps() method in LauncherApps790 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 …]
19 parcelable LauncherApps.AppUsageLimit;
26 import android.content.pm.LauncherApps;65 LauncherApps.AppUsageLimit getAppUsageLimit(String callingPackage, String packageName, in getAppUsageLimit()
26 import android.content.pm.LauncherApps.ShortcutQuery;
451 LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT); in isRequestPinShortcutSupported()
32 import android.content.pm.LauncherApps.ShortcutQuery;
21 import android.content.pm.LauncherApps;61 LauncherApps apps = getContext().getSystemService(LauncherApps.class); in onCreatePreferences()
40 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()
28 import android.content.pm.LauncherApps;651 LauncherApps launcherApps = getContext().getSystemService(LauncherApps.class); in onDefaultViewClicked()
38 import android.content.pm.LauncherApps;132 eq(LauncherApps.PinItemRequest.REQUEST_TYPE_APPWIDGET)); in testIsRequestPinAppWidgetSupported()
55 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()
48 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);
681 public class LauncherApps {682 ctor public LauncherApps(android.content.Context);
1549 public class LauncherApps {1550 …method @Nullable public android.content.pm.LauncherApps.AppUsageLimit getAppUsageLimit(@NonNull St…1553 public static final class LauncherApps.AppUsageLimit implements android.os.Parcelable {1558 … public static final android.os.Parcelable.Creator<android.content.pm.LauncherApps.AppUsageLimit> …
918 android.content.pm.LauncherApps$1919 android.content.pm.LauncherApps
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...