/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/storage/ |
D | BubbleVolatileRepositoryTest.kt | 19 import android.content.pm.LauncherApps 48 private lateinit var launcherApps: LauncherApps 52 launcherApps = mock(LauncherApps::class.java) in setup() 62 eq(LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS)) in testAddBubbles() 65 eq(LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS)) in testAddBubbles() 81 eq(LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS)) in testRemoveBubbles() 93 eq(LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS)) in testAddAndRemoveBubblesWhenExceedingCapacity() 96 eq(LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS)) in testAddAndRemoveBubblesWhenExceedingCapacity() 103 eq(LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS)) in testAddAndRemoveBubblesWhenExceedingCapacity()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ShortcutHelper.java | 19 import static android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_CACHED; 20 import static android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_DYNAMIC; 21 import static android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_PINNED_BY_ANY_LAUNCHER; 25 import android.content.pm.LauncherApps; 66 private LauncherApps mLauncherAppsService; 76 private final LauncherApps.Callback mLauncherAppsCallback = new LauncherApps.Callback() { 145 ShortcutHelper(LauncherApps launcherApps, ShortcutListener listener, in ShortcutHelper() 153 void setLauncherApps(LauncherApps launcherApps) { in setLauncherApps() 192 LauncherApps.ShortcutQuery query = new LauncherApps.ShortcutQuery(); in getValidShortcutInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BubbleDataRepository.kt | 20 import android.content.pm.LauncherApps in <lambda>() 21 import android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_DYNAMIC in <lambda>() 22 import android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_PINNED_BY_ANY_LAUNCHER in <lambda>() 23 import android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_CACHED in <lambda>() 43 private val launcherApps: LauncherApps in <lambda>() 156 LauncherApps.ShortcutQuery() in <lambda>()
|
D | BubbleExperimentConfig.java | 20 import static android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_DYNAMIC; 21 import static android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_MANIFEST; 22 import static android.content.pm.LauncherApps.ShortcutQuery.FLAG_MATCH_PINNED; 32 import android.content.pm.LauncherApps; 259 LauncherApps launcherAppService = in getShortcutInfo() 260 (LauncherApps) context.getSystemService(Context.LAUNCHER_APPS_SERVICE); in getShortcutInfo() 261 LauncherApps.ShortcutQuery query = new LauncherApps.ShortcutQuery(); in getShortcutInfo()
|
D | BubbleIconFactory.java | 22 import android.content.pm.LauncherApps; 59 LauncherApps launcherApps = in getBubbleDrawable() 60 (LauncherApps) context.getSystemService(Context.LAUNCHER_APPS_SERVICE); in getBubbleDrawable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/storage/ |
D | BubbleVolatileRepository.kt | 18 import android.content.pm.LauncherApps in <lambda>() 33 private val launcherApps: LauncherApps in <lambda>() 83 UserHandle.of(key.userId), LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS) in <lambda>() 90 UserHandle.of(key.userId), LauncherApps.FLAG_CACHE_BUBBLE_SHORTCUTS) in <lambda>()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ShortcutHelperTest.java | 30 import android.content.pm.LauncherApps; 65 LauncherApps mLauncherApps; 104 private LauncherApps.Callback addShortcutBubbleAndVerifyListener() { in addShortcutBubbleAndVerifyListener() 109 ArgumentCaptor<LauncherApps.Callback> launcherAppsCallback = in addShortcutBubbleAndVerifyListener() 110 ArgumentCaptor.forClass(LauncherApps.Callback.class); in addShortcutBubbleAndVerifyListener() 202 LauncherApps.Callback callback = addShortcutBubbleAndVerifyListener(); in testOnShortcutsChanged_listenerRemoved() 212 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; 291 return new Intent().putExtra(LauncherApps.EXTRA_PIN_ITEM_REQUEST, request); in createShortcutResultIntent() 389 final String action = requestType == LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT ? in startRequestConfirmActivity() 390 LauncherApps.ACTION_CONFIRM_PIN_SHORTCUT : in startRequestConfirmActivity() 391 LauncherApps.ACTION_CONFIRM_PIN_APPWIDGET; in startRequestConfirmActivity() 396 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/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/packages/SystemUI/tests/src/com/android/systemui/bubbles/ |
D | TestableBubbleController.java | 21 import android.content.pm.LauncherApps; 66 LauncherApps launcherApps) { in TestableBubbleController()
|
/frameworks/base/core/java/android/content/pm/ |
D | LauncherApps.java | 105 public class LauncherApps { class 613 public LauncherApps(Context context, ILauncherApps service) { in LauncherApps() method in LauncherApps 622 public LauncherApps(Context context) { in LauncherApps() method in LauncherApps 972 public LauncherApps.AppUsageLimit getAppUsageLimit(@NonNull String packageName, in getAppUsageLimit() 1573 synchronized (LauncherApps.this) { 1585 synchronized (LauncherApps.this) { 1597 synchronized (LauncherApps.this) { 1610 synchronized (LauncherApps.this) { 1623 synchronized (LauncherApps.this) { 1637 synchronized (LauncherApps.this) { [all …]
|
D | LauncherApps.aidl | 19 parcelable LauncherApps.AppUsageLimit;
|
D | ShortcutServiceInternal.java | 28 import android.content.pm.LauncherApps.ShortcutQuery; 69 @NonNull LauncherApps.ShortcutChangeCallback callback); in addShortcutChangeCallback()
|
D | ShortcutQueryWrapper.java | 35 public final class ShortcutQueryWrapper extends LauncherApps.ShortcutQuery implements Parcelable { 37 public ShortcutQueryWrapper(LauncherApps.ShortcutQuery query) { in ShortcutQueryWrapper()
|
D | ILauncherApps.aidl | 27 import android.content.pm.LauncherApps; 68 LauncherApps.AppUsageLimit getAppUsageLimit(String callingPackage, String packageName, in getAppUsageLimit()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/dagger/ |
D | BubbleModule.java | 21 import android.content.pm.LauncherApps; 77 LauncherApps launcherApps) { in newBubbleController()
|
/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/core/java/android/window/ |
D | TaskEmbedder.java | 31 import android.content.pm.LauncherApps; 426 LauncherApps service = in startShortcutActivity() 427 (LauncherApps) mContext.getSystemService(Context.LAUNCHER_APPS_SERVICE); in startShortcutActivity()
|
/frameworks/base/core/java/com/android/internal/app/chooser/ |
D | SelectableTargetInfo.java | 26 import android.content.pm.LauncherApps; 151 LauncherApps launcherApps = (LauncherApps) mContext.getSystemService( in getChooserTargetIconDrawable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/ |
D | SystemServicesModule.java | 36 import android.content.pm.LauncherApps; 202 static LauncherApps provideLauncherApps(Context context) { in provideLauncherApps() 203 return context.getSystemService(LauncherApps.class); in provideLauncherApps()
|
/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/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/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | ConversationNotifications.kt | 21 import android.content.pm.LauncherApps in <lambda>() 39 private val launcherApps: LauncherApps, in <lambda>()
|