Home
last modified time | relevance | path

Searched refs:isSharingShortcut (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DShortcutHelperTest.java224 when(mShortcutServiceInternal.isSharingShortcut(anyInt(), anyString(), anyString(), in testGetValidShortcutInfo_noMatchingShortcut()
235 when(mShortcutServiceInternal.isSharingShortcut(anyInt(), anyString(), anyString(), in testGetValidShortcutInfo_nullShortcut()
252 when(mShortcutServiceInternal.isSharingShortcut(anyInt(), anyString(), anyString(), in testGetValidShortcutInfo_notLongLived()
270 when(mShortcutServiceInternal.isSharingShortcut(anyInt(), anyString(), anyString(), in testGetValidShortcutInfo_notSharingShortcut()
287 when(mShortcutServiceInternal.isSharingShortcut(anyInt(), anyString(), anyString(), in testGetValidShortcutInfo_notEnabled()
DNotificationManagerServiceTest.java493 when(mShortcutServiceInternal.isSharingShortcut(anyInt(), anyString(), anyString(), in setUp()
6282 when(mShortcutServiceInternal.isSharingShortcut(anyInt(), anyString(), anyString(), in testNotificationBubbles_shortcut_stopListeningWhenNotifRemoved()
6636 when(mShortcutServiceInternal.isSharingShortcut(anyInt(), anyString(), anyString(), in testGetConversationsForPackage_hasShortcut()
/frameworks/base/core/java/android/content/pm/
DShortcutServiceInternal.java113 public abstract boolean isSharingShortcut(int callingUserId, @NonNull String callingPackage, in isSharingShortcut() method in ShortcutServiceInternal
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java6796 mInternal.isSharingShortcut(USER_0, LAUNCHER_1, CALLING_PACKAGE_1, "s1", USER_0, in testisSharingShortcut_permission()
8695 assertTrue(mInternal.isSharingShortcut(USER_0, LAUNCHER_1, CALLING_PACKAGE_1, "s1", USER_0, in testIsSharingShortcut()
8697 assertFalse(mInternal.isSharingShortcut(USER_0, LAUNCHER_1, CALLING_PACKAGE_1, "s1", USER_0, in testIsSharingShortcut()
8699 assertTrue(mInternal.isSharingShortcut(USER_0, LAUNCHER_1, CALLING_PACKAGE_1, "s1", USER_0, in testIsSharingShortcut()
8702 assertFalse(mInternal.isSharingShortcut(USER_0, LAUNCHER_1, CALLING_PACKAGE_1, "s2", USER_0, in testIsSharingShortcut()
8704 assertTrue(mInternal.isSharingShortcut(USER_0, LAUNCHER_1, CALLING_PACKAGE_1, "s2", USER_0, in testIsSharingShortcut()
8706 assertTrue(mInternal.isSharingShortcut(USER_0, LAUNCHER_1, CALLING_PACKAGE_1, "s2", USER_0, in testIsSharingShortcut()
8709 assertFalse(mInternal.isSharingShortcut(USER_0, LAUNCHER_1, CALLING_PACKAGE_1, "s3", USER_0, in testIsSharingShortcut()
8711 assertFalse(mInternal.isSharingShortcut(USER_0, LAUNCHER_1, CALLING_PACKAGE_1, "s4", USER_0, in testIsSharingShortcut()
8746 assertTrue(mInternal.isSharingShortcut(USER_0, LAUNCHER_1, CALLING_PACKAGE_1, "s1", USER_0, in testIsSharingShortcut_PinnedAndCachedOnlyShortcuts()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DDataManagerTest.java213 when(mShortcutServiceInternal.isSharingShortcut(anyInt(), anyString(), anyString(), in setUp()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java2455 public boolean isSharingShortcut(int callingUserId, @NonNull String callingPackage, in isSharingShortcut() method in ShortcutService
3072 public boolean isSharingShortcut(int callingUserId, @NonNull String callingPackage, in isSharingShortcut() method in ShortcutService.LocalService
3079 return ShortcutService.this.isSharingShortcut(callingUserId, callingPackage, in isSharingShortcut()