Commit graph

3937 commits

Author SHA1 Message Date
Linus Tufvesson
4cac75ccb6 Replace EnsureDirExists with a call to setupAppDir am: 75973cb0dd am: f7dccbbf7b
Change-Id: I9e53375877cf12355dc69fb869a2459c535adfec
2020-04-03 13:57:15 +00:00
Linus Tufvesson
bc705d8659 Replace EnsureDirExists with a call to setupAppDir am: 75973cb0dd am: c00e508709
Change-Id: Id7cfffae9142d4624d764ddc286ec6633bc208d6
2020-04-03 13:56:15 +00:00
Linus Tufvesson
f7dccbbf7b Replace EnsureDirExists with a call to setupAppDir am: 75973cb0dd
Change-Id: I7cc9c77bd27c459684698069cd85f544d8cb2571
2020-04-03 13:28:37 +00:00
Linus Tufvesson
c00e508709 Replace EnsureDirExists with a call to setupAppDir am: 75973cb0dd
Change-Id: I58cb29e233e98b588a2e66797bd260b548059ca2
2020-04-03 13:28:11 +00:00
Linus Tufvesson
75973cb0dd Replace EnsureDirExists with a call to setupAppDir
Test: Manually verified ownership of /storage/emulated/0/Android/data on cf_x86_phone-userdebug after enabling feature
Bug: 151455752

Change-Id: I75a1e3b769476e56094e41d82e7f8e1a72827ded
2020-04-03 10:29:51 +00:00
Automerger Merge Worker
4f6b19ce09 Merge "Merge "Checking LOADER_USAGE_STATS before enabling read logs." into rvc-dev am: 6ce90ced12 am: 19e3a19d75" into rvc-d1-dev-plus-aosp 2020-04-02 01:05:38 +00:00
Alex Buynytskyy
5aba39419f Merge "Checking LOADER_USAGE_STATS before enabling read logs." into rvc-dev am: 6ce90ced12 am: 31e2a7c5c5
Change-Id: I8d7fababb1b1824a516d7bcb82b6d7712d6367d0
2020-04-02 01:05:30 +00:00
Alex Buynytskyy
d6a3f1bfde Merge "Checking LOADER_USAGE_STATS before enabling read logs." into rvc-dev am: 6ce90ced12 am: 19e3a19d75
Change-Id: I60511ff9d50f0ea79d503e455b41075ae45e6718
2020-04-02 01:05:19 +00:00
Alex Buynytskyy
31e2a7c5c5 Merge "Checking LOADER_USAGE_STATS before enabling read logs." into rvc-dev am: 6ce90ced12
Change-Id: I9b04f7a6201cf148c310dc7c1598c40076839f64
2020-04-02 00:48:17 +00:00
Alex Buynytskyy
19e3a19d75 Merge "Checking LOADER_USAGE_STATS before enabling read logs." into rvc-dev am: 6ce90ced12
Change-Id: Ib92de641097b748c417e0d4dfdc21213da7fd789
2020-04-02 00:48:13 +00:00
Alex Buynytskyy
6ce90ced12 Merge "Checking LOADER_USAGE_STATS before enabling read logs." into rvc-dev 2020-04-02 00:36:26 +00:00
Songchun Fan
27819332a8 [vold] update with incfs_ndk.h
BUG: 150470163
Test: atest PackageManagerShellCommandIncrementalTest
Change-Id: I5166c49cf48f353dab35e385571ada517cb751ac
Merged-In: I5166c49cf48f353dab35e385571ada517cb751ac
2020-04-01 16:27:37 -07:00
TreeHugger Robot
a8016c55b4 Merge "Send earlyBootEnded notice to all Keymasters" into rvc-dev am: be39b1d53e am: 1735b4620d
Change-Id: Idf5044bc39dd897ff08fa2ea8fad34da10db63ca
2020-04-01 23:07:39 +00:00
TreeHugger Robot
a0220c5ebe Merge "Send earlyBootEnded notice to all Keymasters" into rvc-dev am: be39b1d53e am: ab75cad3ba
Change-Id: Ib4e8eef5a87ed2386573e79dde91360eeebb9f21
2020-04-01 23:07:18 +00:00
TreeHugger Robot
1735b4620d Merge "Send earlyBootEnded notice to all Keymasters" into rvc-dev am: be39b1d53e
Change-Id: Ice2298726632bc0e6299669d5e56e6d5470bce5b
2020-04-01 22:42:49 +00:00
TreeHugger Robot
ab75cad3ba Merge "Send earlyBootEnded notice to all Keymasters" into rvc-dev am: be39b1d53e
Change-Id: Ie48c8f230f88cab75c72594269adb1aed7529f3b
2020-04-01 22:42:32 +00:00
TreeHugger Robot
be39b1d53e Merge "Send earlyBootEnded notice to all Keymasters" into rvc-dev 2020-04-01 22:31:35 +00:00
Shawn Willden
50397a72f1 Send earlyBootEnded notice to all Keymasters
Vold incorrectly sends the earlyBootEnded signal only to the Keymaster
instance used for device encryption, but all of them need it.

Bug: 152932559
Test: VtsHalKeymasterV4_1TargetTest
Change-Id: Id8f01a1dc7d2398395f369c3ea74656a82888829
2020-04-01 10:04:32 -06:00
Alex Buynytskyy
91e0bf4998 Checking LOADER_USAGE_STATS before enabling read logs.
Bug: b/152633648
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest
Change-Id: I29bf16d06a013566c8dd08e64be2a23ad805e37d
2020-03-31 16:28:30 -07:00
TreeHugger Robot
0e1afb1962 Merge "Prefer f2fs for virtual (private) storage volumes." into rvc-dev am: 60d7c823ee am: e52e4f2e1e
Change-Id: Ib4b3b1be427b7fac0fa0754d2d2c51162e7754ab
2020-03-31 17:50:21 +00:00
David Anderson
956227af4f [automerger skipped] Block and wait for /dev/block/loop<N> to appear in case it was created asynchronously. am: 5ba8aeaa80 -s ours am: 87bf96a60e -s ours am: 8d6ada6fc8 -s ours
am skip reason: Change-Id Id8616804bba622226ca21b8eff0d3eb577b4b7e0 with SHA-1 5ba8aeaa80 is in history

Change-Id: I949eec911b63c5934e9d62df9159d2b937497959
2020-03-31 17:30:09 +00:00
Songchun Fan
4386d77982 [vold] update with incfs_ndk.h am: 01c4e91c09 am: 48dd647aa7
Change-Id: I9c7f4c8e8a7a2238c49555e31eee8b7cb00b2b7d
2020-03-31 14:25:13 +00:00
TreeHugger Robot
6af6c4deba Merge "Prefer f2fs for virtual (private) storage volumes." into rvc-dev am: 60d7c823ee am: dd9a9a417a
Change-Id: Iad32a8c315f598f782e33b0059261e27faaad199
2020-03-31 13:55:07 +00:00
TreeHugger Robot
e52e4f2e1e Merge "Prefer f2fs for virtual (private) storage volumes." into rvc-dev am: 60d7c823ee
Change-Id: Id0dc7498977c658b397f1e24e6f5f11a8b141ed3
2020-03-31 11:12:23 +00:00
TreeHugger Robot
dd9a9a417a Merge "Prefer f2fs for virtual (private) storage volumes." into rvc-dev am: 60d7c823ee
Change-Id: Icf293e9f683a5a24c2c510c2201705c8c898fa88
2020-03-31 11:11:49 +00:00
TreeHugger Robot
60d7c823ee Merge "Prefer f2fs for virtual (private) storage volumes." into rvc-dev 2020-03-31 11:00:31 +00:00
David Anderson
056c6a8af4 [automerger skipped] Block and wait for /dev/block/loop<N> to appear in case it was created asynchronously. am: 5ba8aeaa80 -s ours am: 87bf96a60e -s ours am: 459685a077 -s ours
am skip reason: Change-Id Id8616804bba622226ca21b8eff0d3eb577b4b7e0 with SHA-1 1dd5c4f787 is in history

Change-Id: Id7682b7fc97ee5871bd5c1d806747ee3f868209c
2020-03-30 18:27:29 +00:00
Songchun Fan
9761c72880 [vold] update with incfs_ndk.h am: 01c4e91c09 am: c0aaacbd28
Change-Id: I62a75cf45950f4bfbbb0534a52de642453977e28
2020-03-30 18:07:29 +00:00
David Anderson
8d6ada6fc8 [automerger skipped] Block and wait for /dev/block/loop<N> to appear in case it was created asynchronously. am: 5ba8aeaa80 -s ours am: 87bf96a60e -s ours
am skip reason: Change-Id Id8616804bba622226ca21b8eff0d3eb577b4b7e0 with SHA-1 1dd5c4f787 is in history

Change-Id: If44408e84cabcadf9b3c7058375df4c5d976607e
2020-03-30 09:12:14 +00:00
David Anderson
459685a077 [automerger skipped] Block and wait for /dev/block/loop<N> to appear in case it was created asynchronously. am: 5ba8aeaa80 -s ours am: 87bf96a60e -s ours
am skip reason: Change-Id Id8616804bba622226ca21b8eff0d3eb577b4b7e0 with SHA-1 1dd5c4f787 is in history

Change-Id: If9bb43422e10f5c5053f00191b1f1dcec1718aea
2020-03-30 09:12:02 +00:00
David Anderson
1c29e84b70 [automerger skipped] Block and wait for /dev/block/loop<N> to appear in case it was created asynchronously. am: 5ba8aeaa80 -s ours
am skip reason: Change-Id Id8616804bba622226ca21b8eff0d3eb577b4b7e0 with SHA-1 1dd5c4f787 is in history

Change-Id: I30e748f7983e661ba2abd9bbd2ec12dc453b1eb1
2020-03-30 09:00:10 +00:00
David Anderson
87bf96a60e [automerger skipped] Block and wait for /dev/block/loop<N> to appear in case it was created asynchronously. am: 5ba8aeaa80 -s ours
am skip reason: Change-Id Id8616804bba622226ca21b8eff0d3eb577b4b7e0 with SHA-1 1dd5c4f787 is in history

Change-Id: Iaffd50d7b736066cfa429edf28b3f18fb956715d
2020-03-30 09:00:04 +00:00
Songchun Fan
48dd647aa7 [vold] update with incfs_ndk.h am: 01c4e91c09
Change-Id: I3c917640ee14bdafeb012ca1ff59cab6c399d8a9
2020-03-29 17:15:03 +00:00
Songchun Fan
c0aaacbd28 [vold] update with incfs_ndk.h am: 01c4e91c09
Change-Id: I70d5449b42f1126885582b701bc45d9a501514e8
2020-03-29 17:15:00 +00:00
Songchun Fan
01c4e91c09 [vold] update with incfs_ndk.h
BUG: 150470163
Test: atest PackageManagerShellCommandIncrementalTest
Change-Id: I5166c49cf48f353dab35e385571ada517cb751ac
2020-03-27 17:07:06 -07:00
David Anderson
5ba8aeaa80 Block and wait for /dev/block/loop<N> to appear in case it was created asynchronously.
Bug: 134711825
Bug: 149462396
Test: StorageManagerTest
Change-Id: Id8616804bba622226ca21b8eff0d3eb577b4b7e0
Merged-In: Id8616804bba622226ca21b8eff0d3eb577b4b7e0
2020-03-27 20:16:44 +00:00
Yurii Zubrytskyi
44ef993cf1 [automerger skipped] Merge changes from topic "merge-incremental-vold" am: 10a372f1d2 am: 41c1c40afc -s ours am: 100553416a -s ours
am skip reason: Change-Id I03a8cab0dd6abd7d5c9dcbbc2acb651e818e6cd8 with SHA-1 131365a3e5 is in history

Change-Id: I2a6b7b5398163aaa6c262d1a6117c605e0c49a91
2020-03-26 08:09:05 +00:00
Yurii Zubrytskyi
5bf8b040f5 [automerger skipped] Expose new IncFS interface through Vold am: d05bcc8070 am: 636da65360 -s ours am: 7867b1299c -s ours
am skip reason: Change-Id I09b33a34ff1ac7f6e415b7bd090c22e7df24d72d with SHA-1 3497cb5be5 is in history

Change-Id: Idc9f9d8236d3a19826ac4eec845d83df1f33a18e
2020-03-26 08:09:04 +00:00
Yurii Zubrytskyi
58802279e2 Merge changes from topic "merge-incremental-vold" am: 10a372f1d2 am: 41c1c40afc
Change-Id: I542b7a48e7d94b78bf3fb01e44263e2b161df60f
2020-03-26 07:59:46 +00:00
Yurii Zubrytskyi
b52e063350 Expose new IncFS interface through Vold am: d05bcc8070 am: 636da65360
Change-Id: I349002a3eb80d962c86b24f89816c4ce76d5d65e
2020-03-26 07:59:44 +00:00
Yurii Zubrytskyi
100553416a [automerger skipped] Merge changes from topic "merge-incremental-vold" am: 10a372f1d2 am: 41c1c40afc -s ours
am skip reason: Change-Id I03a8cab0dd6abd7d5c9dcbbc2acb651e818e6cd8 with SHA-1 131365a3e5 is in history

Change-Id: Ic73870d77b44d60bd7bdcbb44ca43267fd456945
2020-03-26 07:55:47 +00:00
Yurii Zubrytskyi
7867b1299c [automerger skipped] Expose new IncFS interface through Vold am: d05bcc8070 am: 636da65360 -s ours
am skip reason: Change-Id I09b33a34ff1ac7f6e415b7bd090c22e7df24d72d with SHA-1 3497cb5be5 is in history

Change-Id: I71e68b76895658e5546f7c96678905b249ff8ffc
2020-03-26 07:55:45 +00:00
Yurii Zubrytskyi
41c1c40afc Merge changes from topic "merge-incremental-vold" am: 10a372f1d2
Change-Id: Id6fe791310761aa715fdf0e37760052a1534a4f0
2020-03-26 07:33:58 +00:00
Yurii Zubrytskyi
636da65360 Expose new IncFS interface through Vold am: d05bcc8070
Change-Id: Icbdb9f233850e70e8ca7c458fd30c4bea93a9923
2020-03-26 07:33:56 +00:00
Yurii Zubrytskyi
10a372f1d2 Merge changes from topic "merge-incremental-vold"
* changes:
  [vold] Add argument verification to IncFS methods
  Expose new IncFS interface through Vold
2020-03-26 07:23:11 +00:00
Yurii Zubrytskyi
26f3a764ea [vold] Add argument verification to IncFS methods am: 131365a3e5 am: ae78344623
Change-Id: Ied64735b708a77a8e37007495e4d880e3ca677eb
2020-03-26 04:36:54 +00:00
Yurii Zubrytskyi
1b6379f521 [vold] Add argument verification to IncFS methods am: 131365a3e5 am: 8a24abaabe
Change-Id: I11d2947b5968defd1f364b3c4e6bf80459c24352
2020-03-26 04:36:43 +00:00
Yurii Zubrytskyi
ae78344623 [vold] Add argument verification to IncFS methods am: 131365a3e5
Change-Id: I8a19bea4ca9c8f30f754cf7d43feba432152e204
2020-03-26 04:25:24 +00:00
Yurii Zubrytskyi
8a24abaabe [vold] Add argument verification to IncFS methods am: 131365a3e5
Change-Id: I149dfdef094804c5eeaa928ee841f7fd7a5f228f
2020-03-26 04:25:16 +00:00
Yurii Zubrytskyi
9e7482ece1 [vold] Add argument verification to IncFS methods
+ Get rid of an extra string copy in path validation function

Bug: 152349257
Test: atest vold_tests
Change-Id: I03a8cab0dd6abd7d5c9dcbbc2acb651e818e6cd8
Merged-In: I03a8cab0dd6abd7d5c9dcbbc2acb651e818e6cd8
2020-03-25 17:21:49 -07:00