Searched refs:shortcutService (Results 1 – 4 of 4) sorted by relevance
223 void registerShortcutKey(long shortcutCode, IShortcutService shortcutService) in registerShortcutKey() argument230 mShortcutKeyServices.put(shortcutCode, shortcutService); in registerShortcutKey()257 IShortcutService shortcutService = mShortcutKeyServices.get(shortcutCode); in handleShortcutService() local258 if (shortcutService != null) { in handleShortcutService()260 shortcutService.notifyShortcutKeyPressed(shortcutCode); in handleShortcutService()
3039 public void registerShortcutKey(long shortcutCode, IShortcutService shortcutService)3042 mModifierShortcutManager.registerShortcutKey(shortcutCode, shortcutService);
402 final ShortcutServiceInternal shortcutService = mock(ShortcutServiceInternal.class); in testValidateProfileAppShortcutArguments_notCallingUid() local405 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()
391 final ShortcutServiceInternal shortcutService = in validateAndResolveDragMimeTypeExtras() local393 final Intent[] shortcutIntents = shortcutService.createShortcutIntents( in validateAndResolveDragMimeTypeExtras()