commit | 5eed71e4d54231b756e5a38bab79717a20bd320e | [log] [tgz] |
---|---|---|
author | Brian Muramatsu <btmura@google.com> | Wed May 19 15:52:03 2010 -0700 |
committer | Brian Muramatsu <btmura@android.com> | Fri May 21 14:10:07 2010 -0700 |
tree | e647426f4f10532b23512349254ed4e71ac94d80 | |
parent | f2c62d57c487a21ad376cb8dad77aa8d395d442b [diff] |
Verify Device IMEI/MEID Ids Bug 2694172 Test that TelephonyManager#getDeviceId returns either a 15 long IMEI id for GSM phones, 14 hex MEID id for CDMA, or 18 decimal MEID ids. Check the Luhn check digit for IMEI ids. Finally, check that a valid MAC address is returned by devices that are neither GSM or CDMA. Change-Id: I0a8696d76ece9802ac7c43111ed230c6a0412efb