History log of /frameworks/native/cmds/dumpstate/DumpstateService.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b53a1c9b4df27a7a66c9448778eace166a0ce14c 17-Mar-2017 Naveen Kalla <mrnaveen@google.com> Add notification_title and notification_description to dumpstate

Initiator of dumpstate can set dumpstate.options.title and
dumpstate.options.description properties to notify dumpstate the details
that will be used to file a bug. dumpstate will send this information
along with the BUGREPORT_FINISHED intent.

Bug: 33561517
Test: Use the new API to invoke bugreport from TelephonyMonitor and
ensure that the bugreport is taken and title and description are
updated properly in the notification. Run dumpstate and
BugreportReceiver unit tests

Change-Id: Ia23a3ef4d5751be14f347ac38ef7c8a18f79799d
/frameworks/native/cmds/dumpstate/DumpstateService.cpp
f029297f673ae06d219bd727a318a48b885db6fd 22-Nov-2016 Felipe Leme <felipeal@google.com> Even moar refactoring...

- Moved DumpstateUtil functions to its own .cpp file.
- Created a DumpstateInternal file.
- Moved properties setting to a PropertiesHelper class.
- Added title to functions that uses a FD.
- Moved Nanotime() out of DurationReporter.
- Restricted number of default CommandOptions constants.

BUG: 31982882
Test: manual verification
Test: dumpstate_test pass

Change-Id: Iab3e61594f6f7298484185f6f302472d31064f7d
/frameworks/native/cmds/dumpstate/DumpstateService.cpp
009ecbbd3fcfd06735b0102f0342fc7e60166d9b 07-Nov-2016 Felipe Leme <felipeal@google.com> Deprecated system properties used to update progress:

- Uses just the binder listener.
- Don't send all updates to the listener.
- SetListener returns a token that can be used to watch for dumpstate death.

Bug: 31636879
Test: dumpstate_test passes

Change-Id: Ie73fa355809b3b628ee39d7c52ded4b99387b14d
/frameworks/native/cmds/dumpstate/DumpstateService.cpp
7447d7c3d74b28f1a071b1d3503212cc8ad08d68 04-Nov-2016 Felipe Leme <felipeal@google.com> Save dumpstate duration stats so it can be tuned over time.

Fixes: 26373682
Test: dumpstate_test passes and manual verification

Change-Id: I72a308bfb314e157b12746c1be2c33833bdf9d8a
/frameworks/native/cmds/dumpstate/DumpstateService.cpp
75876a2c0649b8cde36329ca0a1dc6e349af6493 28-Oct-2016 Felipe Leme <felipeal@google.com> Created a dumpstate service.

For now this is still a limited service:

- It's only created when running an interactive bugreport.
- It only provides a listener to get updates.
- It will be just used by Shell to get updates.

Test: dumpstate_test passes
BUG: 31636879

Change-Id: Iae820261d220523c979bf905030456fcf0b2b618
/frameworks/native/cmds/dumpstate/DumpstateService.cpp