Commit graph

4521 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
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
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
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
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
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
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
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
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
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
Yifan Hong
8f0d45441c Refactor HIDL HAL Dev GC invocation
Prefix all HIDL HAL types with the letter H.
Also make the invocation more generic so that we can use
the AIDL implementation in the future.

Test: TH
Bug: 177470478

Change-Id: Iee0af9727c48c532315203c138a4996a08fcaa34
2021-01-15 18:27:57 -08:00
Yifan Hong
e1e494519e Use AIDL HAL for Dev GC
Test: run idle maint
Bug: 177470478

Change-Id: Iefddf8628e31f020b86ff56dfb4926c2c9a2a888
2021-01-15 18:27:57 -08:00
rickywai
ae4b8290c2 Merge "Remove persist.sys.fuse == false code paths" am: 610eba0ad0 am: 9aee3a9513
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1549441

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I23d39e99e863437a7958a7b17d7ddb262a04f924
2021-01-15 15:28:51 +00:00
rickywai
9aee3a9513 Merge "Remove persist.sys.fuse == false code paths" am: 610eba0ad0
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1549441

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4581ca20e4c377957547d1876dee8c20bd53a2ea
2021-01-15 14:21:47 +00:00
rickywai
610eba0ad0 Merge "Remove persist.sys.fuse == false code paths" 2021-01-15 14:00:35 +00:00
Ricky Wai
e78c78c2e6 Remove persist.sys.fuse == false code paths
Since Android R, the FUSE prop is always on and FUSE-off is no longer
supported

Test: m
Bug: 160159282
Merged-In: Ic4414b850511fe3b4fc6df3f8b736d21335db820
Change-Id: I5a7643f9ca2f37cd7f264331df76b42df31988d5
2021-01-14 15:51:54 +00:00
Alan Stokes
cd0758b4ed Merge "Remove ro.vold.level_from_user." am: c0e870af67 am: 972317ce6d
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1535004

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iaac98f9b15152b36560d5188d848228b9eb28267
2021-01-12 12:42:47 +00:00
Alan Stokes
972317ce6d Merge "Remove ro.vold.level_from_user." am: c0e870af67
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1535004

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I35072449979077c9fdfa7bdb93c7018c91dacdb7
2021-01-12 11:34:02 +00:00
Alan Stokes
c0e870af67 Merge "Remove ro.vold.level_from_user." 2021-01-12 11:17:50 +00:00
rickywai
da23304fec Merge "Vold should still create obb / data dirs for sdcardfs device" am: f5967975b0 am: 61d8298959
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/1541768

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I69032e9c77b3b91269ea1cc5aba0f277e486b54e
2021-01-08 14:15:40 +00:00