Commit Graph

1376 Commits

Author SHA1 Message Date
Tao Bao 2e03e4d913 am 8d312ed6: am 8853cb2f: uncrypt: package on non-data partition should follow the right path
* commit '8d312ed601d15123a442d8227df901160083f2a7':
  uncrypt: package on non-data partition should follow the right path
2015-05-06 17:41:01 +00:00
Tao Bao 8d312ed601 am 8853cb2f: uncrypt: package on non-data partition should follow the right path
* commit '8853cb2f296adfdc57871e9482a8e97b0011b323':
  uncrypt: package on non-data partition should follow the right path
2015-05-06 01:42:25 +00:00
Tao Bao 8853cb2f29 uncrypt: package on non-data partition should follow the right path
Fix the accidental change of behavior in [1]. OTA packages not on /data
partition should still go through the path that has validity checks and
wipe_misc() steps.

[1]: commit eaf33654c1.

Change-Id: I3e86e19f06603bfe6ecc691c9aa66a8a8a79c5fb
(cherry picked from commit fb4ccef1df)
2015-05-05 18:22:03 -07:00
Tao Bao 42ed4d3dd0 am 38fcdfe0: am 93cec9a0: Keep multiple kernel logs
* commit '38fcdfe06cb45c1efc816ecc5e8ff82e5442d893':
  Keep multiple kernel logs
2015-05-05 22:03:14 +00:00
Tao Bao 38fcdfe06c am 93cec9a0: Keep multiple kernel logs
* commit '93cec9a0c402d6ca5d41e10db738bb5f61b19be2':
  Keep multiple kernel logs
2015-05-05 21:49:51 +00:00
Tao Bao 93cec9a0c4 Keep multiple kernel logs
Currently we are keeping one copy of the kernel log (LAST_KMSG_FILE).
This CL changes to keep up to KEEP_LOG_COUNT copies for kernel logs.

Bug: http://b/18092237
Change-Id: Ied862b5b70cbbae7775f59c78c32ec62aeeca655
(cherry picked from commit bef39710ff)
2015-05-05 14:23:41 -07:00
Tao Bao 00be513e72 am 6c3b7634: am 6d820f2c: Turn on text display for debuggable builds
* commit '6c3b76344f3b64fe8150a191217f4a2ebb0d7d49':
  Turn on text display for debuggable builds
2015-05-04 18:44:55 +00:00
Tao Bao 6c3b76344f am 6d820f2c: Turn on text display for debuggable builds
* commit '6d820f2c91f6cafcec5b378ae896b7118ca8921d':
  Turn on text display for debuggable builds
2015-05-04 18:32:21 +00:00
Tao Bao 0f2d721d80 am e9ce252c: am 0a7b9276: am f8f88321: Merge "Turn on text display for debuggable builds"
* commit 'e9ce252cf0f7b996a2e1977d30928b0812e371ba':
  Turn on text display for debuggable builds
2015-05-04 17:37:14 +00:00
Tao Bao e9ce252cf0 am 0a7b9276: am f8f88321: Merge "Turn on text display for debuggable builds"
* commit '0a7b92762a42be7dd01da87b5f67a405f6f07d31':
  Turn on text display for debuggable builds
2015-05-04 17:24:59 +00:00
Tao Bao 6d820f2c91 Turn on text display for debuggable builds
For userdebug and eng builds, turn on the text display automatically
if no command is specified.

(cherry-pick of 785d22c88cda46972331c04ebc9df97371a696da.)

Bug: http://b/17489952
Change-Id: I38377c45f2a8e45ca788e5506695aa88c769cbcf
2015-05-04 10:21:54 -07:00
Tao Bao 0a7b92762a am f8f88321: Merge "Turn on text display for debuggable builds"
* commit 'f8f8832179003ad0a4e9359ef16e2f49d9f38345':
  Turn on text display for debuggable builds
2015-05-04 17:11:46 +00:00
Tao Bao f8f8832179 Merge "Turn on text display for debuggable builds" 2015-05-04 17:05:20 +00:00
Tao Bao 785d22c88c Turn on text display for debuggable builds
For userdebug and eng builds, turn on the text display automatically
if no command is specified.

Bug: http://b/17489952
Change-Id: I3d42ba2848b968da12164ddfda915ca69dcecba1
2015-05-04 09:59:29 -07:00
Elliott Hughes 60ec0d9ff1 am 759febda: am 4cf34d5d: Fix mips64 minadbd_test build.
* commit '759febdabcf76ea5908f506e2e5c2ef77854111d':
  Fix mips64 minadbd_test build.
2015-05-02 06:09:44 +00:00
Elliott Hughes 6ec91303a2 am 007a7141: am 4b3004a6: am 59e1e3e7: Merge "Fix mips64 minadbd_test build."
* commit '007a71416b5f824fe7c77e53e2992a164003f37b':
  Fix mips64 minadbd_test build.
2015-05-02 06:09:44 +00:00
Elliott Hughes 759febdabc am 4cf34d5d: Fix mips64 minadbd_test build.
* commit '4cf34d5d297db4f7130a7f1472c394e38ea0e642':
  Fix mips64 minadbd_test build.
2015-05-02 05:59:39 +00:00
Elliott Hughes 007a71416b am 4b3004a6: am 59e1e3e7: Merge "Fix mips64 minadbd_test build."
* commit '4b3004a6c93481e659647e7b40beb572f140683b':
  Fix mips64 minadbd_test build.
2015-05-02 05:58:07 +00:00
Elliott Hughes 4b3004a6c9 am 59e1e3e7: Merge "Fix mips64 minadbd_test build."
* commit '59e1e3e78f53438cb5843d7e151dddb0d782328c':
  Fix mips64 minadbd_test build.
2015-05-02 05:47:12 +00:00
Elliott Hughes 4cf34d5d29 Fix mips64 minadbd_test build.
Looks like the mips64 linker isn't as good as the others at GCing
unused stuff, which means it needs libcutils.

Change-Id: I5f768e44514350fb81e5360351db3e9cc4201702
(cherry picked from commit dbb20c4863)
2015-05-01 22:40:06 -07:00
Elliott Hughes 59e1e3e78f Merge "Fix mips64 minadbd_test build." 2015-05-02 05:39:07 +00:00
Elliott Hughes dbb20c4863 Fix mips64 minadbd_test build.
Looks like the mips64 linker isn't as good as the others at GCing
unused stuff, which means it needs libcutils.

Change-Id: I5f768e44514350fb81e5360351db3e9cc4201702
2015-05-01 22:29:01 -07:00
Elliott Hughes c1ad59a28e am 227dcf8a: am 15931924: Move minadb over to new API.
* commit '227dcf8af14faaef239f8d28ba46bc6b4ef229cf':
  Move minadb over to new API.
2015-05-02 01:12:39 +00:00
Elliott Hughes 4d83d9e174 am 0cd8f5b4: am 87ec73a2: Fix minadb_test build breakage.
* commit '0cd8f5b429e15b89ec77bd26d3994b3508d3aebf':
  Fix minadb_test build breakage.
2015-05-02 01:12:38 +00:00
Elliott Hughes ddc79a9537 am 41e4f5ae: am c0537d68: am 6bc2d538: Merge "Move minadb over to new API."
* commit '41e4f5ae1ce47b475881ffded632d07e91f1ce19':
  Move minadb over to new API.
2015-05-02 01:12:37 +00:00
Elliott Hughes 75ae70cb7c am ea874f8f: am c67e89ad: am 30cea3dc: Merge "Fix minadb_test build breakage."
* commit 'ea874f8fb70e98f5595ab2d582c31e9d79f300f7':
  Fix minadb_test build breakage.
2015-05-02 01:12:37 +00:00
Elliott Hughes 227dcf8af1 am 15931924: Move minadb over to new API.
* commit '15931924e1820d4c2bc9f9c0c7734c43c92b866b':
  Move minadb over to new API.
2015-05-02 00:56:15 +00:00
Elliott Hughes 0cd8f5b429 am 87ec73a2: Fix minadb_test build breakage.
* commit '87ec73a264530f5fa19cde2598d5e65c4c67a686':
  Fix minadb_test build breakage.
2015-05-02 00:56:14 +00:00
Elliott Hughes 41e4f5ae1c am c0537d68: am 6bc2d538: Merge "Move minadb over to new API."
* commit 'c0537d688529bd38e691ead93815ece29ad15b7b':
  Move minadb over to new API.
2015-05-02 00:56:11 +00:00
Elliott Hughes ea874f8fb7 am c67e89ad: am 30cea3dc: Merge "Fix minadb_test build breakage."
* commit 'c67e89ada5b8f549e8844e0b722d3310398bf4e8':
  Fix minadb_test build breakage.
2015-05-02 00:56:10 +00:00
Elliott Hughes c0537d6885 am 6bc2d538: Merge "Move minadb over to new API."
* commit '6bc2d538ae304edbd6bf514cb61444844313032d':
  Move minadb over to new API.
2015-05-02 00:39:16 +00:00
Elliott Hughes c67e89ada5 am 30cea3dc: Merge "Fix minadb_test build breakage."
* commit '30cea3dcaf1dcf4be9954178f67b4f8dff0fb9f9':
  Fix minadb_test build breakage.
2015-05-02 00:39:15 +00:00
Elliott Hughes 15931924e1 Move minadb over to new API.
Change-Id: I889bcf2222245c7665287513669cae8831e37081
(cherry picked from commit 4039933c62)
2015-05-01 17:35:06 -07:00
Elliott Hughes 6bc2d538ae Merge "Move minadb over to new API." 2015-05-02 00:34:42 +00:00
Elliott Hughes 87ec73a264 Fix minadb_test build breakage.
Change-Id: I98bb900debb7d7dd57d3f8f84d605163ec192b03
(cherry picked from commit 3e7d82c621)
2015-05-01 17:26:45 -07:00
Elliott Hughes 30cea3dcaf Merge "Fix minadb_test build breakage." 2015-05-02 00:26:00 +00:00
Elliott Hughes 3e7d82c621 Fix minadb_test build breakage.
Change-Id: I98bb900debb7d7dd57d3f8f84d605163ec192b03
2015-05-01 17:25:24 -07:00
Elliott Hughes 4039933c62 Move minadb over to new API.
Change-Id: I889bcf2222245c7665287513669cae8831e37081
2015-05-01 17:07:44 -07:00
Elliott Hughes 0420dcba49 am 073e3381: am 2f5feedf: Check all lseek calls succeed.
* commit '073e3381a2755c08e9e108640ff576f18cdff118':
  Check all lseek calls succeed.
2015-04-30 04:44:21 +00:00
Elliott Hughes b2007b70ca am f6c7af28: am 34d3a3d0: am 34c7731a: Merge "Check all lseek calls succeed."
* commit 'f6c7af289c2990bd16d422ae689317a938f77fdc':
  Check all lseek calls succeed.
2015-04-30 04:44:20 +00:00
Elliott Hughes 073e3381a2 am 2f5feedf: Check all lseek calls succeed.
* commit '2f5feedf1d705b53e5bf90c8b5207dd91f4522f1':
  Check all lseek calls succeed.
2015-04-30 04:37:47 +00:00
Elliott Hughes f6c7af289c am 34d3a3d0: am 34c7731a: Merge "Check all lseek calls succeed."
* commit '34d3a3d074e977cace29797c428795e1de5b3223':
  Check all lseek calls succeed.
2015-04-30 04:33:57 +00:00
Elliott Hughes 34d3a3d074 am 34c7731a: Merge "Check all lseek calls succeed."
* commit '34c7731a0bb296a1289b85a83f53026117aa3677':
  Check all lseek calls succeed.
2015-04-30 04:19:33 +00:00
Elliott Hughes 2f5feedf1d Check all lseek calls succeed.
Also add missing TEMP_FAILURE_RETRYs on read, write, and lseek.

Bug: http://b/20625546
Change-Id: I03b198e11c1921b35518ee2dd005a7cfcf4fd94b
(cherry picked from commit 7bad7c4646)
2015-04-29 21:14:56 -07:00
Elliott Hughes 34c7731a0b Merge "Check all lseek calls succeed." 2015-04-30 04:11:41 +00:00
Elliott Hughes 7bad7c4646 Check all lseek calls succeed.
Also add missing TEMP_FAILURE_RETRYs on read, write, and lseek.

Bug: http://b/20625546
Change-Id: I03b198e11c1921b35518ee2dd005a7cfcf4fd94b
2015-04-29 17:46:43 -07:00
Elliott Hughes 1945a951a1 am 15a2e46b: am f7466f9f: Stop using adb_strtok, and check argument validity.
* commit '15a2e46bdc9674d114a0f22a0471f3c3c8bcf8b5':
  Stop using adb_strtok, and check argument validity.
2015-04-28 18:39:20 +00:00
Elliott Hughes 49e650dfee am b1195d1c: am bc4e69fc: am 8c389e9c: Merge "Stop using adb_strtok, and check argument validity."
* commit 'b1195d1c77fa8b5d49fc32ce0daca26f40af767d':
  Stop using adb_strtok, and check argument validity.
2015-04-28 18:39:18 +00:00
Elliott Hughes 15a2e46bdc am f7466f9f: Stop using adb_strtok, and check argument validity.
* commit 'f7466f9f2334b0e9025e1c7ecf65b4d04a246b20':
  Stop using adb_strtok, and check argument validity.
2015-04-28 18:19:42 +00:00
Elliott Hughes b1195d1c77 am bc4e69fc: am 8c389e9c: Merge "Stop using adb_strtok, and check argument validity."
* commit 'bc4e69fc2827d7b8648a30d3b29eca3cb886fc9a':
  Stop using adb_strtok, and check argument validity.
2015-04-28 18:17:11 +00:00