Home
last modified time | relevance | path

Searched refs:launcherApps (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/storage/
DBubbleVolatileRepositoryTest.kt48 private lateinit var launcherApps: LauncherApps variable in com.android.systemui.bubbles.storage.BubbleVolatileRepositoryTest
52 launcherApps = mock(LauncherApps::class.java) in setup()
53 repository = BubbleVolatileRepository(launcherApps) in setup()
60 verify(launcherApps).cacheShortcuts(eq(PKG_MESSENGER), in testAddBubbles()
63 verify(launcherApps).cacheShortcuts(eq(PKG_CHAT), in testAddBubbles()
69 verifyNoMoreInteractions(launcherApps) in testAddBubbles()
79 verify(launcherApps).uncacheShortcuts(eq(PKG_MESSENGER), in testRemoveBubbles()
91 verify(launcherApps).cacheShortcuts(eq(PKG_MESSENGER), in testAddAndRemoveBubblesWhenExceedingCapacity()
94 verify(launcherApps).cacheShortcuts(eq(PKG_CHAT), in testAddAndRemoveBubblesWhenExceedingCapacity()
101 verify(launcherApps).uncacheShortcuts(eq(PKG_CHAT), in testAddAndRemoveBubblesWhenExceedingCapacity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/storage/
DBubbleVolatileRepository.kt33 private val launcherApps: LauncherApps in <lambda>() constant in com.android.systemui.bubbles.storage.BubbleVolatileRepository
82 launcherApps.cacheShortcuts(key.pkg, bubbles.map { it.shortcutId }, in <lambda>()
89 launcherApps.uncacheShortcuts(key.pkg, bubbles.map { it.shortcutId }, in <lambda>()
/frameworks/base/services/core/java/com/android/server/notification/
DShortcutHelper.java145 ShortcutHelper(LauncherApps launcherApps, ShortcutListener listener, in ShortcutHelper() argument
147 mLauncherAppsService = launcherApps; in ShortcutHelper()
153 void setLauncherApps(LauncherApps launcherApps) { in setLauncherApps() argument
154 mLauncherAppsService = launcherApps; in setLauncherApps()
DNotificationManagerService.java2313 LauncherApps launcherApps =
2315 mShortcutHelper = new ShortcutHelper(launcherApps, mShortcutListener, getLocalService(
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/
DTestableBubbleController.java66 LauncherApps launcherApps) { in TestableBubbleController() argument
73 windowManager, launcherApps); in TestableBubbleController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/dagger/
DBubbleModule.java77 LauncherApps launcherApps) { in newBubbleController() argument
100 launcherApps); in newBubbleController()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/
DIconManagerTest.kt69 @Mock private lateinit var launcherApps: LauncherApps variable in com.android.systemui.statusbar.notification.icon.IconManagerTest
85 `when`(launcherApps.getShortcutIcon(shortcut)).thenReturn(shortcutIc) in setUp()
87 iconManager = IconManager(notifCollection, launcherApps, iconBuilder) in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleDataRepository.kt43 private val launcherApps: LauncherApps in <lambda>() constant in com.android.systemui.bubbles.BubbleDataRepository
155 launcherApps.getShortcuts( in <lambda>()
DBubbleIconFactory.java59 LauncherApps launcherApps = in getBubbleDrawable() local
62 return launcherApps.getShortcutIconDrawable(shortcutInfo, density); in getBubbleDrawable()
DBubbleController.java359 LauncherApps launcherApps) { in BubbleController() argument
464 launcherApps.registerCallback(new LauncherApps.Callback() { in BubbleController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DConversationNotifications.kt39 private val launcherApps: LauncherApps, in <lambda>() constant in com.android.systemui.statusbar.notification.ConversationNotificationProcessor
50 messagingStyle.shortcutIcon = launcherApps.getShortcutIcon(shortcutInfo) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/dagger/
DNotificationsModule.java115 LauncherApps launcherApps, in provideNotificationGutsManager() argument
131 launcherApps, in provideNotificationGutsManager()
/frameworks/base/core/java/com/android/internal/app/chooser/
DSelectableTargetInfo.java151 LauncherApps launcherApps = (LauncherApps) mContext.getSystemService( in getChooserTargetIconDrawable() local
153 directShareIcon = launcherApps.getShortcutIconDrawable(shortcutInfo, 0); in getChooserTargetIconDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/
DIconManager.kt49 private val launcherApps: LauncherApps, in <lambda>() constant in com.android.systemui.statusbar.notification.icon.IconManager
260 ic = launcherApps.getShortcutIcon(shortcut) in <lambda>()
/frameworks/base/core/java/android/appwidget/
DAppWidgetHostView.java653 LauncherApps launcherApps = getContext().getSystemService(LauncherApps.class); in onDefaultViewClicked() local
654 List<LauncherActivityInfo> activities = launcherApps.getActivityList( in onDefaultViewClicked()
658 launcherApps.startMainActivity(ai.getComponentName(), ai.getUser(), in onDefaultViewClicked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/
DPeopleHubNotificationListener.kt95 launcherApps: LauncherApps, in extractPersonKey()
113 launcherApps, in extractPersonKey()
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java1138 LauncherApps launcherApps, Runnable body) throws InterruptedException { in assertForLauncherCallback() argument
1140 launcherApps.registerCallback(asserter.getMockCallback(), in assertForLauncherCallback()
1154 LauncherApps launcherApps, Runnable body) { in assertForLauncherCallbackNoThrow() argument
1156 return assertForLauncherCallback(launcherApps, body); in assertForLauncherCallbackNoThrow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManager.java135 LauncherApps launcherApps, in NotificationGutsManager() argument
150 mLauncherApps = launcherApps; in NotificationGutsManager()