/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/ |
D | GameControllerPreferenceControllerTest.java | 48 private InputManager mInputManager; field in GameControllerPreferenceControllerTest 59 when(mContext.getSystemService(Context.INPUT_SERVICE)).thenReturn(mInputManager); in setUp() 68 verify(mInputManager).registerInputDeviceListener(mController, null); in testLifecycle_shouldRegisterInputManager() 69 verify(mInputManager, never()).unregisterInputDeviceListener(mController); in testLifecycle_shouldRegisterInputManager() 73 verify(mInputManager).registerInputDeviceListener(mController, null); in testLifecycle_shouldRegisterInputManager() 74 verify(mInputManager).unregisterInputDeviceListener(mController); in testLifecycle_shouldRegisterInputManager() 79 when(mInputManager.getInputDeviceIds()).thenReturn(new int[] {1}); in getAvailabilityStatus_hasDeviceWithVibrator_shouldReturnAvailable() 80 when(mInputManager.getInputDevice(1)).thenReturn(mInputDevice); in getAvailabilityStatus_hasDeviceWithVibrator_shouldReturnAvailable() 89 when(mInputManager.getInputDeviceIds()).thenReturn(new int[] {1}); in getAvailabilityStatus_hasNoVibratingDevice_shouldReturnDisabled() 90 when(mInputManager.getInputDevice(1)).thenReturn(mInputDevice); in getAvailabilityStatus_hasNoVibratingDevice_shouldReturnDisabled() [all …]
|
D | KeyboardLayoutPickerControllerTest.java | 58 private InputManager mInputManager; field in KeyboardLayoutPickerControllerTest 68 shadowContext.setSystemService(Context.INPUT_SERVICE, mInputManager); in setUp() 91 verify(mInputManager).registerInputDeviceListener(mController, null); in testLifecycle_onStart_shouldRegisterInputManager() 92 verify(mInputManager, never()).unregisterInputDeviceListener(mController); in testLifecycle_onStart_shouldRegisterInputManager() 98 when(mInputManager.getInputDeviceByDescriptor(anyString())).thenReturn(null); in testLifecycle_onStart_NoInputDevice_shouldFinish() 110 verify(mInputManager).unregisterInputDeviceListener(mController); in testLifecycle_onStop_shouldCancelRegisterInputManager() 111 verify(mInputManager, never()).registerInputDeviceListener(mController, null); in testLifecycle_onStop_shouldCancelRegisterInputManager() 146 when(mInputManager.getInputDeviceByDescriptor(anyString())).thenReturn(device); in testOnDeviceRemove_getSameDevice_shouldFinish() 147 when(mInputManager.getEnabledKeyboardLayoutsForInputDevice( in testOnDeviceRemove_getSameDevice_shouldFinish() 166 when(mInputManager.getInputDeviceByDescriptor(anyString())).thenReturn(device); in testOnDeviceRemove_getDifferentDevice_shouldNotFinish() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ComposeMessageView.java | 138 private ConversationInputManager mInputManager; field in ComposeMessageView 188 mInputManager.onDetach(); in unbind() 224 boolean shown = mInputManager.toggleSimSelector(true /* animate */, in onFinishInflate() 235 boolean shown = mInputManager.toggleSimSelector(true /* animate */, in onFinishInflate() 276 boolean shown = mInputManager.toggleSimSelector(true /* animate */, in onFinishInflate() 309 mInputManager.showHideMediaPicker(true /* show */, true /* animate */); in onFinishInflate() 335 mInputManager = inputManager; in setInputManager() 385 mInputManager.showHideSimSelector(false /* show */, true /* animate */); in sendMessageInternal() 576 mInputManager.showHideImeKeyboard(true, true); in resumeComposeMessage() 896 if (mInputManager.showHideSimSelector(false /* show */, true /* animate */)) { in hideSimSelector() [all …]
|
/packages/services/Car/service/src/com/android/car/systeminterface/ |
D | DisplayInterface.java | 98 private final InputManager mInputManager; field in DisplayInterface.DefaultImpl 150 mInputManager = (InputManager) mContext.getSystemService(Context.INPUT_SERVICE); in DefaultImpl() 258 for (int deviceId : mInputManager.getInputDeviceIds()) { in setDisplayState() 259 InputDevice inputDevice = mInputManager.getInputDevice(deviceId); in setDisplayState() 264 mInputManager.enableInputDevice(deviceId); in setDisplayState() 266 mInputManager.disableInputDevice(deviceId); in setDisplayState()
|
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/ime/ |
D | InputTestFragment.java | 45 private InputMethodManager mInputManager; field in InputTestFragment 84 mInputManager = (InputMethodManager) getActivity() in setViewsFromFragment() 97 boolean activeState = mInputManager.isActive(); in setListners() 98 boolean acceptingState = mInputManager.isAcceptingText(); in setListners()
|
/packages/apps/TV/src/com/android/tv/data/ |
D | TvInputNewComparator.java | 27 private final TvInputManagerHelper mInputManager; field in TvInputNewComparator 31 mInputManager = inputManager; in TvInputNewComparator() 51 return mInputManager.getDefaultTvInputInfoComparator().compare(lhs, rhs); in compare()
|
D | ChannelImpl.java | 726 private final TvInputManagerHelper mInputManager; field in ChannelImpl.DefaultComparator 732 mInputManager = inputManager; in DefaultComparator() 746 boolean lhsIsPartner = mInputManager.isPartnerInput(lhs.getInputId()); in compare() 747 boolean rhsIsPartner = mInputManager.isPartnerInput(rhs.getInputId()); in compare() 784 TvInputInfo info = mInputManager.getTvInputInfo(channel.getInputId()); in getInputLabelForChannel()
|
D | ChannelDataManager.java | 80 private final TvInputManagerHelper mInputManager; field in ChannelDataManager 158 mInputManager = inputManager; in ChannelDataManager() 197 mInputManager.addCallback(mTvInputCallback); in start() 213 mInputManager.removeCallback(mTvInputCallback); in stop() 559 mInputRemoved = !mInputManager.hasTvInputInfo(channel.getInputId()); in ChannelWrapper()
|
/packages/apps/TV/src/com/android/tv/onboarding/ |
D | SetupSourcesFragment.java | 123 @Inject TvInputManagerHelper mInputManager; field in SetupSourcesFragment.ContentFragment 215 mInputManager.addCallback(mInputCallback); in onAttach() 229 mInputManager.removeCallback(mInputCallback); in onDetach() 254 mInputs = mInputManager.getTvInputInfos(true, true); in buildInputs() 267 Collections.sort(mInputs, new TvInputNewComparator(mSetupUtils, mInputManager)); in buildInputs()
|
D | OnboardingActivity.java | 61 private TvInputManagerHelper mInputManager; field in OnboardingActivity 97 mInputManager = singletons.getTvInputManagerHelper(); in onCreate() 195 TvInputInfo input = mInputManager.getTvInputInfo(inputId); in executeAction()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | TvInputManagerHelper.java | 715 private final TvInputManagerHelper mInputManager; field in TvInputManagerHelper.InputComparatorInternal 720 mInputManager = inputManager; in InputComparatorInternal() 725 if (mInputManager.isPartnerInput(lhs) != mInputManager.isPartnerInput(rhs)) { in compare() 726 return mInputManager.isPartnerInput(lhs) ? -1 : 1; in compare() 729 mInputManager.loadLabel(lhs), mInputManager.loadLabel(rhs)); in compare()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | CustomizeChannelListFragment.java | 55 private TvInputManagerHelper mInputManager; field in CustomizeChannelListFragment 64 mInputManager = getMainActivity().getTvInputManagerHelper(); in onCreate() 66 mChannelComparator = new ChannelImpl.DefaultComparator(getActivity(), mInputManager); in onCreate() 197 Utils.loadLabel(getActivity(), mInputManager.getTvInputInfo(inputId)); in addItemForGroupBySource()
|
/packages/apps/TV/src/com/android/tv/ |
D | ChannelTuner.java | 59 private final TvInputManagerHelper mInputManager; field in ChannelTuner 89 mInputManager = inputManager; in ChannelTuner() 315 mCurrentChannelInputInfo = mInputManager.getTvInputInfo(mCurrentChannel.getInputId()); in setCurrentChannelAndNotify()
|
D | InputSessionManager.java | 70 private final TvInputManagerHelper mInputManager; field in InputSessionManager 82 mInputManager = TvSingletons.getSingletons(context).getTvInputManagerHelper(); in InputSessionManager() 326 TvInputInfo input = mInputManager.getTvInputInfo(mInputId); in tune() 461 TvInputInfo input = mInputManager.getTvInputInfo(inputId); in tune()
|
D | SetupPassthroughActivity.java | 68 @Inject TvInputManagerHelper mInputManager; field in SetupPassthroughActivity 80 mTvInputInfo = mInputManager.getTvInputInfo(inputId); in onCreate()
|
/packages/apps/Car/Cluster/ClusterHomeSample/src/com/android/car/cluster/home/ |
D | ClusterHomeApplication.java | 72 private InputManager mInputManager; field in ClusterHomeApplication 103 mInputManager = getApplicationContext().getSystemService(InputManager.class); in onCreate() 280 mInputManager.injectInputEvent(keyEvent, INJECT_INPUT_EVENT_MODE_ASYNC); in onKeyEvent()
|
/packages/apps/TV/src/com/android/tv/dvr/recorder/ |
D | RecordingScheduler.java | 80 private final TvInputManagerHelper mInputManager; field in RecordingScheduler 154 mInputManager = inputManager; in RecordingScheduler() 159 mInputManager.addCallback(this); in RecordingScheduler()
|
/packages/apps/TV/src/com/android/tv/setup/ |
D | SystemSetupActivity.java | 55 @Inject TvInputManagerHelper mInputManager; field in SystemSetupActivity 99 TvInputInfo input = mInputManager.getTvInputInfo(inputId); in executeAction()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/ |
D | SchedulerTest.java | 67 @Mock TvInputManagerHelper mInputManager; field in SchedulerTest 84 mInputManager, in setUp()
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrDataManagerImpl.java | 96 private final TvInputManagerHelper mInputManager; field in DvrDataManagerImpl 162 for (TvInputInfo input : mInputManager.getTvInputInfos(true, true)) { 215 mInputManager = tvInputManagerHelper; in DvrDataManagerImpl() 225 mInputManager.addCallback(mInputCallback); in start() 374 mInputManager.removeCallback(mInputCallback); in stop() 894 return mInputManager.hasTvInputInfo(inputId) in isInputAvailable()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | TvOverlayManager.java | 207 private final TvInputManagerHelper mInputManager; field in TvOverlayManager 251 mInputManager = tvInputManager; in TvOverlayManager() 321 mInputManager, in TvOverlayManager() 349 mInputManager.getTvInputInfo(inputId); in TvOverlayManager()
|
D | TunableTvView.java | 192 private final TvInputManagerHelper mInputManager; field in TunableTvView 440 mInputManager = tvSingletons.getTvInputManagerHelper(); in TunableTvView() 1168 TvInputInfo input = mInputManager.getTvInputInfo(mTagetInputId); in getTuneConflictMessage()
|
/packages/services/Car/experimental/tests/experimentalcarservice_unit_test/src/com/android/experimentalcar/ |
D | DriverDistractionExperimentalFeatureServiceTest.java | 139 private InputManager mInputManager; field in DriverDistractionExperimentalFeatureServiceTest 226 doReturn(mInputManager).when(spyContext).getSystemService(Context.INPUT_SERVICE); in testInit_bindsToServicesInXmlConfig() 227 when(mInputManager.monitorGestureInput(any(), anyInt())).thenReturn(mInputMonitor); in testInit_bindsToServicesInXmlConfig()
|
/packages/apps/Car/RotaryController/src/com/android/car/rotary/ |
D | RotaryService.java | 547 private InputManager mInputManager; field in RotaryService 711 mInputManager = getSystemService(InputManager.class); in onServiceConnected() 1962 mInputManager.injectInputEvent(motionEvent, in injectMotionEvent() 1983 mInputManager.injectInputEvent(keyEvent, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in injectKeyEvent() 2607 mInputManager = inputManager; in setInputManager()
|