Home
last modified time | relevance | path

Searched defs:deviceId (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHal.java51 public void onDeviceUnavailable(int deviceId); in onDeviceUnavailable()
52 public void onStreamConfigurationChanged(int deviceId, TvStreamConfig[] configs); in onStreamConfigurationChanged()
53 public void onFirstFrameCaptured(int deviceId, int streamId); in onFirstFrameCaptured()
58 private static native int nativeAddStream(long ptr, int deviceId, int streamId, in nativeAddStream()
60 private static native int nativeRemoveStream(long ptr, int deviceId, int streamId); in nativeRemoveStream()
61 private static native TvStreamConfig[] nativeGetStreamConfigs(long ptr, int deviceId, in nativeGetStreamConfigs()
83 public int addStream(int deviceId, Surface surface, TvStreamConfig streamConfig) { in addStream()
100 public int removeStream(int deviceId, TvStreamConfig streamConfig) { in removeStream()
125 private void retrieveStreamConfigsLocked(int deviceId) { in retrieveStreamConfigsLocked()
139 private void deviceUnavailableFromNative(int deviceId) { in deviceUnavailableFromNative()
[all …]
DTvInputHardwareManager.java152 public void onDeviceUnavailable(int deviceId) { in onDeviceUnavailable()
180 public void onStreamConfigurationChanged(int deviceId, TvStreamConfig[] configs) { in onStreamConfigurationChanged()
198 public void onFirstFrameCaptured(int deviceId, int streamId) { in onFirstFrameCaptured()
247 public void addHardwareTvInput(int deviceId, TvInputInfo info) { in addHardwareTvInput()
324 public ITvInputHardware acquireHardware(int deviceId, ITvInputHardwareCallback callback, in acquireHardware()
353 public void releaseHardware(int deviceId, ITvInputHardware hardware, int callingUid, in releaseHardware()
396 int deviceId = findDeviceIdForInputIdLocked(inputId); in getAvailableTvStreamConfigList() local
417 int deviceId = findDeviceIdForInputIdLocked(inputId); in captureFrame() local
/frameworks/native/services/inputflinger/
DEventHub.cpp264 void EventHub::getConfiguration(int32_t deviceId, PropertyMap* outConfiguration) const { in getConfiguration()
274 status_t EventHub::getAbsoluteAxisInfo(int32_t deviceId, int axis, in getAbsoluteAxisInfo()
304 bool EventHub::hasRelativeAxis(int32_t deviceId, int axis) const { in hasRelativeAxis()
316 bool EventHub::hasInputProperty(int32_t deviceId, int property) const { in hasInputProperty()
328 int32_t EventHub::getScanCodeState(int32_t deviceId, int32_t scanCode) const { in getScanCodeState()
344 int32_t EventHub::getKeyCodeState(int32_t deviceId, int32_t keyCode) const { in getKeyCodeState()
368 int32_t EventHub::getSwitchState(int32_t deviceId, int32_t sw) const { in getSwitchState()
384 status_t EventHub::getAbsoluteAxisValue(int32_t deviceId, int32_t axis, int32_t* outValue) const { in getAbsoluteAxisValue()
406 bool EventHub::markSupportedKeyCodes(int32_t deviceId, size_t numCodes, in markSupportedKeyCodes()
434 status_t EventHub::mapKey(int32_t deviceId, int32_t scanCode, int32_t usageCode, in mapKey()
[all …]
DInputListener.cpp45 NotifyKeyArgs::NotifyKeyArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, in NotifyKeyArgs()
69 NotifyMotionArgs::NotifyMotionArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, in NotifyMotionArgs()
124 NotifyDeviceResetArgs::NotifyDeviceResetArgs(nsecs_t eventTime, int32_t deviceId) : in NotifyDeviceResetArgs()
DInputListener.h56 int32_t deviceId; member
83 int32_t deviceId; member
139 int32_t deviceId; member
DInputDispatcher.h460 int32_t deviceId; member
470 int32_t deviceId; member
504 int32_t deviceId; member
685 int32_t deviceId; member
742 int32_t deviceId; member
753 int32_t deviceId; member
910 int32_t deviceId; member
957 int32_t deviceId; // id of the device that is currently down, others are rejected member
/frameworks/base/core/java/android/hardware/input/
DIInputManager.aidl30 InputDevice getInputDevice(int deviceId); in getInputDevice()
34 boolean hasKeys(int deviceId, int sourceMask, in int[] keyCodes, out boolean[] keyExists); in hasKeys()
64 void vibrate(int deviceId, in long[] pattern, int repeat, IBinder token); in vibrate()
65 void cancelVibrate(int deviceId, IBinder token); in cancelVibrate()
DInputManager.java721 final int deviceId = mInputDevices.keyAt(i); in onInputDevicesChanged() local
732 final int deviceId = deviceIdAndGeneration[i]; in onInputDevicesChanged() local
757 private void sendMessageToInputDeviceListenersLocked(int what, int deviceId) { in sendMessageToInputDeviceListenersLocked()
765 private static boolean containsDeviceId(int[] deviceIdAndGeneration, int deviceId) { in containsDeviceId()
779 public Vibrator getInputDeviceVibrator(int deviceId) { in getInputDeviceVibrator()
793 void onInputDeviceAdded(int deviceId); in onInputDeviceAdded()
800 void onInputDeviceRemoved(int deviceId); in onInputDeviceRemoved()
809 void onInputDeviceChanged(int deviceId); in onInputDeviceChanged()
847 public InputDeviceVibrator(int deviceId) { in InputDeviceVibrator()
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvInputHal.cpp62 jmethodID deviceId; member
104 tv_input_device_t* device, int deviceId, const tv_stream_t* stream) in BufferProducerThread()
315 int JTvInputHal::addStream(int deviceId, int streamId, const sp<Surface>& surface) { in addStream()
386 int JTvInputHal::removeStream(int deviceId, int streamId) { in removeStream()
417 const tv_stream_config_t* JTvInputHal::getStreamConfigs(int deviceId, int* numConfigs) { in getStreamConfigs()
496 void JTvInputHal::onDeviceUnavailable(int deviceId) { in onDeviceUnavailable()
513 void JTvInputHal::onStreamConfigurationsChanged(int deviceId) { in onStreamConfigurationsChanged()
529 void JTvInputHal::onCaptured(int deviceId, int streamId, uint32_t seq, bool succeeded) { in onCaptured()
559 jlong ptr, jint deviceId, jint streamId, jobject jsurface) { in nativeAddStream()
569 jlong ptr, jint deviceId, jint streamId) { in nativeRemoveStream()
[all …]
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java202 final int deviceId = event.getDeviceId(); in onKeyEvent() local
338 final int deviceId = event.getDeviceId(); in onTouchEvent() local
531 final int deviceId = keyEvent.getDeviceId(); in onUnhandledEvent() local
668 private KeyState findKeyState(int deviceId, int source, int keyCode, boolean remove) { in findKeyState()
690 private void addKeyState(int deviceId, int source, int keyCode) { in addKeyState()
701 public int deviceId; field in InputEventConsistencyVerifier.KeyState
709 public static KeyState obtain(int deviceId, int source, int keyCode) { in obtain()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp165 void setPointerController(int32_t deviceId, const sp<FakePointerController>& controller) { in setPointerController()
191 virtual sp<PointerControllerInterface> obtainPointerController(int32_t deviceId) { in obtainPointerController()
348 void addDevice(int32_t deviceId, const String8& name, uint32_t classes) { in addDevice()
356 void removeDevice(int32_t deviceId) { in removeDevice()
367 void addConfigurationProperty(int32_t deviceId, const String8& key, const String8& value) { in addConfigurationProperty()
372 void addConfigurationMap(int32_t deviceId, const PropertyMap* configuration) { in addConfigurationMap()
377 void addAbsoluteAxis(int32_t deviceId, int axis, in addAbsoluteAxis()
391 void addRelativeAxis(int32_t deviceId, int32_t axis) { in addRelativeAxis()
396 void setKeyCodeState(int32_t deviceId, int32_t keyCode, int32_t state) { in setKeyCodeState()
401 void setScanCodeState(int32_t deviceId, int32_t scanCode, int32_t state) { in setScanCodeState()
[all …]
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DBandwidthTestUtil.java81 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/base/media/java/android/media/tv/
DITvInputServiceCallback.aidl27 void addHardwareTvInput(in int deviceId, in TvInputInfo inputInfo); in addHardwareTvInput()
DTvInputHardwareInfo.java150 public Builder deviceId(int deviceId) { in deviceId() method in TvInputHardwareInfo.Builder
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java166 int deviceId, int sourceMask, int scanCode); in nativeGetScanCodeState()
168 int deviceId, int sourceMask, int keyCode); in nativeGetKeyCodeState()
170 int deviceId, int sourceMask, int sw); in nativeGetSwitchState()
172 int deviceId, int sourceMask, int[] keyCodes, boolean[] keyExists); in nativeHasKeys()
191 private static native void nativeVibrate(long ptr, int deviceId, long[] pattern, in nativeVibrate()
193 private static native void nativeCancelVibrate(long ptr, int deviceId, int token); in nativeCancelVibrate()
387 public int getKeyCodeState(int deviceId, int sourceMask, int keyCode) { in getKeyCodeState()
400 public int getScanCodeState(int deviceId, int sourceMask, int scanCode) { in getScanCodeState()
413 public int getSwitchState(int deviceId, int sourceMask, int switchCode) { in getSwitchState()
430 public boolean hasKeys(int deviceId, int sourceMask, int[] keyCodes, boolean[] keyExists) { in hasKeys()
[all …]
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/base/
DEventInjector.java48 int deviceId = event.getDeviceId(); in injectKeyEvent() local
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiMhlLocalDeviceStub.java34 void setDeviceStatusChange(int adopterId, int deviceId) { in setDeviceStatusChange()
/frameworks/base/core/jni/
Dandroid_view_KeyCharacterMap.cpp48 NativeKeyCharacterMap(int32_t deviceId, const sp<KeyCharacterMap>& map) : in NativeKeyCharacterMap()
69 jobject android_view_KeyCharacterMap_create(JNIEnv* env, int32_t deviceId, in android_view_KeyCharacterMap_create()
87 int32_t deviceId = parcel->readInt32(); in nativeReadFromParcel() local
/frameworks/native/libs/input/
DInputTransport.cpp241 int32_t deviceId, in publishKeyEvent()
283 int32_t deviceId, in publishMotionEvent()
581 int32_t deviceId = msg->body.motion.deviceId; in updateTouchState() local
862 ssize_t InputConsumer::findBatch(int32_t deviceId, int32_t source) const { in findBatch()
873 ssize_t InputConsumer::findTouchState(int32_t deviceId, int32_t source) const { in findTouchState()
DKeyCharacterMap.cpp298 bool KeyCharacterMap::getEvents(int32_t deviceId, const char16_t* chars, size_t numChars, in getEvents()
445 int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time) { in addKey()
454 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, in addMetaKeys()
519 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, in addSingleEphemeralMetaKey()
531 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, in addDoubleEphemeralMetaKey()
549 int32_t deviceId, int32_t metaState, nsecs_t time, in addLockedMetaKey()
/frameworks/base/core/java/android/hardware/hdmi/
DIHdmiControlService.aidl47 void deviceSelect(int deviceId, IHdmiControlCallback callback); in deviceSelect()
65 void sendStandby(int deviceType, int deviceId); in sendStandby()
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp74 const int32_t deviceId = 1; in PublishAndConsumeKeyEvent() local
133 const int32_t deviceId = 1; in PublishAndConsumeMotionEvent() local
/frameworks/native/include/input/
DInputTransport.h66 int32_t deviceId; member
84 int32_t deviceId; member
384 int32_t deviceId; member
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java736 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded()
741 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged()
746 public void onInputDeviceRemoved(int deviceId) { in onInputDeviceRemoved()
757 private void logInputDeviceState(int deviceId, String state) { in logInputDeviceState()
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java504 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded()
509 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged()
514 public void onInputDeviceRemoved(int deviceId) { in onInputDeviceRemoved()

12