4 Commits

Author SHA1 Message Date
Sudheer Shanka
87a88bb886 Add CtsBlobStoreHostTestCases to test_mapping.
Test: atest --test-mapping apex/blobstore
Change-Id: I5f854de9cef8f597fac1a5fa033a5561555f6173
2020-02-18 14:01:50 -08:00
Sudheer Shanka
ae53d11687 Schedule a maintenance job to clean up stale jobs.
+ Fix a bug in BlobMetadata.hasLeases().

Bug: 148754858
Test: atest ./services/tests/mockingservicestests/src/com/android/server/blob/BlobStoreManagerServiceTest.java
Test: adb shell cmd jobscheduler run --force android 191934935
Change-Id: I13499dd0327414bee62b8395c7e1fd349e325dd4
2020-02-05 16:25:24 -08:00
Sudheer Shanka
bda89c16a8 Delete blobs if there are no active leases on them.
+ Fix a bug in how sessions belonging to uninstalled pkgs
  are removed.

Bug: 148637068
Test: atest services/tests/servicestests/src/com/android/server/blob/BlobStoreManagerServiceTest.java
Change-Id: I98cd9e974fb1a46bb5868a644b1a0d98ff61eb57
2020-01-31 14:22:42 -08:00
Sudheer Shanka
f3a2acc7f9 Add OWNERS/TEST_MAPPING for blob store related code.
Bug: 143559646
Test: n/a
Change-Id: I4a382315a7f9d36faddde9ab3a5e185d4b265d9a
2020-01-07 17:29:05 -08:00