- 09 Jun, 2014 1 commit
-
-
Paul Lawrence authored
The code was using encrypted_upto == 0 as an indicator that encryption has succeeded. This meant that if no encryption happened, we would reboot continually. We now set encrypted_upto to fs_size when encryption is complete. Also don't start to encrypt unless we are at 10% power. Stop when we get to 5% power. This should lead to partial encryptions only very rarely. Bug: 15513202 Change-Id: I6214d78579d1fbbe2f63ee8862473d86a89d29b3
-
- 21 Mar, 2014 1 commit
-
-
Paul Lawrence authored
Stop encryption when battery is low, mark position, and continue on reboot. Note - support for multiple encrypted volumes removed as no devices seem to exist with an fstab that uses this feature. If you want support for such a device, contact me and we will re-add it with appropriate testing. Bug: 13284213 Change-Id: I1f7178e4f7dd8ea816cbc03ab5c4f6543e98acaa
-
- 22 Mar, 2013 1 commit
-
-
Ken Sumrall authored
The fstrim subsystem implements the dotrim command, which goes through all the writable filesystems on the device, and invokes the FITRIM ioctl() on them. This marks all the unused blocks on the underlying flash device as unused, so the device performs better. Change-Id: I5fc8c2f60e0bc823f162d0f89580fb288ecb2160
-
- 04 Jan, 2013 1 commit
-
-
Rom Lemarchand authored
Make sure all the calls to logwrap are consistent with the function's semantics. Change-Id: Ib0e2ad5c283cc4bb06c0ef5d6a9a52a5840b3dd2
-
- 11 Oct, 2009 1 commit
-
-
San Mehat authored
Let there be light. Signed-off-by:
San Mehat <san@android.com>
-