diff options
| author | 2023-07-10 13:28:45 +0000 | |
|---|---|---|
| committer | 2023-07-11 11:55:52 +0000 | |
| commit | e36d8359265b098fb6ffedf46716db6b374f4c64 (patch) | |
| tree | 7cbc75896223763199f7881c76070656b51289a7 /libs/ultrahdr/jpegencoderhelper.cpp | |
| parent | ccb75e899cb3a5384c92d6c2713c5bf1cac93d70 (diff) | |
inputflinger fuzzers: remove FuzzContainer.getPolicyConfig
Because FuzzInputReaderPolicy::getReaderConfiguration does nothing, any
calls to getPolicyConfig can be replaced with default
InputReaderConfiguration structs. This makes it clearer where where a
fuzzer is getting its configuration from, and therefore makes it easier
to understand the fuzzer without having to dig into FuzzContainer and
FuzzInputReaderPolicy.
InputReaderPolicyInterface::getReaderConfiguration is not called by any
of the code being fuzzed, so it's unlikely that
FuzzInputReaderPolicy::getReaderConfiguration will need to be modified
to return a non-default InputReaderConfiguration in future.
Bug: 245989146
Test: build and briefly run all modified fuzzers
$ SANITIZE_TARGET=hwaddress make ${FUZZER_NAME}
$ cd $ANDROID_PRODUCT_OUT
$ adb root
$ adb sync data
$ adb shell /data/fuzz/$(get_build_var TARGET_ARCH)/${FUZZER_NAME}/${FUZZER_NAME}
Change-Id: If933e1ce81439831b24c61dde1c2d24ed1a00942
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions