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
1 file changed
tree: e647426f4f10532b23512349254ed4e71ac94d80
  1. tests/
  2. tools/
  3. .gitignore
  4. Android.mk