Files
frameworks_base/core/java/android/os
Jeff Sharkey 9bed070b09 More APIs for cache status and behavior.
Add APIs for apps to query their cache usage compared to their
currently allocated quota.  Since an app's private storage may live
on a different storage volume than the primary shared/external
storage, offer APIs to retrieve those values separately.

Add APIs to control two new cache purging behaviors:

-- setCacheBehaviorAtomic() which causes a marked directory and its
contents to be treated as an atomic unit.
-- setCacheBehaviorTombstone() which causes the OS to truncate
files instead of deleting them.

Test: builds, boots
Bug: 33811826, 33965858, 27948817
Change-Id: I45de165623775c359f78b4ee544c2b5831b8d483
2017-01-23 21:02:12 -07:00
..
2016-11-21 18:11:25 +00:00
2017-01-17 15:12:26 -08:00
2016-10-19 11:29:47 -07:00
2017-01-20 17:36:38 -07:00
2016-11-04 10:43:25 -07:00
2016-10-03 16:03:31 -07:00