summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add more methods to IPowerManager.Daniel Erat2015-09-301-0/+38
| | | | | | | | | | Add the full list of transaction IDs from IPowerManager.aidl to IPowerManager.h and make BpPowerManager support calling goToSleep, reboot, shutdown, and crash. These are currently needed by or likely to be needed by Brillo. Bug: 22122485 Change-Id: I19abd3587c9d53b28ec150210e07f97517ee4ff4
* Update libpowermanager to expose enum and export headers.Daniel Erat2015-09-151-9/+0
| | | | | | | | | | Move libpowermanager's transaction ID enum (needed when implementing BnPowerManager::onTransact()) into IPowerManager.h and update the library's Android.mk file to export its headers. Bug: 22122485 Change-Id: Ie97198c3d2ebe8e880125e19a001ef7162009858
* Make IPowerManager native conform to .aidl for onewayGlenn Kasten2014-09-051-10/+14
| | | | | | | | But provide a temporary escape hatch for AudioFlinger. This oneway option will be removed as soon as possible. Bug: 16408906 Change-Id: I20d6da1969ae05b96e72795463470eb4c1f8fbdc
* IPowerManager: make all binder call one wayEric Laurent2014-09-051-3/+3
| | | | | | | | | make all binder call to power manager service one way so that they don't block calling thread and are processed in the incoming order. Bug: 16408906. Change-Id: I94034df7f0a36d967e085b53fdc37fff7b44757b
* Update to follow interface change.Dianne Hackborn2014-04-031-0/+1
| | | | Change-Id: I3ef37a32144e79b481af1b12c89531f3757689ef
* PowerManager: add powerHint binder methodRuchi Kandoi2014-04-021-0/+10
| | | | Change-Id: Ide1d50bb1580698b25296fbfc1cc63c3b21a00bc
* Native counterpart of new power manager methodMarco Nelissen2013-10-161-0/+11
| | | | Change-Id: I54c0ed50a57ac870da91db8589a73a2c792dbd8d
* Allow blaming a single uid for work doneMarco Nelissen2013-10-031-1/+16
| | | | | | | | This lets audioflinger assign blame for wakelocks to a single uid. Currently this is only used for recording wakelocks. b/10985160 Change-Id: Idc9adb22c29030010ac690d4cb95e7e7ea6b91e6
* Power manager now takes calling package name arg.Dianne Hackborn2013-05-201-1/+3
| | | | Change-Id: Iae57b8eb7abe4e66f0d2645db8cdf57acf7dcd3e
* Use new PowerManager API.Jeff Brown2012-08-151-4/+3
| | | | Change-Id: I66165d9954e2d1da9204216382a05a873f1393f4
* Move services/powermanager from frameworks/base to frameworks/nativeColin Cross2012-03-281-0/+71
Move services/powermanager into frameworks/native so audioflinger can use it. Note that this is not the same as a PowerManagerService, which is part of systemserver and handles turning the screen on and off, etc. This is just a binder interface to allow taking wakelocks. Change-Id: I6b6a8b41cdbad17e826fda45aab5f059f22fc64e