From 588a9283b362c2fcccd385e6fecae51ff43c69fb Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Fri, 26 May 2017 15:43:26 -0700 Subject: [PATCH] Use different versions for framework compatibility matrix Keyed on MATRIX_LEVEL_OVERRIDE, FULL_TREBLE, SHIPPING_API_LEVEL, and SDK_VERSION. Bug: 62136051 Test: m system_compatibility_matrix.xml -j; \ grep -e"gatekeeper" -B1 $OUT/system/compatibility_matrix.xml; \ grep -e"oemlock" -B1 $OUT/system/compatibility_matrix.xml bullhead: gatekeeper is optional, no oemlock (legacy.xml) marlin without COMP_LEVEL_OVERRIDE: gatekeeper is not optional, no oemlock (26.xml) marlin with COMP_LEVEL_OVERRIDE: gatekeeper is not optional, oemlock exists (current.xml) new devices with COMP_LEVEL_OVERRIDE: same as above. Change-Id: I2ccfa9b0132bf98cc2da8f0500bea992b5fa83d0 --- compatibility_matrix.26.xml | 325 ++++++++++++++++++ ...ix.xml => compatibility_matrix.current.xml | 0 compatibility_matrix.legacy.xml | 325 ++++++++++++++++++ 3 files changed, 650 insertions(+) create mode 100644 compatibility_matrix.26.xml rename compatibility_matrix.xml => compatibility_matrix.current.xml (100%) create mode 100644 compatibility_matrix.legacy.xml diff --git a/compatibility_matrix.26.xml b/compatibility_matrix.26.xml new file mode 100644 index 0000000000..9aa54188ad --- /dev/null +++ b/compatibility_matrix.26.xml @@ -0,0 +1,325 @@ + + + android.hardware.audio + 2.0 + + IDevicesFactory + default + + + + android.hardware.audio.effect + 2.0 + + IEffectsFactory + 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.boot + 1.0 + + IBootControl + default + + + + android.hardware.broadcastradio + 1.0 + + IBroadcastRadioFactory + default + + + + android.hardware.camera.provider + 2.4 + + ICameraProvider + legacy/0 + + + + android.hardware.configstore + 1.0-1 + + ISurfaceFlingerConfigs + default + + + + android.hardware.contexthub + 1.0 + + IContexthub + default + + + + android.hardware.drm + 1.0 + + ICryptoFactory + default + + + IDrmFactory + default + + + + android.hardware.dumpstate + 1.0 + + IDumpstateDevice + default + + + + android.hardware.gatekeeper + 1.0 + + IGatekeeper + default + + + + android.hardware.gnss + 1.0 + + 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 + 1.0 + + IHealth + default + + + + android.hardware.ir + 1.0 + + + android.hardware.keymaster + 3.0 + + IKeymasterDevice + default + + + + 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.nfc + 1.0 + + INfc + default + + + + android.hardware.power + 1.0 + + IPower + default + + + + android.hardware.radio + 1.0 + + IRadio + slot1 + + + ISap + slot1 + + + + android.hardware.radio.deprecated + 1.0 + + IOemHook + slot1 + + + + android.hardware.renderscript + 1.0 + + IDevice + default + + + + android.hardware.sensors + 1.0 + + ISensors + default + + + + android.hardware.soundtrigger + 2.0 + + ISoundTriggerHw + default + + + + android.hardware.thermal + 1.0 + + IThermal + default + + + + android.hardware.tv.cec + 1.0 + + IHdmiCec + default + + + + android.hardware.tv.input + 1.0 + + ITvInput + default + + + + android.hardware.usb + 1.0 + + IUsb + default + + + + android.hardware.vibrator + 1.0 + + IVibrator + default + + + + android.hardware.vr + 1.0 + + IVr + default + + + + android.hardware.wifi + 1.0 + + IWifi + default + + + + android.hardware.wifi.supplicant + 1.0 + + ISupplicant + default + + + + + + diff --git a/compatibility_matrix.xml b/compatibility_matrix.current.xml similarity index 100% rename from compatibility_matrix.xml rename to compatibility_matrix.current.xml diff --git a/compatibility_matrix.legacy.xml b/compatibility_matrix.legacy.xml new file mode 100644 index 0000000000..6167f25eb6 --- /dev/null +++ b/compatibility_matrix.legacy.xml @@ -0,0 +1,325 @@ + + + android.hardware.audio + 2.0 + + IDevicesFactory + default + + + + android.hardware.audio.effect + 2.0 + + IEffectsFactory + 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.boot + 1.0 + + IBootControl + default + + + + android.hardware.broadcastradio + 1.0 + + IBroadcastRadioFactory + default + + + + android.hardware.camera.provider + 2.4 + + ICameraProvider + legacy/0 + + + + android.hardware.configstore + 1.0-1 + + ISurfaceFlingerConfigs + default + + + + android.hardware.contexthub + 1.0 + + IContexthub + default + + + + android.hardware.drm + 1.0 + + ICryptoFactory + default + + + IDrmFactory + default + + + + android.hardware.dumpstate + 1.0 + + IDumpstateDevice + default + + + + android.hardware.gatekeeper + 1.0 + + IGatekeeper + default + + + + android.hardware.gnss + 1.0 + + 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 + 1.0 + + IHealth + default + + + + android.hardware.ir + 1.0 + + + android.hardware.keymaster + 3.0 + + IKeymasterDevice + default + + + + 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.nfc + 1.0 + + INfc + default + + + + android.hardware.power + 1.0 + + IPower + default + + + + android.hardware.radio + 1.0 + + IRadio + slot1 + + + ISap + slot1 + + + + android.hardware.radio.deprecated + 1.0 + + IOemHook + slot1 + + + + android.hardware.renderscript + 1.0 + + IDevice + default + + + + android.hardware.sensors + 1.0 + + ISensors + default + + + + android.hardware.soundtrigger + 2.0 + + ISoundTriggerHw + default + + + + android.hardware.thermal + 1.0 + + IThermal + default + + + + android.hardware.tv.cec + 1.0 + + IHdmiCec + default + + + + android.hardware.tv.input + 1.0 + + ITvInput + default + + + + android.hardware.usb + 1.0 + + IUsb + default + + + + android.hardware.vibrator + 1.0 + + IVibrator + default + + + + android.hardware.vr + 1.0 + + IVr + default + + + + android.hardware.wifi + 1.0 + + IWifi + default + + + + android.hardware.wifi.supplicant + 1.0 + + ISupplicant + default + + + + + +