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

Creating a Vinput Device

Case No.

4.1.11

Test Objective

Verify the function of creating a vinput device (mouse/handle).

Test Networking

None

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. Open a remote server connection window A, and run the docker exec -it kbox_x setprop persist.sys.input.[mouse/gamepad1/gamepad2].name xxx command to set the names of the mouse, gamepad 1, and gamepad 2.
    NOTE:

    x indicates the digit part of a container ID, and xxx indicates a string of a maximum of 64 characters, containing letters, digits, and underscores (_).

  2. After the setting is complete, run the docker exec -it kbox_x getevent command to query the configured device name.

Expected Result

  1. The device name is successfully set, and no error message is displayed.
  2. The created device can be queried and the device name is correct.

Test Result

  

Remarks