Home
last modified time | relevance | path

Searched refs:LauncherApps (Results 1 – 25 of 35) 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;
628 public LauncherApps.AppUsageLimit getAppUsageLimit(String callingPackage, in getAppUsageLimit()
643 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/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
819 public LauncherApps.AppUsageLimit getAppUsageLimit(@NonNull String packageName, in getAppUsageLimit()
1270 synchronized (LauncherApps.this) {
1282 synchronized (LauncherApps.this) {
1294 synchronized (LauncherApps.this) {
1307 synchronized (LauncherApps.this) {
1320 synchronized (LauncherApps.this) {
1334 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/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/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;
640 public static void assertCallbackNotReceived(LauncherApps.Callback mock) { in assertCallbackNotReceived()
645 public static void assertCallbackReceived(LauncherApps.Callback mock, in assertCallbackReceived()
1094 private final LauncherApps.Callback mCallback = mock(LauncherApps.Callback.class);
1138 LauncherApps launcherApps, Runnable body) throws InterruptedException { in assertForLauncherCallback()
1154 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.java39 import android.content.pm.LauncherApps;
134 eq(LauncherApps.PinItemRequest.REQUEST_TYPE_APPWIDGET)); in testIsRequestPinAppWidgetSupported()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java58 import android.content.pm.LauncherApps;
876 registerService(Context.LAUNCHER_APPS_SERVICE, LauncherApps.class, in registerService()
877 new CachedServiceFetcher<LauncherApps>() { in registerService()
879 public LauncherApps createService(ContextImpl ctx) { in registerService()
880 return new LauncherApps(ctx); in registerService()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java51 import android.content.pm.LauncherApps;
2365 LauncherApps launcherApps = (LauncherApps) getSystemService(
2367 final LauncherApps.ShortcutQuery q = new LauncherApps.ShortcutQuery();
2370 q.setQueryFlags(LauncherApps.ShortcutQuery.FLAG_MATCH_DYNAMIC);
/frameworks/base/api/
Dsystem-lint-baseline.txt235 SamShouldBeLast: android.content.pm.LauncherApps#registerPackageInstallerSessionCallback(java.util.…
Dlint-baseline.txt759 RequiresPermission: android.content.pm.LauncherApps.Callback#onPackagesSuspended(String[], android.…
Dtest-lint-baseline.txt726 MissingNullability: android.content.pm.LauncherApps#LauncherApps(android.content.Context) parameter…
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java50 import android.content.pm.LauncherApps;
1658 LauncherApps.PinItemRequest.REQUEST_TYPE_APPWIDGET); in isRequestPinAppWidgetSupported()

12