summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/DrawFrameTask.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2017-01-23 20:37:05 -0700
committerJeff Sharkey <jsharkey@android.com>2017-01-23 21:02:12 -0700
commit9bed070b0910aad8c5800cec731058911d20c3d3 (patch)
tree5d81d0fb19d0a68e797176448e41cb6c29a21615 /libs/hwui/renderthread/DrawFrameTask.cpp
parentdbb1176b4957857287801bbceef079a6562a3cdf (diff)
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
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions