How to get device IMEI in HAL module?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to get device IMEI in HAL module?

xd chen
when i add a module in hal,i want to get the device info such as serialNo or IMEI,but i don't know,somebody can help me?

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/android-platform.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-platform/1f3df089-8e36-4170-b5b2-388de7f40e95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to get device IMEI in HAL module?

Paul Wichern
You can get the IMEI using IRadio::getDeviceIdentity in the radio HAL.

On Friday, June 14, 2019 at 11:17:56 PM UTC+2, xd chen wrote:
when i add a module in hal,i want to get the device info such as serialNo or IMEI,but i don't know,somebody can help me?

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/android-platform.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-platform/acacda7c-7297-47e4-935d-eea33277eebf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.