sm8250-common: Rework folder structure
Change-Id: I587c8a33848f139ea8a9cc7afae186b96faee9d6
This commit is contained in:
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (c) 2016, 2020 Qualcomm Technologies, Inc.
|
||||
All Rights Reserved.
|
||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
-->
|
||||
|
||||
<permissions>
|
||||
<library name="com.qualcomm.qti.audiosphere"
|
||||
file="/system_ext/framework/audiosphere.jar" />
|
||||
</permissions>
|
||||
@@ -0,0 +1,22 @@
|
||||
<?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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Vendored
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+48
@@ -0,0 +1,48 @@
|
||||
#! /vendor/bin/sh
|
||||
|
||||
#
|
||||
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
# Copyright (c) 2019 The Linux Foundation. All rights reserved.
|
||||
#
|
||||
|
||||
export PATH=/vendor/bin
|
||||
|
||||
soc_id=`getprop ro.vendor.qti.soc_id`
|
||||
if [ "$soc_id" -eq 415 ] || [ "$soc_id" -eq 439 ] || [ "$soc_id" -eq 450 ]; then
|
||||
setprop persist.vendor.hvdcp_opti.start 2
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "$soc_id" -eq 441 ] || [ "$soc_id" -eq 471 ]; then
|
||||
#Scuba does not support usb-pd or charge pumps
|
||||
find /sys/class/power_supply/battery/ -type f | xargs chown system.system
|
||||
find /sys/class/power_supply/bms/ -type f | xargs chown system.system
|
||||
find /sys/class/power_supply/main/ -type f | xargs chown system.system
|
||||
find /sys/class/power_supply/usb/ -type f | xargs chown system.system
|
||||
else
|
||||
find /sys/class/power_supply/battery/ -type f | xargs chown system.system
|
||||
find /sys/class/power_supply/bms/ -type f | xargs chown system.system
|
||||
find /sys/class/power_supply/main/ -type f | xargs chown system.system
|
||||
find /sys/class/power_supply/usb/ -type f | xargs chown system.system
|
||||
find /sys/class/power_supply/charge_pump_master/ -type f | xargs chown system.system
|
||||
find /sys/class/power_supply/pc_port/ -type f | xargs chown system.system
|
||||
find /sys/class/power_supply/dc/ -type f | xargs chown system.system
|
||||
find /sys/class/power_supply/parallel/ -type f | xargs chown system.system
|
||||
find /sys/class/usbpd/usbpd0/ -type f | xargs chown system.system
|
||||
find /sys/class/qc-vdm/ -type f | xargs chown system.system
|
||||
find /sys/class/charge_pump/ -type f | xargs chown system.system
|
||||
find /sys/class/qcom-battery/ -type f | xargs chown system.system
|
||||
|
||||
for i in 0 1 2 3 4 5 6 7 8 9
|
||||
do
|
||||
devname=`cat /sys/bus/iio/devices/iio:device$i/name`
|
||||
if [[ "$devname" == *smb* ]] || [[ "$devname" == *qg* ]] || [[ "$devname" == *div2_cp* ]]; then
|
||||
find /sys/bus/iio/devices/iio:device$i/ -type f | xargs chown system.system
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
setprop persist.vendor.hvdcp_opti.start 1
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
#! /vendor/bin/sh
|
||||
#=============================================================================
|
||||
# Copyright (c) 2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#=============================================================================
|
||||
|
||||
soc_id=`cat /sys/devices/soc0/soc_id` 2> /dev/null
|
||||
|
||||
# Store soc_id in ro.vendor.qti.soc_id
|
||||
setprop ro.vendor.qti.soc_id $soc_id
|
||||
|
||||
# For chipsets in QCV family, convert soc_id to soc_name
|
||||
# and store it in ro.vendor.qti.soc_name.
|
||||
if [ "$soc_id" -eq 415 ] || [ "$soc_id" -eq 439 ] || [ "$soc_id" -eq 456 ]; then
|
||||
setprop ro.vendor.qti.soc_name lahaina
|
||||
elif [ "$soc_id" -eq 450 ]; then
|
||||
setprop ro.vendor.qti.soc_name shima
|
||||
fi
|
||||
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Bluetooth Input Audio HAL Audio Policy Configuration file -->
|
||||
<module name="a2dpsink" halVersion="2.0">
|
||||
<mixPorts>
|
||||
<mixPort name="a2dp input" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
</mixPorts>
|
||||
<devicePorts>
|
||||
<devicePort tagName="BT A2DP In" type="AUDIO_DEVICE_IN_BLUETOOTH_A2DP" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</devicePort>
|
||||
</devicePorts>
|
||||
<routes>
|
||||
<route type="mix" sink="a2dp input"
|
||||
sources="BT A2DP In"/>
|
||||
</routes>
|
||||
</module>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+67
@@ -0,0 +1,67 @@
|
||||
# Copyright (c) 2019, The Linux Foundation. All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
# met:
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following
|
||||
# disclaimer in the documentation and/or other materials provided
|
||||
# with the distribution.
|
||||
# * Neither the name of The Linux Foundation nor the names of its
|
||||
# contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
|
||||
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
|
||||
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#RAS_TEST_SPKR_PHONE_SPKR_STEREO
|
||||
acdb_dev_id:136
|
||||
!Playback
|
||||
Rxdevice:0
|
||||
|
||||
enable
|
||||
WSA_CDC_DMA_RX_0 Channels:Two
|
||||
WSA RX0 MUX:AIF1_PB
|
||||
WSA RX1 MUX:AIF1_PB
|
||||
WSA_RX0 INP0:RX0
|
||||
WSA_RX1 INP0:RX1
|
||||
WSA_COMP1 Switch:1
|
||||
WSA_COMP2 Switch:1
|
||||
SpkrLeft COMP Switch:1
|
||||
SpkrRight COMP Switch:1
|
||||
SpkrLeft BOOST Switch:1
|
||||
SpkrRight BOOST Switch:1
|
||||
SpkrLeft VISENSE Switch:1
|
||||
SpkrRight VISENSE Switch:1
|
||||
SpkrLeft SWR DAC_Port Switch:1
|
||||
SpkrRight SWR DAC_Port Switch:1
|
||||
WSA_RX0 Digital Volume:62
|
||||
WSA_RX1 Digital Volume:62
|
||||
WSA_CDC_DMA_RX_0 Audio Mixer MultiMedia1:1
|
||||
|
||||
disable
|
||||
WSA RX0 MUX:ZERO
|
||||
WSA RX1 MUX:ZERO
|
||||
WSA_RX0 INP0:ZERO
|
||||
WSA_RX1 INP0:ZERO
|
||||
WSA_COMP1 Switch:0
|
||||
WSA_COMP2 Switch:0
|
||||
SpkrLeft COMP Switch:0
|
||||
SpkrRight COMP Switch:0
|
||||
SpkrLeft BOOST Switch:0
|
||||
SpkrRight BOOST Switch:0
|
||||
SpkrLeft VISENSE Switch:0
|
||||
SpkrRight VISENSE Switch:0
|
||||
SpkrLeft SWR DAC_Port Switch:0
|
||||
SpkrRight SWR DAC_Port Switch:0
|
||||
WSA_CDC_DMA_RX_0 Audio Mixer MultiMedia1:0
|
||||
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
#
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
# Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
|
||||
#
|
||||
|
||||
# Android fstab file.
|
||||
# The filesystem that contains the filesystem checker binary (typically /system) cannot
|
||||
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
|
||||
|
||||
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
|
||||
/dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 noatime,nosuid,nodev,barrier=1 wait
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
|
||||
All Rights Reserved.
|
||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
-->
|
||||
|
||||
<CapabilityStore version="1">
|
||||
<namespace name="vpp">
|
||||
<capability key="default_config" value="false"/>
|
||||
<capability key="disable_dynamic_hal" value="true"/>
|
||||
<capability key="enable" value="false"/>
|
||||
<capability key="enable_idle_timeout" value="true"/>
|
||||
<capability key="idle_timeout_ms" value="1000"/>
|
||||
</namespace>
|
||||
</CapabilityStore>
|
||||
+1368
File diff suppressed because it is too large
Load Diff
+3502
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright 2016 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.
|
||||
|
||||
This file was modified by Dolby Laboratories. The portions of the
|
||||
code that are surrounded by "DOLBY..." are copyrighted and
|
||||
licensed separately, as follows:
|
||||
|
||||
Copyright (C) 2018-2021 Dolby Laboratories
|
||||
|
||||
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.
|
||||
-->
|
||||
|
||||
<Included>
|
||||
<Decoders>
|
||||
<!-- DOLBY_UDC -->
|
||||
<MediaCodec name="c2.dolby.eac3.decoder" >
|
||||
<Type name="audio/ac3">
|
||||
<Alias name="OMX.dolby.ac3.decoder" />
|
||||
<Limit name="channel-count" max="6" />
|
||||
<Limit name="sample-rate" ranges="32000,44100,48000" />
|
||||
<Limit name="bitrate" range="32000-640000" />
|
||||
</Type>
|
||||
<Type name="audio/eac3">
|
||||
<Alias name="OMX.dolby.eac3.decoder" />
|
||||
<Limit name="channel-count" max="8" />
|
||||
<Limit name="sample-rate" ranges="32000,44100,48000" />
|
||||
<Limit name="bitrate" range="32000-6144000" />
|
||||
</Type>
|
||||
<Type name="audio/eac3-joc">
|
||||
<Alias name="OMX.dolby.eac3-joc.decoder" />
|
||||
<Limit name="channel-count" max="16" />
|
||||
<Limit name="sample-rate" ranges="48000" />
|
||||
<Limit name="bitrate" range="32000-6144000" />
|
||||
</Type>
|
||||
<Attribute name="software-codec" />
|
||||
</MediaCodec>
|
||||
<!-- DOLBY_UDC END -->
|
||||
<!-- DOLBY_AC4 -->
|
||||
<MediaCodec name="c2.dolby.ac4.decoder" type="audio/ac4">
|
||||
<Alias name="OMX.dolby.ac4.decoder" />
|
||||
<Limit name="channel-count" max="16" />
|
||||
<Limit name="sample-rate" ranges="48000" />
|
||||
<Limit name="bitrate" range="16000-2688000" />
|
||||
<Attribute name="software-codec" />
|
||||
</MediaCodec>
|
||||
<!-- DOLBY_AC4 END -->
|
||||
</Decoders>
|
||||
</Included>
|
||||
+2243
File diff suppressed because it is too large
Load Diff
Vendored
+60
@@ -0,0 +1,60 @@
|
||||
###################################
|
||||
##### FLP settings #####
|
||||
###################################
|
||||
|
||||
###################################
|
||||
# FLP BATCH SIZE
|
||||
###################################
|
||||
# The number of batched locations
|
||||
# requested to modem. The desired number
|
||||
# defined below may not be satisfied, as
|
||||
# the modem can only return the number
|
||||
# of batched locations that can be allocated,
|
||||
# which is limited by memory. The default
|
||||
# batch size defined as 20 as below.
|
||||
BATCH_SIZE=20
|
||||
|
||||
###################################
|
||||
# FLP OUTDOOR TRIP BATCH SIZE
|
||||
###################################
|
||||
# The number of batched locations
|
||||
# requested to modem for outdoor
|
||||
# trip batching. The desired number
|
||||
# defined below may not be satisfied, as
|
||||
# the modem can only return the number
|
||||
# of batched locations that can be allocated,
|
||||
# which is limited by memory. The default
|
||||
# trip batch size defined as 600 as below.
|
||||
OUTDOOR_TRIP_BATCH_SIZE=600
|
||||
|
||||
###################################
|
||||
# FLP BATCHING SESSION TIMEOUT
|
||||
###################################
|
||||
# Duration with which batch session timeout
|
||||
# happens in milliseconds. If not specified
|
||||
# or set to zero, batching session timeout
|
||||
# defaults to 20 seconds by the modem.
|
||||
# BATCH_SESSION_TIMEOUT=20000
|
||||
|
||||
###################################
|
||||
# FLP BATCHING ACCURACY
|
||||
###################################
|
||||
# Set to one of the defined values below
|
||||
# to define the accuracy of batching.
|
||||
# If not specified, accuracy defaults
|
||||
# to LOW.
|
||||
# FLP BATCHING ACCURACY values:
|
||||
# Low accuracy = 0
|
||||
# Medium accuracy = 1
|
||||
# High accuracy = 2
|
||||
ACCURACY=1
|
||||
|
||||
####################################
|
||||
# By default if network fixes are not sensor assisted
|
||||
# these fixes must be dropped. This parameter adds an exception
|
||||
# for targets where there is no PDR and we still want to
|
||||
# report out network fixes
|
||||
# 0: MUST NOT ALLOW NETWORK FIXES
|
||||
# 1: ALLOW NETWORK FIXES
|
||||
####################################
|
||||
ALLOW_NETWORK_FIXES = 0
|
||||
+128
@@ -0,0 +1,128 @@
|
||||
###################################
|
||||
##### ANTENNA INFORMATION #####
|
||||
###################################
|
||||
|
||||
###################################
|
||||
# ANTENNA INFO VECTOR SIZE
|
||||
###################################
|
||||
# The number of antenna info
|
||||
# structures in the vector. Each
|
||||
# entry in this vector is a structure
|
||||
# with the following elements:
|
||||
#
|
||||
# - CARRIER_FREQUENCY
|
||||
# - PC_OFFSET
|
||||
# - PC_VARIATION_CORRECTION
|
||||
# - PC_VARIATION_CORRECTION_UNC
|
||||
# - SIGNAL_GAIN_CORRECTION
|
||||
# - SIGNAL_GAIN_CORRECTION_UNC
|
||||
#
|
||||
# Notes:
|
||||
# CARRIER_FREQUENCY
|
||||
# The carrier frequency in MHz.
|
||||
#
|
||||
# PC = PHASE CENTER
|
||||
# PC_OFFSET is a structure with six
|
||||
# elements: x, y, z and their associated uncertainties
|
||||
# Phase center offset (PCO) is defined with
|
||||
# respect to the origin of the Android sensor coordinate system, e.g.,
|
||||
# center of primary screen for mobiles
|
||||
#
|
||||
# PC_VARIATION_CORRECTION
|
||||
# 2D vectors representing the phase center variation (PCV) corrections,
|
||||
# in millimeters, at regularly spaced azimuthal angle (theta) and zenith angle
|
||||
# (phi). The PCV correction is added to the phase measurement to obtain the
|
||||
# corrected value.
|
||||
# The azimuthal angle, theta, is defined with respect to the X axis of the
|
||||
# Android sensor coordinate system, increasing toward the Y axis. The zenith
|
||||
# angle, phi, is defined with respect to the Z axis of the Android Sensor
|
||||
# coordinate system, increasing toward the X-Y plane.
|
||||
# Each row vector (outer vectors) represents a fixed theta. The first row
|
||||
# corresponds to a theta angle of 0 degrees. The last row corresponds to a
|
||||
# theta angle of (360 - deltaTheta) degrees, where deltaTheta is the regular
|
||||
# spacing between azimuthal angles, i.e., deltaTheta = 360 / (number of rows).
|
||||
# The columns (inner vectors) represent fixed zenith angles, beginning at 0
|
||||
# degrees and ending at 180 degrees. They are separated by deltaPhi, the regular
|
||||
# spacing between zenith angles, i.e., deltaPhi = 180 / (number of columns - 1).
|
||||
#
|
||||
# PC_VARIATION_CORRECTION_UNC
|
||||
# 2D vectors of 1-sigma uncertainty in millimeters associated with the PCV
|
||||
# correction values.
|
||||
#
|
||||
# SIGNAL_GAIN_CORRECTION
|
||||
# 2D vectors representing the signal gain corrections at regularly spaced
|
||||
# azimuthal angle (theta) and zenith angle (phi). The values are calculated or
|
||||
# measured at the antenna feed point without considering the radio and receiver
|
||||
# noise figure and path loss contribution, in dBi, i.e., decibel over isotropic
|
||||
# antenna with the same total power. The signal gain correction is added the
|
||||
# signal gain measurement to obtain the corrected value.
|
||||
# The azimuthal angle, theta, is defined with respect to the X axis of the
|
||||
# Android sensor coordinate system, increasing toward the Y axis. The zenith
|
||||
# angle, phi, is defined with respect to the Z axis of the Android Sensor
|
||||
# coordinate system, increasing toward the X-Y plane.
|
||||
# Each row vector (outer vectors) represents a fixed theta. The first row
|
||||
# corresponds to a theta angle of 0 degrees. The last row corresponds to a
|
||||
# theta angle of (360 - deltaTheta) degrees, where deltaTheta is the regular
|
||||
# spacing between azimuthal angles, i.e., deltaTheta = 360 / (number of rows).
|
||||
# The columns (inner vectors) represent fixed zenith angles, beginning at 0
|
||||
# degrees and ending at 180 degrees. They are separated by deltaPhi, the regular
|
||||
# spacing between zenith angles, i.e., deltaPhi = 180 / (number of columns - 1).
|
||||
#
|
||||
# SIGNAL_GAIN_CORRECTION_UNC
|
||||
# 2D vectors of 1-sigma uncertainty in dBi associated with the signal
|
||||
# gain correction values.
|
||||
|
||||
# ANTENNA_INFO_VECTOR_SIZE must be non zero if antenna corrections are sent
|
||||
# SEC : Do not support Antenna info
|
||||
# ANTENNA_INFO_VECTOR_SIZE = 2
|
||||
|
||||
CARRIER_FREQUENCY_0 = 1575.42
|
||||
|
||||
PC_OFFSET_0 = 1.2 0.1 3.4 0.2 5.6 0.3
|
||||
|
||||
NUMBER_OF_ROWS_0 = 3
|
||||
NUMBER_OF_COLUMNS_0 = 4
|
||||
|
||||
PC_VARIATION_CORRECTION_0_ROW_0 = 11.22 33.44 55.66 77.88
|
||||
PC_VARIATION_CORRECTION_0_ROW_1 = 10.2 30.4 50.6 70.8
|
||||
PC_VARIATION_CORRECTION_0_ROW_2 = 12.2 34.4 56.6 78.8
|
||||
|
||||
PC_VARIATION_CORRECTION_UNC_0_ROW_0 = 0.1 0.2 0.3 0.4
|
||||
PC_VARIATION_CORRECTION_UNC_0_ROW_1 = 1.1 1.2 1.3 1.4
|
||||
PC_VARIATION_CORRECTION_UNC_0_ROW_2 = 2.1 2.2 2.3 2.4
|
||||
|
||||
SIGNAL_GAIN_CORRECTION_0_ROW_0 = 9.8 8.7 7.6 6.5
|
||||
SIGNAL_GAIN_CORRECTION_0_ROW_1 = 5.4 4.3 3.2 2.1
|
||||
SIGNAL_GAIN_CORRECTION_0_ROW_2 = 1.3 2.4 3.5 4.6
|
||||
|
||||
SIGNAL_GAIN_CORRECTION_UNC_0_ROW_0 = 0.11 0.22 0.33 0.44
|
||||
SIGNAL_GAIN_CORRECTION_UNC_0_ROW_1 = 0.55 0.66 0.77 0.88
|
||||
SIGNAL_GAIN_CORRECTION_UNC_0_ROW_2 = 0.91 0.92 0.93 0.94
|
||||
|
||||
|
||||
CARRIER_FREQUENCY_1 = 1227.6
|
||||
|
||||
PC_OFFSET_1 = 3.4 0.2 5.6 0.3 1.2 0.1
|
||||
|
||||
NUMBER_OF_ROWS_1 = 4
|
||||
NUMBER_OF_COLUMNS_1 = 2
|
||||
|
||||
PC_VARIATION_CORRECTION_1_ROW_0 = 55.66 77.88
|
||||
PC_VARIATION_CORRECTION_1_ROW_1 = 11.22 33.44
|
||||
PC_VARIATION_CORRECTION_1_ROW_2 = 56.6 78.8
|
||||
PC_VARIATION_CORRECTION_1_ROW_3 = 12.2 34.4
|
||||
|
||||
PC_VARIATION_CORRECTION_UNC_1_ROW_0 = 0.3 0.4
|
||||
PC_VARIATION_CORRECTION_UNC_1_ROW_1 = 1.1 1.2
|
||||
PC_VARIATION_CORRECTION_UNC_1_ROW_2 = 2.1 2.2
|
||||
PC_VARIATION_CORRECTION_UNC_1_ROW_3 = 0.1 0.2
|
||||
|
||||
SIGNAL_GAIN_CORRECTION_1_ROW_0 = 7.6 6.5
|
||||
SIGNAL_GAIN_CORRECTION_1_ROW_1 = 5.4 4.3
|
||||
SIGNAL_GAIN_CORRECTION_1_ROW_2 = 1.3 2.4
|
||||
SIGNAL_GAIN_CORRECTION_1_ROW_3 = 9.8 8.7
|
||||
|
||||
SIGNAL_GAIN_CORRECTION_UNC_1_ROW_0 = 0.91 0.92
|
||||
SIGNAL_GAIN_CORRECTION_UNC_1_ROW_1 = 0.55 0.66
|
||||
SIGNAL_GAIN_CORRECTION_UNC_1_ROW_2 = 0.11 0.22
|
||||
SIGNAL_GAIN_CORRECTION_UNC_1_ROW_3 = 0.93 0.94
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
<!--
|
||||
Copyright (c) 2017 Qualcomm Technologies, Inc.
|
||||
All Rights Reserved.
|
||||
Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
-->
|
||||
|
||||
<!--
|
||||
|
||||
This file is configured by OEM to customize the path used by GP FS listener
|
||||
service to save files, and will be located in /vendor/etc on device
|
||||
|
||||
"gp_data_path" and "gp_persist_path" are the /data and /persist partition
|
||||
path to save files, respectively.
|
||||
By default, "gp_data_path" is "/data/vendor/tzstorage/", and
|
||||
"gp_persist_path" is "/mnt/vendor/persist/data/".
|
||||
|
||||
To replace with different paths, please also create folder in init.qcom.rc
|
||||
file and update SEAndroid policy.
|
||||
|
||||
Take "/data/vendor/tzstorage/" as an example below,
|
||||
|
||||
A) rootdir/etc/init.qcom.rc:
|
||||
# Create /data/vendor/tzstorage directory for SFS listener
|
||||
mkdir /data/vendor/tzstorage 0770 system system
|
||||
|
||||
B) common/file.te:
|
||||
# SFS listener data file
|
||||
type data_tzstorage_file, file_type, data_file_type;
|
||||
|
||||
C) common/file_contexts:
|
||||
/data/vendor/tzstorage(/.*)? u:object_r:data_tzstorage_file:s0
|
||||
|
||||
D) common/qseecomd.te:
|
||||
# Allow SFS to write to data partition
|
||||
allow tee data_tzstorage_file:dir create_dir_perms;
|
||||
allow tee data_tzstorage_file:file create_file_perms;
|
||||
|
||||
"gp_whitelist_count" and "gp_whitelist_path"
|
||||
|
||||
Some paths needs "/data/vendor/tzstorage" appended to it at the beginning
|
||||
as they do not have access/permissions on their own.
|
||||
Use gp_whitelist_count and gp_whitelist_paths entries to add more such paths.
|
||||
By default, we add "/data/system/users" and "/data/misc/qsee" for current use
|
||||
cases.
|
||||
|
||||
To add an extra path, increment the count in gp_whitelist_count and add a new
|
||||
gp_whitelist_path entry. It is very critical that the count matches with the
|
||||
number of path entries.
|
||||
|
||||
-->
|
||||
|
||||
|
||||
<sfs_path>
|
||||
<gp_data_path> /data/vendor/tzstorage/ </gp_data_path>
|
||||
<gp_persist_path> /mnt/vendor/efs/ </gp_persist_path>
|
||||
<gp_whitelist_count> 4 </gp_whitelist_count>
|
||||
<gp_whitelist_path> /data/system/users/ </gp_whitelist_path>
|
||||
<gp_whitelist_path> /data/misc/qsee/ </gp_whitelist_path>
|
||||
<gp_whitelist_path> /qwes </gp_whitelist_path>
|
||||
<gp_whitelist_path> /qwes/licenses </gp_whitelist_path>
|
||||
</sfs_path>
|
||||
Vendored
+383
@@ -0,0 +1,383 @@
|
||||
# Error Estimate
|
||||
# _SET = 1
|
||||
# _CLEAR = 0
|
||||
ERR_ESTIMATE=0
|
||||
|
||||
#NTP server
|
||||
NTP_SERVER=time.xtracloud.net
|
||||
|
||||
#XTRA CA path
|
||||
XTRA_CA_PATH=/usr/lib/ssl-1.1/certs
|
||||
|
||||
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
|
||||
# 4 - Debug, 5 - Verbose
|
||||
# If DEBUG_LEVEL is commented, Android's logging levels will be used
|
||||
DEBUG_LEVEL = 3
|
||||
|
||||
# Intermediate position report, 1=enable, 0=disable
|
||||
INTERMEDIATE_POS=0
|
||||
|
||||
# supl version 2.0
|
||||
SUPL_VER=0x20000
|
||||
|
||||
# Emergency SUPL, 1=enable, 0=disable
|
||||
SUPL_ES=1
|
||||
|
||||
#Choose PDN for Emergency SUPL
|
||||
#1 - Use emergency PDN
|
||||
#0 - Use regular SUPL PDN for Emergency SUPL
|
||||
USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=1
|
||||
|
||||
#SUPL_MODE is a bit mask set in config.xml per carrier by default.
|
||||
#If it is uncommented here, this value will overwrite the value from
|
||||
#config.xml.
|
||||
#MSA=0X2
|
||||
#MSB=0X1
|
||||
#Sensor R&D : Change default bit mask
|
||||
SUPL_MODE=3
|
||||
|
||||
# GPS Capabilities bit mask
|
||||
# SCHEDULING = 0x01
|
||||
# MSB = 0x02
|
||||
# MSA = 0x04
|
||||
# ON_DEMAND_TIME = 0x10
|
||||
# default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING
|
||||
CAPABILITIES=0x17
|
||||
|
||||
# Accuracy threshold for intermediate positions
|
||||
# less accurate positions are ignored, 0 for passing all positions
|
||||
# ACCURACY_THRES=5000
|
||||
|
||||
################################
|
||||
##### AGPS server settings #####
|
||||
################################
|
||||
|
||||
# FOR SUPL SUPPORT, set the following
|
||||
# SUPL_HOST=supl.host.com or IP
|
||||
# SUPL_PORT=1234
|
||||
|
||||
# FOR MO SUPL SUPPORT, set the following
|
||||
# MO_SUPL_HOST=supl.host.com or IP
|
||||
# MO_SUPL_PORT=1234
|
||||
|
||||
# FOR C2K PDE SUPPORT, set the following
|
||||
# C2K_HOST=c2k.pde.com or IP
|
||||
# C2K_PORT=1234
|
||||
|
||||
# Bitmask of slots that are available
|
||||
# for write/install to, where 1s indicate writable,
|
||||
# and the default value is 0 where no slots
|
||||
# are writable. For example, AGPS_CERT_WRITABLE_MASK
|
||||
# of b1000001010 makes 3 slots available
|
||||
# and the remaining 7 slots unwritable.
|
||||
#AGPS_CERT_WRITABLE_MASK=0
|
||||
|
||||
####################################
|
||||
# LTE Positioning Profile Settings
|
||||
####################################
|
||||
# LPP_PROFILE is a bit mask
|
||||
# 0: Enable RRLP on LTE(Default)
|
||||
# 0x1: LPP User Plane
|
||||
# 0x2: LPP Control Plane
|
||||
# 0x4: LPP User Plane for NR5G
|
||||
# 0x8: LPP Control Plane for NR5G
|
||||
LPP_PROFILE = 2
|
||||
|
||||
####################################
|
||||
#Datum Type
|
||||
####################################
|
||||
# 0: WGS-84
|
||||
# 1: PZ-90
|
||||
DATUM_TYPE = 0
|
||||
|
||||
################################
|
||||
# EXTRA SETTINGS
|
||||
################################
|
||||
# NMEA provider (1=Modem Processor, 0=Application Processor)
|
||||
NMEA_PROVIDER=0
|
||||
|
||||
# Customized NMEA GGA fix quality that can be used to tell
|
||||
# whether SENSOR contributed to the fix.
|
||||
#
|
||||
# When this configuration item is not enabled (set to any value that is not 1),
|
||||
# GGA fix quality conforms to NMEA standard spec as below:
|
||||
# PPP/DGNSS/SBAS correction fix w/ or w/o sensor: 2
|
||||
# RTK fixed fix w/ or w/o sensor: 4
|
||||
# RTK float fix w/ or w/o sensor: 5
|
||||
# SPE fix w/ or w/o sensor: 1
|
||||
# Sensor dead reckoning fix: 6
|
||||
#
|
||||
# When this configuration is enabled (set to 1), GGA fix quality
|
||||
# will be output as below:
|
||||
# PPP fix w/o sensor: 59, w/ sensor: 69
|
||||
# DGNSS/SBAS correction fix w/o sensor: 2, w/ sensor: 62
|
||||
# RTK fixed fix w/o sensor: 4, w/ sensor: 64
|
||||
# RTK float fix w/o sensor: 5, w/ sensor: 65,
|
||||
# SPE fix w/o sensor: 1, and w/ sensor: 61
|
||||
# Sensor dead reckoning fix: 6
|
||||
#
|
||||
# any value that is not 1 - disabled
|
||||
# 1 - enabled
|
||||
CUSTOM_NMEA_GGA_FIX_QUALITY_ENABLED = 0
|
||||
|
||||
################################
|
||||
# NMEA Reporting Rate Config, valid only when NMEA_PROVIDER is set to "0"
|
||||
################################
|
||||
# NMEA Reporting Rate
|
||||
# Set it to "1HZ" for 1Hz NMEA Reporting
|
||||
# Set it to "NHZ" for NHz NMEA Reporting
|
||||
#Default : NHZ (overridden by position update rate if set to lower rates)
|
||||
NMEA_REPORT_RATE=NHZ
|
||||
|
||||
# Mark if it is a SGLTE target (1=SGLTE, 0=nonSGLTE)
|
||||
SGLTE_TARGET=0
|
||||
|
||||
##################################################
|
||||
# Select Positioning Protocol on A-GLONASS system
|
||||
##################################################
|
||||
# 0x1: RRC CPlane
|
||||
# 0x2: RRLP UPlane
|
||||
# 0x4: LLP Uplane
|
||||
A_GLONASS_POS_PROTOCOL_SELECT = 0
|
||||
|
||||
##################################################
|
||||
# Select technology for LPPe Control Plane
|
||||
##################################################
|
||||
# 0x1: DBH for LPPe CP
|
||||
# 0x2: WLAN AP Measurements for LPPe CP
|
||||
# 0x4: SRN AP measurement for CP
|
||||
# 0x8: Sensor Barometer Measurement LPPe CP
|
||||
#LPPE_CP_TECHNOLOGY = 0
|
||||
|
||||
##################################################
|
||||
# Select technology for LPPe User Plane
|
||||
##################################################
|
||||
# 0x1: DBH for LPPe UP
|
||||
# 0x2: WLAN AP Measurements for LPPe UP
|
||||
# 0x4: SRN AP measurement for UP
|
||||
# 0x8: Sensor Barometer Measurement LPPe UP
|
||||
#LPPE_UP_TECHNOLOGY = 0
|
||||
|
||||
##################################################
|
||||
# AGPS_CONFIG_INJECT
|
||||
##################################################
|
||||
# enable/disable injection of AGPS configurations:
|
||||
# SUPL_VER
|
||||
# SUPL_HOST
|
||||
# SUPL_PORT
|
||||
# MO_SUPL_HOST
|
||||
# MO_SUPL_PORT
|
||||
# C2K_HOST
|
||||
# C2K_PORT
|
||||
# LPP_PROFILE
|
||||
# A_GLONASS_POS_PROTOCOL_SELECT
|
||||
# 0: disable
|
||||
# 1: enable
|
||||
AGPS_CONFIG_INJECT = 0
|
||||
|
||||
##################################################
|
||||
# GNSS settings for automotive use cases
|
||||
# Configurations in following section are
|
||||
# specific to automotive use cases, others
|
||||
# please do not change, keep the default values
|
||||
##################################################
|
||||
|
||||
# AP Coarse Timestamp Uncertainty
|
||||
##################################################
|
||||
# default : 10
|
||||
# AP time stamp uncertainty, until GNSS receiver
|
||||
# is able to acquire better timing information
|
||||
AP_TIMESTAMP_UNCERTAINTY = 10
|
||||
|
||||
#####################################
|
||||
# DR_SYNC Pulse Availability
|
||||
#####################################
|
||||
# 0 : DR_SYNC pulse not available (default)
|
||||
# 1 : DR_SYNC pulse available
|
||||
# This configuration enables the driver to make use
|
||||
# of PPS events generated by DR_SYNC pulse
|
||||
# Standard Linux PPS driver needs to be enabled
|
||||
DR_SYNC_ENABLED = 0
|
||||
|
||||
#####################################
|
||||
# PPS Device name
|
||||
#####################################
|
||||
PPS_DEVICENAME = /dev/pps0
|
||||
|
||||
#####################################
|
||||
# Ignore PPS at Startup and after long outage
|
||||
#####################################
|
||||
IGNORE_PPS_PULSE_COUNT = 1
|
||||
|
||||
#####################################
|
||||
# Long GNSS RF outage in seconds
|
||||
#####################################
|
||||
GNSS_OUTAGE_DURATION = 10
|
||||
|
||||
#####################################
|
||||
# AP Clock Accuracy
|
||||
#####################################
|
||||
# Quality of APPS processor clock (in PPM).
|
||||
# Value specified is used for calculation of
|
||||
# APPS time stamp uncertainty
|
||||
AP_CLOCK_PPM = 100
|
||||
|
||||
#####################################
|
||||
# MAX ms difference to detect missing pulse
|
||||
#####################################
|
||||
# Specifies time threshold in ms to validate any missing PPS pulses
|
||||
MISSING_PULSE_TIME_DELTA = 900
|
||||
|
||||
#####################################
|
||||
# Propagation time uncertainty
|
||||
#####################################
|
||||
# This settings enables time uncertainty propagation
|
||||
# logic incase of missing PPS pulse
|
||||
PROPAGATION_TIME_UNCERTAINTY = 1
|
||||
|
||||
#######################################
|
||||
# APN / IP Type Configuration
|
||||
# APN and IP Type to use for setting
|
||||
# up WWAN call.
|
||||
# Use below values for IP Type:
|
||||
# v4 = 4
|
||||
# v6 = 6
|
||||
# v4v6 = 10
|
||||
#######################################
|
||||
# INTERNET_APN = abc.xyz
|
||||
# INTERNET_IP_TYPE = 4
|
||||
# SUPL_APN = abc.xyz
|
||||
# SUPL_IP_TYPE = 4
|
||||
|
||||
#####################################
|
||||
# Modem type
|
||||
#####################################
|
||||
# This setting configures modem type
|
||||
# (external=0 or internal=1)
|
||||
# comment out the next line to vote
|
||||
# for the first modem in the list
|
||||
MODEM_TYPE = 1
|
||||
|
||||
##################################################
|
||||
# CONSTRAINED TIME UNCERTAINTY MODE
|
||||
##################################################
|
||||
# 0 : disabled (default)
|
||||
# 1 : enabled
|
||||
# This setting enables GPS engine to keep its time
|
||||
# uncertainty below the specified constraint
|
||||
#CONSTRAINED_TIME_UNCERTAINTY_ENABLED = 0
|
||||
|
||||
# If constrained time uncertainty mode is enabled,
|
||||
# this setting specifies the time uncertainty
|
||||
# threshold that gps engine need to maintain.
|
||||
# In unit of milli-seconds.
|
||||
# Default is 0.0 meaning that modem default value
|
||||
# of time uncertainty threshold will be used.
|
||||
#CONSTRAINED_TIME_UNCERTAINTY_THRESHOLD = 0.0
|
||||
|
||||
# If constrained time uncertainty mode is enabled,
|
||||
# this setting specifies the power budget that
|
||||
# gps engine is allowed to spend to maintain the time
|
||||
# uncertainty.
|
||||
# Default is 0 meaning that GPS engine is not constained
|
||||
# by power budget and can spend as much power as needed.
|
||||
# In unit of 0.1 milli watt second.
|
||||
#CONSTRAINED_TIME_UNCERTAINTY_ENERGY_BUDGET = 0
|
||||
|
||||
##################################################
|
||||
# POSITION ASSISTED CLOCK ESTIMATOR
|
||||
##################################################
|
||||
# 0 : disabled (default)
|
||||
# 1 : enabled
|
||||
# This setting enables GPS engine to estimate clock
|
||||
# bias and drift when the signal from at least 1
|
||||
# SV is available and the UE’s position is known by
|
||||
# other position engines.
|
||||
#POSITION_ASSISTED_CLOCK_ESTIMATOR_ENABLED = 0
|
||||
|
||||
#####################################
|
||||
# proxyAppPackageName
|
||||
#####################################
|
||||
# This is a string that is sent to the framework
|
||||
# in nfwNotifyCb callback
|
||||
PROXY_APP_PACKAGE_NAME = com.sec.location.nfwlocationprivacy
|
||||
|
||||
#####################################
|
||||
# CP_MTLR_ES
|
||||
#####################################
|
||||
# CP MTLR ES, 1=enable, 0=disable
|
||||
CP_MTLR_ES=0
|
||||
|
||||
##################################################
|
||||
# GNSS_DEPLOYMENT
|
||||
##################################################
|
||||
# 0 : Enable QTI GNSS (default)
|
||||
# 1 : Enable QCSR SS5
|
||||
# 2 : Enable PDS API
|
||||
# This setting use to select between QTI GNSS,
|
||||
# QCSR SS5 hardware receiver, and PDS API.
|
||||
# By default QTI GNSS receiver is enabled.
|
||||
# GNSS_DEPLOYMENT = 0
|
||||
|
||||
##################################################
|
||||
## LOG BUFFER CONFIGURATION
|
||||
##################################################
|
||||
#LOG_BUFFER_ENABLED, 1=enable, 0=disable
|
||||
#*_LEVEL_TIME_DEPTH, maximum time depth of level *
|
||||
#in log buffer, unit is second
|
||||
#*_LEVEL_MAX_CAPACITY, maximum numbers of level *
|
||||
#log print sentences in log buffer
|
||||
LOG_BUFFER_ENABLED = 0
|
||||
E_LEVEL_TIME_DEPTH = 600
|
||||
E_LEVEL_MAX_CAPACITY = 50
|
||||
W_LEVEL_TIME_DEPTH = 500
|
||||
W_LEVEL_MAX_CAPACITY = 100
|
||||
I_LEVEL_TIME_DEPTH = 400
|
||||
I_LEVEL_MAX_CAPACITY = 200
|
||||
D_LEVEL_TIME_DEPTH = 30
|
||||
D_LEVEL_MAX_CAPACITY = 300
|
||||
V_LEVEL_TIME_DEPTH = 200
|
||||
V_LEVEL_MAX_CAPACITY = 400
|
||||
|
||||
##################################################
|
||||
# Allow buffer diag log packets when diag memory allocation
|
||||
# fails during boot up time.
|
||||
##################################################
|
||||
BUFFER_DIAG_LOGGING = 1
|
||||
|
||||
#######################################
|
||||
# NTRIP CLIENT LIBRARY NAME
|
||||
#######################################
|
||||
# NTRIP_CLIENT_LIB_NAME =
|
||||
|
||||
##################################################
|
||||
# Correction Data Framework settings
|
||||
# Default values:
|
||||
# CDFW_SOURCE_PRIORITY_1 = INTERNAL_1 RTCM
|
||||
# CDFW_INJECT_DATA_INTERVAL = 600000 //10 mins
|
||||
# CDFW_RTCM_MESSAGE_INTERVAL = 1000 //1 second
|
||||
#
|
||||
# If multiple sources coexist on a PL,
|
||||
# the prorioty sequence can be set by the integer number.
|
||||
# PRIORITY_1 is higher than PRIORITY_2, for example,
|
||||
# CDFW_SOURCE_PRIORITY_1 = INTERNAL_1 RTCM
|
||||
# CDFW_SOURCE_PRIORITY_2 = CV2X RTCM
|
||||
##################################################
|
||||
|
||||
##################################################
|
||||
# RF LOSS
|
||||
# The loss in 0.1 dbHz from the C/N0 at the antenna port
|
||||
# These values must be configured by OEM if not
|
||||
# supported in QMI LOC message
|
||||
# There is one entry for each signal type
|
||||
##################################################
|
||||
RF_LOSS_GPS = 0
|
||||
RF_LOSS_GPS_L5 = 0
|
||||
RF_LOSS_GLO_LEFT = 0
|
||||
RF_LOSS_GLO_CENTER = 0
|
||||
RF_LOSS_GLO_RIGHT = 0
|
||||
RF_LOSS_BDS = 0
|
||||
RF_LOSS_BDS_B2A = 0
|
||||
RF_LOSS_GAL = 0
|
||||
RF_LOSS_GAL_E5 = 0
|
||||
RF_LOSS_NAVIC = 0
|
||||
@@ -0,0 +1,5 @@
|
||||
service vendor.bluetooth-1-0-qti /vendor/bin/hw/android.hardware.bluetooth@1.0-service-qti
|
||||
class hal
|
||||
user bluetooth
|
||||
group bluetooth system wakelock oem_2901 net_raw
|
||||
capabilities BLOCK_SUSPEND NET_ADMIN
|
||||
@@ -0,0 +1,26 @@
|
||||
on property:init.svc.mediadrm=running
|
||||
mkdir /data/vendor/mediadrm 0770 media mediadrm
|
||||
start vendor.move_data_sh
|
||||
|
||||
service vendor.move_data_sh /system/bin/move_widevine_data.sh
|
||||
class late_start
|
||||
user media
|
||||
group media mediadrm system
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service vendor.drm-widevine-hal-1-3 /vendor/bin/hw/android.hardware.drm@1.3-service.widevine
|
||||
interface android.hardware.drm@1.0::ICryptoFactory widevine
|
||||
interface android.hardware.drm@1.0::IDrmFactory widevine
|
||||
interface android.hardware.drm@1.1::ICryptoFactory widevine
|
||||
interface android.hardware.drm@1.1::IDrmFactory widevine
|
||||
interface android.hardware.drm@1.2::ICryptoFactory widevine
|
||||
interface android.hardware.drm@1.2::IDrmFactory widevine
|
||||
interface android.hardware.drm@1.3::ICryptoFactory widevine
|
||||
interface android.hardware.drm@1.3::IDrmFactory widevine
|
||||
interface android.hidl.base@1.0::IBase widevine
|
||||
class hal
|
||||
user media
|
||||
group media mediadrm drmrpc system
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
@@ -0,0 +1,8 @@
|
||||
service vendor.gatekeeper-1-0 /vendor/bin/hw/android.hardware.gatekeeper@1.0-service
|
||||
interface android.hardware.gatekeeper@1.0::IGatekeeper mdfpp
|
||||
class hal
|
||||
user system
|
||||
group system 5678
|
||||
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/gatekeeper 0770 system system
|
||||
@@ -0,0 +1,4 @@
|
||||
service gatekeeper-1-0 /vendor/bin/hw/android.hardware.gatekeeper@1.0-service-qti
|
||||
class early_hal
|
||||
user system
|
||||
group system 5678
|
||||
@@ -0,0 +1,4 @@
|
||||
service gnss_service /vendor/bin/hw/android.hardware.gnss@2.1-service-qti
|
||||
class hal
|
||||
user system
|
||||
group system gps radio vendor_qti_diag
|
||||
@@ -0,0 +1,6 @@
|
||||
service health-hal-2-1-samsung /vendor/bin/hw/android.hardware.health@2.1-service-samsung
|
||||
class hal charger
|
||||
user system
|
||||
group system
|
||||
capabilities WAKE_ALARM
|
||||
file /dev/kmsg w
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
on init
|
||||
start keymaster-sb-4-0
|
||||
|
||||
service keymaster-sb-4-0 /vendor/bin/hw/android.hardware.keymaster@4.0-strongbox-service-qti
|
||||
class early_hal
|
||||
user system
|
||||
group system drmrpc
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
# Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#
|
||||
|
||||
service neuralnetworks_hal_service /vendor/bin/hw/android.hardware.neuralnetworks@1.3-service-qti
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
writepid /dev/stune/nnapi-hal/tasks
|
||||
|
||||
#Below changes moved from init.target.rc as part of go/FR53051
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/nnhal 0700 system system
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
# Copyright (c) 2019 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
# Create the directories used by DPM subsystem
|
||||
|
||||
#start dataadpl service
|
||||
service vendor.dataadpl /system/vendor/bin/adpl
|
||||
class main
|
||||
user radio
|
||||
socket adpl_cmd_uds_file dgram 660 radio radio
|
||||
group radio oem_2901 diag usb inet
|
||||
disabled
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
#! /vendor/etc/init
|
||||
#=============================================================================
|
||||
# Copyright (c) 2020 Qualcomm Technologies, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
#=============================================================================
|
||||
|
||||
on early-init
|
||||
# Set ro.boot.product.vendor.sku to soc_name
|
||||
exec u:r:vendor_qti_init_shell:s0 -- /vendor/bin/init.qti.qcv.sh
|
||||
setprop ro.boot.product.vendor.sku ${ro.vendor.qti.soc_name}
|
||||
@@ -0,0 +1,16 @@
|
||||
on post-fs
|
||||
wait /mnt/vendor/spunvm
|
||||
start vendor.spdaemon
|
||||
start vendor.sec_nvm
|
||||
|
||||
service vendor.spdaemon /vendor/bin/spdaemon
|
||||
class core
|
||||
user system
|
||||
group system
|
||||
shutdown critical
|
||||
|
||||
service vendor.sec_nvm /vendor/bin/sec_nvm
|
||||
class core
|
||||
user system
|
||||
group system
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user