Just found [line 2275](https://github.com/mozilla-b2g/platform_external_qemu/blob/master/telephony/android_modem.c#L2275) has:
```
int id = cmd[0] - '1';
```
:(