/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/tests/unittest/src/com/android/wm/shell/bubbles/storage/ |
D | BubbleVolatileRepositoryTest.kt | 20 import android.content.pm.LauncherApps 63 private lateinit var launcherApps: LauncherApps 67 launcherApps = mock<LauncherApps>() in setup() 81 eq(LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS)) in testAddBubbles() 84 eq(LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS)) in testAddBubbles() 88 eq(LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS)) in testAddBubbles() 91 eq(LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS)) in testAddBubbles() 111 eq(LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS)) in testRemoveBubbles() 119 eq(LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS)) in testRemoveBubbles() 131 eq(LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS)) in testAddAndRemoveBubblesWhenExceedingCapacity() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | MultiInstanceHelper.kt | 21 import android.content.pm.LauncherApps 111 user: UserHandle, launcherApps: LauncherApps): ComponentName? { in getShortcutComponent() 112 val query = LauncherApps.ShortcutQuery() in getShortcutComponent() 115 query.setQueryFlags(LauncherApps.ShortcutQuery.FLAG_MATCH_ALL_KINDS_WITH_ALL_PINNED) in getShortcutComponent()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubbleDataRepository.kt | 20 import android.content.pm.LauncherApps in <lambda>() 21 import android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_CACHED in <lambda>() 22 import android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_DYNAMIC in <lambda>() 23 import android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_PINNED_BY_ANY_LAUNCHER in <lambda>() 43 private val launcherApps: LauncherApps, in <lambda>() 241 LauncherApps.ShortcutQuery() in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/storage/ |
D | BubbleVolatileRepository.kt | 19 import android.content.pm.LauncherApps in <lambda>() 31 class BubbleVolatileRepository(private val launcherApps: LauncherApps) { in <lambda>() 164 UserHandle.of(key.userId), LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS) in <lambda>() 171 UserHandle.of(key.userId), LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS) in <lambda>()
|
/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/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/ |
D | SettingsAwareViewCapture.kt | 20 import android.content.pm.LauncherApps in <lambda>() 72 val launcherApps = context.getSystemService(LauncherApps::class.java) in <lambda>()
|
/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; 78 assertEquals(LauncherApps.ACTION_CONFIRM_PIN_APPWIDGET, actualIntent.getAction()); in assertPinItemRequestIntent()
|
D | SuspendPackagesTest.java | 35 import android.content.pm.LauncherApps; 92 private LauncherApps mLauncherApps; 100 mLauncherApps = (LauncherApps) mContext.getSystemService(Context.LAUNCHER_APPS_SERVICE); in setUp() 302 private static abstract class StubbedCallback extends LauncherApps.Callback {
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | BubbleIconFactory.java | 5 import android.content.pm.LauncherApps; 55 LauncherApps launcherApps = context.getSystemService(LauncherApps.class); in getBubbleDrawable()
|
/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/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/ |
D | MultiInstanceHelperTest.kt | 21 import android.content.pm.LauncherApps 53 val launcherApps = mock<LauncherApps>() in getShortcutComponent_nullShortcuts() 62 val launcherApps = mock<LauncherApps>() in getShortcutComponent_noShortcuts() 73 val launcherApps = mock<LauncherApps>() in getShortcutComponent_validShortcut()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/ |
D | ConversationIconFactory.java | 21 import android.content.pm.LauncherApps; 70 final LauncherApps mLauncherApps; 75 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 | 114 public class LauncherApps { class 664 public LauncherApps(Context context, ILauncherApps service) { in LauncherApps() method in LauncherApps 673 public LauncherApps(Context context) { in LauncherApps() method in LauncherApps 1339 public LauncherApps.AppUsageLimit getAppUsageLimit(@NonNull String packageName, in getAppUsageLimit() 2048 synchronized (LauncherApps.this) { 2060 synchronized (LauncherApps.this) { 2072 synchronized (LauncherApps.this) { 2086 synchronized (LauncherApps.this) { 2100 synchronized (LauncherApps.this) { 2115 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; 92 @NonNull LauncherApps.ShortcutChangeCallback callback); in addShortcutChangeCallback()
|
/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/tests/utils/src/android/content/pm/ |
D | LauncherAppsKosmos.kt | 22 val Kosmos.launcherApps by Kosmos.Fixture { mock<LauncherApps>() } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
D | LaunchConversationActivity.java | 22 import android.content.pm.LauncherApps; 162 LauncherApps launcherApps = in onCreate() 163 getApplicationContext().getSystemService(LauncherApps.class); in onCreate()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/ |
D | TestableBubbleController.java | 20 import android.content.pm.LauncherApps; 67 LauncherApps launcherApps, in TestableBubbleController()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/ |
D | BubbleDataRepositoryTest.kt | 20 import android.content.pm.LauncherApps 127 private val launcherApps = mock<LauncherApps>()
|
/frameworks/base/core/java/com/android/internal/app/chooser/ |
D | SelectableTargetInfo.java | 26 import android.content.pm.LauncherApps; 180 LauncherApps launcherApps = (LauncherApps) mContext.getSystemService( in getChooserTargetIconDrawable()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
D | PeopleSpaceUtilsTest.java | 44 import android.content.pm.LauncherApps; 393 mContext.getSystemService(LauncherApps.class)).build()); in testDoNotUpdateSingleConversationAppWidgetWhenNotBirthday() 413 mContext.getSystemService(LauncherApps.class)).setBirthdayText( in testUpdateSingleConversationAppWidgetWithoutPersonContactUriToRemoveBirthday() 449 mContext.getSystemService(LauncherApps.class)).setBirthdayText( in testUpdateSingleConversationAppWidgetToRemoveBirthdayWhenNoLongerBirthday() 473 mContext.getSystemService(LauncherApps.class)).setBirthdayText( in testUpdateSingleConversationAppWidgetWhenBirthday()
|