Home
last modified time | relevance | path

Searched refs:LauncherApps (Results 1 – 25 of 26) 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()
386 final String action = requestType == LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT ? in startRequestConfirmActivity()
387 LauncherApps.ACTION_CONFIRM_PIN_SHORTCUT : in startRequestConfirmActivity()
388 LauncherApps.ACTION_CONFIRM_PIN_APPWIDGET; in startRequestConfirmActivity()
393 confirmIntent.putExtra(LauncherApps.EXTRA_PIN_ITEM_REQUEST, request); in startRequestConfirmActivity()
DShortcutService.java39 import android.content.pm.LauncherApps;
40 import android.content.pm.LauncherApps.ShortcutQuery;
3311 String action = requestType == LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT ? in injectGetPinConfirmationActivity()
3312 LauncherApps.ACTION_CONFIRM_PIN_SHORTCUT : in injectGetPinConfirmationActivity()
3313 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
398 public LauncherApps(Context context, ILauncherApps service) { in LauncherApps() method in LauncherApps
407 public LauncherApps(Context context) { in LauncherApps() method in LauncherApps
1053 synchronized (LauncherApps.this) {
1065 synchronized (LauncherApps.this) {
1077 synchronized (LauncherApps.this) {
1090 synchronized (LauncherApps.this) {
1103 synchronized (LauncherApps.this) {
1116 synchronized (LauncherApps.this) {
1129 synchronized (LauncherApps.this) {
[all …]
DShortcutServiceInternal.java26 import android.content.pm.LauncherApps.ShortcutQuery;
DShortcutManager.java632 LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT); in isRequestPinShortcutSupported()
DShortcutInfo.java26 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()
DShortcutManagerTest10.java25 import android.content.pm.LauncherApps.PinItemRequest;
DShortcutManagerTest1.java73 import android.content.pm.LauncherApps;
74 import android.content.pm.LauncherApps.ShortcutQuery;
2969 final LauncherApps.Callback c0_1 = mock(LauncherApps.Callback.class); in testLauncherCallback_crossProfile()
2970 final LauncherApps.Callback c0_2 = mock(LauncherApps.Callback.class); in testLauncherCallback_crossProfile()
2971 final LauncherApps.Callback c0_3 = mock(LauncherApps.Callback.class); in testLauncherCallback_crossProfile()
2972 final LauncherApps.Callback c0_4 = mock(LauncherApps.Callback.class); in testLauncherCallback_crossProfile()
2974 final LauncherApps.Callback cP0_1 = mock(LauncherApps.Callback.class); in testLauncherCallback_crossProfile()
2975 final LauncherApps.Callback cP1_1 = mock(LauncherApps.Callback.class); in testLauncherCallback_crossProfile()
2976 final LauncherApps.Callback c10_1 = mock(LauncherApps.Callback.class); in testLauncherCallback_crossProfile()
2977 final LauncherApps.Callback c10_2 = 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.java55 import android.content.pm.LauncherApps;
56 import android.content.pm.LauncherApps.ShortcutQuery;
528 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.java38 import android.content.pm.LauncherApps;
39 import android.content.pm.LauncherApps.Callback;
632 public static void assertCallbackNotReceived(LauncherApps.Callback mock) { in assertCallbackNotReceived()
637 public static void assertCallbackReceived(LauncherApps.Callback mock, in assertCallbackReceived()
1062 private final LauncherApps.Callback mCallback = mock(LauncherApps.Callback.class);
1106 LauncherApps launcherApps, Runnable body) throws InterruptedException { in assertForLauncherCallback()
1122 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/appwidget/
DAppWidgetHostView.java22 import android.content.pm.LauncherApps;
500 LauncherApps launcherApps = getContext().getSystemService(LauncherApps.class); in updateContentDescription()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java41 import android.content.pm.LauncherApps;
647 registerService(Context.LAUNCHER_APPS_SERVICE, LauncherApps.class, in registerService()
648 new CachedServiceFetcher<LauncherApps>() { in registerService()
650 public LauncherApps createService(ContextImpl ctx) { in registerService()
651 return new LauncherApps(ctx); in registerService()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java46 import android.content.pm.LauncherApps;
1604 LauncherApps.PinItemRequest.REQUEST_TYPE_APPWIDGET); in isRequestPinAppWidgetSupported()
/frameworks/base/config/
Dcompiled-classes-phone1027 android.content.pm.LauncherApps
1028 android.content.pm.LauncherApps$1
1029 android.content.pm.LauncherApps$Callback
1030 android.content.pm.LauncherApps$CallbackMessageHandler
1031 android.content.pm.LauncherApps$CallbackMessageHandler$CallbackInfo
1032 android.content.pm.LauncherApps$ShortcutQuery
Dboot-image-profile.txt1847 HPLandroid/content/pm/LauncherApps$1;->onPackageChanged(Landroid/os/UserHandle;Ljava/lang/String;)V
1848 HPLandroid/content/pm/LauncherApps$1;->onShortcutChanged(Landroid/os/UserHandle;Ljava/lang/String;L…
1849 HPLandroid/content/pm/LauncherApps$CallbackMessageHandler$CallbackInfo;-><init>()V
1850 HPLandroid/content/pm/LauncherApps$CallbackMessageHandler$CallbackInfo;-><init>(Landroid/content/pm…
1851 HPLandroid/content/pm/LauncherApps$CallbackMessageHandler;->handleMessage(Landroid/os/Message;)V
1852 HPLandroid/content/pm/LauncherApps$CallbackMessageHandler;->postOnPackageChanged(Ljava/lang/String;…
1853 HPLandroid/content/pm/LauncherApps$CallbackMessageHandler;->postOnShortcutChanged(Ljava/lang/String…
1854 HPLandroid/content/pm/LauncherApps$ShortcutQuery;->setActivity(Landroid/content/ComponentName;)Land…
1855 HPLandroid/content/pm/LauncherApps$ShortcutQuery;->setPackage(Ljava/lang/String;)Landroid/content/p…
1856 HPLandroid/content/pm/LauncherApps$ShortcutQuery;->setShortcutIds(Ljava/util/List;)Landroid/content…
[all …]
Dpreloaded-classes578 android.content.pm.LauncherApps
/frameworks/base/api/
Dtest-current.txt10396 public class LauncherApps {
10397 ctor public LauncherApps(android.content.Context);
10400 …method public android.content.pm.LauncherApps.PinItemRequest getPinItemRequest(android.content.Int…
10406 …List<android.content.pm.ShortcutInfo> getShortcuts(android.content.pm.LauncherApps.ShortcutQuery, …
10411 method public void registerCallback(android.content.pm.LauncherApps.Callback);
10412 … method public void registerCallback(android.content.pm.LauncherApps.Callback, android.os.Handler);
10418 method public void unregisterCallback(android.content.pm.LauncherApps.Callback);
10424 public static abstract class LauncherApps.Callback {
10425 ctor public LauncherApps.Callback();
10436 public static final class LauncherApps.PinItemRequest implements android.os.Parcelable {
[all …]
Dcurrent.txt10359 public class LauncherApps {
10362 …method public android.content.pm.LauncherApps.PinItemRequest getPinItemRequest(android.content.Int…
10368 …List<android.content.pm.ShortcutInfo> getShortcuts(android.content.pm.LauncherApps.ShortcutQuery, …
10373 method public void registerCallback(android.content.pm.LauncherApps.Callback);
10374 … method public void registerCallback(android.content.pm.LauncherApps.Callback, android.os.Handler);
10380 method public void unregisterCallback(android.content.pm.LauncherApps.Callback);
10386 public static abstract class LauncherApps.Callback {
10387 ctor public LauncherApps.Callback();
10398 public static final class LauncherApps.PinItemRequest implements android.os.Parcelable {
10408 …field public static final android.os.Parcelable.Creator<android.content.pm.LauncherApps.PinItemReq…
[all …]
Dsystem-current.txt10965 public class LauncherApps {
10968 …method public android.content.pm.LauncherApps.PinItemRequest getPinItemRequest(android.content.Int…
10974 …List<android.content.pm.ShortcutInfo> getShortcuts(android.content.pm.LauncherApps.ShortcutQuery, …
10979 method public void registerCallback(android.content.pm.LauncherApps.Callback);
10980 … method public void registerCallback(android.content.pm.LauncherApps.Callback, android.os.Handler);
10986 method public void unregisterCallback(android.content.pm.LauncherApps.Callback);
10992 public static abstract class LauncherApps.Callback {
10993 ctor public LauncherApps.Callback();
11004 public static final class LauncherApps.PinItemRequest implements android.os.Parcelable {
11014 …field public static final android.os.Parcelable.Creator<android.content.pm.LauncherApps.PinItemReq…
[all …]

12