From 3c86d9adb0ff1f0676c36606fc4e46ad48108e6f Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Mon, 30 Apr 2018 13:02:02 -0700 Subject: [PATCH] Add compatibility_matrix.current.xml for Android Q. HAL development is starting for Andorid Q, so we need this. Test: m compatibility_matrix.current.xml Test: assemble_vintf (but b/78895849) Test: boot a Pixel device after setting its target-level to 4 and verify that the compatibility check passes, and the file is in the correct location (system/etc/vintf) and that the dependencies are setup properly. Change-Id: I42426d0145a97c719092306abc4f7ce8fa2b51bd (cherry picked from commit 2d2e2d5c05cd53572805a4cd1a1d6af893d05b5a) Merged-In: I42426d0145a97c719092306abc4f7ce8fa2b51bd --- compatibility_matrices/Android.mk | 13 + .../compatibility_matrix.current.xml | 458 ++++++++++++++++++ 2 files changed, 471 insertions(+) create mode 100644 compatibility_matrices/compatibility_matrix.current.xml diff --git a/compatibility_matrices/Android.mk b/compatibility_matrices/Android.mk index ab262a07..22d04120 100644 --- a/compatibility_matrices/Android.mk +++ b/compatibility_matrices/Android.mk @@ -70,6 +70,18 @@ LOCAL_KERNEL_CONFIG_DATA_PATHS := \ include $(BUILD_FRAMEWORK_COMPATIBILITY_MATRIX) +include $(CLEAR_VARS) +include $(LOCAL_PATH)/clear_vars.mk +LOCAL_MODULE := framework_compatibility_matrix.current.xml +LOCAL_MODULE_STEM := compatibility_matrix.current.xml +LOCAL_SRC_FILES := $(LOCAL_MODULE_STEM) +LOCAL_KERNEL_CONFIG_DATA_PATHS := \ + 4.4.0:$(my_kernel_config_data)/android-4.4 \ + 4.9.0:$(my_kernel_config_data)/android-4.9 \ + 4.14.0:$(my_kernel_config_data)/android-4.14 \ + +include $(BUILD_FRAMEWORK_COMPATIBILITY_MATRIX) + my_kernel_config_data := # Framework Compatibility Matrix (common to all FCM versions) @@ -120,6 +132,7 @@ my_system_matrix_deps := \ framework_compatibility_matrix.1.xml \ framework_compatibility_matrix.2.xml \ framework_compatibility_matrix.3.xml \ + framework_compatibility_matrix.current.xml \ framework_compatibility_matrix.device.xml # Phony target that installs all framework compatibility matrix files diff --git a/compatibility_matrices/compatibility_matrix.current.xml b/compatibility_matrices/compatibility_matrix.current.xml new file mode 100644 index 00000000..3b7c90d4 --- /dev/null +++ b/compatibility_matrices/compatibility_matrix.current.xml @@ -0,0 +1,458 @@ + + + android.hardware.audio + 4.0 + + IDevicesFactory + default + + + + android.hardware.audio.effect + 4.0 + + IEffectsFactory + default + + + + android.hardware.authsecret + 1.0 + + IAuthSecret + default + + + + android.hardware.automotive.audiocontrol + 1.0 + + IAudioControl + default + + + + android.hardware.automotive.evs + 1.0 + + IEvsEnumerator + default + + + + android.hardware.automotive.vehicle + 2.0 + + IVehicle + default + + + + android.hardware.biometrics.fingerprint + 2.1 + + IBiometricsFingerprint + default + + + + android.hardware.bluetooth + 1.0 + + IBluetoothHci + default + + + + android.hardware.bluetooth.a2dp + 1.0 + + IBluetoothAudioOffload + default + + + + android.hardware.boot + 1.0 + + IBootControl + default + + + + android.hardware.broadcastradio + 1.0-1 + + IBroadcastRadioFactory + default + + + + android.hardware.camera.provider + 2.4 + + ICameraProvider + [^/]+/[0-9]+ + + + + android.hardware.cas + 1.0 + + IMediaCasService + default + + + + android.hardware.configstore + 1.0 + + ISurfaceFlingerConfigs + default + + + + android.hardware.confirmationui + 1.0 + + IConfirmationUI + default + + + + android.hardware.contexthub + 1.0 + + IContexthub + default + + + + android.hardware.drm + 1.0 + + ICryptoFactory + .* + + + IDrmFactory + .* + + + + android.hardware.drm + 1.1 + + ICryptoFactory + .* + + + IDrmFactory + .* + + + + android.hardware.dumpstate + 1.0 + + IDumpstateDevice + default + + + + android.hardware.gatekeeper + 1.0 + + IGatekeeper + default + + + + android.hardware.gnss + 1.0-1 + + IGnss + default + + + + android.hardware.graphics.allocator + 2.0 + + IAllocator + default + + + + android.hardware.graphics.composer + 2.1 + + IComposer + default + + + + android.hardware.graphics.mapper + 2.0 + + IMapper + default + + + + android.hardware.health + 2.0 + + IHealth + default + + + + android.hardware.ir + 1.0 + + + android.hardware.keymaster + 3.0 + 4.0 + + IKeymasterDevice + default + + + + android.hardware.keymaster + 4.0 + + IKeymasterDevice + strongbox + + + + android.hardware.light + 2.0 + + ILight + default + + + + android.hardware.media.omx + 1.0 + + IOmx + default + + + IOmxStore + default + + + + android.hardware.memtrack + 1.0 + + IMemtrack + default + + + + android.hardware.neuralnetworks + 1.0 + + IDevice + .* + + + + android.hardware.nfc + 1.1 + + INfc + default + + + + android.hardware.oemlock + 1.0 + + IOemLock + default + + + + android.hardware.power + 1.0-2 + + IPower + default + + + + android.hardware.radio + 1.0-2 + + IRadio + slot1 + slot2 + slot3 + + + ISap + slot1 + + + + android.hardware.radio.config + 1.0 + + IRadioConfig + default + + + + android.hardware.renderscript + 1.0 + + IDevice + default + + + + android.hardware.secure_element + 1.0 + + ISecureElement + eSE[1-9][0-9]* + SIM[1-9][0-9]* + + + + android.hardware.sensors + 1.0 + + ISensors + default + + + + android.hardware.soundtrigger + 2.0-1 + + ISoundTriggerHw + default + + + + android.hardware.tetheroffload.config + 1.0 + + IOffloadConfig + default + + + + android.hardware.tetheroffload.control + 1.0 + + IOffloadControl + default + + + + android.hardware.thermal + 1.0-1 + + IThermal + default + + + + android.hardware.tv.cec + 1.0 + + IHdmiCec + default + + + + android.hardware.tv.input + 1.0 + + ITvInput + default + + + + android.hardware.usb + 1.0-1 + + IUsb + default + + + + android.hardware.usb.gadget + 1.0 + + IUsbGadget + default + + + + android.hardware.vibrator + 1.0-2 + + IVibrator + default + + + + android.hardware.vr + 1.0 + + IVr + default + + + + android.hardware.weaver + 1.0 + + IWeaver + default + + + + android.hardware.wifi + 1.0-2 + + IWifi + default + + + + android.hardware.wifi.hostapd + 1.0 + + IHostapd + default + + + + android.hardware.wifi.offload + 1.0 + + IOffload + default + + + + android.hardware.wifi.supplicant + 1.0-1 + + ISupplicant + default + + + -- 2.39.2