History log of /hardware/libhardware_legacy/power/power.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ae2b826bfba69abfaba71fd7c9ca2944964b64f1 10-Dec-2015 Rom Lemarchand <romlem@android.com> Make wake_lock acquire/release errors explicit

Return negative values on error when acquiring or releasing a wake lock.

Change-Id: I2d72d4d1e68530b19d6128b257b92ccc8250416e
/hardware/libhardware_legacy/power/power.c
accf5b4b6232f67208f4bfa8e2f1546e345d6e9f 05-Aug-2015 Daniel Erat <derat@google.com> Remove unused systemTime() and include utils/Timers.h.

Remove a systemTime() function from power/power.c that
doesn't appear to be called anywhere, and make several
audio/ files explicitly include utils/Timers.h for the
libutils version of systemTime(). (They appear to have been
transitively getting it via utils/threads.h's include of
utils/Condition.h.)

Change-Id: I432bb1cf1100f5829df307a146076acf035a0bdc
/hardware/libhardware_legacy/power/power.c
b3624b26b2a55f33326c794565dd07d5078c655c 08-May-2015 Nick Kralevich <nnk@google.com> power.c: add O_CLOEXEC on wakelocks

Ensure that FDs associated with /sys/power/wake_lock and
/sys/power/wake_unlock are closed on exec.

Change-Id: Ia2c8937cf6a1fdd6564fad4785642934c805cf22
/hardware/libhardware_legacy/power/power.c
03f3747b2f364bce475aead57141bbc44b1637e7 12-May-2012 Jeff Brown <jeffbrown@google.com> Delete unused function.

set_last_user_activity_timeout() is no longer used or useful.
It opens a sysfs node that no longer exists that used to
be published by a daemon that is no longer even compiled
and that is about to be deleted. It used to be called
by the power manager with a huge value whose purpose was
essentially to disable the timeout feature altogether.

Long live dead code!

Bug: 6435382
Change-Id: If8f97a66f4e963a11e1c6b67ad97b41b2613043e
/hardware/libhardware_legacy/power/power.c
77d789de2664ebab2e38448c78edc41487dc8158 11-Feb-2012 Todd Poynor <toddpoynor@google.com> libhardware_legacy: Remove set_screen_state

The early-suspend/late-resume interface to /sys/power/state
is being moved to the default/legacy Power HAL.

The emulator interface is being moved to the emulator
Power HAL.

Change-Id: I66a1e611e6d907f20335f047001745f818dfc846
Signed-off-by: Todd Poynor <toddpoynor@google.com>
/hardware/libhardware_legacy/power/power.c
5efbd421e0029d6fc44b1cc65c0e5e0d85e5161f 08-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Idfcd2f2269080d92a621dc432c65f7cf244588af
/hardware/libhardware_legacy/power/power.c
6f211ce723f18da2bb0881a19d48fc51c32bcbf4 04-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156801

Bug: 5449033
Change-Id: I21aea046270c8700d349a4181c559d1b05333a1b
/hardware/libhardware_legacy/power/power.c
e686393f88fbbdffac46578a489cd9da0d46de33 04-Dec-2010 Brian Swetland <swetland@google.com> do not actually error out when there's no kernel power interface

This allows the system to work on hardware that doesn't have PM
support (board bringup, etc) but has no ill effects on production
hardware.

Change-Id: I4e40ac92c6b4d08f2044224f80382934061ccc06
/hardware/libhardware_legacy/power/power.c
c6cf19a688b6d1c068a6f6ee4c1302a333cd8518 14-May-2010 Nick Kralevich <nnk@google.com> Get rid of warnings when compiled with -Wformat-security

Change-Id: Ib0a56e508734b1eca8b6cf125fd07efefee854aa
/hardware/libhardware_legacy/power/power.c
f566139de7e3c21e82e1736b62910cc89c9194fe 05-Oct-2009 Mike Lockwood <lockwood@android.com> Add some logging to help diagnose b/2164183

Change-Id: I88a7aa147b44429ad7204eba328f3f1e1b80a36a
Signed-off-by: Mike Lockwood <lockwood@android.com>
/hardware/libhardware_legacy/power/power.c
e18b7b21c2fe0788e6cf1a1a055a25c2e5bc2dd8 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
/hardware/libhardware_legacy/power/power.c
cc490161f6af9e4a6842ee827e4bfc43bc4509d5 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/hardware/libhardware_legacy/power/power.c
3bbe5328cd738976443822502e23fb3971c5f87b 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/hardware/libhardware_legacy/power/power.c
5ce01674d44addab570009ceddeaa08d64534092 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
/hardware/libhardware_legacy/power/power.c