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

Querying Network Operator Information and SIM Card Information

Case No.

4.1.18

Test Objective

Verify the function of querying network operator information and SIM card information.

Test Networking

None

Prerequisites

  1. The basic environment of the Kbox cloud phone has been deployed.
  2. The Kbox cloud phone container has been created and connected to the ARDC to display the cloud phone UI.
  3. The zausan.zdevicetest.apk file has been installed in the Kbox cloud phone container.

Test Procedure

  1. Run the sudo docker exec -it kbox_x sh command on the server to access the Kbox cloud phone container.
  2. Enter dumpsys isub | grep iccid to query the serial number of the SIM card. The first expected result is displayed.
  3. Open SSM/UMTS in zausan.zdevicetest.apk on the client.
  4. View SIM operator, SIM operator name, SIM country, Network operator, Network operator name, Network country, and Line one number. The second expected result is obtained.
  5. At the PC command prompt, connect to the container, and run the adb -s [ip:port] shell setprop persist.[sys.prop.writesimserial/gsm.sim.operator.alphacph/sys.prop.writeimsi/gsm.operator.numericcph/gsm.operator.alphacph/gsm.operator.numericcph/sys.prop.writephonenum] xx command to modify the 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.

  6. Restart the Kbox cloud phone and query the values again. The third expected result is obtained.

Expected Result

  1. The preset serial number of the SIM card in the Kbox cloud phone container (which is 898600 + random digits) is displayed.
  2. The properties preset in the Kbox cloud phone container and their related default initial values are as follows:

    SIM operator: 46011

    SIM operator name: CMCC

    SIM country: cn

    Network operator: 46000

    Network operator name: CMCC

    Network country: cn

    Line one number: empty

  3. The modified values of the Kbox cloud phone container are displayed.

Test Result

  

Remarks