am f20a5eb2: PowerManager: add powerHint method

* commit 'f20a5eb279035d462e1f5d9895f4eb66cc152215':
  PowerManager: add powerHint method
This commit is contained in:
Ruchi Kandoi
2014-04-04 20:29:39 +00:00
committed by Android Git Automerger
3 changed files with 17 additions and 1 deletions

View File

@@ -23,7 +23,7 @@ import android.os.WorkSource;
interface IPowerManager
{
// WARNING: The first four methods must remain the first three methods because their
// WARNING: The first five methods must remain the first five methods because their
// transaction numbers must not change unless IPowerManager.cpp is also updated.
void acquireWakeLock(IBinder lock, int flags, String tag, String packageName, in WorkSource ws,
String historyTag);
@@ -31,6 +31,7 @@ interface IPowerManager
int uidtoblame);
void releaseWakeLock(IBinder lock, int flags);
void updateWakeLockUids(IBinder lock, in int[] uids);
oneway void powerHint(int hintId, int data);
void updateWakeLockWorkSource(IBinder lock, in WorkSource ws, String historyTag);
boolean isWakeLockLevelSupported(int level);