fe9a53bc45fd0124a876dc0a49680aaf86641d3e |
|
31-Mar-2017 |
Jeff Sharkey <jsharkey@android.com> |
Consistent dump() permission checking. This change introduces new methods on DumpUtils that can check if the caller has DUMP and/or PACKAGE_USAGE_STATS access. It then moves all existing dump() methods to use these checks so that we emit consistent error messages. Test: cts-tradefed run commandAndExit cts-dev -m CtsSecurityTestCases -t android.security.cts.ServicePermissionsTest Bug: 32806790 Change-Id: Iaff6b9506818ee082b1e169c89ebe1001b3bfeca
/frameworks/base/services/core/java/com/android/server/DockObserver.java
|
cf11ceab652a146c72fde1fef53d69ceee9bf651 |
|
21-Oct-2016 |
Vinod Krishnan <vinodkrishnan@google.com> |
Fwk: Only chime when docked and accessbility is on Bug: 32036947 Change-Id: I5786abe827735cc3a4bc1d52baacaa19bccaae77
/frameworks/base/services/core/java/com/android/server/DockObserver.java
|
a09b4d2a611a7606e8fc8c73a24bd941b6fc173f |
|
15-Apr-2016 |
Narayan Kamath <narayan@google.com> |
Remove unnecessary allocation+unboxing of objects. Transforming String->int can be done with 0 allocations using Integer.parseInt. bug: 28078871 Change-Id: I8d9f322d7154728849dde61ef282046032858d60
/frameworks/base/services/core/java/com/android/server/DockObserver.java
|
280a64e793d081847c5dcea23ed9be38aa5332d2 |
|
13-Jul-2015 |
Dianne Hackborn <hackbod@google.com> |
Improve tracking of screen on reasons. - New screen on app op to record the last time each app has caused the screen to be turned on. - New battery stats event that tells us the reason the screen has been asked to turn on. - Propagate out power manager API to specify the reason a caller is asking to have the screen turned on. Note that currently the window flag to turn the screen on bypasses much of this because it is being handled in the window manager by just directly telling the power manager to turn the screen on. To make this better we need a new API where it can specify who it is calling the API for. Change-Id: I667e56cb1f80508d054da004db667efbcc22e971
/frameworks/base/services/core/java/com/android/server/DockObserver.java
|
584a44517950204a04ef01345be70b33d8ba43f9 |
|
22-Oct-2014 |
Bryce Lee <brycelee@google.com> |
[Theater Mode] framework implementation through global setting Bug: 17684570 Change-Id: I64a9c9c0620049cdfcca0150648fa201281f7178
/frameworks/base/services/core/java/com/android/server/DockObserver.java
|
7450614a496d0b6a5836703c1145e9bcd4f104e9 |
|
07-Aug-2014 |
Prashant Malani <pmalani@google.com> |
Move wakelock release to handleMessage There were certain code paths in handleDockStateChange() that were exiting without releasing the wakelock. So we move the release to the calling function to prevent stray held wakelocks. Bug: 16841895 Change-Id: I8ae4d2ab8f775c42a893d3bcdef34321c5f631a6 Signed-off-by: Prashant Malani <pmalani@google.com>
/frameworks/base/services/core/java/com/android/server/DockObserver.java
|
010e561a703381e16dd17caa7c942dea6978e6dc |
|
30-May-2014 |
Jeff Brown <jeffbrown@google.com> |
Add dumpsys to dock observer. Minor refactoring of dock observer to allow its state to be inspected and modified via dumpsys for debugging purposes. eg. View current state. adb shell dumpsys DockObserver eg. Simulate being docked. adb shell dumpsys DockObserver set state 1 eg. Reset back to normal. adb shell dumpsys DockObserver reset Change-Id: Ie48db775290ebed9aa4d9d9d5ac5a6fcb6122ac9
/frameworks/base/services/core/java/com/android/server/DockObserver.java
|
9158825f9c41869689d6b1786d7c7aa8bdd524ce |
|
22-Nov-2013 |
Amith Yamasani <yamasani@google.com> |
Move some system services to separate directories Refactored the directory structure so that services can be optionally excluded. This is step 1. Will be followed by another change that makes it possible to remove services from the build. Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85
/frameworks/base/services/core/java/com/android/server/DockObserver.java
|