/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutRequestPinProcessor.java | 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()
|
D | LauncherAppsService.java | 37 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()
|
D | ShortcutService.java | 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()
|
/frameworks/base/core/java/android/content/pm/ |
D | LauncherApps.java | 93 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 …]
|
D | LauncherApps.aidl | 19 parcelable LauncherApps.AppUsageLimit;
|
D | ILauncherApps.aidl | 26 import android.content.pm.LauncherApps; 65 LauncherApps.AppUsageLimit getAppUsageLimit(String callingPackage, String packageName, in getAppUsageLimit()
|
D | ShortcutServiceInternal.java | 26 import android.content.pm.LauncherApps.ShortcutQuery;
|
D | ShortcutManager.java | 451 LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT); in isRequestPinShortcutSupported()
|
D | ShortcutInfo.java | 32 import android.content.pm.LauncherApps.ShortcutQuery;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest9.java | 32 import android.content.pm.LauncherApps; 33 import android.content.pm.LauncherApps.PinItemRequest; 75 assertEquals(LauncherApps.ACTION_CONFIRM_PIN_APPWIDGET, actualIntent.getAction()); in assertPinItemRequestIntent()
|
D | SuspendPackagesTest.java | 41 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 {
|
D | ShortcutManagerTest10.java | 25 import android.content.pm.LauncherApps.PinItemRequest;
|
D | ShortcutManagerTest1.java | 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 …]
|
D | ShortcutManagerTest8.java | 37 import android.content.pm.LauncherApps; 38 import android.content.pm.LauncherApps.PinItemRequest; 214 assertEquals(LauncherApps.ACTION_CONFIRM_PIN_SHORTCUT, actualIntent.getAction()); in assertPinItemRequestIntent()
|
D | BaseShortcutManagerTest.java | 58 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/ |
D | ShortcutPicker.java | 21 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/ |
D | ShortcutManagerTestUtils.java | 40 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/ |
D | AppWidgetHostView.java | 28 import android.content.pm.LauncherApps; 651 LauncherApps launcherApps = getContext().getSystemService(LauncherApps.class); in onDefaultViewClicked()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/ |
D | AppWidgetServiceImplTest.java | 39 import android.content.pm.LauncherApps; 134 eq(LauncherApps.PinItemRequest.REQUEST_TYPE_APPWIDGET)); in testIsRequestPinAppWidgetSupported()
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 58 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/ |
D | ChooserActivity.java | 51 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/ |
D | system-lint-baseline.txt | 235 SamShouldBeLast: android.content.pm.LauncherApps#registerPackageInstallerSessionCallback(java.util.…
|
D | lint-baseline.txt | 759 RequiresPermission: android.content.pm.LauncherApps.Callback#onPackagesSuspended(String[], android.…
|
D | test-lint-baseline.txt | 726 MissingNullability: android.content.pm.LauncherApps#LauncherApps(android.content.Context) parameter…
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 50 import android.content.pm.LauncherApps; 1658 LauncherApps.PinItemRequest.REQUEST_TYPE_APPWIDGET); in isRequestPinAppWidgetSupported()
|