/aosp12/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | ShortcutHelper.java | 70 private ShortcutServiceInternal mShortcutServiceInternal; field in ShortcutHelper 152 mShortcutServiceInternal = shortcutServiceInternal; in ShortcutHelper() 163 mShortcutServiceInternal = shortcutServiceInternal; in setShortcutServiceInternal() 175 ShortcutInfo shortcutInfo, ShortcutServiceInternal mShortcutServiceInternal, in isConversationShortcut() argument 211 if (isConversationShortcut(info, mShortcutServiceInternal, user.getIdentifier())) { in getValidShortcutInfo() 225 mShortcutServiceInternal.cacheShortcuts(user.getIdentifier(), "android", in cacheShortcut()
|
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | ShortcutHelperTest.java | 77 ShortcutServiceInternal mShortcutServiceInternal; field in ShortcutHelperTest 98 mLauncherApps, mShortcutListener, mShortcutServiceInternal, mUserManager); in setUp() 235 when(mShortcutServiceInternal.isSharingShortcut(anyInt(), anyString(), anyString(), in testGetValidShortcutInfo_noMatchingShortcut() 246 when(mShortcutServiceInternal.isSharingShortcut(anyInt(), anyString(), anyString(), in testGetValidShortcutInfo_nullShortcut() 263 when(mShortcutServiceInternal.isSharingShortcut(anyInt(), anyString(), anyString(), in testGetValidShortcutInfo_notLongLived() 281 when(mShortcutServiceInternal.isSharingShortcut(anyInt(), anyString(), anyString(), in testGetValidShortcutInfo_notSharingShortcut() 298 when(mShortcutServiceInternal.isSharingShortcut(anyInt(), anyString(), anyString(), in testGetValidShortcutInfo_notEnabled()
|
H A D | NotificationManagerServiceTest.java | 267 private ShortcutServiceInternal mShortcutServiceInternal; field in NotificationManagerServiceTest 535 mShortcutHelper.setShortcutServiceInternal(mShortcutServiceInternal); in setUp() 571 when(mShortcutServiceInternal.isSharingShortcut(anyInt(), anyString(), anyString(), in setUp() 7295 verify(mShortcutServiceInternal).cacheShortcuts( in testNotificationBubbles_flagRemoved_whenShortcutRemoved() 7350 when(mShortcutServiceInternal.isSharingShortcut(anyInt(), anyString(), anyString(), in testNotificationBubbles_shortcut_stopListeningWhenNotifRemoved() 7368 verify(mShortcutServiceInternal).cacheShortcuts( in testNotificationBubbles_shortcut_stopListeningWhenNotifRemoved() 7703 when(mShortcutServiceInternal.isSharingShortcut(anyInt(), anyString(), anyString(), in testGetConversationsForPackage_hasShortcut()
|
/aosp12/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | LauncherAppsService.java | 152 private final ShortcutServiceInternal mShortcutServiceInternal; field in LauncherAppsService.LauncherAppsImpl 183 mShortcutServiceInternal = Objects.requireNonNull( in LauncherAppsImpl() 187 mShortcutServiceInternal.addListener(mPackageMonitor); in LauncherAppsImpl() 693 final Intent[] intents = mShortcutServiceInternal.createShortcutIntents( in getShortcutIntent() 849 mShortcutServiceInternal.getShortcuts(getCallingUserId(), in getShortcuts() 896 mShortcutServiceInternal.pinShortcuts(getCallingUserId(), in pinShortcuts() 908 mShortcutServiceInternal.cacheShortcuts( in cacheShortcuts() 921 mShortcutServiceInternal.uncacheShortcuts( in uncacheShortcuts() 946 return mShortcutServiceInternal.getShortcutIconFd(getCallingUserId(), in getShortcutIconFd() 979 if (!mShortcutServiceInternal.isPinnedByCaller(getCallingUserId(), in startShortcut() [all …]
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
H A D | DataManagerTest.java | 143 private ShortcutServiceInternal mShortcutServiceInternal; field in DataManagerTest 286 when(mShortcutServiceInternal.getShortcuts( in setUp() 290 verify(mShortcutServiceInternal).addShortcutChangeCallback( in setUp() 518 verify(mShortcutServiceInternal, never()).uncacheShortcuts( in testUncacheShortcutsWhenNotificationsDismissed() 524 verify(mShortcutServiceInternal).uncacheShortcuts( in testUncacheShortcutsWhenNotificationsDismissed() 758 verify(mShortcutServiceInternal).getShortcuts( in testGetConversationGetsPersonsData() 1153 verify(mShortcutServiceInternal).uncacheShortcuts( in testUncacheOldestCachedShortcut() 1228 verify(mShortcutServiceInternal).getShortcuts( in testGetRecentConversationsGetsPersonsData() 1254 verify(mShortcutServiceInternal).uncacheShortcuts( in testPruneOldRecentConversations() 1480 verify(mShortcutServiceInternal).uncacheShortcuts( [all …]
|
/aosp12/frameworks/base/services/people/java/com/android/server/people/data/ |
H A D | DataManager.java | 136 private ShortcutServiceInternal mShortcutServiceInternal; field in DataManager 155 mShortcutServiceInternal = LocalServices.getService(ShortcutServiceInternal.class); in initialize() 160 mShortcutServiceInternal.addShortcutChangeCallback(new ShortcutServiceCallback()); in initialize() 235 return mShortcutServiceInternal.getShareTargets( in getShareShortcuts() 333 mShortcutServiceInternal.uncacheShortcuts(callingUserId, mContext.getPackageName(), in removeRecentConversation() 366 mShortcutServiceInternal.uncacheShortcuts(callingUserId, mContext.getPackageName(), in pruneOldRecentConversations() 745 return mShortcutServiceInternal.getShortcuts( in getShortcuts() 859 mShortcutServiceInternal.uncacheShortcuts(userId, in cleanupCachedShortcuts() 1087 shortcut, mShortcutServiceInternal, user.getIdentifier())) { in onShortcutsAddedOrUpdated()
|
/aosp12/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | VoiceInteractionManagerService.java | 131 ShortcutServiceInternal mShortcutServiceInternal; field in VoiceInteractionManagerService 185 mShortcutServiceInternal = Objects.requireNonNull( in onBootPhase() 663 mShortcutServiceInternal.setShortcutHostPackage(TAG, in switchImplementationIfNeededNoTracingLocked() 668 mShortcutServiceInternal.setShortcutHostPackage(TAG, null, mCurUser); in switchImplementationIfNeededNoTracingLocked()
|
/aosp12/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsService.java | 173 ShortcutServiceInternal mShortcutServiceInternal; field in UsageStatsService 463 if (mShortcutServiceInternal == null) { in getShortcutServiceInternal() 464 mShortcutServiceInternal = LocalServices.getService(ShortcutServiceInternal.class); in getShortcutServiceInternal() 466 return mShortcutServiceInternal; in getShortcutServiceInternal()
|