diff options
author | Jeff Sharkey <jsharkey@android.com> | 2018-12-11 12:24:16 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2018-12-11 12:24:19 -0700 |
commit | 47ad186aac3320a9af306dccf07e6bf9268ff11a (patch) | |
tree | a97e42414c7d6d3fef88e333384fb22a4887cf95 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 52fe5dd97fb749aad4f570914a22aebf8d0de1c1 (diff) |
Calculate MediaColumns.HASH when demanded.
We'll come back in a future change to wire up automatic hashing in
onIdleMaintenance(), but we'll hold off on that until we've
implemented our optimized in-kernel hashing.
For now, generate the has when demanded via canonicalize(), and
clear any hash whenever the file is edited. Tests to verify sanity.
Bug: 120782363
Test: atest android.provider.cts.MediaStoreTest
Change-Id: I287f7a204655b37e4efd519579b12084ee4fb8e3
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions