rosemary: Switch to AIDL bluetooth service

Change-Id: I40550f0f2033e35ea609401f38f7646cb79abe14
This commit is contained in:
Mashopy
2026-01-01 14:47:23 +01:00
committed by Matsvei Niaverau
parent a4c0e9184a
commit 92d08e7529
5 changed files with 0 additions and 85 deletions
-67
View File
@@ -4629,39 +4629,6 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "android.hardware.bluetooth@1.1-impl-mediatek",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/hw/android.hardware.bluetooth@1.1-impl-mediatek.so",
],
shared_libs: [
"android.hardware.bluetooth@1.0",
"android.hardware.bluetooth@1.1",
"libbase",
"libcutils",
"libhardware",
"libhidlbase",
"liblog",
"libutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
relative_install_path: "hw",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "android.hardware.camera.provider@2.6-impl-mediatek",
owner: "xiaomi",
@@ -29987,40 +29954,6 @@ cc_prebuilt_binary {
soc_specific: true,
}
cc_prebuilt_binary {
name: "android.hardware.bluetooth@1.1-service-mediatek",
owner: "xiaomi",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/hw/android.hardware.bluetooth@1.1-service-mediatek",
],
shared_libs: [
"liblog",
"libcutils",
"libbase",
"libutils",
"libhardware",
"libhidlbase",
"libhidltransport",
"android.hardware.bluetooth@1.0",
"android.hardware.bluetooth@1.1",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
relative_install_path: "hw",
soc_specific: true,
}
cc_prebuilt_binary {
name: "android.hardware.drm@1.4-service.widevine",
owner: "xiaomi",
@@ -1,15 +0,0 @@
service bluetooth-1-1 /vendor/bin/hw/android.hardware.bluetooth@1.1-service-mediatek
class hal
user bluetooth
group bluetooth net_admin
writepid /dev/stune/foreground/tasks
capabilities SYS_NICE NET_ADMIN NET_RAW
on property:vts.native_server.on=1 && property:ro.build.type=userdebug
stop bluetooth-1-1
on property:vts.native_server.on=1 && property:ro.build.type=eng
stop bluetooth-1-1
on property:vts.native_server.on=0 && property:ro.build.type=userdebug
start bluetooth-1-1
on property:vts.native_server.on=0 && property:ro.build.type=eng
start bluetooth-1-1
-3
View File
@@ -187,7 +187,6 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/rosemary/proprietary/vendor/etc/gnss/carrier/agps_profiles_conf2_carrier_Test_SIM1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/carrier/agps_profiles_conf2_carrier_Test_SIM1.xml \
vendor/xiaomi/rosemary/proprietary/vendor/etc/gnss/carrier/agps_profiles_conf2_carrier_Test_SIM2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/carrier/agps_profiles_conf2_carrier_Test_SIM2.xml \
vendor/xiaomi/rosemary/proprietary/vendor/etc/gnss/carrier/agps_profiles_conf2_carrier_Verizon_Wireless.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/carrier/agps_profiles_conf2_carrier_Verizon_Wireless.xml \
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/android.hardware.bluetooth@1.1-service-mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.bluetooth@1.1-service-mediatek.rc \
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/android.hardware.drm@1.4-service.widevine.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.drm@1.4-service.widevine.rc \
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/android.hardware.gnss-service.mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.gnss-service.mediatek.rc \
vendor/xiaomi/rosemary/proprietary/vendor/etc/init/android.hardware.graphics.allocator@4.0-service-mediatek.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/android.hardware.graphics.allocator@4.0-service-mediatek.rc \
@@ -703,7 +702,6 @@ PRODUCT_PACKAGES += \
gc02m1sunny_mipi_raw_india_IdxMgr \
gc02m1sunny_mipi_raw_india_tuning \
gc02m1sunny_mipi_raw_tuning \
android.hardware.bluetooth@1.1-impl-mediatek \
android.hardware.camera.provider@2.6-impl-mediatek \
android.hardware.gnss-impl-mediatek \
android.hardware.gnss@2.1-impl-mediatek \
@@ -1619,7 +1617,6 @@ PRODUCT_PACKAGES += \
fuelgauged \
fuelgauged_nvram \
gsm0710muxd \
android.hardware.bluetooth@1.1-service-mediatek \
android.hardware.drm@1.4-service.widevine \
android.hardware.gnss-service.mediatek \
android.hardware.graphics.allocator@4.0-service-mediatek \