Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[wltimer] Add moduled for suspend blocking timers. Contributes to JB#…
…32462

MCE code has accumulated copy paste code dealing with blocking suspend
for limited time.

Implement wakelock timer object logic that encapsulates holding a wakelock
while waiting for a glib timeout to trigger.

The interface is derived from already existing heartbeat timer code.
  • Loading branch information
spiiroin committed Oct 9, 2015
1 parent 7e0f6f9 commit a180ca1
Show file tree
Hide file tree
Showing 5 changed files with 602 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .depend
Expand Up @@ -342,6 +342,24 @@ mce-wakelock.pic.o:\
mce-log.h\
mce-wakelock.h\

mce-wltimer.o:\
mce-wltimer.c\
datapipe.h\
mce-lib.h\
mce-log.h\
mce-wakelock.h\
mce-wltimer.h\
mce.h\

mce-wltimer.pic.o:\
mce-wltimer.c\
datapipe.h\
mce-lib.h\
mce-log.h\
mce-wakelock.h\
mce-wltimer.h\
mce.h\

mce.o:\
mce.c\
builtin-gconf.h\
Expand All @@ -360,6 +378,7 @@ mce.o:\
mce-modules.h\
mce-sensorfw.h\
mce-wakelock.h\
mce-wltimer.h\
mce.h\
modetransition.h\
powerkey.h\
Expand All @@ -383,6 +402,7 @@ mce.pic.o:\
mce-modules.h\
mce-sensorfw.h\
mce-wakelock.h\
mce-wltimer.h\
mce.h\
modetransition.h\
powerkey.h\
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Expand Up @@ -280,6 +280,7 @@ MCE_CORE += mce-dbus.c
MCE_CORE += mce-dsme.c
MCE_CORE += mce-gconf.c
MCE_CORE += mce-hbtimer.c
MCE_CORE += mce-wltimer.c
MCE_CORE += mce-wakelock.c
MCE_CORE += event-input.c
MCE_CORE += event-switches.c
Expand Down Expand Up @@ -537,6 +538,8 @@ NORMALIZE_USES_SPC =\
mce-command-line.h\
mce-hbtimer.c\
mce-hbtimer.h\
mce-wltimer.c\
mce-wltimer.h\
mce-hybris.c\
mce-hybris.h\
mce-modules.h\
Expand Down

0 comments on commit a180ca1

Please sign in to comment.