klee: Update blobs
Change-Id: I79b322b71a771fe9e0061a235a20fd17cb720c1b Signed-off-by: kylieeXD <khayloaftck@gmail.com>
This commit is contained in:
8 files changed
+48
-58
No files matched your search
@@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2018 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<permissions>
|
||||
<library
|
||||
name="com.android.hotwordenrollment.common.util"
|
||||
file="/system_ext/framework/com.android.hotwordenrollment.common.util.jar"
|
||||
/>
|
||||
</permissions>
|
||||
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+31
@@ -0,0 +1,31 @@
|
||||
#!/vendor/bin/sh
|
||||
|
||||
default_fact_prop=$(getprop ro.soc.manufacturer)
|
||||
|
||||
if [ "$default_fact_prop" == "" ]; then
|
||||
fact_val=$(cat /sys/devices/soc0/family)
|
||||
/vendor/bin/setprop ro.vendor.soc.manufacturer ${fact_val}
|
||||
fi
|
||||
|
||||
default_soc_prop=$(getprop ro.soc.model)
|
||||
|
||||
if [ "$default_soc_prop" == "" ]; then
|
||||
soc_val=$(cat /sys/devices/soc0/soc_id)
|
||||
/vendor/bin/setprop ro.vendor.soc.model ${soc_val}
|
||||
else
|
||||
soc_val="$default_soc_prop"
|
||||
fi
|
||||
|
||||
soc_ext_val=$(cat /proc/device-tree/model-external-name 2>/dev/null)
|
||||
if [ -z "$soc_ext_val" ]; then
|
||||
soc_ext_val=${soc_val}
|
||||
fi
|
||||
/vendor/bin/setprop ro.vendor.soc.model.external_name ${soc_ext_val}
|
||||
|
||||
soc_part_val=$(cat /proc/device-tree/model-part-name 2>/dev/null)
|
||||
if [ -z "$soc_part_val" ]; then
|
||||
soc_part_val=${soc_val}
|
||||
fi
|
||||
/vendor/bin/setprop ro.vendor.soc.model.part_name ${soc_part_val}
|
||||
|
||||
/vendor/bin/setprop ro.vendor.soc.model_ready 1
|
||||
@@ -0,0 +1,7 @@
|
||||
on early-init
|
||||
exec_background - system system -- /vendor/bin/chipinfo
|
||||
|
||||
on post-fs-data
|
||||
wait_for_prop ro.vendor.soc.model_ready 1
|
||||
setprop ro.soc.model ${ro.vendor.soc.model}
|
||||
setprop ro.soc.manufacturer ${ro.vendor.soc.manufacturer}
|
||||
Reference in new issue
Block a user