commit | f2551d82b776f2e524af13db35b7a546e1190c9c | [log] [tgz] |
---|---|---|
author | Kevin Jeon <kevinjeon@google.com> | Tue Jul 27 16:06:07 2021 +0000 |
committer | Kevin Jeon <kevinjeon@google.com> | Wed Aug 04 01:06:44 2021 +0000 |
tree | 5cd118c771e9569cbddfd7b9b21cb3dc1a1a75e3 | |
parent | 1f3d8f76e9294908711ca72da1f114f4148b3d81 [diff] |
Hoist enforceInterface and escape onTransact This change adds as check for user-defined transactions in order to call enforceInterface before checking for different case in onTransact. It also adds break statements to onTransact. 'system/tools/aidl/tests/golden_test.sh update' was used to update the reference outputs. Test: - builds and boots - atest aidl_unittests CtsNdkBinderTestCases -m -c - cd out/target/product/redfin/symbols/system/framework/arm64; nm --size-sort -Sr boot-framework.oat | grep onTransact - cd out/target/product/redfin/system/framework; ./apkanalyzer dex packages framework.jar | grep 'onTransact' | sort -r -g -k 5,5 | awk '{$1=$2=$3=$4=""; print $0}') Bug: 194712114 Change-Id: Ib13b0f694bd3bf151677abe98cdd3368c873beaf
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview