Rate This Document
Findability
Accuracy
Completeness
Readability

Modifying GPS Mock Properties

Case No.

4.1.13

Test Objective

Verify that the GPS mock properties can be modified and queried.

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.

Test Procedure

  1. At the PC command prompt, connect to the container, and run the adb -s [ip:port] shell setprop persist.gps.mock.[accuracy/altitude/longitude/latitude/bearing/speed] xx command to modify GPS properties.
    NOTE:

    xx indicates a valid value of a property. ip:port indicates the deployment IP address of the Kbox cloud phone and the port number of the started container, respectively. Replace them with the actual values.

  2. At the PC command prompt, run the adb -s [ip:port] shell getprop persist.gps.mock.[accuracy/altitude/longitude/latitude/bearing/speed] command to query the values of GPS properties.

Expected Result

  1. No error message about a setting failure is displayed.
  2. The GPS properties set in 1 can be queried and the values are correct.

Test Result

  

Remarks