change xiaomi -> lenovo

This commit is contained in:
Charlotte D 2018-11-18 18:01:38 +00:00
parent d76a571a43
commit edadce3968
14 changed files with 17 additions and 17 deletions

View file

@ -26,7 +26,7 @@
LOCAL_PATH := $(call my-dir)
ifneq ($(filter land santoni,$(TARGET_DEVICE)),)
ifneq ($(filter karate,$(TARGET_DEVICE)),)
include $(call all-makefiles-under,$(LOCAL_PATH))

View file

@ -15,7 +15,7 @@
# limitations under the License.
#
VENDOR_PATH := device/xiaomi/msm8937-common
VENDOR_PATH := device/lenovo/msm8937-common
# Bootloader
TARGET_BOOTLOADER_BOARD_NAME := MSM8937
@ -189,4 +189,4 @@ WIFI_DRIVER_FW_PATH_STA := "sta"
WPA_SUPPLICANT_VERSION := VER_0_8_X
# Inherit the common proprietary files
-include vendor/xiaomi/msm8937-common/BoardConfigVendor.mk
-include vendor/lenovo/msm8937-common/BoardConfigVendor.mk

View file

@ -1,4 +1,4 @@
# Common device configuration for Xiaomi MSM8937
# Common device configuration for Lenovo MSM8937
## Copyright

View file

@ -1,8 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8937
LOCAL_INIT_RC := android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8937.rc
LOCAL_MODULE := android.hardware.biometrics.fingerprint@2.1-service.lenovo_msm8937
LOCAL_INIT_RC := android.hardware.biometrics.fingerprint@2.1-service.lenovo_msm8937.rc
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SRC_FILES := \

View file

@ -1,4 +1,4 @@
service fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8937
service fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.lenovo_msm8937
# "class hal" causes a race condition on some devices due to files created
# in /data. As a workaround, postpone startup until later in boot once
# /data is mounted.

View file

@ -14,7 +14,7 @@
* limitations under the License.
*/
#define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8937"
#define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.lenovo_msm8937"
#include <binder/IPCThreadState.h>
#include <binder/IServiceManager.h>

View file

@ -5,7 +5,7 @@ LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_PACKAGE_NAME := XiaomiDoze
LOCAL_PACKAGE_NAME := LenovoDoze
LOCAL_CERTIFICATE := platform
LOCAL_PRIVATE_PLATFORM_APIS := true

View file

@ -42,7 +42,7 @@
</receiver>
<service android:name=".DozeService"
android:permission="XiaomiDozeService">
android:permission="LenovoDozeService">
</service>
<activity

View file

@ -25,7 +25,7 @@ import android.util.Log;
public class BootCompletedReceiver extends BroadcastReceiver {
private static final boolean DEBUG = false;
private static final String TAG = "XiaomiDoze";
private static final String TAG = "LenovoDoze";
@Override
public void onReceive(final Context context, Intent intent) {

View file

@ -19,7 +19,7 @@
set -e
DEVICE_COMMON=msm8937-common
VENDOR=xiaomi
VENDOR=lenovo
# Load extract_utils and do some sanity checks
MY_DIR="${BASH_SOURCE%/*}"

View file

@ -5,6 +5,6 @@
},
{
"repository": "android_kernel_xiaomi_msm8937",
"target_path": "kernel/xiaomi/msm8937"
"target_path": "kernel/lenovo/msm8937"
}
]

View file

@ -1,5 +1,5 @@
# Biometric
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.xiaomi_msm8937 u:object_r:hal_fingerprint_msm8937_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.lenovo_msm8937 u:object_r:hal_fingerprint_msm8937_exec:s0
# Bluetooth
/(vendor|system/vendor)/bin/hci_qcomm_init u:object_r:bluetooth_loader_exec:s0

View file

@ -19,7 +19,7 @@
set -e
DEVICE_COMMON=msm8937-common
VENDOR=xiaomi
VENDOR=lenovo
INITIAL_COPYRIGHT_YEAR=2018
@ -40,7 +40,7 @@ fi
setup_vendor "$DEVICE_COMMON" "$VENDOR" "$LINEAGE_ROOT" true
# Copyright headers and guards
write_headers "land santoni"
write_headers "karate"
# The standard common blobs
write_makefiles "$MY_DIR"/proprietary-files-qc.txt true

View file

@ -20,7 +20,7 @@ from hashlib import sha1
import sys
device='msm8937-common'
vendor='xiaomi'
vendor='lenovo'
lines = [ line for line in open('proprietary-files-qc.txt', 'r') ]
vendorPath = '../../../vendor/' + vendor + '/' + device + '/proprietary'