/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ShortcutHelperTest.java | 224 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()
|
D | NotificationManagerServiceTest.java | 493 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/ |
D | ShortcutServiceInternal.java | 113 public abstract boolean isSharingShortcut(int callingUserId, @NonNull String callingPackage, in isSharingShortcut() method in ShortcutServiceInternal
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest1.java | 6796 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/ |
D | DataManagerTest.java | 213 when(mShortcutServiceInternal.isSharingShortcut(anyInt(), anyString(), anyString(), in setUp()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 2455 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()
|