Commit graph

4929 commits

Author SHA1 Message Date
Yifan Hong
c4f67a28f3 Refactor HIDL HAL Dev GC invocation am: 8f0d45441c am: b586527450
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1550387

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I22889d60d91b7b4cdd8de0a8b5d429bf1abc1457
2021-01-20 20:27:46 +00:00
Yifan Hong
92e9e5d1ad Merge changes from topic "health_storage_aidl" am: 3355ff7790
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1550388

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I054f6f4345d96f9be12934bb5632951f24ee0ba0
2021-01-20 20:00:06 +00:00
Yifan Hong
b586527450 Refactor HIDL HAL Dev GC invocation am: 8f0d45441c
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1550387

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2aeabbe25b138bf43eb1c6ba221126c1f520c227
2021-01-20 19:59:59 +00:00
Yifan Hong
3355ff7790 Merge changes from topic "health_storage_aidl"
* changes:
  Use AIDL HAL for Dev GC
  Refactor HIDL HAL Dev GC invocation
2021-01-20 19:45:16 +00:00
Martijn Coenen
b276e80aec Revert "Set a default ACL on /data/media/userId."
This reverts commit a71323ec0e.

Reason for revert: b/177926359 - note that this is a Google testing infrastructure issue, and no issue with this patch. Partners can keep using this patch. It will be resubmitted in a few weeks.

Change-Id: Ia13279ac1aafa2e4425c4527aeadd5d0fadbc2e4
2021-01-20 15:51:44 +00:00
Treehugger Robot
6fb1476a5d Merge "Revert^4 "Customize StubVolume implementation for ARC"" am: 69c97b6d12 am: 500bfa9d4a am: edbb8c3ba4
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1554975

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1bd81b674299441369f4e4f0698cf6e528a2c7c0
2021-01-20 11:53:04 +00:00
Treehugger Robot
edbb8c3ba4 Merge "Revert^4 "Customize StubVolume implementation for ARC"" am: 69c97b6d12 am: 500bfa9d4a
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1554975

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iefc396b4e6fed386f1831ced9235a4295d1d9a92
2021-01-20 11:32:18 +00:00
Treehugger Robot
500bfa9d4a Merge "Revert^4 "Customize StubVolume implementation for ARC"" am: 69c97b6d12
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1554975

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I726bc94861fb18e38501ce30ee4d77d2d08eddc0
2021-01-20 11:16:01 +00:00
Treehugger Robot
69c97b6d12 Merge "Revert^4 "Customize StubVolume implementation for ARC"" 2021-01-20 10:33:52 +00:00
Risan
4ad2048001 Revert^4 "Customize StubVolume implementation for ARC"
This reverts commit 8ed81fd9ca.

Reason for revert: Let me try one last time more carefully. According to https://googleplex-android-review.git.corp.google.com/q/%2522customize+stubvolume%2522 - this CL will flow to aosp branches (without vendor images) and 2 branches with vendor images. I have submitted the vendor CL for both branches now (ag/13366009 and ag/13371672). This should not break anything now.

Change-Id: I69aacceabfb70053387a3c156b49e06be65fe6e4
2021-01-20 10:33:18 +00:00
Maurice Lam
6b4ff25388 Merge "Revert "Revert "Revert "Customize StubVolume implementation for ARC"""" am: 922af320dd am: 4e77967775 am: c2a372231f
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1554441

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I80daa969ade20d4372ca96b3d2cee95cb9831bb8
2021-01-19 22:42:33 +00:00
Maurice Lam
c2a372231f Merge "Revert "Revert "Revert "Customize StubVolume implementation for ARC"""" am: 922af320dd am: 4e77967775
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1554441

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8c05660893db14945a61d6f378d28a2249f29b75
2021-01-19 22:06:02 +00:00
Maurice Lam
4e77967775 Merge "Revert "Revert "Revert "Customize StubVolume implementation for ARC"""" am: 922af320dd
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1554441

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7ed3af5a90858ebdb33581d4b63a4a2e5dc58105
2021-01-19 21:14:04 +00:00
Maurice Lam
922af320dd Merge "Revert "Revert "Revert "Customize StubVolume implementation for ARC"""" 2021-01-19 19:28:36 +00:00
Maurice Lam
8ed81fd9ca Revert "Revert "Revert "Customize StubVolume implementation for ARC"""
This reverts commit 3164c0a238.

Reason for revert: b/177917240

Change-Id: I69f541698a3068d59553d555846ba45d169fbbed
2021-01-19 19:03:56 +00:00
Yurii Zubrytskyi
0c0f83902d IncFS: pass over the new .blocks_written IncFS control file
Bug: 170231230
Test: incremental and PackageManager unit tests
Ignore-AOSP-First: new IncFS API is an internal-first topic
Change-Id: I7fccaf367d4b98294e2e6da4460792514147d954
2021-01-19 10:30:14 -08:00
rickywai
5c108e2a23 Merge "Call setupAppDir before EnsureDirExists" am: d4de02ed14 am: f44cf21080 am: f1f587f28a
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1553602

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibc67fc45df3a5c9ec8946739531d51462736967f
2021-01-19 17:27:31 +00:00
rickywai
f1f587f28a Merge "Call setupAppDir before EnsureDirExists" am: d4de02ed14 am: f44cf21080
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1553602

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I53ebb973e11e87f4404d13089848b8115bbbee05
2021-01-19 16:44:52 +00:00
rickywai
f44cf21080 Merge "Call setupAppDir before EnsureDirExists" am: d4de02ed14
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1553602

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1bcb3c452b77bf46e9b3ce4e9e8ca609470c96a1
2021-01-19 15:58:01 +00:00
rickywai
d4de02ed14 Merge "Call setupAppDir before EnsureDirExists" 2021-01-19 15:24:02 +00:00
Risan
87aa24763d Merge "Revert "Revert "Customize StubVolume implementation for ARC""" am: a8ebbe77a0 am: 1932006a8f am: 3b4adee2f0
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1553860

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4c90b9214791ea11ddbff03f8e147791a10d0a1d
2021-01-19 13:20:46 +00:00
Risan
3b4adee2f0 Merge "Revert "Revert "Customize StubVolume implementation for ARC""" am: a8ebbe77a0 am: 1932006a8f
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1553860

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I33ba2498088d4f307d35eb3460fb84b9ddbfaca6
2021-01-19 12:41:15 +00:00
Risan
1932006a8f Merge "Revert "Revert "Customize StubVolume implementation for ARC""" am: a8ebbe77a0
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1553860

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ifed0e9026edb4ef80354e245336c11d4748dc491
2021-01-19 11:59:22 +00:00
Ricky Wai
f6da79cf5d Call setupAppDir before EnsureDirExists
So we can ensure Android/ dir is created,
otherwise EnsureDirExists may return false if Android/ doesn't exist

Bug: 177281374
Test: Able to boot without errors
Change-Id: I02e816b60530ac9d3d3b978a7c9028d2c0e34bad
2021-01-19 11:28:05 +00:00
Martijn Coenen
5799f171a8 Merge "Set a default ACL on /data/media/userId." am: 14782046f3 am: 90795b62da am: 6174c4e5d8
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1535015

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I37aaaafaea54fc29e7f5af924a2ea6c718ce9525
2021-01-19 11:20:25 +00:00
Risan
a8ebbe77a0 Merge "Revert "Revert "Customize StubVolume implementation for ARC""" 2021-01-19 11:20:08 +00:00
Martijn Coenen
6174c4e5d8 Merge "Set a default ACL on /data/media/userId." am: 14782046f3 am: 90795b62da
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1535015

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic4b8667b466d1f8e25d7472d2837293f69efbdfd
2021-01-19 11:03:38 +00:00
Martijn Coenen
90795b62da Merge "Set a default ACL on /data/media/userId." am: 14782046f3
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1535015

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ife277259b3f3ff0e69976cafc8c45db5c3901759
2021-01-19 10:25:01 +00:00
Martijn Coenen
14782046f3 Merge "Set a default ACL on /data/media/userId." 2021-01-19 09:38:55 +00:00
Risan
3164c0a238 Revert "Revert "Customize StubVolume implementation for ARC""
This reverts commit 0cf77b025d.

Reason for revert: The requird libarcvolume has been submitted to master (ag/13366009)

Change-Id: I86fada53aad2ec5faa497a9bcbce5435c35d040e
2021-01-19 02:24:38 +00:00
Mariia Sandrikova
baa8b4412d Merge "Revert "Customize StubVolume implementation for ARC"" am: 5558a72d03 am: 4e8b1631b6 am: 576f976cfc
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1553535

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8a20a8b4ca64318ec802594035a2c611945bfbc9
2021-01-18 18:54:08 +00:00
Mariia Sandrikova
576f976cfc Merge "Revert "Customize StubVolume implementation for ARC"" am: 5558a72d03 am: 4e8b1631b6
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1553535

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I33017ec3e299ee6f9d4e3e7885942352b9db3482
2021-01-18 18:37:27 +00:00
Mariia Sandrikova
4e8b1631b6 Merge "Revert "Customize StubVolume implementation for ARC"" am: 5558a72d03
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1553535

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5c7f898a1229e2c859a6add61b0024bb95c7d8ce
2021-01-18 18:18:08 +00:00
Treehugger Robot
debf386ad3 Merge "Add a method in vold to unmount app data and obb dir for testing" am: 502c283c22 am: 9ae91a47f9 am: ea35110bde
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1551802

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibd5d10109e79f29eb9b6071a2b2734d3a48cea20
2021-01-18 18:04:15 +00:00
Mariia Sandrikova
5558a72d03 Merge "Revert "Customize StubVolume implementation for ARC"" 2021-01-18 18:00:07 +00:00
Treehugger Robot
ea35110bde Merge "Add a method in vold to unmount app data and obb dir for testing" am: 502c283c22 am: 9ae91a47f9
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1551802

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2fd582ef8ba619e39a024b5d0684b9aea110aa33
2021-01-18 17:05:40 +00:00
Treehugger Robot
42e46f19ff Merge "Add kVisible flag to vold::Disk" am: 5e103f1106 am: be4467f180 am: 586ef98230
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1536564

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6f4552d19f3fba2a1109ed771d40d36d2e63059b
2021-01-18 16:47:06 +00:00
Treehugger Robot
9ae91a47f9 Merge "Add a method in vold to unmount app data and obb dir for testing" am: 502c283c22
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1551802

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Icc8f32345954752f08223bd99e40340759d49abc
2021-01-18 16:40:32 +00:00
Treehugger Robot
586ef98230 Merge "Add kVisible flag to vold::Disk" am: 5e103f1106 am: be4467f180
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1536564

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I98a750fac1377168a77d6c4c2ca229335209ae2e
2021-01-18 16:25:48 +00:00
Treehugger Robot
502c283c22 Merge "Add a method in vold to unmount app data and obb dir for testing" 2021-01-18 16:20:41 +00:00
Mariia Sandrikova
0cf77b025d Revert "Customize StubVolume implementation for ARC"
This reverts commit b5d7cb0a52.

Reason for revert: Broken build b/177828900
Fix: 177829766

Change-Id: Ic2984da3b11bcf5597203b511943d3058ea9ea19
2021-01-18 15:28:41 +00:00
Treehugger Robot
be4467f180 Merge "Add kVisible flag to vold::Disk" am: 5e103f1106
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1536564

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibfc68bf8cce3b45188747974ac0304c9269d08bc
2021-01-18 15:15:43 +00:00
Treehugger Robot
5e103f1106 Merge "Add kVisible flag to vold::Disk" 2021-01-18 14:54:27 +00:00
Ricky Wai
a2ca11e49b Add a method in vold to unmount app data and obb dir for testing
This new method will be used in new sm command.
Tests can use this so data and obb dirs are unmounted, and won't
be killed when volume is unmounted.

Bug: 148049767
Test: New sm command able to unmount app's data and obb dirs
Change-Id: Ifbc661ca510e996abd4b7ce1fb195aaa7afc37ad
2021-01-18 13:47:44 +00:00
Risan
d4192298c9 Merge "Customize StubVolume implementation for ARC" am: 253dd94521 am: 802d1d256a am: 46b3c1da6a
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1532070

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib006681d51cef3466a37107ef8e4224ea05d7956
2021-01-18 13:40:38 +00:00
Risan
46b3c1da6a Merge "Customize StubVolume implementation for ARC" am: 253dd94521 am: 802d1d256a
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1532070

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I58e6378fbe15bc038d34f9a2699bce7b50625df9
2021-01-18 13:27:31 +00:00
Risan
802d1d256a Merge "Customize StubVolume implementation for ARC" am: 253dd94521
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1532070

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I35c24968bf2df577ebdfcefb59d9bb9046405573
2021-01-18 13:06:47 +00:00
Risan
253dd94521 Merge "Customize StubVolume implementation for ARC" 2021-01-18 12:49:36 +00:00
Youkichi Hosoi
defc0454a2 Add kVisible flag to vold::Disk
The new flag is used to indicate that a stub volume (external storage
volume shared with Chrome OS) is visible to Android apps.

Bug: 123377807
Bug: 142684760
Bug: 132796154
Test: Check logcat logs for StorageManagerService.mount() when the
Test: visibility setting of a removable device is toggled in Chrome OS.
Test: Confirm that the visibility setting is properly set.
Test: (Tested in R)
Change-Id: Ica69110d5667837a72a5c8693ff3bccc0f09a82d
2021-01-18 11:58:10 +00:00
Risan
b5d7cb0a52 Customize StubVolume implementation for ARC
This allow ARC to customize StubVolume implementation in vendor
partition.

Bug: 132796154
Test: Customize the implementation of StubVolume and check on device.
Ignore-AOSP-First: Will cherry-pick to AOSP.
Change-Id: I626a7ed4113b6132bb456b3258ee4a93b4f8a72e
2021-01-18 08:31:58 +00:00