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
N/A
Prerequisites
The basic environment of the Kbox cloud phone has been deployed.
The Kbox cloud phone container has been created and connected to SCRCPY to display the cloud phone UI.
The zausan.zdevicetest.apk file has been installed in the Kbox cloud phone container.
Test Procedure
Run the sudo docker exec -it kbox_x sh command on the server to access the Kbox cloud phone container.
Enter dumpsys isub | grep -i iccid to query the integrated circuit card identifier (ICCID) of the SIM card.
Open SSM/UMTS in zausan.zdevicetest.apk on the client.
View SIM operator, SIM operator name, SIM country, Network operator, Network operator name, Network country, and Line one number.
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.
Restart the Kbox cloud phone and query the values again.
Expected Result
The preset ICCID of the SIM card (898600 + random digits + [****]) in the Kbox cloud phone container is displayed.
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
The modified values of the Kbox cloud phone container are displayed.