summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRicardo Quesada <ricardoq@google.com>2020-03-09 15:26:00 -0700
committerRicardo Quesada <ricardoq@google.com>2020-03-16 15:53:42 +0000
commitbfe6900ff9c102006ab932d1157fe119ce650c6f (patch)
tree8e28d7f0e6a80a1bb477270f2eec05c8c2c2319e /tools/aapt2/java/JavaClassGenerator_test.cpp
parentbac0268f63afa87c713d2f0a2ea32a6b85d92660 (diff)
fs-verity: replace ioctl(FS_IOC_MEASURE_VERITY) with statx()
This CL replaces the open(file) + ioctl(FS_IOC_MEASURE_VERITY) with statx() to improve performance. This is because opening fs-verity files is expensive. This CL assumes that statx(STATX_ATTR_VERITY) is supported by the kernel. This is the case for all the Android common kernels that support fs-verity. Bug: 146676114 Test: atest com.android.apkverity.ApkVerityTest All 17 tests passed Tested on Cuttlefish. Change-Id: I21c70132682c0d4ae6922419b269aa9f5de2fb72
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions