diff --git a/universal7885-common/.clang-format b/universal7885-common/.clang-format deleted file mode 100644 index 2516c9a..0000000 --- a/universal7885-common/.clang-format +++ /dev/null @@ -1,14 +0,0 @@ -BasedOnStyle: Google -Standard: Cpp11 -AccessModifierOffset: -2 -AllowShortFunctionsOnASingleLine: Inline -ColumnLimit: 100 -CommentPragmas: NOLINT:.* -DerivePointerAlignment: false -IncludeBlocks: Preserve -IndentWidth: 4 -ContinuationIndentWidth: 8 -PointerAlignment: Left -TabWidth: 4 -UseTab: Never - diff --git a/universal7885-common/configs/vintf/compatibility_matrix.3.xml b/universal7885-common/configs/vintf/compatibility_matrix.3.xml new file mode 100644 index 0000000..a75ed25 --- /dev/null +++ b/universal7885-common/configs/vintf/compatibility_matrix.3.xml @@ -0,0 +1,475 @@ + + + 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.broadcastradio + 2.0 + + IBroadcastRadio + .* + + + + android.hardware.camera.provider + 2.4 + + ICameraProvider + [^/]+/[0-9]+ + + + + android.hardware.cas + 1.0 + + IMediaCasService + default + + + + android.hardware.configstore + 1.0-1 + + 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-2 + + IComposer + default + + + + android.hardware.graphics.mapper + 2.0-1 + + IMapper + default + + + + android.hardware.health + 2.0 + + IHealth + default + + + + android.hardware.ir + 1.0 + + IConsumerIr + default + + + + 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-1 + + IDevice + .* + + + + android.hardware.nfc + 1.1 + + INfc + default + + + + android.hardware.oemlock + 1.0 + + IOemLock + default + + + + android.hardware.power + 1.0-3 + + IPower + default + + + + android.hardware.radio + + 1.0-3 + + IRadio + slot1 + slot2 + slot3 + + + + android.hardware.radio + 1.0-2 + + 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 + + + diff --git a/universal7885-common/universal7885-common.mk b/universal7885-common/universal7885-common.mk index c4322db..c69d9bf 100644 --- a/universal7885-common/universal7885-common.mk +++ b/universal7885-common/universal7885-common.mk @@ -316,6 +316,10 @@ PRODUCT_COPY_FILES += \ prebuilts/vndk/v29/arm64/arch-arm64-armv8-a/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcutils-v29.so \ prebuilts/vndk/v29/arm64/arch-arm-armv8-a/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_VENDOR)/lib/libcutils-v29.so +# Workaround for vintf issues... +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/configs/vintf/compatibility_matrix.3.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/vintf/compatibility_matrix.3.xml + # Wifi PRODUCT_PACKAGES += \ android.hardware.wifi@1.0-service \