commit | 73680ec382f77e9d6bd7b4f5302a6ef864814c02 | [log] [tgz] |
---|---|---|
author | Daniel Rosenberg <drosen@google.com> | Wed Oct 10 18:52:04 2018 -0700 |
committer | Paul Lawrence <paullawrence@google.com> | Tue Oct 16 20:06:47 2018 +0000 |
tree | 28dd9da21ee6c6e2091f3cb884d292f8e5c61c63 | |
parent | 80d1ca5600807b5b9add6dee052719d52ca8c0df [diff] |
Switch to exceptions for most cp calls This switches the checkpoint calls that don't need to return a value to return 0 on success, and an error on failure. This will be transalted to exceptions for java binder users. needsCheckpoint and needsRollback still return a boolean value. Test: vdc setCheckpoint 2 then reboot 3 times checking state Bug: 112901762 Change-Id: Idd3b5e6036631562a86d5123f533b86cf3bd6032 Merged-In: Idd3b5e6036631562a86d5123f533b86cf3bd6032