diff --git a/device.mk b/device.mk
index 40ce06eb..892bec62 100644
--- a/device.mk
+++ b/device.mk
@@ -15,9 +15,6 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/developer_gsi_keys.mk)
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.ipsec_tunnel_migration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnel_migration.xml
-DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += \
- device/google/gs-common/vintf/framework_compatibility_matrix.xml
-
# sscoredump
PRODUCT_PROPERTY_OVERRIDES += vendor.debug.ssrdump.type=sscoredump
@@ -201,20 +198,6 @@ PRODUCT_VENDOR_PROPERTIES += \
# b/295257834 Add HDR shaders to SurfaceFlinger's pre-warming cache
PRODUCT_VENDOR_PROPERTIES += ro.surface_flinger.prime_shader_cache.ultrahdr=1
-# Device Manifest, Device Compatibility Matrix for Treble
-DEVICE_MANIFEST_FILE := \
- device/google/gs201/manifest.xml
-ifneq ($(BOARD_WITHOUT_RADIO),true)
-DEVICE_MANIFEST_FILE += \
- device/google/gs201/manifest_radio_ds.xml
-endif
-
-DEVICE_MANIFEST_FILE += \
- device/google/gs201/manifest_media.xml
-
-DEVICE_MATRIX_FILE := \
- device/google/gs201/compatibility_matrix.xml
-
DEVICE_PACKAGE_OVERLAYS += device/google/gs201/overlay
DEVICE_PACKAGE_OVERLAYS += device/google/gs201/overlay-lineage
@@ -320,12 +303,6 @@ PRODUCT_PROPERTY_OVERRIDES += aaudio.hw_burst_min_usec=2000
PRODUCT_SOONG_NAMESPACES += \
hardware/google/camera
-DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += \
- device/google/gs-common/camera/device_framework_matrix_product.xml
-
-DEVICE_MATRIX_FILE += \
- device/google/gs-common/camera/compatibility_matrix.xml
-
# Connectivity
PRODUCT_PACKAGES += \
ConnectivityOverlay
@@ -338,8 +315,6 @@ PRODUCT_PACKAGES += \
PRODUCT_PROPERTY_OVERRIDES += \
vendor.battery_mitigation.aidl.enable=true
-DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs-common/battery_mitigation/compatibility_matrix.xml
-
# storage pixelstats
-include hardware/google/pixel/pixelstats/device.mk
@@ -546,9 +521,6 @@ PRODUCT_PACKAGES += \
android.hardware.health-service.gs201 \
android.hardware.health-service.gs201_recovery \
-# Audio HAL Server & Default Implementations
-DEVICE_MANIFEST_FILE += device/google/gs-common/audio/hidl/manifest.xml
-
# Audio HAL configurations
PRODUCT_COPY_FILES += \
frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration_7_0.xml \
@@ -574,8 +546,6 @@ PRODUCT_PACKAGES += \
audio.bluetooth.default \
audio.r_submix.default
-DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs-common/audio/hidl/device_framework_matrix_product.xml
-
## Audio properties
ifneq (,$(filter %tangorpro, $(TARGET_PRODUCT)))
PRODUCT_PROPERTY_OVERRIDES += \
@@ -652,11 +622,6 @@ include hardware/google/pixel/common/pixel-common-device.mk
# Wifi ext
include hardware/google/pixel/wifi_ext/device.mk
-# Install product specific framework compatibility matrix
-# (TODO: b/169535506) This includes the FCM for system_ext and product partition.
-# It must be split into the FCM of each partition.
-DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs201/device_framework_matrix_product.xml
-
# Keymint configuration
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml \
@@ -668,10 +633,6 @@ PRODUCT_VENDOR_PROPERTIES += ro.crypto.metadata_init_delete_all_keys.enabled?=tr
# Hardware Info
include hardware/google/pixel/HardwareInfo/HardwareInfo.mk
-# Touch service
-DEVICE_MANIFEST_FILE += device/google/gs-common/touch/twoshay/aidl/manifest_gs101.xml
-DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/gs-common/touch/twoshay/aidl/compatibility_matrix_gs101.xml
-
# Allow longer timeout for incident report generation in bugreport
# Overriding in /product partition instead of /vendor intentionally,
# since it can't be overridden from /vendor.
@@ -711,3 +672,13 @@ PRODUCT_PACKAGES += \
# Touch
include hardware/google/pixel/touch/device.mk
+
+# VINTF
+DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += \
+ device/google/gs201/vintf/vendor_framework_compatibility_matrix.xml
+DEVICE_MANIFEST_FILE += \
+ device/google/gs201/vintf/manifest.xml
+DEVICE_MATRIX_FILE += \
+ device/google/gs201/vintf/compatibility_matrix.xml
+DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += \
+ device/google/gs201/vintf/device_framework_matrix_product.xml
diff --git a/manifest.xml b/manifest.xml
deleted file mode 100644
index e5a09381..00000000
--- a/manifest.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
- android.hardware.boot
- IBootControl/default
-
-
- android.hardware.security.keymint
- 3
- IRemotelyProvisionedComponent/strongbox
-
-
diff --git a/manifest_media.xml b/manifest_media.xml
deleted file mode 100644
index 18588a69..00000000
--- a/manifest_media.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- android.hardware.media.c2
- 1
- IComponentStore/default1
-
-
- android.hardware.media.c2
- 1
- IComponentStore/default
-
-
diff --git a/manifest_radio_ds.xml b/manifest_radio_ds.xml
deleted file mode 100644
index de6fae5a..00000000
--- a/manifest_radio_ds.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
- android.hardware.radio
- hwbinder
- @1.2::ISap/slot1
- @1.2::ISap/slot2
-
-
- android.hardware.radio.config
- IRadioConfig/default
-
-
- android.hardware.radio.data
- IRadioData/slot1
- IRadioData/slot2
-
-
- android.hardware.radio.messaging
- IRadioMessaging/slot1
- IRadioMessaging/slot2
-
-
- android.hardware.radio.modem
- IRadioModem/slot1
- IRadioModem/slot2
-
-
- android.hardware.radio.network
- IRadioNetwork/slot1
- IRadioNetwork/slot2
-
-
- android.hardware.radio.sim
- IRadioSim/slot1
- IRadioSim/slot2
-
-
- android.hardware.radio.voice
- IRadioVoice/slot1
- IRadioVoice/slot2
-
-
- android.hardware.secure_element
- hwbinder
- @1.2::ISecureElement/SIM1
- @1.2::ISecureElement/SIM2
-
-
- vendor.samsung_slsi.telephony.hardware.radioExternal
- hwbinder
- @1.1::IOemSlsiRadioExternal/rilExternal
-
-
diff --git a/compatibility_matrix.xml b/vintf/compatibility_matrix.xml
similarity index 73%
rename from compatibility_matrix.xml
rename to vintf/compatibility_matrix.xml
index 264e8547..a42ec0f0 100644
--- a/compatibility_matrix.xml
+++ b/vintf/compatibility_matrix.xml
@@ -1,12 +1,11 @@
+
-
-
+
+
android.frameworks.displayservice
1.0
@@ -14,7 +13,7 @@
default
-
+
android.frameworks.schedulerservice
1.0
@@ -22,7 +21,7 @@
default
-
+
android.frameworks.sensorservice
1.0
@@ -30,7 +29,7 @@
default
-
+
android.hardware.graphics.composer
2.1
@@ -38,7 +37,7 @@
vr
-
+
android.hidl.allocator
1.0
@@ -46,7 +45,7 @@
ashmem
-
+
android.hidl.manager
1.0
@@ -54,7 +53,7 @@
default
-
+
android.hidl.memory
1.0
@@ -62,7 +61,7 @@
ashmem
-
+
android.hidl.token
1.0
@@ -70,7 +69,7 @@
default
-
+
android.system.wifi.keystore
1.0
@@ -78,7 +77,11 @@
default
-
- 0.0.0
-
+
+ com.google.pixel.camera.services.binder
+
+ IServiceBinder
+ default
+
+
diff --git a/device_framework_matrix_product.xml b/vintf/device_framework_matrix_product.xml
similarity index 60%
rename from device_framework_matrix_product.xml
rename to vintf/device_framework_matrix_product.xml
index d45d35e3..0f562c75 100644
--- a/device_framework_matrix_product.xml
+++ b/vintf/device_framework_matrix_product.xml
@@ -1,5 +1,11 @@
-
-
+
+
+
+
android.vendor.samsung_slsi.telephony.hardware.radio
1.1
@@ -8,7 +14,7 @@
slot2
-
+
com.fingerprints42.extension
1.0
@@ -40,9 +46,24 @@
default
-
- com.google.face.debug
- 3-4
+
+ com.google.edgetpu
+ 2
+
+ IEdgeTpuVendorService
+ default
+
+
+
+ com.google.edgetpu.dba
+
+ IDevice
+ default
+
+
+
+ com.google.face.debug
+ 3-4
IDebugHost
default
@@ -52,39 +73,48 @@
default
-
- com.google.edgetpu
+
+ com.google.flood
2
- IEdgeTpuVendorService
+ IFloodService
default
-
- com.google.edgetpu.dba
- 1
-
- IDevice
- default
-
-
-
- com.google.edgetpu.tachyon
- 1
-
- IComputeService
- default
-
-
-
- com.google.hardware.pixel.display
- 13-16
+
+ com.google.hardware.pixel.display
+ 16
IDisplay
default
-
+
+ com.google.input
+ 2-6
+
+ ITouchContextService
+ default
+
+
+
+ com.google.input
+ 6
+
+ ITwoshayFileDumpService
+ touchflow_default
+ touchflow_outer
+ twoshay
+
+
+
+ com.google.pixel.camera.connectivity.hal.provider
+
+ ICameraProvider
+ default
+
+
+
hardware.qorvo.uwb
2
@@ -92,7 +122,7 @@
default
-
+
vendor.goodix.hardware.biometrics.fingerprint
2.1
@@ -100,15 +130,30 @@
default
-
+
+ vendor.google.audiometricext
+ 1.0
+
+ IAudioMetricExt
+ default
+
+
+
+ vendor.google.battery_mitigation
+
+ IBatteryMitigation
+ default
+
+
+
vendor.google.google_battery
- 2-4
+ 4
IGoogleBattery
default
-
+
vendor.google.radioext
1.5
@@ -116,7 +161,15 @@
default
-
+
+ vendor.google.whitechapel.audio.audioext
+ 4.0
+
+ IAudioExt
+ default
+
+
+
vendor.google.wifi_ext
2-4
@@ -124,7 +177,7 @@
default
-
+
vendor.samsung_slsi.telephony.hardware.oemservice
1.0
@@ -134,7 +187,7 @@
sced0
-
+
vendor.samsung_slsi.telephony.hardware.radioExternal
1.1
diff --git a/vintf/manifest.xml b/vintf/manifest.xml
new file mode 100644
index 00000000..4a2e50d0
--- /dev/null
+++ b/vintf/manifest.xml
@@ -0,0 +1,61 @@
+
+
+
+
+ android.hardware.audio
+ hwbinder
+ @7.1::IDevicesFactory/default
+
+
+ android.hardware.audio.effect
+ hwbinder
+ @7.0::IEffectsFactory/default
+
+
+ android.hardware.boot
+ IBootControl/default
+
+
+ android.hardware.media.c2
+ IComponentStore/default1
+
+
+ android.hardware.media.c2
+ IComponentStore/default
+
+
+ android.hardware.security.keymint
+ 3
+ IRemotelyProvisionedComponent/strongbox
+
+
+ android.hardware.soundtrigger
+ hwbinder
+ @2.3::ISoundTriggerHw/default
+
+
+ com.google.input
+ 6
+ ITouchContextService/default
+
+
+ com.google.input
+ 6
+ ITwoshayFileDumpService/touchflow_default
+ ITwoshayFileDumpService/twoshay
+
+
+ vendor.google.audiometricext
+ hwbinder
+ @1.0::IAudioMetricExt/default
+
+
+ vendor.google.whitechapel.audio.audioext
+ hwbinder
+ @4.0::IAudioExt/default
+
+
diff --git a/vintf/vendor_framework_compatibility_matrix.xml b/vintf/vendor_framework_compatibility_matrix.xml
new file mode 100644
index 00000000..d605e899
--- /dev/null
+++ b/vintf/vendor_framework_compatibility_matrix.xml
@@ -0,0 +1,22 @@
+
+
+
+
+ aocx
+ 1-2
+
+ IAocx
+ default
+
+
+
+ com.google.android.imageprocessing.hal
+
+ IImageProcessingHal
+ default
+
+
+