Searched refs:shortcutService (Results 1 – 4 of 4) sorted by relevance
234 void registerShortcutKey(long shortcutCode, IShortcutService shortcutService) in registerShortcutKey() argument241 mShortcutKeyServices.put(shortcutCode, shortcutService); in registerShortcutKey()268 IShortcutService shortcutService = mShortcutKeyServices.get(shortcutCode); in handleShortcutService() local269 if (shortcutService != null) { in handleShortcutService()271 shortcutService.notifyShortcutKeyPressed(shortcutCode); in handleShortcutService()
3702 public void registerShortcutKey(long shortcutCode, IShortcutService shortcutService)3705 mModifierShortcutManager.registerShortcutKey(shortcutCode, shortcutService);
405 final ShortcutServiceInternal shortcutService = mock(ShortcutServiceInternal.class); in testValidateProfileAppShortcutArguments_notCallingUid() local408 doReturn(shortcutIntents).when(shortcutService).createShortcutIntents(anyInt(), any(), in testValidateProfileAppShortcutArguments_notCallingUid()411 LocalServices.addService(ShortcutServiceInternal.class, shortcutService); in testValidateProfileAppShortcutArguments_notCallingUid()418 verify(shortcutService).createShortcutIntents(callingUser.capture(), any(), in testValidateProfileAppShortcutArguments_notCallingUid()
435 final ShortcutServiceInternal shortcutService = in validateAndResolveDragMimeTypeExtras() local437 final Intent[] shortcutIntents = shortcutService.createShortcutIntents( in validateAndResolveDragMimeTypeExtras()