Daniel Rosenberg
99ae565fbf
Merge "Switch to exceptions for most cp calls" am: ece7e231a6
...
am: bc6c1ff8df
Change-Id: I7654daaedb0f23d8733f244782b9f74906cfee86
6 years ago
Daniel Rosenberg
bc6c1ff8df
Merge "Switch to exceptions for most cp calls"
...
am: ece7e231a6
Change-Id: Ib02d0a002f31834bb07cf8dd9446cec942880a77
6 years ago
Daniel Rosenberg
3bfb996597
Remove spurious function declaration
...
Test: Nothing changes
Change-Id: I27f0d832d33099efe25794987c307d773b5d987c
Merged-In: Icba16578608a6cbf922472e9d4ae5b8cf5f016c6
6 years ago
Treehugger Robot
ece7e231a6
Merge "Switch to exceptions for most cp calls"
6 years ago
Daniel Rosenberg
73680ec382
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
6 years ago
Daniel Rosenberg
e334aab65b
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
6 years ago
Daniel Rosenberg
cf540f3513
Merge "Handle retry count" am: e74587af4d
am: e1e3dc3698
...
am: c879ec2005
Change-Id: Ib1a614d3e3a964afc36585c9ca323e7a4cf97a39
6 years ago
Daniel Rosenberg
c879ec2005
Merge "Handle retry count" am: e74587af4d
...
am: e1e3dc3698
Change-Id: I22e6a5ca7502bec0d12b443652dd5c9c7a6b546b
6 years ago
Daniel Rosenberg
e1e3dc3698
Merge "Handle retry count"
...
am: e74587af4d
Change-Id: I76c8625e58de0efb7b1d937ce7bcb8499c7fc279
6 years ago
Treehugger Robot
e74587af4d
Merge "Handle retry count"
6 years ago
Daniel Rosenberg
80d1ca5600
Handle retry count
...
Test: vdc setCheckpoint 2 then reboot 3 times checking state
Bug: 112901762
Change-Id: I85a71d059bca27b76175b9bd8465cc453f0ddb8d
6 years ago
Rubin Xu
ffd236627b
[automerger skipped] Merge "[DO NOT MERGE] Fix signedness mismatch and integer underflow" into oc-dev am: 92e63e3f9b
am: b1498d1d87
am: 89858102c2
-s ours am: 74b92dc85f
...
am: 8b6ebe4817
-s ours
Change-Id: I0bc1909d13844722a1d3dbfb14c53aa853aa0cfe
6 years ago
Rubin Xu
29e2211ee9
[automerger skipped] [automerger] [DO NOT MERGE] Fix signedness mismatch and integer underflow am: ef35553d53
am: 08bd47e9a9
am: 279cc3d65e
am: 972b5551f6
skipped: ded6cb5910
am: 0d2edbd6ab
am: b078fd6b8c
am: 6460a0149b
-s ours am: a815fe5d4c
...
am: 74c3059924
-s ours
Change-Id: I1edfdbc1b6304a40bfbdcdf5c5aa8f0051241448
6 years ago
Rubin Xu
8b6ebe4817
[automerger skipped] Merge "[DO NOT MERGE] Fix signedness mismatch and integer underflow" into oc-dev am: 92e63e3f9b
am: b1498d1d87
am: 89858102c2
-s ours
...
am: 74b92dc85f
Change-Id: I85b41ec11c18f0b2d98fbc15b1ae4141d23a823c
6 years ago
Rubin Xu
74c3059924
[automerger skipped] [automerger] [DO NOT MERGE] Fix signedness mismatch and integer underflow am: ef35553d53
am: 08bd47e9a9
am: 279cc3d65e
am: 972b5551f6
skipped: ded6cb5910
am: 0d2edbd6ab
am: b078fd6b8c
am: 6460a0149b
-s ours
...
am: a815fe5d4c
Change-Id: I51930801459c5304c79e0d713d9f0a74b678b8e0
6 years ago
Rubin Xu
74b92dc85f
[automerger skipped] Merge "[DO NOT MERGE] Fix signedness mismatch and integer underflow" into oc-dev am: 92e63e3f9b
am: b1498d1d87
...
am: 89858102c2
-s ours
Change-Id: Idf0858840a8472059899bfd565e4182c2c210693
6 years ago
Rubin Xu
a815fe5d4c
[automerger skipped] [automerger] [DO NOT MERGE] Fix signedness mismatch and integer underflow am: ef35553d53
am: 08bd47e9a9
am: 279cc3d65e
am: 972b5551f6
skipped: ded6cb5910
am: 0d2edbd6ab
am: b078fd6b8c
...
am: 6460a0149b
-s ours
Change-Id: Ie581371ca539f2513758529dad38dca903b8dac9
6 years ago
Rubin Xu
89858102c2
Merge "[DO NOT MERGE] Fix signedness mismatch and integer underflow" into oc-dev am: 92e63e3f9b
...
am: b1498d1d87
Change-Id: Ic7ef94c42d54d4f29c92bad98001bd6e065f5013
6 years ago
Rubin Xu
6460a0149b
[automerger] [DO NOT MERGE] Fix signedness mismatch and integer underflow am: ef35553d53
am: 08bd47e9a9
am: 279cc3d65e
am: 972b5551f6
skipped: ded6cb5910
am: 0d2edbd6ab
...
am: b078fd6b8c
Change-Id: I163ea50aca6838abcf0c58e042a5fe386f661afe
6 years ago
Rubin Xu
b1498d1d87
Merge "[DO NOT MERGE] Fix signedness mismatch and integer underflow" into oc-dev
...
am: 92e63e3f9b
Change-Id: Ia169a9fc152f100a9567f2c47ef5a2e46358aa52
6 years ago
Rubin Xu
b078fd6b8c
[automerger] [DO NOT MERGE] Fix signedness mismatch and integer underflow am: ef35553d53
am: 08bd47e9a9
am: 279cc3d65e
am: 972b5551f6
skipped: ded6cb5910
...
am: 0d2edbd6ab
Change-Id: I5f5e7425c927bdc6de7b401995fccc1f626355c7
6 years ago
TreeHugger Robot
92e63e3f9b
Merge "[DO NOT MERGE] Fix signedness mismatch and integer underflow" into oc-dev
6 years ago
TreeHugger Robot
1ddc09a3e4
Merge "Fix signedness mismatch and integer underflow"
6 years ago
Rubin Xu
19ef1ae99a
[DO NOT MERGE] Fix signedness mismatch and integer underflow
...
persist_get_max_entries() is supposed to return an unsigned integer as the
maximum number of entries but it also wrongly returns "-1" as an error
condition. Also fix an issue where an unsigned subtraction in this routine
could lead to integer underflow.
Bug: 112731440
Test: manual
Change-Id: I9672e39bef2c12156dda7806a08c52044962c178
6 years ago
Sudheer Shanka
b792c3a210
Merge "Delete package sandbox data when it is uninstalled."
6 years ago
Bill Rassieur
87135e28b2
Merge PPR2.181005.003 from pi-release-2 into pi-platform-release.
...
Change-Id: Ifb0130fa2b413d1b8a769684cffb6c6621ea9859
BUG: 117431430
6 years ago
Rubin Xu
d78181b82a
Fix signedness mismatch and integer underflow
...
persist_get_max_entries() is supposed to return an unsigned integer as the
maximum number of entries but it also wrongly returns "-1" as an error
condition. Also fix an issue where an unsigned subtraction in this routine
could lead to integer underflow.
Bug: 112731440
Test: manual
Change-Id: I9672e39bef2c12156dda7806a08c52044962c178
6 years ago
Android Build Merger (Role)
0d2edbd6ab
[automerger] [DO NOT MERGE] Fix signedness mismatch and integer underflow am: ef35553d53
am: 08bd47e9a9
am: 279cc3d65e
am: 972b5551f6
skipped: ded6cb5910
...
Change-Id: I4a1b7a1509d00fba8e35755d2fb198c47e9f3999
6 years ago
Android Build Merger (Role)
ded6cb5910
[automerger] [DO NOT MERGE] Fix signedness mismatch and integer underflow am: ef35553d53
am: 08bd47e9a9
am: 279cc3d65e
am: 972b5551f6
...
Change-Id: I878947630e3cec949dbfa361a379637a30d67a1d
6 years ago
Android Build Merger (Role)
972b5551f6
[automerger] [DO NOT MERGE] Fix signedness mismatch and integer underflow am: ef35553d53
am: 08bd47e9a9
am: 279cc3d65e
...
Change-Id: If379e03d3998c1267bc66f53b308ea28bcd4c128
6 years ago
Android Build Merger (Role)
279cc3d65e
[automerger] [DO NOT MERGE] Fix signedness mismatch and integer underflow am: ef35553d53
am: 08bd47e9a9
...
Change-Id: Ie536c5dd8c447cd3753725040edbec7ce478ea07
6 years ago
Android Build Merger (Role)
08bd47e9a9
[automerger] [DO NOT MERGE] Fix signedness mismatch and integer underflow am: ef35553d53
...
Change-Id: I094ac59296a118fbacc70b4ead1230b4d8683fa2
6 years ago
Rubin Xu
ef35553d53
[DO NOT MERGE] Fix signedness mismatch and integer underflow
...
persist_get_max_entries() is supposed to return an unsigned integer as the
maximum number of entries but it also wrongly returns "-1" as an error
condition. Also fix an issue where an unsigned subtraction in this routine
could lead to integer underflow.
Bug: 112731440
Test: manual
Change-Id: I9672e39bef2c12156dda7806a08c52044962c178
6 years ago
Sudheer Shanka
112c9cc2f8
Merge "Check isolated_storage is enabled before cleaning up sandboxes."
6 years ago
Sudheer Shanka
fa6a174a05
Delete package sandbox data when it is uninstalled.
...
Bug: 111890351
Test: manual
Change-Id: I989d507f3352959e824b161a94c0eaad6eed9bba
6 years ago
Sudheer Shanka
9acc6d4398
Check isolated_storage is enabled before cleaning up sandboxes.
...
Also, clear packages state stored for the user being stopped.
Bug: 117329171
Bug: 111890351
Test: manual
Change-Id: Ida48fcec851830dbb756e329c20c322c631ad264
6 years ago
Daniel Rosenberg
c5aca90465
Merge "Add checkpointing support for A/B updates" am: ba1752008d
am: 0b875d7630
...
am: 9e9f7cb820
Change-Id: I76999218377271621d14502f9315739dd1b894a5
6 years ago
Daniel Rosenberg
9e9f7cb820
Merge "Add checkpointing support for A/B updates" am: ba1752008d
...
am: 0b875d7630
Change-Id: I04e3fedecf97c0dc4e2cf7b6b3f099ce6a81d633
6 years ago
Daniel Rosenberg
0b875d7630
Merge "Add checkpointing support for A/B updates"
...
am: ba1752008d
Change-Id: I62cb1c6dce6c9eca1c3651b05d23cb893559d370
6 years ago
Daniel Rosenberg
ba1752008d
Merge "Add checkpointing support for A/B updates"
6 years ago
Paul Lawrence
cba5a411d1
Merge "Use unique points for fstab" am: 1e1893812c
am: 1c6d73bfcc
...
am: 704da32b50
Change-Id: I13c215dc504a3745402327aaead9d7f6d36bc695
6 years ago
Paul Lawrence
704da32b50
Merge "Use unique points for fstab" am: 1e1893812c
...
am: 1c6d73bfcc
Change-Id: I17f2815216ebea678c4844818ec6f3007b557fe2
6 years ago
Paul Lawrence
1c6d73bfcc
Merge "Use unique points for fstab"
...
am: 1e1893812c
Change-Id: I64ce90c05417b8b96ddc1e96cd505ca2aff86082
6 years ago
Treehugger Robot
1e1893812c
Merge "Use unique points for fstab"
6 years ago
Daniel Rosenberg
d399249855
Add checkpointing support for A/B updates
...
This adds implicit rollback support during A/B style updates.
If you explicitly start a checkpoint with -1, needsRollback will
trigger if the update fails, and should be used if any additional
cleanup is needed that is not covered by A/B itself.
Test: All Checkpoint tests pass
Bug: 111020314
Change-Id: I88b4a1098c6bac4dc1438a54c8a8f59577a6c17b
6 years ago
Paul Lawrence
2040089ab0
Use unique points for fstab
...
Test: Checkpoint test script runs and passes
Change-Id: I13005da22aef5fda3d1e0941949db02ff0ff0870
6 years ago
Paul Lawrence
6f0bed1bbe
Merge "Make checkpointing work on ext4" am: ac244261c8
am: 61c3eaf068
...
am: f6c099af3a
Change-Id: Ic3703ad2d1d8c1b5b63be338d6725b582374dba6
6 years ago
Paul Lawrence
f6c099af3a
Merge "Make checkpointing work on ext4" am: ac244261c8
...
am: 61c3eaf068
Change-Id: I22a1b7c3c35aa164b00d4e4d176bcdf63df53353
6 years ago
Paul Lawrence
61c3eaf068
Merge "Make checkpointing work on ext4"
...
am: ac244261c8
Change-Id: I78da54f117c9c2710d2d1fbe4ec7e902bf944d5d
6 years ago
Treehugger Robot
ac244261c8
Merge "Make checkpointing work on ext4"
6 years ago