s/gs101/gs201

do a global substitution

Bug: 186836335
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Ic79e8983d04615be7da70ebb2b5092aae5178495
This commit is contained in:
Pat Tjin 2021-05-19 21:37:18 -07:00 committed by Aaron Ding
parent 6ec6628fc5
commit 89841bf57a
39 changed files with 89 additions and 89 deletions

View file

@ -6,7 +6,7 @@ soong_namespace {
} }
package { package {
default_applicable_licenses: ["device_google_gs101_license"], default_applicable_licenses: ["device_google_gs201_license"],
} }
// Added automatically by a large-scale-change that took the approach of // Added automatically by a large-scale-change that took the approach of
@ -24,7 +24,7 @@ package {
// used in the current project. // used in the current project.
// See: http://go/android-license-faq // See: http://go/android-license-faq
license { license {
name: "device_google_gs101_license", name: "device_google_gs201_license",
visibility: [":__subpackages__"], visibility: [":__subpackages__"],
license_kinds: [ license_kinds: [
"SPDX-license-identifier-Apache-2.0", "SPDX-license-identifier-Apache-2.0",

View file

@ -20,7 +20,7 @@ include build/make/target/board/BoardConfigPixelCommon.mk
PRODUCT_FULL_TREBLE_OVERRIDE := true PRODUCT_FULL_TREBLE_OVERRIDE := true
# HACK : To fix up after bring up multimedia devices. # HACK : To fix up after bring up multimedia devices.
TARGET_SOC := gs101 TARGET_SOC := gs201
TARGET_SOC_NAME := google TARGET_SOC_NAME := google
@ -53,7 +53,7 @@ BOARD_USES_GENERIC_KERNEL_IMAGE := true
BOARD_MOVE_RECOVERY_RESOURCES_TO_VENDOR_BOOT := true BOARD_MOVE_RECOVERY_RESOURCES_TO_VENDOR_BOOT := true
BOARD_MOVE_GSI_AVB_KEYS_TO_VENDOR_BOOT := true BOARD_MOVE_GSI_AVB_KEYS_TO_VENDOR_BOOT := true
TARGET_RECOVERY_WIPE := device/google/gs201/conf/recovery.wipe TARGET_RECOVERY_WIPE := device/google/gs201/conf/recovery.wipe
TARGET_RECOVERY_FSTAB := device/google/gs201/conf/fstab.gs101 TARGET_RECOVERY_FSTAB := device/google/gs201/conf/fstab.gs201
TARGET_RECOVERY_PIXEL_FORMAT := ABGR_8888 TARGET_RECOVERY_PIXEL_FORMAT := ABGR_8888
TARGET_RECOVERY_UI_MARGIN_HEIGHT := 165 TARGET_RECOVERY_UI_MARGIN_HEIGHT := 165
TARGET_RECOVERY_UI_LIB := \ TARGET_RECOVERY_UI_LIB := \
@ -238,7 +238,7 @@ HWC_SUPPORT_COLOR_TRANSFORM := true
BOARD_USES_EXYNOS_AFBC_FEATURE := true BOARD_USES_EXYNOS_AFBC_FEATURE := true
#BOARD_USES_HDRUI_GLES_CONVERSION := true #BOARD_USES_HDRUI_GLES_CONVERSION := true
BOARD_LIBACRYL_DEFAULT_COMPOSITOR := fimg2d_gs101 BOARD_LIBACRYL_DEFAULT_COMPOSITOR := fimg2d_gs201
BOARD_LIBACRYL_G2D_HDR_PLUGIN := libacryl_hdr_plugin BOARD_LIBACRYL_G2D_HDR_PLUGIN := libacryl_hdr_plugin
# HWCServices # HWCServices
@ -398,8 +398,8 @@ BOARD_VENDOR_RAMDISK_KERNEL_MODULES += \
# Using BUILD_COPY_HEADERS # Using BUILD_COPY_HEADERS
BUILD_BROKEN_USES_BUILD_COPY_HEADERS := true BUILD_BROKEN_USES_BUILD_COPY_HEADERS := true
include device/google/gs101-sepolicy/gs101-sepolicy.mk
include device/google/gs201-sepolicy/gs201-sepolicy.mk include device/google/gs201-sepolicy/gs201-sepolicy.mk
include device/google/gs101-sepolicy/gs101-sepolicy.mk
# Battery options # Battery options
BOARD_KERNEL_CMDLINE += at24.write_timeout=100 BOARD_KERNEL_CMDLINE += at24.write_timeout=100

View file

@ -74,6 +74,6 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/init/android.hardware.us
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/vintf/manifest/android.hardware.usb@1.3-service.slider.xml) $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/vintf/manifest/android.hardware.usb@1.3-service.slider.xml)
# Power Stats HAL 1.0 to AIDL # Power Stats HAL 1.0 to AIDL
$(call add-clean-step, rm -f $(PRODUCT_OUT)/vendor/bin/hw/android.hardware.power.stats@1.0-service.gs101) $(call add-clean-step, rm -f $(PRODUCT_OUT)/vendor/bin/hw/android.hardware.power.stats@1.0-service.gs201)
$(call add-clean-step, rm -f $(PRODUCT_OUT)/vendor/etc/init/android.hardware.power.stats@1.0-service.gs101.rc) $(call add-clean-step, rm -f $(PRODUCT_OUT)/vendor/etc/init/android.hardware.power.stats@1.0-service.gs201.rc)
$(call add-clean-step, rm -f $(PRODUCT_OUT)/vendor/etc/vintf/manifest/android.hardware.power.stats@1.0-service.gs101.xml) $(call add-clean-step, rm -f $(PRODUCT_OUT)/vendor/etc/vintf/manifest/android.hardware.power.stats@1.0-service.gs201.xml)

View file

@ -1,4 +1,4 @@
import init.gs101.usb.rc import init.gs201.usb.rc
import android.hardware.drm@1.2-service.widevine.rc import android.hardware.drm@1.2-service.widevine.rc
import init.exynos.sensorhub.rc import init.exynos.sensorhub.rc
import /vendor/etc/init/hw/init.aoc.rc import /vendor/etc/init/hw/init.aoc.rc
@ -249,7 +249,7 @@ on late-fs
class_start animation class_start animation
# Mount RW partitions which need run fsck # Mount RW partitions which need run fsck
mount_all /vendor/etc/fstab.gs101 --late mount_all /vendor/etc/fstab.gs201 --late
on post-fs-data on post-fs-data
# Log data folder # Log data folder
@ -442,7 +442,7 @@ on property:persist.vendor.radio.no_modem_board=1
setprop ro.radio.noril yes setprop ro.radio.noril yes
on fs on fs
mount_all /vendor/etc/fstab.gs101 --early mount_all /vendor/etc/fstab.gs201 --early
restorecon_recursive /mnt/vendor/efs restorecon_recursive /mnt/vendor/efs
chown radio system /mnt/vendor/efs chown radio system /mnt/vendor/efs
restorecon_recursive /mnt/vendor/efs_backup restorecon_recursive /mnt/vendor/efs_backup
@ -739,7 +739,7 @@ on property:persist.vendor.charge.stop.level=*
on property:persist.vendor.charge.start.level=* on property:persist.vendor.charge.start.level=*
write /sys/devices/platform/google,charger/charge_start_level ${persist.vendor.charge.start.level} write /sys/devices/platform/google,charger/charge_start_level ${persist.vendor.charge.start.level}
service insmod_sh_common /vendor/bin/init.insmod.sh /vendor/etc/init.insmod.gs101.cfg service insmod_sh_common /vendor/bin/init.insmod.sh /vendor/etc/init.insmod.gs201.cfg
class main class main
user root user root
group root system group root system

View file

@ -25,7 +25,7 @@ PRODUCT_COPY_FILES += \
# Set system properties identifying the chipset # Set system properties identifying the chipset
PRODUCT_VENDOR_PROPERTIES += ro.soc.manufacturer=Google PRODUCT_VENDOR_PROPERTIES += ro.soc.manufacturer=Google
PRODUCT_VENDOR_PROPERTIES += ro.soc.model=GS101 PRODUCT_VENDOR_PROPERTIES += ro.soc.model=GS201
PRODUCT_PRODUCT_PROPERTIES += \ PRODUCT_PRODUCT_PROPERTIES += \
persist.vendor.testing_battery_profile=0 persist.vendor.testing_battery_profile=0

View file

@ -26,5 +26,5 @@ include device/google/gs201/device-common.mk
# android.hardware.secure_element@1.2-service-gto-ese2 # android.hardware.secure_element@1.2-service-gto-ese2
#PRODUCT_COPY_FILES += \ #PRODUCT_COPY_FILES += \
# device/google/gs101/nfc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf \ # device/google/gs201/nfc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf \
# device/google/gs101/nfc/libse-gto-hal2.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal2.conf # device/google/gs201/nfc/libse-gto-hal2.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal2.conf

View file

@ -14,7 +14,7 @@
# limitations under the License. # limitations under the License.
# #
TARGET_BOARD_PLATFORM := gs101 TARGET_BOARD_PLATFORM := gs201
ifneq (,$(filter %_64,$(TARGET_PRODUCT))) ifneq (,$(filter %_64,$(TARGET_PRODUCT)))
LOCAL_64ONLY := _64 LOCAL_64ONLY := _64
@ -33,7 +33,7 @@ PRODUCT_SOONG_NAMESPACES += \
hardware/google/av \ hardware/google/av \
hardware/google/gchips \ hardware/google/gchips \
hardware/google/graphics/common \ hardware/google/graphics/common \
hardware/google/graphics/gs101 \ hardware/google/graphics/gs201 \
hardware/google/interfaces \ hardware/google/interfaces \
hardware/google/pixel \ hardware/google/pixel \
device/google/gs201 \ device/google/gs201 \
@ -191,11 +191,11 @@ PRODUCT_ENFORCE_PRODUCT_PARTITION_INTERFACE := true
# Init files # Init files
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
$(LOCAL_KERNEL):kernel \ $(LOCAL_KERNEL):kernel \
device/google/gs201/conf/init.gs101.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.gs101.usb.rc \ device/google/gs201/conf/init.gs201.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.gs201.usb.rc \
device/google/gs201/conf/ueventd.gs101.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc device/google/gs201/conf/ueventd.gs201.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
device/google/gs201/conf/init.gs101.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.gs101.rc device/google/gs201/conf/init.gs201.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.gs201.rc
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
@ -213,13 +213,13 @@ endif
# Recovery files # Recovery files
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
device/google/gs201/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.gs101.rc device/google/gs201/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.gs201.rc
# Fstab files # Fstab files
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
device/google/gs201/conf/fstab.gs101:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.gs101 \ device/google/gs201/conf/fstab.gs201:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.gs201 \
device/google/gs201/conf/fstab.persist:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.persist \ device/google/gs201/conf/fstab.persist:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.persist \
device/google/gs201/conf/fstab.gs101:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.gs101 device/google/gs201/conf/fstab.gs201:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.gs201
# Shell scripts # Shell scripts
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
@ -227,7 +227,7 @@ PRODUCT_COPY_FILES += \
# insmod files # insmod files
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
device/google/gs201/init.insmod.gs101.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.gs101.cfg device/google/gs201/init.insmod.gs201.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.gs201.cfg
# For creating dtbo image # For creating dtbo image
PRODUCT_HOST_PACKAGES += \ PRODUCT_HOST_PACKAGES += \
@ -316,7 +316,7 @@ PRODUCT_PACKAGES += \
# USB HAL # USB HAL
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.usb@1.3-service.gs101 android.hardware.usb@1.3-service.gs201
# MIDI feature # MIDI feature
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
@ -354,7 +354,7 @@ PRODUCT_PACKAGES += \
# dumpstate HAL # dumpstate HAL
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.dumpstate@1.1-service.gs101 android.hardware.dumpstate@1.1-service.gs201
# AoC support # AoC support
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
@ -465,7 +465,7 @@ SOONG_CONFIG_google3a_config += \
ghawb_truetone \ ghawb_truetone \
target_device target_device
SOONG_CONFIG_google3a_config_soc := gs101 SOONG_CONFIG_google3a_config_soc := gs201
SOONG_CONFIG_google3a_config_gcam_awb := true SOONG_CONFIG_google3a_config_gcam_awb := true
SOONG_CONFIG_google3a_config_ghawb_truetone := true SOONG_CONFIG_google3a_config_ghawb_truetone := true
SOONG_CONFIG_google3a_config_target_device := $(LOCAL_TARGET_PRODUCT) SOONG_CONFIG_google3a_config_target_device := $(LOCAL_TARGET_PRODUCT)
@ -657,7 +657,7 @@ endif
SOONG_CONFIG_NAMESPACES += bigo SOONG_CONFIG_NAMESPACES += bigo
SOONG_CONFIG_bigo += soc SOONG_CONFIG_bigo += soc
SOONG_CONFIG_bigo_soc := gs101 SOONG_CONFIG_bigo_soc := gs201
# MFC firmware # MFC firmware
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
@ -846,7 +846,7 @@ PRODUCT_PACKAGES += \
libbccArm32 \ libbccArm32 \
libmalicore32 \ libmalicore32 \
libOpenCL32 \ libOpenCL32 \
vulkan.gs10132 vulkan.gs20132
endif endif
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
@ -856,7 +856,7 @@ PRODUCT_PACKAGES += \
libbccArm \ libbccArm \
libmalicore \ libmalicore \
libOpenCL \ libOpenCL \
vulkan.gs101 \ vulkan.gs201 \
whitelist \ whitelist \
libstagefright_hdcp \ libstagefright_hdcp \
libskia_opt libskia_opt
@ -891,8 +891,8 @@ PRODUCT_PACKAGES += ShannonRcs
# Boot Control HAL # Boot Control HAL
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.boot@1.2-impl-gs101 \ android.hardware.boot@1.2-impl-gs201 \
android.hardware.boot@1.2-service-gs101 android.hardware.boot@1.2-service-gs201
# Exynos RIL and telephony # Exynos RIL and telephony
# Multi SIM(DSDS) # Multi SIM(DSDS)
@ -916,7 +916,7 @@ else
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk)
endif endif
#$(call inherit-product, hardware/google_devices/exynos5/exynos5.mk) #$(call inherit-product, hardware/google_devices/exynos5/exynos5.mk)
#$(call inherit-product-if-exists, hardware/google_devices/gs101/gs101.mk) #$(call inherit-product-if-exists, hardware/google_devices/gs201/gs201.mk)
#$(call inherit-product-if-exists, vendor/google_devices/common/exynos-vendor.mk) #$(call inherit-product-if-exists, vendor/google_devices/common/exynos-vendor.mk)
#$(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4375/device-bcm.mk) #$(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4375/device-bcm.mk)
#$(call inherit-product-if-exists, vendor/google/sensors/usf/android/usf_efw_product.mk) #$(call inherit-product-if-exists, vendor/google/sensors/usf/android/usf_efw_product.mk)
@ -967,7 +967,7 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.health@2.1-impl-gs101 \ android.hardware.health@2.1-impl-gs201 \
android.hardware.health@2.1-service android.hardware.health@2.1-service
# Audio # Audio

View file

@ -16,11 +16,11 @@
LOCAL_PATH:= $(call my-dir) LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS) include $(CLEAR_VARS)
LOCAL_MODULE := android.hardware.dumpstate@1.1-service.gs101 LOCAL_MODULE := android.hardware.dumpstate@1.1-service.gs201
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
LOCAL_LICENSE_CONDITIONS := notice LOCAL_LICENSE_CONDITIONS := notice
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../NOTICE LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../NOTICE
LOCAL_INIT_RC := android.hardware.dumpstate@1.1-service.gs101.rc LOCAL_INIT_RC := android.hardware.dumpstate@1.1-service.gs201.rc
LOCAL_MODULE_RELATIVE_PATH := hw LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SRC_FILES := \ LOCAL_SRC_FILES := \

View file

@ -1,4 +1,4 @@
service vendor.dumpstate-1-1 /vendor/bin/hw/android.hardware.dumpstate@1.1-service.gs101 service vendor.dumpstate-1-1 /vendor/bin/hw/android.hardware.dumpstate@1.1-service.gs201
class hal class hal
user system user system
group system group system

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#define LOG_TAG "android.hardware.dumpstate@1.0-service.gs101" #define LOG_TAG "android.hardware.dumpstate@1.0-service.gs201"
#include <hidl/HidlSupport.h> #include <hidl/HidlSupport.h>
#include <hidl/HidlTransportSupport.h> #include <hidl/HidlTransportSupport.h>

View file

@ -1,11 +1,11 @@
package { package {
// See: http://go/android-license-faq // See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import // A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "//device/google/gs201:device_google_gs101_license" // all of the 'license_kinds' from "//device/google/gs201:device_google_gs201_license"
// to get the below license kinds: // to get the below license kinds:
// SPDX-license-identifier-Apache-2.0 // SPDX-license-identifier-Apache-2.0
default_applicable_licenses: [ default_applicable_licenses: [
"//device/google/gs201:device_google_gs101_license", "//device/google/gs201:device_google_gs201_license",
], ],
} }

View file

@ -1,11 +1,11 @@
package { package {
// See: http://go/android-license-faq // See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import // A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "//device/google/gs201:device_google_gs101_license" // all of the 'license_kinds' from "//device/google/gs201:device_google_gs201_license"
// to get the below license kinds: // to get the below license kinds:
// SPDX-license-identifier-Apache-2.0 // SPDX-license-identifier-Apache-2.0
default_applicable_licenses: [ default_applicable_licenses: [
"//device/google/gs201:device_google_gs101_license", "//device/google/gs201:device_google_gs201_license",
], ],
} }

View file

@ -1,11 +1,11 @@
package { package {
// See: http://go/android-license-faq // See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import // A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "//device/google/gs201:device_google_gs101_license" // all of the 'license_kinds' from "//device/google/gs201:device_google_gs201_license"
// to get the below license kinds: // to get the below license kinds:
// SPDX-license-identifier-Apache-2.0 // SPDX-license-identifier-Apache-2.0
default_applicable_licenses: [ default_applicable_licenses: [
"//device/google/gs201:device_google_gs101_license", "//device/google/gs201:device_google_gs201_license",
], ],
} }

View file

@ -18,11 +18,11 @@ soong_namespace {
package { package {
// See: http://go/android-license-faq // See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import // A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "//device/google/gs201:device_google_gs101_license" // all of the 'license_kinds' from "//device/google/gs201:device_google_gs201_license"
// to get the below license kinds: // to get the below license kinds:
// SPDX-license-identifier-Apache-2.0 // SPDX-license-identifier-Apache-2.0
default_applicable_licenses: [ default_applicable_licenses: [
"//device/google/gs201:device_google_gs101_license", "//device/google/gs201:device_google_gs201_license",
], ],
} }

View file

@ -17,17 +17,17 @@
package { package {
// See: http://go/android-license-faq // See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import // A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "//device/google/gs201:device_google_gs101_license" // all of the 'license_kinds' from "//device/google/gs201:device_google_gs201_license"
// to get the below license kinds: // to get the below license kinds:
// SPDX-license-identifier-Apache-2.0 // SPDX-license-identifier-Apache-2.0
default_applicable_licenses: [ default_applicable_licenses: [
"//device/google/gs201:device_google_gs101_license", "//device/google/gs201:device_google_gs201_license",
], ],
} }
cc_library_shared { cc_library_shared {
name: "android.hardware.health@2.1-impl-gs101", name: "android.hardware.health@2.1-impl-gs201",
stem: "android.hardware.health@2.0-impl-2.1-gs101", stem: "android.hardware.health@2.0-impl-2.1-gs201",
proprietary: true, proprietary: true,
relative_install_path: "hw", relative_install_path: "hw",

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#define LOG_TAG "android.hardware.health@2.1-impl-gs101" #define LOG_TAG "android.hardware.health@2.1-impl-gs201"
#include <android-base/logging.h> #include <android-base/logging.h>
#include <android-base/file.h> #include <android-base/file.h>

View file

@ -16,20 +16,20 @@
package { package {
// See: http://go/android-license-faq // See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import // A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "//device/google/gs201:device_google_gs101_license" // all of the 'license_kinds' from "//device/google/gs201:device_google_gs201_license"
// to get the below license kinds: // to get the below license kinds:
// SPDX-license-identifier-Apache-2.0 // SPDX-license-identifier-Apache-2.0
default_applicable_licenses: [ default_applicable_licenses: [
"//device/google/gs201:device_google_gs101_license", "//device/google/gs201:device_google_gs201_license",
], ],
} }
cc_binary { cc_binary {
name: "android.hardware.boot@1.0-service-gs101", name: "android.hardware.boot@1.0-service-gs201",
defaults: ["hidl_defaults"], defaults: ["hidl_defaults"],
relative_install_path: "hw", relative_install_path: "hw",
vendor: true, vendor: true,
init_rc: ["android.hardware.boot@1.0-service-gs101.rc"], init_rc: ["android.hardware.boot@1.0-service-gs201.rc"],
srcs: [ srcs: [
"BootControl.cpp", "BootControl.cpp",
"GptUtils.cpp", "GptUtils.cpp",
@ -47,7 +47,7 @@ cc_binary {
} }
cc_library { cc_library {
name: "android.hardware.boot@1.0-impl-gs101", name: "android.hardware.boot@1.0-impl-gs201",
recovery: true, recovery: true,
srcs: [ srcs: [
"BootControl.cpp", "BootControl.cpp",

View file

@ -1,4 +1,4 @@
service vendor.boot-hal-1-0 /vendor/bin/hw/android.hardware.boot@1.0-service-gs101 service vendor.boot-hal-1-0 /vendor/bin/hw/android.hardware.boot@1.0-service-gs201
class early_hal class early_hal
user root user root
group root group root

View file

@ -16,20 +16,20 @@
package { package {
// See: http://go/android-license-faq // See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import // A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "//device/google/gs201:device_google_gs101_license" // all of the 'license_kinds' from "//device/google/gs201:device_google_gs201_license"
// to get the below license kinds: // to get the below license kinds:
// SPDX-license-identifier-Apache-2.0 // SPDX-license-identifier-Apache-2.0
default_applicable_licenses: [ default_applicable_licenses: [
"//device/google/gs201:device_google_gs101_license", "//device/google/gs201:device_google_gs201_license",
], ],
} }
cc_binary { cc_binary {
name: "android.hardware.boot@1.2-service-gs101", name: "android.hardware.boot@1.2-service-gs201",
defaults: ["hidl_defaults"], defaults: ["hidl_defaults"],
relative_install_path: "hw", relative_install_path: "hw",
vendor: true, vendor: true,
init_rc: ["android.hardware.boot@1.2-service-gs101.rc"], init_rc: ["android.hardware.boot@1.2-service-gs201.rc"],
srcs: [ srcs: [
"BootControl.cpp", "BootControl.cpp",
"GptUtils.cpp", "GptUtils.cpp",
@ -54,8 +54,8 @@ cc_binary {
} }
cc_library { cc_library {
name: "android.hardware.boot@1.2-impl-gs101", name: "android.hardware.boot@1.2-impl-gs201",
stem: "android.hardware.boot@1.0-impl-1.2-impl-gs101", stem: "android.hardware.boot@1.0-impl-1.2-impl-gs201",
recovery: true, recovery: true,
srcs: [ srcs: [
"BootControl.cpp", "BootControl.cpp",

View file

@ -1,4 +1,4 @@
service vendor.boot-hal-1-2 /vendor/bin/hw/android.hardware.boot@1.2-service-gs101 service vendor.boot-hal-1-2 /vendor/bin/hw/android.hardware.boot@1.2-service-gs201
interface android.hardware.boot@1.0::IBootControl default interface android.hardware.boot@1.0::IBootControl default
interface android.hardware.boot@1.1::IBootControl default interface android.hardware.boot@1.1::IBootControl default
interface android.hardware.boot@1.2::IBootControl default interface android.hardware.boot@1.2::IBootControl default

View file

@ -16,11 +16,11 @@
package { package {
// See: http://go/android-license-faq // See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import // A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "//device/google/gs201:device_google_gs101_license" // all of the 'license_kinds' from "//device/google/gs201:device_google_gs201_license"
// to get the below license kinds: // to get the below license kinds:
// SPDX-license-identifier-Apache-2.0 // SPDX-license-identifier-Apache-2.0
default_applicable_licenses: [ default_applicable_licenses: [
"//device/google/gs201:device_google_gs101_license", "//device/google/gs201:device_google_gs201_license",
], ],
} }

View file

@ -16,17 +16,17 @@
package { package {
// See: http://go/android-license-faq // See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import // A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "//device/google/gs201:device_google_gs101_license" // all of the 'license_kinds' from "//device/google/gs201:device_google_gs201_license"
// to get the below license kinds: // to get the below license kinds:
// SPDX-license-identifier-Apache-2.0 // SPDX-license-identifier-Apache-2.0
default_applicable_licenses: [ default_applicable_licenses: [
"//device/google/gs201:device_google_gs101_license", "//device/google/gs201:device_google_gs201_license",
], ],
} }
cc_binary { cc_binary {
name: "pixelstats-vendor", name: "pixelstats-vendor",
init_rc: ["pixelstats-vendor.gs101.rc"], init_rc: ["pixelstats-vendor.gs201.rc"],
srcs: [ srcs: [
"service.cpp", "service.cpp",
], ],

View file

@ -14,16 +14,16 @@
package { package {
// See: http://go/android-license-faq // See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import // A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "//device/google/gs201:device_google_gs101_license" // all of the 'license_kinds' from "//device/google/gs201:device_google_gs201_license"
// to get the below license kinds: // to get the below license kinds:
// SPDX-license-identifier-Apache-2.0 // SPDX-license-identifier-Apache-2.0
default_applicable_licenses: [ default_applicable_licenses: [
"//device/google/gs201:device_google_gs101_license", "//device/google/gs201:device_google_gs201_license",
], ],
} }
cc_library { cc_library {
name: "android.hardware.power.stats-impl.gs101", name: "android.hardware.power.stats-impl.gs201",
vendor_available: true, vendor_available: true,
export_include_dirs: ["include"], export_include_dirs: ["include"],
defaults: ["powerstats_pixel_defaults"], defaults: ["powerstats_pixel_defaults"],

View file

@ -15,7 +15,7 @@
*/ */
#include <PowerStatsAidl.h> #include <PowerStatsAidl.h>
#include <Gs101CommonDataProviders.h> #include <Gs201CommonDataProviders.h>
#include "AocStateResidencyDataProvider.h" #include "AocStateResidencyDataProvider.h"
#include "DevfreqStateResidencyDataProvider.h" #include "DevfreqStateResidencyDataProvider.h"
#include "DvfsStateResidencyDataProvider.h" #include "DvfsStateResidencyDataProvider.h"
@ -683,7 +683,7 @@ void addPixelStateResidencyDataProvider(std::shared_ptr<PowerStats> p) {
p->addStateResidencyDataProvider(std::move(pixelSdp)); p->addStateResidencyDataProvider(std::move(pixelSdp));
} }
void addGs101CommonDataProviders(std::shared_ptr<PowerStats> p) { void addGs201CommonDataProviders(std::shared_ptr<PowerStats> p) {
setEnergyMeter(p); setEnergyMeter(p);
addPixelStateResidencyDataProvider(p); addPixelStateResidencyDataProvider(p);

View file

@ -20,6 +20,6 @@
using aidl::android::hardware::power::stats::PowerStats; using aidl::android::hardware::power::stats::PowerStats;
void addGs101CommonDataProviders(std::shared_ptr<PowerStats> p); void addGs201CommonDataProviders(std::shared_ptr<PowerStats> p);
void addNFC(std::shared_ptr<PowerStats> p, const std::string& path); void addNFC(std::shared_ptr<PowerStats> p, const std::string& path);

View file

@ -1,11 +1,11 @@
package { package {
// See: http://go/android-license-faq // See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import // A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "//device/google/gs201:device_google_gs101_license" // all of the 'license_kinds' from "//device/google/gs201:device_google_gs201_license"
// to get the below license kinds: // to get the below license kinds:
// SPDX-license-identifier-Apache-2.0 // SPDX-license-identifier-Apache-2.0
default_applicable_licenses: [ default_applicable_licenses: [
"//device/google/gs201:device_google_gs101_license", "//device/google/gs201:device_google_gs201_license",
], ],
} }

View file

@ -23,7 +23,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE_RELATIVE_PATH := hw LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SHARED_LIBRARIES := liblog libcutils libhardware LOCAL_SHARED_LIBRARIES := liblog libcutils libhardware
LOCAL_SRC_FILES := sensors_dummy.c LOCAL_SRC_FILES := sensors_dummy.c
LOCAL_MODULE := sensors.gs101 LOCAL_MODULE := sensors.gs201
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
LOCAL_LICENSE_CONDITIONS := notice LOCAL_LICENSE_CONDITIONS := notice
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../NOTICE LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../NOTICE

View file

@ -16,21 +16,21 @@
package { package {
// See: http://go/android-license-faq // See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import // A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "//device/google/gs201:device_google_gs101_license" // all of the 'license_kinds' from "//device/google/gs201:device_google_gs201_license"
// to get the below license kinds: // to get the below license kinds:
// SPDX-license-identifier-Apache-2.0 // SPDX-license-identifier-Apache-2.0
default_applicable_licenses: [ default_applicable_licenses: [
"//device/google/gs201:device_google_gs101_license", "//device/google/gs201:device_google_gs201_license",
], ],
} }
cc_binary { cc_binary {
name: "android.hardware.usb@1.3-service.gs101", name: "android.hardware.usb@1.3-service.gs201",
relative_install_path: "hw", relative_install_path: "hw",
init_rc: ["android.hardware.usb@1.3-service.gs101.rc"], init_rc: ["android.hardware.usb@1.3-service.gs201.rc"],
vintf_fragments: [ vintf_fragments: [
"android.hardware.usb@1.3-service.gs101.xml", "android.hardware.usb@1.3-service.gs201.xml",
"android.hardware.usb.gadget@1.2-service.gs101.xml", "android.hardware.usb.gadget@1.2-service.gs201.xml",
], ],
srcs: ["service.cpp", "Usb.cpp", "UsbGadget.cpp"], srcs: ["service.cpp", "Usb.cpp", "UsbGadget.cpp"],
cflags: ["-Wall", "-Werror"], cflags: ["-Wall", "-Werror"],

View file

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#define LOG_TAG "android.hardware.usb@1.3-service.gs101" #define LOG_TAG "android.hardware.usb@1.3-service.gs201"
#include <android-base/logging.h> #include <android-base/logging.h>
#include <android-base/properties.h> #include <android-base/properties.h>

View file

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#define LOG_TAG "android.hardware.usb.gadget@1.2-service.gs101" #define LOG_TAG "android.hardware.usb.gadget@1.2-service.gs201"
#include "UsbGadget.h" #include "UsbGadget.h"
#include <dirent.h> #include <dirent.h>

View file

@ -1,4 +1,4 @@
service vendor.usb-hal-1-3 /vendor/bin/hw/android.hardware.usb@1.3-service.gs101 service vendor.usb-hal-1-3 /vendor/bin/hw/android.hardware.usb@1.3-service.gs201
class hal class hal
user system user system
group system shell mtp group system shell mtp

View file

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#define LOG_TAG "android.hardware.usb@1.3-service.gs101" #define LOG_TAG "android.hardware.usb@1.3-service.gs201"
#include <hidl/HidlTransportSupport.h> #include <hidl/HidlTransportSupport.h>
#include "Usb.h" #include "Usb.h"