summaryrefslogtreecommitdiffstats
path: root/power
Commit message (Collapse)AuthorAgeFilesLines
* power.c: add O_CLOEXEC on wakelocksNick Kralevich2015-05-081-1/+1
| | | | | | | | | Ensure that FDs associated with /sys/power/wake_lock and /sys/power/wake_unlock are closed on exec. (cherrypicked from b3624b26b2a55f33326c794565dd07d5078c655c) Change-Id: Ia2c8937cf6a1fdd6564fad4785642934c805cf22
* Delete unused function.Jeff Brown2012-05-111-21/+0
| | | | | | | | | | | | | | 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
* libhardware_legacy: Remove set_screen_stateTodd Poynor2012-02-184-103/+1
| | | | | | | | | | | 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>
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-1/+1
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Idfcd2f2269080d92a621dc432c65f7cf244588af
* Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGESteve Block2012-01-041-5/+5
| | | | | | | See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: I21aea046270c8700d349a4181c559d1b05333a1b
* do not actually error out when there's no kernel power interfaceBrian Swetland2010-12-031-1/+3
| | | | | | | | 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
* Get rid of warnings when compiled with -Wformat-securityNick Kralevich2010-05-131-3/+6
| | | | Change-Id: Ib0a56e508734b1eca8b6cf125fd07efefee854aa
* Add some logging to help diagnose b/2164183Mike Lockwood2009-10-051-1/+1
| | | | | Change-Id: I88a7aa147b44429ad7204eba328f3f1e1b80a36a Signed-off-by: Mike Lockwood <lockwood@android.com>
* auto import from //branches/cupcake_rel/...@140373The Android Open Source Project2009-03-183-78/+0
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-034-0/+324
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-034-324/+0
|
* auto import from //branches/cupcake/...@126645The Android Open Source Project2009-01-154-0/+324