Flesh out the device supported ABI compatibility

As we know, most CPUs support 32 bit and 64 bit ABI. In Android
platform, it supports running the application as 32 bit mode or
64 bit mode.

This patch focuses on testing each device supported Abi. If the device
can run both arm64 and arm32, the host tests will verify the
followings.
* install the arm64 split and verify 64 comes from JNI.
* Install the arm32 split and verify 32 comes from JNI.

arm64-v8a, x86_64, mips64 return 64.
armeabi-v7a, armeabi, x86, mips return 32.

Test: TID="CtsAppSecurityHostTestCases"; \
      TC="android.appsecurity.cts.SplitTests"; \
      METHODS="testNativeSingle_full,testNativeSingle_instant"; \
      METHODS="${METHODS},testNativeSingleNatural_full"; \
      METHODS="${METHODS},testNativeSingleNatural_instant"; \
      METHODS="${METHODS},testNativeAll_full"; \
      METHODS="${METHODS},testNativeAll_instant"; \
      METHODS="${METHODS},testNativeAllNatural_full"; \
      METHODS="${METHODS},testNativeAllNatural_instant"; \
      METHODS="${METHODS},testNativeSplitForEachSupportedAbi_full"; \
      METHODS="${METHODS},testNativeSplitForEachSupportedAbi_instant"; \
      atest "${TID}:${TC}#${METHODS}"
Test: TID="CtsAppSecurityHostTestCases"; \
      TC="android.appsecurity.cts.SplitTests"; \
      atest "${TID}:${TC}"
Bug: 173761243
Change-Id: I7d880d2d113a9538284b723b17b3ae2f10603943
21 files changed