sm7125: aidl: rebrand all services

tirimbino
Ruchit Marathe 2 years ago
parent 43d1f8c08c
commit 92caade44d
  1. 6
      aidl/light/Android.bp
  2. 2
      aidl/light/Lights.cpp
  3. 2
      aidl/light/android.hardware.light-service.sm7125.rc
  4. 0
      aidl/light/android.hardware.light-service.sm7125.xml
  5. 2
      aidl/light/service.cpp
  6. 6
      aidl/memtrack/Android.bp
  7. 2
      aidl/memtrack/memtrack-sm7125.rc
  8. 0
      aidl/memtrack/memtrack-sm7125.xml
  9. 6
      aidl/power-libperfmgr/Android.bp
  10. 2
      aidl/power-libperfmgr/PowerExt.cpp
  11. 2
      aidl/power-libperfmgr/android.hardware.power-service.sm7125-libperfmgr.rc
  12. 0
      aidl/power-libperfmgr/android.hardware.power-service.sm7125.xml
  13. 6
      aidl/sensors/Android.bp
  14. 2
      aidl/sensors/android.hardware.sensors-service.sm7125-multihal.rc
  15. 0
      aidl/sensors/android.hardware.sensors-sm7125-multihal.xml
  16. 6
      aidl/usb/Android.bp
  17. 2
      aidl/usb/android.hardware.usb-service.sm7125.rc
  18. 0
      aidl/usb/android.hardware.usb-service.sm7125.xml
  19. 10
      common.mk
  20. 12
      sepolicy/vendor/file_contexts

@ -5,10 +5,10 @@
//
cc_binary {
name: "android.hardware.light-service.exynos9810",
name: "android.hardware.light-service.sm7125",
relative_install_path: "hw",
init_rc: ["android.hardware.light-service.exynos9810.rc"],
vintf_fragments: ["android.hardware.light-service.exynos9810.xml"],
init_rc: ["android.hardware.light-service.sm7125.rc"],
vintf_fragments: ["android.hardware.light-service.sm7125.xml"],
local_include_dirs: ["include"],
srcs: [
"Lights.cpp",

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#define LOG_TAG "android.hardware.lights-service.exynos9810"
#define LOG_TAG "android.hardware.lights-service.sm7125"
#include <android-base/stringprintf.h>
#include <fstream>

@ -1,4 +1,4 @@
service vendor.light-default /vendor/bin/hw/android.hardware.light-service.exynos9810
service vendor.light-default /vendor/bin/hw/android.hardware.light-service.sm7125
class hal
user system
group system

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#define LOG_TAG "android.hardware.light-service.exynos9810"
#define LOG_TAG "android.hardware.light-service.sm7125"
#include "Lights.h"

@ -13,10 +13,10 @@
// limitations under the License.
cc_binary {
name: "android.hardware.memtrack-service.exynos9810",
name: "android.hardware.memtrack-service.s",
relative_install_path: "hw",
init_rc: ["memtrack-exynos9810.rc"],
vintf_fragments: ["memtrack-exynos9810.xml"],
init_rc: ["memtrack-sm7125.rc"],
vintf_fragments: ["memtrack-sm7125.xml"],
vendor: true,
shared_libs: [
"libbase",

@ -1,4 +1,4 @@
service vendor.memtrack-default /vendor/bin/hw/android.hardware.memtrack-service.exynos9810
service vendor.memtrack-default /vendor/bin/hw/android.hardware.memtrack-service.sm7125
class hal
user nobody
group system

@ -21,10 +21,10 @@ soong_namespace {
}
cc_binary {
name: "android.hardware.power-service.exynos9810-libperfmgr",
name: "android.hardware.power-service.sm7125-libperfmgr",
relative_install_path: "hw",
init_rc: ["android.hardware.power-service.exynos9810-libperfmgr.rc"],
vintf_fragments: ["android.hardware.power-service.exynos9810.xml"],
init_rc: ["android.hardware.power-service.sm7125-libperfmgr.rc"],
vintf_fragments: ["android.hardware.power-service.sm7125.xml"],
vendor: true,
shared_libs: [
"android.hardware.power-V2-ndk",

@ -14,7 +14,7 @@
* limitations under the License.
*/
#define LOG_TAG "android.hardware.power-service.exynos9810.ext-libperfmgr"
#define LOG_TAG "android.hardware.power-service.sm7125.ext-libperfmgr"
#include "PowerExt.h"
#include "PowerSessionManager.h"

@ -1,4 +1,4 @@
service vendor.power-hal-aidl /vendor/bin/hw/android.hardware.power-service.exynos9810-libperfmgr
service vendor.power-hal-aidl /vendor/bin/hw/android.hardware.power-service.sm7125-libperfmgr
class hal
user root
group system radio

@ -14,7 +14,7 @@
// limitations under the License.
cc_binary {
name: "android.hardware.sensors-service.exynos9810-multihal",
name: "android.hardware.sensors-service.sm7125-multihal",
defaults: [
"hidl_defaults",
],
@ -26,8 +26,8 @@ cc_binary {
"service.cpp",
],
local_include_dirs: ["include"],
init_rc: ["android.hardware.sensors-service.exynos9810-multihal.rc"],
vintf_fragments: ["android.hardware.sensors-exynos9810-multihal.xml"],
init_rc: ["android.hardware.sensors-service.sm7125-multihal.rc"],
vintf_fragments: ["android.hardware.sensors-sm7125-multihal.xml"],
header_libs: [
"android.hardware.sensors@2.X-shared-utils",
],

@ -1,4 +1,4 @@
service vendor.sensors-hal-multihal /vendor/bin/hw/android.hardware.sensors-service.exynos9810-multihal
service vendor.sensors-hal-multihal /vendor/bin/hw/android.hardware.sensors-service.sm7125-multihal
class hal
user system
group system wakelock context_hub input

@ -15,10 +15,10 @@
//
cc_binary {
name: "android.hardware.usb-service.exynos9810",
name: "android.hardware.usb-service.sm7125",
relative_install_path: "hw",
init_rc: ["android.hardware.usb-service.exynos9810.rc"],
vintf_fragments: ["android.hardware.usb-service.exynos9810.xml"],
init_rc: ["android.hardware.usb-service.sm7125.rc"],
vintf_fragments: ["android.hardware.usb-service.sm7125.xml"],
vendor: true,
srcs: [
"service.cpp",

@ -1,4 +1,4 @@
service vendor.usb_default /vendor/bin/hw/android.hardware.usb-service.exynos9810
service vendor.usb_default /vendor/bin/hw/android.hardware.usb-service.sm7125
class hal
user system
group system

@ -154,7 +154,7 @@ PRODUCT_PACKAGES += \
android.hardware.graphics.mapper@3.0-impl-qti-display \
android.hardware.graphics.mapper@4.0-impl-qti-display \
vendor.qti.hardware.display.allocator-service \
android.hardware.memtrack-service.exynos9810 \
android.hardware.memtrack-service.sm7125 \
android.hardware.renderscript@1.0-impl \
libtinyxml \
libtinyxml2 \
@ -336,7 +336,7 @@ PRODUCT_COPY_FILES += \
# Power
PRODUCT_PACKAGES += \
android.hardware.power-service.exynos9810-libperfmgr \
android.hardware.power-service.sm7125-libperfmgr \
android.hardware.power@1.2.vendor
PRODUCT_COPY_FILES += \
@ -371,7 +371,7 @@ PRODUCT_PACKAGES += \
# Sensors
PRODUCT_PACKAGES += \
android.hardware.sensors@2.1-service.samsung-multihal \
android.hardware.sensors-service.exynos9810-multihal \
android.hardware.sensors-service.sm7125-multihal \
android.hardware.sensors@2.0-ScopedWakelock.vendor \
sensors.samsung
@ -389,7 +389,7 @@ PRODUCT_PACKAGES += \
# USB
PRODUCT_PACKAGES += \
android.hardware.usb@1.3-service.exynos9810
android.hardware.usb-service.sm7125
# Vibrator
PRODUCT_PACKAGES += \
@ -397,7 +397,7 @@ PRODUCT_PACKAGES += \
# Light
PRODUCT_PACKAGES += \
android.hardware.light-service.exynos9810
android.hardware.light-service.sm7125
# Tether
PRODUCT_PACKAGES += \

@ -64,13 +64,11 @@
/(vendor|system/vendor)/bin/hw/vendor.samsung.hardware.thermal@1.0-service u:object_r:hal_thermal_default_exec:s0
/(vendor|system/vendor)/bin/hw/android.hardware.sensors@[0-9].[0-9]-service.samsung-multihal u:object_r:hal_sensors_default_exec:s0
# WIP
/(vendor|system/vendor)/bin/hw/android\.hardware\.light(@[0-9].[0-9])?-service\.exynos9810 u:object_r:hal_light_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.vibrator(@[0-9].[0-9])?-service\.exynos9810 u:object_r:hal_vibrator_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.power(@[0-9]\.[0-9])?-service\.exynos9810-libperfmgr u:object_r:hal_power_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.usb@[0-9]\.[0-9]-service\.exynos9810 u:object_r:hal_usb_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.sensors-service(\.exynos9810-multihal)? u:object_r:hal_sensors_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.memtrack-service.exynos9810 u:object_r:hal_memtrack_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.light(@[0-9].[0-9])?-service\.sm7125 u:object_r:hal_light_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.power(@[0-9]\.[0-9])?-service\.sm7125-libperfmgr u:object_r:hal_power_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.usb-service.sm7125 u:object_r:hal_usb_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.sensors-service(\.sm7125-multihal)? u:object_r:hal_sensors_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.memtrack-service.sm7125 u:object_r:hal_memtrack_default_exec:s0
/(vendor|system/vendor)/bin/hw/android.hardware.vibrator-service.sm7125 u:object_r:hal_vibrator_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.health@2\.1-service-samsung u:object_r:hal_health_default_exec:s0

Loading…
Cancel
Save