/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/storage/ |
D | BubbleVolatileRepositoryTest.kt | 20 import android.content.pm.LauncherApps 60 private lateinit var launcherApps: LauncherApps 64 launcherApps = mock(LauncherApps::class.java) in setup() 78 eq(LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS)) in testAddBubbles() 81 eq(LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS)) in testAddBubbles() 85 eq(LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS)) in testAddBubbles() 88 eq(LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS)) in testAddBubbles() 108 eq(LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS)) in testRemoveBubbles() 116 eq(LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS)) in testRemoveBubbles() 128 eq(LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS)) in testAddAndRemoveBubblesWhenExceedingCapacity() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ShortcutHelper.java | 19 import static android.content.pm.LauncherApps.ShortcutQuery.FLAG_GET_PERSONS_DATA; 20 import static android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_CACHED; 21 import static android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_DYNAMIC; 22 import static android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_PINNED_BY_ANY_LAUNCHER; 26 import android.content.pm.LauncherApps; 68 private LauncherApps mLauncherAppsService; 79 private final LauncherApps.Callback mLauncherAppsCallback = new LauncherApps.Callback() { 148 ShortcutHelper(LauncherApps launcherApps, ShortcutListener listener, in ShortcutHelper() 157 void setLauncherApps(LauncherApps launcherApps) { in setLauncherApps() 202 LauncherApps.ShortcutQuery query = new LauncherApps.ShortcutQuery(); in getValidShortcutInfo()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubbleDataRepository.kt | 21 import android.content.pm.LauncherApps in <lambda>() 22 import android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_CACHED in <lambda>() 23 import android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_DYNAMIC in <lambda>() 24 import android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_PINNED_BY_ANY_LAUNCHER in <lambda>() 40 private val launcherApps: LauncherApps, in <lambda>() 164 LauncherApps.ShortcutQuery() in <lambda>()
|
D | BubbleIconFactory.java | 22 import android.content.pm.LauncherApps; 61 LauncherApps launcherApps = in getBubbleDrawable() 62 (LauncherApps) context.getSystemService(Context.LAUNCHER_APPS_SERVICE); in getBubbleDrawable()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/storage/ |
D | BubbleVolatileRepository.kt | 18 import android.content.pm.LauncherApps in <lambda>() 30 class BubbleVolatileRepository(private val launcherApps: LauncherApps) { in <lambda>() 105 UserHandle.of(key.userId), LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS) in <lambda>() 112 UserHandle.of(key.userId), LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS) in <lambda>()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | LauncherAppsCompat.java | 21 import android.content.pm.LauncherApps; 30 public static PendingIntent getMainActivityLaunchIntent(LauncherApps launcherApps, in getMainActivityLaunchIntent()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ShortcutHelperTest.java | 31 import android.content.pm.LauncherApps; 32 import android.content.pm.LauncherApps.ShortcutQuery; 71 LauncherApps mLauncherApps; 115 private LauncherApps.Callback addShortcutBubbleAndVerifyListener() { in addShortcutBubbleAndVerifyListener() 120 ArgumentCaptor<LauncherApps.Callback> launcherAppsCallback = in addShortcutBubbleAndVerifyListener() 121 ArgumentCaptor.forClass(LauncherApps.Callback.class); in addShortcutBubbleAndVerifyListener() 213 LauncherApps.Callback callback = addShortcutBubbleAndVerifyListener(); in testOnShortcutsChanged_listenerRemoved() 223 LauncherApps.Callback callback = addShortcutBubbleAndVerifyListener(); in testListenerNotifiedOnShortcutRemoved()
|
/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; 292 return new Intent().putExtra(LauncherApps.EXTRA_PIN_ITEM_REQUEST, request); in createShortcutResultIntent() 388 final String action = requestType == LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT ? in startRequestConfirmActivity() 389 LauncherApps.ACTION_CONFIRM_PIN_SHORTCUT : in startRequestConfirmActivity() 390 LauncherApps.ACTION_CONFIRM_PIN_APPWIDGET; in startRequestConfirmActivity() 395 confirmIntent.putExtra(LauncherApps.EXTRA_PIN_ITEM_REQUEST, request); in startRequestConfirmActivity()
|
/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()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | ShortcutQueryWrapperTest.java | 48 private static final int QUERY_FLAG = LauncherApps.ShortcutQuery.FLAG_MATCH_ALL_KINDS; 54 mShortcutQuery = new ShortcutQueryWrapper(new LauncherApps.ShortcutQuery() in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | PeopleSpaceTileView.java | 21 import android.content.pm.LauncherApps; 71 public void setOnClickListener(LauncherApps launcherApps, PeopleSpaceTile tile) { in setOnClickListener()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/ |
D | TestableBubbleController.java | 20 import android.content.pm.LauncherApps; 50 LauncherApps launcherApps, in TestableBubbleController()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/ |
D | ConversationIconFactory.java | 21 import android.content.pm.LauncherApps; 71 final LauncherApps mLauncherApps; 76 public ConversationIconFactory(Context context, LauncherApps la, PackageManager pm, in ConversationIconFactory()
|
/frameworks/base/core/java/android/content/pm/ |
D | LauncherApps.aidl | 19 parcelable LauncherApps.AppUsageLimit;
|
D | LauncherApps.java | 105 public class LauncherApps { class 643 public LauncherApps(Context context, ILauncherApps service) { in LauncherApps() method in LauncherApps 652 public LauncherApps(Context context) { in LauncherApps() method in LauncherApps 1048 public LauncherApps.AppUsageLimit getAppUsageLimit(@NonNull String packageName, in getAppUsageLimit() 1651 synchronized (LauncherApps.this) { 1663 synchronized (LauncherApps.this) { 1675 synchronized (LauncherApps.this) { 1688 synchronized (LauncherApps.this) { 1701 synchronized (LauncherApps.this) { 1715 synchronized (LauncherApps.this) { [all …]
|
D | ShortcutQueryWrapper.java | 35 public final class ShortcutQueryWrapper extends LauncherApps.ShortcutQuery implements Parcelable { 37 public ShortcutQueryWrapper(LauncherApps.ShortcutQuery query) { in ShortcutQueryWrapper()
|
D | ShortcutServiceInternal.java | 28 import android.content.pm.LauncherApps.ShortcutQuery; 69 @NonNull LauncherApps.ShortcutChangeCallback callback); in addShortcutChangeCallback()
|
D | ILauncherApps.aidl | 28 import android.content.pm.LauncherApps; 71 LauncherApps.AppUsageLimit getAppUsageLimit(String callingPackage, String packageName, in getAppUsageLimit()
|
/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/packages/SystemUI/src/com/android/systemui/people/widget/ |
D | LaunchConversationActivity.java | 22 import android.content.pm.LauncherApps; 150 LauncherApps launcherApps = in onCreate() 151 getApplicationContext().getSystemService(LauncherApps.class); in onCreate()
|
/frameworks/base/core/java/com/android/internal/app/chooser/ |
D | SelectableTargetInfo.java | 26 import android.content.pm.LauncherApps; 150 LauncherApps launcherApps = (LauncherApps) mContext.getSystemService( in getChooserTargetIconDrawable()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/ |
D | TaskView.java | 29 import android.content.pm.LauncherApps; 127 LauncherApps service = mContext.getSystemService(LauncherApps.class); in startShortcutActivity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/ |
D | FrameworkServicesModule.java | 38 import android.content.pm.LauncherApps; 267 static LauncherApps provideLauncherApps(Context context) { in provideLauncherApps() 268 return context.getSystemService(LauncherApps.class); in provideLauncherApps()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/ |
D | IconManagerTest.kt | 24 import android.content.pm.LauncherApps 69 @Mock private lateinit var launcherApps: LauncherApps
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 43 import android.content.pm.LauncherApps; 44 import android.content.pm.LauncherApps.Callback; 703 public static void assertCallbackNotReceived(LauncherApps.Callback mock) { in assertCallbackNotReceived() 708 public static void assertCallbackReceived(LauncherApps.Callback mock, in assertCallbackReceived() 1157 private final LauncherApps.Callback mCallback = mock(LauncherApps.Callback.class); 1201 LauncherApps launcherApps, Runnable body) throws InterruptedException { in assertForLauncherCallback() 1217 LauncherApps launcherApps, Runnable body) { in assertForLauncherCallbackNoThrow()
|