Home
last modified time | relevance | path

Searched refs:shortcutService (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/base/services/core/java/com/android/server/policy/
H A DModifierShortcutManager.java223 void registerShortcutKey(long shortcutCode, IShortcutService shortcutService) in registerShortcutKey() argument
230 mShortcutKeyServices.put(shortcutCode, shortcutService); in registerShortcutKey()
257 IShortcutService shortcutService = mShortcutKeyServices.get(shortcutCode); in handleShortcutService() local
258 if (shortcutService != null) { in handleShortcutService()
260 shortcutService.notifyShortcutKeyPressed(shortcutCode); in handleShortcutService()
H A DPhoneWindowManager.java3039 public void registerShortcutKey(long shortcutCode, IShortcutService shortcutService)
3042 mModifierShortcutManager.registerShortcutKey(shortcutCode, shortcutService);
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DDragDropControllerTests.java402 final ShortcutServiceInternal shortcutService = mock(ShortcutServiceInternal.class); in testValidateProfileAppShortcutArguments_notCallingUid() local
405 doReturn(shortcutIntents).when(shortcutService).createShortcutIntents(anyInt(), any(), in testValidateProfileAppShortcutArguments_notCallingUid()
408 LocalServices.addService(ShortcutServiceInternal.class, shortcutService); in testValidateProfileAppShortcutArguments_notCallingUid()
415 verify(shortcutService).createShortcutIntents(callingUser.capture(), any(), in testValidateProfileAppShortcutArguments_notCallingUid()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DSession.java391 final ShortcutServiceInternal shortcutService = in validateAndResolveDragMimeTypeExtras() local
393 final Intent[] shortcutIntents = shortcutService.createShortcutIntents( in validateAndResolveDragMimeTypeExtras()