我要评分
获取效率
正确性
完整性
易理解

Sending and Receiving Vinput Device Events

Case No.

4.1.12

Test Objective

Verify that a vinput device can properly send and receive events.

Test Networking

N/A

Prerequisites

  1. The basic environment of the Kbox cloud phone has been deployed.
  2. A Kbox cloud phone container has been created and connected to the ADB.

Test Procedure

  1. After the settings in Creating a Vinput Device are complete, open another remote server connection window B and run the getevent command to listen to events.
  2. In window A, run the docker exec -it kbox_x sh command to access the container, and then run the getevent -p command to obtain the value of [device], [type], [code], and [value] of the corresponding event.
  3. Run the sendevent [device] [type] [code] [value] command in the container to send an event.
    NOTE:

    x indicates the digit part of a container ID.

Expected Result

No error is reported when window A sends events, and window B can successfully listen to the events.

Test Result

  

Remarks