/frameworks/base/core/java/android/hardware/input/ |
D | IInputManager.aidl | 43 InputDevice getInputDevice(int deviceId); in getInputDevice() 47 boolean isInputDeviceEnabled(int deviceId); in isInputDeviceEnabled() 48 void enableInputDevice(int deviceId); in enableInputDevice() 49 void disableInputDevice(int deviceId); in disableInputDevice() 52 boolean hasKeys(int deviceId, int sourceMask, in int[] keyCodes, out boolean[] keyExists); in hasKeys() 56 int getKeyCodeForKeyLocation(int deviceId, in int locationKeyCode); in getKeyCodeForKeyLocation() 103 void vibrate(int deviceId, in VibrationEffect effect, IBinder token); in vibrate() 104 void vibrateCombined(int deviceId, in CombinedVibration vibration, IBinder token); in vibrateCombined() 105 void cancelVibrate(int deviceId, IBinder token); in cancelVibrate() 106 int[] getVibratorIds(int deviceId); in getVibratorIds() [all …]
|
D | InputDeviceSensorManager.java | 92 SensorManager getSensorManager(int deviceId) { in getSensorManager() 99 private void updateInputDeviceSensorInfoLocked(int deviceId) { in updateInputDeviceSensorInfoLocked() 109 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded() 121 public void onInputDeviceRemoved(int deviceId) { in onInputDeviceRemoved() 128 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged() 142 private void populateSensorsForInputDeviceLocked(int deviceId, InputSensorInfo[] sensorInfos) { in populateSensorsForInputDeviceLocked() 159 final int deviceId = deviceIds[i]; in initializeSensors() local 172 private Sensor getInputDeviceSensorLocked(int deviceId, int sensorType) { in getInputDeviceSensorLocked() 192 private void onInputSensorChanged(int deviceId, int sensorType, int accuracy, long timestamp, in onInputSensorChanged() 220 private void onInputSensorAccuracyChanged(int deviceId, int sensorType, int accuracy) { in onInputSensorAccuracyChanged() [all …]
|
D | InputManager.java | 1115 public int getKeyCodeForKeyLocation(int deviceId, int locationKeyCode) { in getKeyCodeForKeyLocation() 1279 public InputSensorInfo[] getSensorList(int deviceId) { in getSensorList() 1292 public boolean enableSensor(int deviceId, int sensorType, int samplingPeriodUs, in enableSensor() 1307 public void disableSensor(int deviceId, int sensorType) { in disableSensor() 1320 public boolean flushSensor(int deviceId, int sensorType) { in flushSensor() 1359 public int getBatteryStatus(int deviceId) { in getBatteryStatus() 1372 public int getBatteryCapacity(int deviceId) { in getBatteryCapacity() 1485 final int deviceId = mInputDevices.keyAt(i); in onInputDevicesChanged() local 1496 final int deviceId = deviceIdAndGeneration[i]; in onInputDevicesChanged() local 1521 private void sendMessageToInputDeviceListenersLocked(int what, int deviceId) { in sendMessageToInputDeviceListenersLocked() [all …]
|
D | InputDeviceVibratorManager.java | 51 public InputDeviceVibratorManager(InputManager inputManager, int deviceId) { in InputDeviceVibratorManager() 73 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded() 77 public void onInputDeviceRemoved(int deviceId) { in onInputDeviceRemoved() 86 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged()
|
D | IInputSensorEventListener.aidl | 22 oneway void onInputSensorChanged(int deviceId, int sensorId, int accuracy, long timestamp, in onInputSensorChanged() 26 oneway void onInputSensorAccuracyChanged(int deviceId, int sensorId, int accuracy); in onInputSensorAccuracyChanged()
|
D | IInputDeviceBatteryListener.aidl | 27 void onBatteryStateChanged(int deviceId, boolean isBatteryPresent, int status, float capacity, in onBatteryStateChanged()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | NativeInputManagerService.java | 47 int getScanCodeState(int deviceId, int sourceMask, int scanCode); in getScanCodeState() 49 int getKeyCodeState(int deviceId, int sourceMask, int keyCode); in getKeyCodeState() 51 int getSwitchState(int deviceId, int sourceMask, int sw); in getSwitchState() 53 boolean hasKeys(int deviceId, int sourceMask, int[] keyCodes, boolean[] keyExists); in hasKeys() 55 int getKeyCodeForKeyLocation(int deviceId, int locationKeyCode); in getKeyCodeForKeyLocation() 89 void toggleCapsLock(int deviceId); in toggleCapsLock() 120 void vibrate(int deviceId, long[] pattern, int[] amplitudes, int repeat, int token); in vibrate() 122 void vibrateCombined(int deviceId, long[] pattern, SparseArray<int[]> amplitudes, in vibrateCombined() 125 void cancelVibrate(int deviceId, int token); in cancelVibrate() 127 boolean isVibrating(int deviceId); in isVibrating() [all …]
|
D | BatteryController.java | 70 void registerBatteryListener(int deviceId, @NonNull IInputDeviceBatteryListener listener, in registerBatteryListener() 108 private void notifyBatteryListener(int deviceId, ListenerRecord record) { in notifyBatteryListener() 122 private boolean hasBattery(int deviceId) { in hasBattery() 135 void unregisterBatteryListener(int deviceId, @NonNull IInputDeviceBatteryListener listener, in unregisterBatteryListener() 163 private void unregisterRecordLocked(ListenerRecord listenerRecord, int deviceId) { in unregisterRecordLocked()
|
D | InputManagerService.java | 615 public int getKeyCodeState(int deviceId, int sourceMask, int keyCode) { in getKeyCodeState() 628 public int getScanCodeState(int deviceId, int sourceMask, int scanCode) { in getScanCodeState() 641 public int getSwitchState(int deviceId, int sourceMask, int switchCode) { in getSwitchState() 658 public boolean hasKeys(int deviceId, int sourceMask, int[] keyCodes, boolean[] keyExists) { in hasKeys() 677 public int getKeyCodeForKeyLocation(int deviceId, int locationKeyCode) { in getKeyCodeForKeyLocation() 948 public InputDevice getInputDevice(int deviceId) { in getInputDevice() 961 public boolean isInputDeviceEnabled(int deviceId) { in isInputDeviceEnabled() 967 public void enableInputDevice(int deviceId) { in enableInputDevice() 977 public void disableInputDevice(int deviceId) { in disableInputDevice() 1698 public void switchKeyboardLayout(int deviceId, int direction) { in switchKeyboardLayout() [all …]
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputHal.java | 53 void onDeviceUnavailable(int deviceId); in onDeviceUnavailable() 54 void onStreamConfigurationChanged(int deviceId, TvStreamConfig[] configs, in onStreamConfigurationChanged() 56 void onFirstFrameCaptured(int deviceId, int streamId); in onFirstFrameCaptured() 61 private static native int nativeAddOrUpdateStream(long ptr, int deviceId, int streamId, in nativeAddOrUpdateStream() 63 private static native int nativeRemoveStream(long ptr, int deviceId, int streamId); in nativeRemoveStream() 64 private static native TvStreamConfig[] nativeGetStreamConfigs(long ptr, int deviceId, in nativeGetStreamConfigs() 86 public int addOrUpdateStream(int deviceId, Surface surface, TvStreamConfig streamConfig) { in addOrUpdateStream() 103 public int removeStream(int deviceId, TvStreamConfig streamConfig) { in removeStream() 128 private void retrieveStreamConfigsLocked(int deviceId) { in retrieveStreamConfigsLocked() 142 private void deviceUnavailableFromNative(int deviceId) { in deviceUnavailableFromNative() [all …]
|
D | TvInputHardwareManager.java | 180 public void onDeviceUnavailable(int deviceId) { in onDeviceUnavailable() 208 public void onStreamConfigurationChanged(int deviceId, TvStreamConfig[] configs, in onStreamConfigurationChanged() 256 public void onFirstFrameCaptured(int deviceId, int streamId) { in onFirstFrameCaptured() 292 public void addHardwareInput(int deviceId, TvInputInfo info) { in addHardwareInput() 393 public ITvInputHardware acquireHardware(int deviceId, ITvInputHardwareCallback callback, in acquireHardware() 435 public void releaseHardware(int deviceId, ITvInputHardware hardware, int callingUid, in releaseHardware() 482 int deviceId = findDeviceIdForInputIdLocked(inputId); in getAvailableTvStreamConfigList() local 503 int deviceId = findDeviceIdForInputIdLocked(inputId); in captureFrame() local 550 int deviceId = msg.arg1; in processPendingTvInputInfoEventsLocked() local 617 int deviceId = mConnections.keyAt(i); in dump() local [all …]
|
/frameworks/native/services/inputflinger/reader/ |
D | InputReader.cpp | 150 int32_t deviceId = rawEvent->deviceId; in processEventsLocked() local 282 int32_t deviceId = (eventHubId < END_RESERVED_ID) ? eventHubId : nextInputDeviceIdLocked(); in createDeviceLocked() local 437 int32_t deviceId) { in getPointerControllerLocked() 505 int32_t InputReader::getKeyCodeState(int32_t deviceId, uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() 511 int32_t InputReader::getScanCodeState(int32_t deviceId, uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() 517 int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t switchCode) { in getSwitchState() 523 int32_t InputReader::getStateLocked(int32_t deviceId, uint32_t sourceMask, int32_t code, in getStateLocked() 549 void InputReader::toggleCapsLockState(int32_t deviceId) { in toggleCapsLockState() 565 bool InputReader::hasKeys(int32_t deviceId, uint32_t sourceMask, size_t numCodes, in hasKeys() 573 bool InputReader::markSupportedKeyCodesLocked(int32_t deviceId, uint32_t sourceMask, in markSupportedKeyCodesLocked() [all …]
|
D | EventHub.cpp | 782 void EventHub::getConfiguration(int32_t deviceId, PropertyMap* outConfiguration) const { in getConfiguration() 792 status_t EventHub::getAbsoluteAxisInfo(int32_t deviceId, int axis, in getAbsoluteAxisInfo() 822 bool EventHub::hasRelativeAxis(int32_t deviceId, int axis) const { in hasRelativeAxis() 831 bool EventHub::hasInputProperty(int32_t deviceId, int property) const { in hasInputProperty() 840 bool EventHub::hasMscEvent(int32_t deviceId, int mscEvent) const { in hasMscEvent() 849 int32_t EventHub::getScanCodeState(int32_t deviceId, int32_t scanCode) const { in getScanCodeState() 863 int32_t EventHub::getKeyCodeState(int32_t deviceId, int32_t keyCode) const { in getKeyCodeState() 885 int32_t EventHub::getKeyCodeForKeyLocation(int32_t deviceId, int32_t locationKeyCode) const { in getKeyCodeForKeyLocation() 921 int32_t EventHub::getSwitchState(int32_t deviceId, int32_t sw) const { in getSwitchState() 935 status_t EventHub::getAbsoluteAxisValue(int32_t deviceId, int32_t axis, int32_t* outValue) const { in getAbsoluteAxisValue() [all …]
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | InputDeviceDelegate.java | 65 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded() 70 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged() 75 public void onInputDeviceRemoved(int deviceId) { in onInputDeviceRemoved() 166 private void updateInputDevice(int deviceId) { in updateInputDevice()
|
/frameworks/av/media/libaudioclient/ |
D | PlayerBase.cpp | 69 void PlayerBase::servicePlayerEvent(player_state_t event, audio_port_handle_t deviceId) { in servicePlayerEvent() 101 void PlayerBase::reportEvent(player_state_t event, audio_port_handle_t deviceId) { in reportEvent() 105 void PlayerBase::baseUpdateDeviceId(audio_port_handle_t deviceId) { in baseUpdateDeviceId() 109 status_t PlayerBase::startWithStatus(audio_port_handle_t deviceId) { in startWithStatus() 144 audio_port_handle_t deviceId; in start() local
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
D | Fingerprint.java | 29 public Fingerprint(CharSequence name, int groupId, int fingerId, long deviceId) { in Fingerprint() 34 public Fingerprint(CharSequence name, int fingerId, long deviceId) { in Fingerprint()
|
/frameworks/native/services/inputflinger/ |
D | InputClassifier.cpp | 226 const int32_t deviceId = *(event.getDeviceId()); in processEvents() local 264 void MotionClassifier::updateClassification(int32_t deviceId, nsecs_t eventTime, in updateClassification() 278 void MotionClassifier::setClassification(int32_t deviceId, MotionClassification classification) { in setClassification() 288 MotionClassification MotionClassifier::getClassification(int32_t deviceId) { in getClassification() 293 void MotionClassifier::updateLastDownTime(int32_t deviceId, nsecs_t downTime) { in updateLastDownTime() 299 void MotionClassifier::clearDeviceState(int32_t deviceId) { in clearDeviceState() 325 int32_t deviceId = args.deviceId; in reset() local 359 for(int32_t deviceId : deviceIds) { in dump() local
|
/frameworks/base/core/tests/coretests/src/android/hardware/input/ |
D | InputDeviceBatteryListenerTest.kt | 71 val deviceId = it.getArgument(0) as Int in <lambda>() constant 88 val deviceId = it.getArgument(0) as Int in <lambda>() constant 124 deviceId: Int, eventTime: Long, batteryState: BatteryState -> in <lambda>() method
|
/frameworks/base/services/core/jni/ |
D | com_android_server_tv_TvInputHal.cpp | 81 jmethodID deviceId; member 124 tv_input_device_t* device, int deviceId, const tv_stream_t* stream) in BufferProducerThread() 341 int JTvInputHal::addOrUpdateStream(int deviceId, int streamId, const sp<Surface>& surface) { in addOrUpdateStream() 416 int JTvInputHal::removeStream(int deviceId, int streamId) { in removeStream() 445 const hidl_vec<TvStreamConfig> JTvInputHal::getStreamConfigs(int deviceId) { in getStreamConfigs() 505 void JTvInputHal::onDeviceUnavailable(int deviceId) { in onDeviceUnavailable() 522 void JTvInputHal::onStreamConfigurationsChanged(int deviceId, int cableConnectionStatus) { in onStreamConfigurationsChanged() 536 void JTvInputHal::onCaptured(int deviceId, int streamId, uint32_t seq, bool succeeded) { in onCaptured() 599 jlong ptr, jint deviceId, jint streamId, jobject jsurface) { in nativeAddOrUpdateStream() 612 jlong ptr, jint deviceId, jint streamId) { in nativeRemoveStream() [all …]
|
/frameworks/av/services/audioflinger/ |
D | DeviceEffectManager.h | 49 status_t addEffectToHal(audio_port_handle_t deviceId, audio_module_handle_t hwModuleId, in addEffectToHal() 53 status_t removeEffectFromHal(audio_port_handle_t deviceId, audio_module_handle_t hwModuleId, in removeEffectFromHal() 152 int32_t sessionId, int32_t deviceId, in createEffectHal() 206 status_t addEffectToHal(audio_port_handle_t deviceId, in addEffectToHal() 210 status_t removeEffectFromHal(audio_port_handle_t deviceId, in removeEffectFromHal()
|
/frameworks/base/core/java/android/view/ |
D | InputEventConsistencyVerifier.java | 209 final int deviceId = event.getDeviceId(); in onKeyEvent() local 346 final int deviceId = event.getDeviceId(); in onTouchEvent() local 598 final int deviceId = keyEvent.getDeviceId(); in onUnhandledEvent() local 744 private KeyState findKeyState(int deviceId, int source, int keyCode, boolean remove) { in findKeyState() 766 private void addKeyState(int deviceId, int source, int keyCode) { in addKeyState() 777 public int deviceId; field in InputEventConsistencyVerifier.KeyState 785 public static KeyState obtain(int deviceId, int source, int keyCode) { in obtain()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchCursorInputMapperCommon.h | 76 nsecs_t readTime, int32_t deviceId, uint32_t source, in synthesizeButtonKey() 90 nsecs_t readTime, int32_t deviceId, uint32_t source, in synthesizeButtonKeys()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | BandwidthTestUtil.java | 81 public static String buildDownloadUrl(String server, int size, String deviceId, in buildDownloadUrl() 126 public static boolean postFileToServer(String server, String deviceId, String timestamp, in postFileToServer()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 365 void addDisabledDevice(int32_t deviceId) { mConfig.disabledDevices.insert(deviceId); } in addDisabledDevice() 367 void removeDisabledDevice(int32_t deviceId) { mConfig.disabledDevices.erase(deviceId); } in removeDisabledDevice() 519 void addDevice(int32_t deviceId, const std::string& name, in addDevice() 528 void removeDevice(int32_t deviceId) { in removeDevice() 535 bool isDeviceEnabled(int32_t deviceId) { in isDeviceEnabled() 544 status_t enableDevice(int32_t deviceId) { in enableDevice() 559 status_t disableDevice(int32_t deviceId) { in disableDevice() 576 void addConfigurationProperty(int32_t deviceId, const String8& key, const String8& value) { in addConfigurationProperty() 581 void addConfigurationMap(int32_t deviceId, const PropertyMap* configuration) { in addConfigurationMap() 586 void addAbsoluteAxis(int32_t deviceId, int axis, in addAbsoluteAxis() [all …]
|
/frameworks/base/media/java/android/media/tv/ |
D | ITvInputServiceCallback.aidl | 27 void addHardwareInput(in int deviceId, in TvInputInfo inputInfo); in addHardwareInput()
|