Home
last modified time | relevance | path

Searched refs:inputManager (Results 1 – 25 of 34) sorted by relevance

12

/aosp12/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
H A DConversationInputManagerTest.java92 return inputManager; in initNewInputManager()
104 assertEquals(true, inputManager.isMediaPickerVisible()); in testShowHideInputs()
105 assertEquals(false, inputManager.isSimSelectorVisible()); in testShowHideInputs()
106 assertEquals(false, inputManager.isImeKeyboardVisible()); in testShowHideInputs()
123 assertEquals(true, inputManager.isMediaPickerVisible()); in testShowTwoInputsSequentially()
132 assertEquals(true, inputManager.isImeKeyboardVisible()); in testShowTwoInputsSequentially()
140 assertEquals(true, inputManager.isMediaPickerVisible()); in testOnKeyboardShow()
149 assertEquals(true, inputManager.isImeKeyboardVisible()); in testOnKeyboardShow()
157 assertEquals(true, inputManager.isMediaPickerVisible()); in testRestoreState()
162 inputManager.onSaveInputState(savedInstanceState); in testRestoreState()
[all …]
/aosp12/packages/services/Car/cpp/computepipe/runner/input_manager/
H A DFactory.cpp62 std::unique_ptr<InputManager> inputManager = nullptr; in createInputManager() local
65 inputManager = EvsInputManager::createEvsInputManager(config, overrideConfig, in createInputManager()
69 inputManager = VideoInputManager::createVideoInputManager(config, overrideConfig, in createInputManager()
75 return inputManager; in createInputManager()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
H A DBluetoothInputDeviceConnector.java84 InputManager inputManager = (InputManager) mContext.getSystemService(Context.INPUT_SERVICE); in registerInputMethodMonitor() local
85 inputManager.registerInputDeviceListener(mInputListener, mHandler); in registerInputMethodMonitor()
92 int[] inputDevices = inputManager.getInputDeviceIds(); in registerInputMethodMonitor()
125 … InputManager inputManager = (InputManager) mContext.getSystemService(Context.INPUT_SERVICE); in unregisterInputMethodMonitor() local
126 inputManager.unregisterInputDeviceListener(mInputListener); in unregisterInputMethodMonitor()
/aosp12/packages/apps/TV/src/com/android/tv/menu/
H A DChannelsRowAdapter.java246 TvInputManagerHelper inputManager = singletons.getTvInputManagerHelper();
247 return singletons.getSetupUtils().hasNewInput(inputManager);
251 TvInputManagerHelper inputManager =
254 for (TvInputInfo info : inputManager.getTvInputInfos(true, true)) {
264 TvInputManagerHelper inputManager =
270 && inputManager.getTvInputAppInfo(currentChannel.getInputId()) != null;
/aosp12/packages/apps/TV/src/com/android/tv/util/
H A DSetupUtils.java220 public boolean hasNewInput(TvInputManagerHelper inputManager) { in hasNewInput() argument
221 for (TvInputInfo input : inputManager.getTvInputInfos(true, true)) { in hasNewInput()
238 public void markAllInputsRecognized(TvInputManagerHelper inputManager) { in markAllInputsRecognized() argument
239 for (TvInputInfo input : inputManager.getTvInputInfos(true, true)) { in markAllInputsRecognized()
249 public boolean hasUnrecognizedInput(TvInputManagerHelper inputManager) { in hasUnrecognizedInput() argument
250 for (TvInputInfo input : inputManager.getTvInputInfos(true, true)) { in hasUnrecognizedInput()
H A DUtils.java613 TvInputManagerHelper inputManager = in loadLabel() local
615 CharSequence customLabel = inputManager.loadCustomLabel(input); in loadLabel()
618 label = inputManager.loadLabel(input); in loadLabel()
/aosp12/frameworks/base/core/java/android/hardware/input/
H A DInputDeviceBatteryState.java36 InputDeviceBatteryState(InputManager inputManager, int deviceId, boolean hasBattery) { in InputDeviceBatteryState() argument
37 mInputManager = inputManager; in InputDeviceBatteryState()
H A DInputDeviceLightsManager.java46 InputDeviceLightsManager(InputManager inputManager, int deviceId) { in InputDeviceLightsManager() argument
48 mInputManager = inputManager; in InputDeviceLightsManager()
H A DInputDeviceVibratorManager.java51 public InputDeviceVibratorManager(InputManager inputManager, int deviceId) { in InputDeviceVibratorManager() argument
52 mInputManager = inputManager; in InputDeviceVibratorManager()
H A DInputDeviceVibrator.java54 InputDeviceVibrator(InputManager inputManager, int deviceId, int vibratorId) { in InputDeviceVibrator() argument
55 mInputManager = inputManager; in InputDeviceVibrator()
/aosp12/packages/apps/TV/tests/robotests/src/com/android/tv/data/
H A DTvInputNewComparatorTest.java74 TvInputManagerHelper inputManager = Mockito.mock(TvInputManagerHelper.class); in testComparator() local
75 Mockito.when(inputManager.getDefaultTvInputInfoComparator()) in testComparator()
83 TvInputNewComparator comparator = new TvInputNewComparator(setupUtils, inputManager); in testComparator()
/aosp12/packages/apps/TV/src/com/android/tv/data/
H A DTvInputNewComparator.java29 public TvInputNewComparator(SetupUtils setupUtils, TvInputManagerHelper inputManager) { in TvInputNewComparator() argument
31 mInputManager = inputManager; in TvInputNewComparator()
H A DChannelDataManager.java154 @Provided TvInputManagerHelper inputManager, in ChannelDataManager() argument
158 mInputManager = inputManager; in ChannelDataManager()
161 mChannelComparator = new ChannelImpl.DefaultComparator(context, inputManager); in ChannelDataManager()
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
H A DKeyboardBot.java45 InputMethodManager inputManager = (InputMethodManager) mContext in isKeyboardPresent() local
47 return inputManager.isAcceptingText(); in isKeyboardPresent()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/language/
H A DLanguageAndInputSettingsTest.java120 final InputManager inputManager = mock(InputManager.class); in testNonIndexableKeys_existInXmlLayout() local
122 when(inputManager.getInputDeviceIds()).thenReturn(new int[0]); in testNonIndexableKeys_existInXmlLayout()
123 doReturn(inputManager).when(context).getSystemService(Context.INPUT_SERVICE); in testNonIndexableKeys_existInXmlLayout()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskPositioningController.java64 TaskPositioningController(WindowManagerService service, InputManagerService inputManager, in TaskPositioningController() argument
67 mInputManager = inputManager; in TaskPositioningController()
/aosp12/packages/services/Car/experimental/service/src/com/android/experimentalcar/
H A DTouchDriverAwarenessSupplier.java169 InputManager inputManager = (InputManager) mContext.getSystemService(Context.INPUT_SERVICE); in startTouchMonitoring() local
170 mInputMonitor = inputManager.monitorGestureInput( in startTouchMonitoring()
/aosp12/packages/apps/TV/src/com/android/tv/
H A DChannelTuner.java87 public ChannelTuner(ChannelDataManager channelDataManager, TvInputManagerHelper inputManager) { in ChannelTuner() argument
89 mInputManager = inputManager; in ChannelTuner()
H A DTvApplication.java477 TvInputManager inputManager = (TvInputManager) getSystemService(Context.TV_INPUT_SERVICE); in handleInputCountChanged() local
482 List<TvInputInfo> inputs = inputManager.getTvInputList(); in handleInputCountChanged()
546 mSetupUtils.onInputListUpdated(inputManager); in handleInputCountChanged()
/aosp12/frameworks/base/core/tests/coretests/src/android/hardware/input/
H A DInputDeviceSensorManagerTest.java89 InputManager inputManager = InputManager.resetInstance(mIInputManagerMock); in setUp() local
91 when(mContextSpy.getSystemService(eq(Context.INPUT_SERVICE))).thenReturn(inputManager); in setUp()
/aosp12/packages/apps/TV/src/com/android/tv/dvr/recorder/
H A DRecordingScheduler.java145 TvInputManagerHelper inputManager, in RecordingScheduler() argument
154 mInputManager = inputManager; in RecordingScheduler()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyboardShortcuts.java351 final InputManager inputManager = InputManager.getInstance(); in retrieveKeyCharacterMap() local
352 mBackupKeyCharacterMap = inputManager.getInputDevice(-1).getKeyCharacterMap(); in retrieveKeyCharacterMap()
354 final InputDevice inputDevice = inputManager.getInputDevice(deviceId); in retrieveKeyCharacterMap()
360 final int[] deviceIds = inputManager.getInputDeviceIds(); in retrieveKeyCharacterMap()
362 final InputDevice inputDevice = inputManager.getInputDevice(deviceIds[i]); in retrieveKeyCharacterMap()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DInputDeviceDelegateTest.java86 InputManager inputManager = InputManager.resetInstance(mIInputManagerMock); in setUp() local
88 when(mContextSpy.getSystemService(eq(Context.INPUT_SERVICE))).thenReturn(inputManager); in setUp()
/aosp12/frameworks/base/services/java/com/android/server/
H A DSystemServer.java1342 InputManagerService inputManager = null; in startOtherServices() local
1473 inputManager = new InputManagerService(context); in startOtherServices()
1489 wm = WindowManagerService.main(context, inputManager, !mFirstBoot, mOnlyCore, in startOtherServices()
1493 ServiceManager.addService(Context.INPUT_SERVICE, inputManager, in startOtherServices()
1522 inputManager.setWindowManagerCallbacks(wm.getInputManagerCallback()); in startOtherServices()
1523 inputManager.start(); in startOtherServices()
2086 inputManager.setWiredAccessoryCallbacks( in startOtherServices()
2087 new WiredAccessoryManager(context, inputManager)); in startOtherServices()
2664 final InputManagerService inputManagerF = inputManager; in startOtherServices()
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DWiredAccessoryManager.java93 public WiredAccessoryManager(Context context, InputManagerService inputManager) { in WiredAccessoryManager() argument
98 mInputManager = inputManager; in WiredAccessoryManager()

12