0b575a3cdfce8cd5394044c4c6a7092487ba93cb |
|
16-Apr-2018 |
Makoto Onuki <omakoto@google.com> |
Split provider / service dumpsys into platform and non-platform Also extend the timeout to 60 seconds. - Because each provider / service dump may time out, the total time should relatively be large. Bug: 78017892 Fix: 78017892 Test: Manual test with the following dumpsys commands: dumpsys activity provider all dumpsys activity provider all-platform dumpsys activity provider all-non-platform dumpsys activity provider com.android.providers.contacts/com.android.providers.contacts.VoicemailContentProvider dumpsys activity provider com.android.providers.contacts/.VoicemailContentProvider dumpsys activity provider contacts dumpsys activity provider voicemail dumpsys activity provider 4d45a78 dumpsys activity service all dumpsys activity service all-platform dumpsys activity service all-non-platform dumpsys activity service bluetooth Test: atest /android/pi-dev/frameworks/base/core/tests/coretests/src/com/android/internal/util/DumpTest.java Test: atest /android/pi-dev/frameworks/base/core/tests/coretests/src/com/android/internal/util/ParseUtilsTest.java Test: Manual test with "adb bugreport" with adding sleep(10s) to ProviderMap.dumpProvider() Change-Id: I00bce0090b8dbb947d7f8b1e5d01bb8a70d84bd8
/frameworks/base/core/java/com/android/internal/util/DumpUtils.java
|
d9311198e18f19ad06ef2ed5e4a400c0fc30e83e |
|
16-Apr-2018 |
Jeff Sharkey <jsharkey@google.com> |
Revert "Revert "OP_GET_USAGE_STATS should be noted, not checked."" This reverts commit bd2a9a2915c17cbe2100d6d2077568d0936cd719. Reason for revert: ijpedowitz@ Bug: 77662908 Change-Id: I596d330d64942105f447bb613012bb11e281a805 Exempt-From-Owner-Approval: keep tests passing
/frameworks/base/core/java/com/android/internal/util/DumpUtils.java
|
bd2a9a2915c17cbe2100d6d2077568d0936cd719 |
|
16-Apr-2018 |
Jeff Sharkey <jsharkey@google.com> |
Revert "OP_GET_USAGE_STATS should be noted, not checked." This reverts commit 5a8bcd90315c24e2f16176fd13922b2a92752cd5. Reason for revert: ijpedowitz@ Bug: 77662908 Change-Id: I5dd0ad5038df90ea8a80ba6f583ee46fb24600c2 Exempt-From-Owner-Approval: keep tests passing
/frameworks/base/core/java/com/android/internal/util/DumpUtils.java
|
5a8bcd90315c24e2f16176fd13922b2a92752cd5 |
|
13-Apr-2018 |
Jeff Sharkey <jsharkey@android.com> |
OP_GET_USAGE_STATS should be noted, not checked. Per email feedback, we should be using "noteOp" instead of "checkOp" when testing if caller holds OP_GET_USAGE_STATS, so that we record that caller used the operation. Bug: 77662908 Test: builds, boots Exempt-From-Owner-Approval: keep tests passing Change-Id: I3a60345d590534fdbc2c1248e0d30dc85a5d6772
/frameworks/base/core/java/com/android/internal/util/DumpUtils.java
|
4bab3a191a70cbefac07c8fac90ec29081d91f89 |
|
11-Jan-2018 |
Yi Jin <jinyithu@google.com> |
Fix permissions problems of incidentd. Test: manual Change-Id: I4ee0d1f2349ee1a25a422cabf1b5b87c612710d2
/frameworks/base/core/java/com/android/internal/util/DumpUtils.java
|
82ba91ddb4fe9d9ff8245e27f70dea64cc20553d |
|
28-Apr-2017 |
Joe Onorato <joeo@google.com> |
Turn off logspam For more information, see https://source.android.com/source/code-style#log-sparingly Bug: 37252687 Test: development/tools/logblame/app_switch_test Test: development/tools/logblame/power_toggle_test Test: development/tools/logblame/medium_idle_test Change-Id: Ie2f6ef33df7b6c1ea976a8180945651ac9482976
/frameworks/base/core/java/com/android/internal/util/DumpUtils.java
|
e5e2569a1f0af3dd8cc245aada168f7969c3a5d9 |
|
14-Apr-2017 |
Jeff Sharkey <jsharkey@android.com> |
Relax enforcement of GET_USAGE_STATS permission. This matches the logic used in all other places where we check for this app-op. Test: builds, boots Bug: 37315351 Change-Id: I1fef7d30709d24c3f8978d33271a15b37b2ccc26
/frameworks/base/core/java/com/android/internal/util/DumpUtils.java
|
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/core/java/com/android/internal/util/DumpUtils.java
|
ae6688b09649447e57468b3e7935691bc09ec9b9 |
|
12-Feb-2015 |
Dianne Hackborn <hackbod@google.com> |
Update voice interaction layer for new UI design. Can switch from a pure overlay at the top of the screen, to interactive mode with the voice UI drawing at the bottom and pushing its target activity up like an IME. Add mechanism to get assist data to the voice interaction UI. Add some basic visualization of the assist data, outlining where on the screen we have text. Add a test ACTION_ASSIST handler, which can propagate the assist data it gets to the voice interaction session so you can see what kind of data we are getting from different apps. Change-Id: I18312fe1601d7926d1fb96a817638d60f6263771
/frameworks/base/core/java/com/android/internal/util/DumpUtils.java
|
8c84109b9fbbf473b225707a38261ff5f99d95fb |
|
24-Jun-2013 |
Dianne Hackborn <hackbod@google.com> |
Use FastPrintWriter... everywhere. One problem this turned up is, because FastPrintWriter does its own buffering, a lot of code that used to use PrintWriter would fail -- if it pointed to a StringWriter, there was no buffering, so it could just immediately get the result. Now you need to first flush the FastPrintWriter. Also added some new constructors to specify the size of buffer that FastPrintWriter should use. Change-Id: If48cd28d7be0b6b3278bbb69a8357e6ce88cf54a
/frameworks/base/core/java/com/android/internal/util/DumpUtils.java
|
cbad976b2a36a0895ca94510d5208a86f66cf596 |
|
05-Sep-2012 |
Jeff Brown <jeffbrown@google.com> |
Add support for Wifi display. Change-Id: I99693786cf9d07d07d3400046c55eb4933730b80
/frameworks/base/core/java/com/android/internal/util/DumpUtils.java
|