Where is the source code of the new feature 'Doze' mode?

172 views
Skip to first unread message

yf...@mobvoi.com

unread,
Mar 17, 2016, 10:06:17 AM3/17/16
to android-platform
Hi:
    I'm interesting in Android M Doze mode, but I can not find the source about it, I searched SystemServer.java, PowerManagerService, but nothing found. Can any one tell me where exactly where is the code ?

Maunik Shah

unread,
Mar 22, 2016, 4:16:00 AM3/22/16
to android-...@googlegroups.com
It runs as service which is part of com.android.systemui process.
Path: /frameworks/base/packages/SystemUI/src/com/android/systemui/doze/DozeService.java

Thanks,
Maunik.

On Thu, Mar 17, 2016 at 11:40 AM, <yf...@mobvoi.com> wrote:
Hi:
    I'm interesting in Android M Doze mode, but I can not find the source about it, I searched SystemServer.java, PowerManagerService, but nothing found. Can any one tell me where exactly where is the code ?

--
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 android-platfo...@googlegroups.com.
To post to this group, send email to android-...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-platform.
For more options, visit https://groups.google.com/d/optout.

liuyafei

unread,
Mar 22, 2016, 10:13:50 AM3/22/16
to android-...@googlegroups.com
Sorry, what I mean is the new feature "Doze and App Standby"(http://developer.android.com/training/monitoring-device-state/doze-standby.html), and I'v found it. It's in frameworks/base/services/core/java/com/android/server/DeviceIdleController.java
Reply all
Reply to author
Forward
0 new messages