/frameworks/native/services/inputflinger/ |
D | InputManager.cpp | 127 InputManager::InputManager(const sp<InputReaderPolicyInterface>& readerPolicy, in InputManager() function in android::InputManager 166 InputManager::~InputManager() { in ~InputManager() 170 status_t InputManager::start() { in start() 188 status_t InputManager::stop() { in stop() 206 InputReaderInterface& InputManager::getReader() { in getReader() 210 PointerChoreographerInterface& InputManager::getChoreographer() { in getChoreographer() 214 InputProcessorInterface& InputManager::getProcessor() { in getProcessor() 218 InputDeviceMetricsCollectorInterface& InputManager::getMetricsCollector() { in getMetricsCollector() 222 InputDispatcherInterface& InputManager::getDispatcher() { in getDispatcher() 226 InputFilterInterface& InputManager::getInputFilter() { in getInputFilter() [all …]
|
D | InputManager.h | 116 class InputManager : public InputManagerInterface, public BnInputFlinger { 118 ~InputManager() override; 121 InputManager(const sp<InputReaderPolicyInterface>& readerPolicy,
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/hardware/ |
D | InputManager.kt | 19 import android.hardware.input.InputManager 40 fun InputManager.getInputDeviceSequence(): Sequence<InputDevice> = in InputManager() method 47 fun InputManager.findInputDevice(predicate: (InputDevice) -> Boolean): InputDevice? = in findInputDevice() method 59 fun InputManager.hasInputDevice(predicate: (InputDevice) -> Boolean): Boolean = in hasInputDevice() method 63 fun InputManager.hasInternalStylusSource(): Boolean = hasInputDevice { it.isInternalStylusSource } in <lambda>() method 66 fun InputManager.hasExternalStylusSource(): Boolean = hasInputDevice { it.isExternalStylusSource } in <lambda>() method 69 fun InputManager.hasAnyStylusSource(): Boolean = hasInputDevice { it.isAnyStylusSource } in <lambda>() method
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | KeyRemapper.java | 20 import android.hardware.input.InputManager; 38 final class KeyRemapper implements InputManager.InputDeviceListener { 60 InputManager inputManager = Objects.requireNonNull( in systemRunning() 61 mContext.getSystemService(InputManager.class)); in systemRunning() 95 InputManager inputManager = Objects.requireNonNull( in addKeyRemapping() 96 mContext.getSystemService(InputManager.class)); in addKeyRemapping() 141 InputManager inputManager = Objects.requireNonNull( in onInputDeviceAdded() 142 mContext.getSystemService(InputManager.class)); in onInputDeviceAdded()
|
D | KeyboardLedController.java | 27 import android.hardware.input.InputManager; 44 public final class KeyboardLedController implements InputManager.InputDeviceListener { 55 private InputManager mInputManager; 122 mInputManager = Objects.requireNonNull(mContext.getSystemService(InputManager.class)); in systemRunning()
|
D | KeyboardBacklightController.java | 26 import android.hardware.input.InputManager; 57 InputManagerService.KeyboardBacklightControllerInterface, InputManager.InputDeviceListener { 146 InputManager inputManager = Objects.requireNonNull( in systemRunning() 147 mContext.getSystemService(InputManager.class)); in systemRunning() 398 InputManager inputManager = mContext.getSystemService(InputManager.class); in getInputDevice()
|
D | KeyboardLayoutManager.java | 48 import android.hardware.input.InputManager; 103 class KeyboardLayoutManager implements InputManager.InputDeviceListener { 163 InputManager inputManager = Objects.requireNonNull( in systemRunning() 164 mContext.getSystemService(InputManager.class)); in systemRunning() 342 Intent intent = new Intent(InputManager.ACTION_QUERY_KEYBOARD_LAYOUTS); in visitAllKeyboardLayouts() 379 int configResId = metaData.getInt(InputManager.META_DATA_KEYBOARD_LAYOUTS); in visitKeyboardLayoutsInPackage() 381 Slog.w(TAG, "Missing meta-data '" + InputManager.META_DATA_KEYBOARD_LAYOUTS in visitKeyboardLayoutsInPackage() 1039 InputManager inputManager = mContext.getSystemService(InputManager.class); in getInputDevice() 1045 InputManager inputManager = mContext.getSystemService(InputManager.class); in getInputDevice()
|
/frameworks/base/tests/Input/src/android/hardware/input/ |
D | StickyModifierStateListenerTest.kt | 67 private lateinit var inputManager: InputManager in <lambda>() 77 inputManager = InputManager(context) in <lambda>() 160 val callback1 = InputManager.StickyModifierStateListener {} in <lambda>() 161 val callback2 = InputManager.StickyModifierStateListener {} in <lambda>() 178 val callback1 = InputManager.StickyModifierStateListener {} in <lambda>() 179 val callback2 = InputManager.StickyModifierStateListener {} in <lambda>() 196 val callback1 = InputManager.StickyModifierStateListener { _ -> callbackCount1++ } in <lambda>() 197 val callback2 = InputManager.StickyModifierStateListener { _ -> callbackCount2++ } in <lambda>()
|
D | InputDeviceBatteryListenerTest.kt | 62 private lateinit var inputManager: InputManager in <lambda>() 76 inputManager = InputManager(context) in <lambda>() 173 val callback1 = InputManager.InputDeviceBatteryListener { _, _, _ -> callbackCount1++ } in <lambda>() 174 val callback2 = InputManager.InputDeviceBatteryListener { _, _, _ -> callbackCount2++ } in <lambda>() 228 val callback1 = InputManager.InputDeviceBatteryListener { _, _, _ -> callbackCount1++ } in <lambda>() 229 val callback2 = InputManager.InputDeviceBatteryListener { _, _, _ -> callbackCount2++ } in <lambda>()
|
D | KeyboardBacklightListenerTest.kt | 60 private lateinit var inputManager: InputManager in <lambda>() 73 inputManager = InputManager(context) in <lambda>() 150 val callback1 = InputManager.KeyboardBacklightListener { _, _, _ -> callbackCount1++ } in <lambda>() 151 val callback2 = InputManager.KeyboardBacklightListener { _, _, _ -> callbackCount2++ } in <lambda>()
|
D | InputManagerTest.kt | 62 private lateinit var inputManager: InputManager 72 inputManager = InputManager(context) in setUp()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | InputDeviceDelegate.java | 21 import android.hardware.input.InputManager; 31 final class InputDeviceDelegate implements InputManager.InputDeviceListener { 40 private InputManager mInputManager; 59 mInputManager = mContext.getSystemService(InputManager.class); in onSystemReady()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/ |
D | KeyboardUI.java | 29 import android.hardware.input.InputManager; 69 public class KeyboardUI implements CoreStartable, InputManager.OnTabletModeChangedListener { 123 private int mInTabletMode = InputManager.SWITCH_STATE_UNKNOWN; 172 if (inTabletMode && mInTabletMode != InputManager.SWITCH_STATE_ON in onTabletModeChanged() 173 || !inTabletMode && mInTabletMode != InputManager.SWITCH_STATE_OFF) { in onTabletModeChanged() 175 InputManager.SWITCH_STATE_ON : InputManager.SWITCH_STATE_OFF; in onTabletModeChanged() 206 InputManager im = context.getSystemService(InputManager.class); in init() 228 if (mInTabletMode != InputManager.SWITCH_STATE_OFF) { in processKeyboardState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/data/repository/ |
D | KeyboardRepository.kt | 20 import android.hardware.input.InputManager in <lambda>() 21 import android.hardware.input.InputManager.KeyboardBacklightListener in <lambda>() 76 private val inputManager: InputManager, 95 object : InputManager.InputDeviceListener { in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | TaskOperations.java | 25 import android.hardware.input.InputManager; 68 if (!mContext.getSystemService(InputManager.class) in sendBackEvent() 69 .injectInputEvent(ev, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC)) { in sendBackEvent()
|
/frameworks/base/tests/Input/src/com/android/test/input/ |
D | UnresponsiveGestureMonitorActivity.kt | 20 import android.hardware.input.InputManager 48 val inputManager = checkNotNull(getSystemService(InputManager::class.java)) in onCreate()
|
/frameworks/base/tests/InputScreenshotTest/src/android/input/screenshot/ |
D | LayoutPreview.kt | 20 import android.hardware.input.InputManager 27 val im = context.getSystemService(InputManager::class.java)!! in createLayoutPreview()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stylus/ |
D | StylusUsiPowerStartable.kt | 20 import android.hardware.input.InputManager 37 private val inputManager: InputManager,
|
D | StylusManager.kt | 23 import android.hardware.input.InputManager in <lambda>() 53 private val inputManager: InputManager, in <lambda>() 60 InputManager.InputDeviceListener, in <lambda>() 61 InputManager.InputDeviceBatteryListener, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | SystemActionsTest.java | 27 import android.hardware.input.InputManager; 75 private InputManager mInputManager; 84 mContext.addMockSystemService(InputManager.class, mInputManager); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/stickykeys/data/repository/ |
D | StickyKeysRepository.kt | 19 import android.hardware.input.InputManager in <lambda>() 20 import android.hardware.input.InputManager.StickyModifierStateListener in <lambda>() 53 private val inputManager: InputManager,
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyboard/data/repository/ |
D | KeyboardRepositoryTest.kt | 20 import android.hardware.input.InputManager in <lambda>() 21 import android.hardware.input.InputManager.KeyboardBacklightListener in <lambda>() 60 private lateinit var deviceListenerCaptor: ArgumentCaptor<InputManager.InputDeviceListener> in <lambda>() 62 @Mock private lateinit var inputManager: InputManager in <lambda>() 130 private suspend fun captureDeviceListener(): InputManager.InputDeviceListener { in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubblesNavBarGestureTracker.java | 24 import android.hardware.input.InputManager; 66 mInputMonitor = mContext.getSystemService(InputManager.class) in start()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyboard/stickykeys/ui/viewmodel/ |
D | StickyKeysIndicatorViewModelTest.kt | 19 import android.hardware.input.InputManager 63 private val inputManager = mock<InputManager>() 68 ArgumentCaptor.forClass(InputManager.StickyModifierStateListener::class.java) 116 any(InputManager.StickyModifierStateListener::class.java) in startsListeningToStickyKeysOnlyWhenKeyboardIsConnectedAndSettingIsOn()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/stylus/ |
D | StylusUsiPowerStartableTest.kt | 20 import android.hardware.input.InputManager 42 @Mock lateinit var inputManager: InputManager
|