On Apr 16, 1:58 am, Heshan Perera <[email protected]>
wrote:
> As stated in the answer to this (http://stackoverflow.com/questions/
> 5120185/android-sleep-standby-mode)
>
> question, the CDMA and GSM radios are kept on, even after the CPU is
> put to sleep on an Android device.
>
> My questions are...
>
> When a call is received, what is it that wakes the CPU / phone up ?


radio firmware (radio processor side) -> ril driver (app processor
side) -> rilj -> dialer

Some of the ril driver code lives in hardware/ril/libril/ril.cpp in
the AOSP
code but the interesting parts are in the OEM binary blob.

> Is there a similar mechanism to wake my application up when data is
> received via an active TCP connection to a server, even after the
> phone has gone to sleep mode ?

As far as I know there is no similar mechanism available to anybody
that
doesn't have access to a way to modify the OEM binary blob for
whichever
hardware bits are under the TCP connection (WiFi or cell radio.)

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to