Home
last modified time | relevance | path

Searched refs:getShortcuts (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java540 assertShortcutIds(mManager.getShortcuts(ShortcutManager.FLAG_MATCH_CACHED), in testPushDynamicShortcut()
1561 assertShortcutIds(mManager.getShortcuts(ShortcutManager.FLAG_MATCH_MANIFEST), in testShortcutManagerGetShortcuts_shortcutTypes()
1565 assertShortcutIds(mManager.getShortcuts(ShortcutManager.FLAG_MATCH_DYNAMIC), in testShortcutManagerGetShortcuts_shortcutTypes()
1569 assertShortcutIds(mManager.getShortcuts(ShortcutManager.FLAG_MATCH_PINNED), in testShortcutManagerGetShortcuts_shortcutTypes()
1573 assertShortcutIds(mManager.getShortcuts(ShortcutManager.FLAG_MATCH_CACHED), in testShortcutManagerGetShortcuts_shortcutTypes()
1577 assertShortcutIds(mManager.getShortcuts( in testShortcutManagerGetShortcuts_shortcutTypes()
1582 assertShortcutIds(mManager.getShortcuts( in testShortcutManagerGetShortcuts_shortcutTypes()
1587 assertShortcutIds(mManager.getShortcuts( in testShortcutManagerGetShortcuts_shortcutTypes()
1592 assertShortcutIds(mManager.getShortcuts( in testShortcutManagerGetShortcuts_shortcutTypes()
1597 assertShortcutIds(mManager.getShortcuts( in testShortcutManagerGetShortcuts_shortcutTypes()
[all …]
DBaseShortcutManagerTest.java2084 ret[0] = mLauncherApps.getShortcuts(q, UserHandle.of(userId));
2096 return mLauncherApps.getShortcuts(q, UserHandle.of(targetUserId));
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DShortcutHelperTest.java226 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(shortcutInfos); in testListenerNotifiedOnShortcutRemoved()
234 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(null); in testGetValidShortcutInfo_noMatchingShortcut()
245 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(shortcuts); in testGetValidShortcutInfo_nullShortcut()
262 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(shortcuts); in testGetValidShortcutInfo_notLongLived()
280 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(shortcuts); in testGetValidShortcutInfo_notSharingShortcut()
297 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(shortcuts); in testGetValidShortcutInfo_notEnabled()
315 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(shortcuts); in testGetValidShortcutInfo_isValid()
336 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(shortcuts); in testGetValidShortcutInfo_isValidButUserLocked()
348 verify(mLauncherApps).getShortcuts(mShortcutQueryCaptor.capture(), any()); in testGetValidShortcutInfo_hasGetPersonsDataFlag()
DNotificationManagerServiceTest.java839 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(shortcutInfos); in initNMS()
10805 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(null);
10854 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(shortcutInfos);
11400 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(Arrays.asList(si));
11440 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(Arrays.asList(si));
11464 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(null);
11497 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(null);
11518 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(null);
/frameworks/base/core/java/android/content/pm/
DShortcutManager.java170 return mService.getShortcuts(mContext.getPackageName(), in getDynamicShortcuts()
190 return mService.getShortcuts(mContext.getPackageName(), in getManifestShortcuts()
217 public List<ShortcutInfo> getShortcuts(@ShortcutMatchFlags int matchFlags) { in getShortcuts() method in ShortcutManager
219 return mService.getShortcuts(mContext.getPackageName(), matchFlags, in getShortcuts()
303 return mService.getShortcuts(mContext.getPackageName(), FLAG_MATCH_PINNED, in getPinnedShortcuts()
DIShortcutService.aidl79 ParceledListSlice getShortcuts(String packageName, int matchFlags, int userId); in getShortcuts() method
DShortcutServiceInternal.java49 getShortcuts(int launcherUserId, in getShortcuts() method in ShortcutServiceInternal
DILauncherApps.aidl84 ParceledListSlice getShortcuts(String callingPackage, in ShortcutQueryWrapper query, in getShortcuts() method
DLauncherApps.java1475 public List<ShortcutInfo> getShortcuts(@NonNull ShortcutQuery query, in getShortcuts() method in LauncherApps
1488 return maybeUpdateDisabledMessage(mService.getShortcuts(mContext.getPackageName(), in getShortcuts()
1523 return getShortcuts(q, user); in getShortcutInfo()
1644 final List<ShortcutInfo> shortcuts = getShortcuts(q, user); in getShortcutIconResId()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
DMultiInstanceHelperTest.kt54 whenever(launcherApps.getShortcuts(ArgumentMatchers.any(), ArgumentMatchers.any())) in getShortcutComponent_nullShortcuts()
63 whenever(launcherApps.getShortcuts(ArgumentMatchers.any(), ArgumentMatchers.any())) in getShortcutComponent_noShortcuts()
74 whenever(launcherApps.getShortcuts(ArgumentMatchers.any(), ArgumentMatchers.any())) in getShortcutComponent_validShortcut()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DShortcutParser.java74 public List<Shortcut> getShortcuts() { in getShortcuts() method in ShortcutParser
141 new ComponentName(sp[0], sp[1])).getShortcuts()) { in create()
DShortcutPicker.java69 info.getComponentName()).getShortcuts(); in onCreatePreferences()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DMultiInstanceHelper.kt116 val shortcuts = launcherApps.getShortcuts(query, user) in getShortcutComponent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleDataRepository.kt240 launcherApps.getShortcuts( in <lambda>()
/frameworks/base/services/core/java/com/android/server/notification/
DShortcutHelper.java207 List<ShortcutInfo> shortcuts = mLauncherAppsService.getShortcuts(query, user); in getValidShortcutInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DDataManagerTest.java286 when(mShortcutServiceInternal.getShortcuts( in setUp()
360 verify(mShortcutServiceInternal).getShortcuts(anyInt(), anyString(), anyLong(), in testGetShortcut()
735 when(mShortcutServiceInternal.getShortcuts( in testGetConversation_unsyncedShortcut()
820 verify(mShortcutServiceInternal).getShortcuts( in testGetConversationGetsPersonsData()
1360 verify(mShortcutServiceInternal).getShortcuts( in testGetRecentConversationsGetsPersonsData()
/frameworks/base/services/people/java/com/android/server/people/data/
DDataManager.java220 List<ShortcutInfo> shortcuts = getShortcuts(packageName, userId, in getShortcut()
751 private List<ShortcutInfo> getShortcuts( in getShortcuts() method in DataManager
758 return mShortcutServiceInternal.getShortcuts( in getShortcuts()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java1239 public ParceledListSlice getShortcuts(@NonNull final String callingPackage, in getShortcuts() method in LauncherAppsService.LauncherAppsImpl
1268 mShortcutServiceInternal.getShortcuts(getCallingUserId(), in getShortcuts()
2708 mShortcutServiceInternal.getShortcuts(launcherUserId, in onShortcutChangedInner()
DShortcutService.java2556 public ParceledListSlice<ShortcutInfo> getShortcuts(String packageName,
2970 public List<ShortcutInfo> getShortcuts(int launcherUserId,
3103 final List<ShortcutInfo> ret = getShortcuts(launcherUserId, callingPackage,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationConversationInfoTest.java197 when(mLauncherApps.getShortcuts(any(), any())).thenReturn(shortcuts); in setUp()
/frameworks/base/services/
Dart-profile2438 HPLcom/android/server/pm/LauncherAppsService$LauncherAppsImpl;->getShortcuts(Ljava/lang/String;Land…
2646 HPLcom/android/server/pm/ShortcutService$LocalService;->getShortcuts(ILjava/lang/String;JLjava/lang…
Dart-wear-profile18358 PLcom/android/server/pm/LauncherAppsService$LauncherAppsImpl;->getShortcuts(Ljava/lang/String;Landr…
19644 PLcom/android/server/pm/ShortcutService$LocalService;->getShortcuts(ILjava/lang/String;JLjava/lang/…
19648 PLcom/android/server/pm/ShortcutService$LocalService;->lambda$getShortcuts$0(ILjava/lang/String;Lja…
/frameworks/base/boot/
Dboot-image-profile.txt4405 HSPLandroid/content/pm/ILauncherApps$Stub$Proxy;->getShortcuts(Ljava/lang/String;Landroid/content/p…
4461 HSPLandroid/content/pm/IShortcutService$Stub$Proxy;->getShortcuts(Ljava/lang/String;II)Landroid/con…
4487 HSPLandroid/content/pm/LauncherApps;->getShortcuts(Landroid/content/pm/LauncherApps$ShortcutQuery;L…
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/config/
Dboot-image-profile.txt4408 HSPLandroid/content/pm/ILauncherApps$Stub$Proxy;->getShortcuts(Ljava/lang/String;Landroid/content/p…
4464 HSPLandroid/content/pm/IShortcutService$Stub$Proxy;->getShortcuts(Ljava/lang/String;II)Landroid/con…
4490 HSPLandroid/content/pm/LauncherApps;->getShortcuts(Landroid/content/pm/LauncherApps$ShortcutQuery;L…

12