History log of /frameworks/base/cmds/hid/jni/com_android_commands_hid_Device.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
55656e4cb923d1aeef4445b3aaa3a6ce3f35c90a 01-Apr-2017 Siarhei Vishniakou <svv@google.com> Fix GamepadTestCase#testButtonA CTS test

Hid command, JNI layer:
- Removed dependency of the hid device on libandroid_runtime
and libutils. Using ALooper from libandroid to process callbacks from
/dev/uhid file descriptor.
- Switched to using "CREATE2" and "INPUT2" constructs in uhid driver

Hid command, Java layer:
- Removed delay workarounds, user now responsible for waiting for
onInputDeviceChanged notification prior to using the hid commands.

UiAutomation:
- Added a new executeShellCommandRw function that allows bidirectional
communication to shell command

platform.xml:
- Added uhid permissions to bluetooth stack for /dev/uhid access

- CTS test now consistently passes

Bug: 34052337
Test: CTS test case invoked with the following command:
run cts -t android.hardware.input.cts.tests.GamepadTestCase
-m CtsHardwareTestCases --skip-system-status-check
com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker

Change-Id: Ic916c513b7e652b1e25675f0f38f0f1f3a65d214
/frameworks/base/cmds/hid/jni/com_android_commands_hid_Device.h
1f2c7688c1f673790d61645632ae5e1838f021a4 03-Jun-2015 Michael Wright <michaelwr@google.com> Add new `hid` command.

This allows the shell user to inject HID events.

Change-Id: I37faff576299ff14092b61ed39f2a1c086f672a5
/frameworks/base/cmds/hid/jni/com_android_commands_hid_Device.h