mirror of
https://github.com/Evolution-X-Devices/device_google_walleye
synced 2026-01-27 15:51:28 +00:00
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD
This commit is contained in:
20
AndroidProducts.mk
Normal file
20
AndroidProducts.mk
Normal file
@@ -0,0 +1,20 @@
|
||||
#
|
||||
# Copyright 2015 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.
|
||||
#
|
||||
|
||||
PRODUCT_MAKEFILES := \
|
||||
$(LOCAL_DIR)/aosp_muskie.mk \
|
||||
$(LOCAL_DIR)/aosp_walleye.mk \
|
||||
$(LOCAL_DIR)/aosp_walleye_test.mk \
|
||||
54
CleanSpec.mk
Normal file
54
CleanSpec.mk
Normal file
@@ -0,0 +1,54 @@
|
||||
# Copyright 2017 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.
|
||||
#
|
||||
|
||||
# If you don't need to do a full clean build but would like to touch
|
||||
# a file or delete some intermediate files, add a clean step to the end
|
||||
# of the list. These steps will only be run once, if they haven't been
|
||||
# run before.
|
||||
#
|
||||
# E.g.:
|
||||
# $(call add-clean-step, touch -c external/sqlite/sqlite3.h)
|
||||
# $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libz_intermediates)
|
||||
#
|
||||
# Always use "touch -c" and "rm -f" or "rm -rf" to gracefully deal with
|
||||
# files that are missing or have been moved.
|
||||
#
|
||||
# Use $(PRODUCT_OUT) to get to the "out/target/product/blah/" directory.
|
||||
# Use $(OUT_DIR) to refer to the "out" directory.
|
||||
#
|
||||
# If you need to re-do something that's already mentioned, just copy
|
||||
# the command and add it to the bottom of the list. E.g., if a change
|
||||
# that you made last week required touching a file and a change you
|
||||
# made today requires touching the same file, just copy the old
|
||||
# touch step and add it to the end of the list.
|
||||
#
|
||||
# ************************************************
|
||||
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
|
||||
# ************************************************
|
||||
|
||||
# For example:
|
||||
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/AndroidTests_intermediates)
|
||||
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/core_intermediates)
|
||||
#$(call add-clean-step, find $(OUT_DIR) -type f -name "IGTalkSession*" -print0 | xargs -0 rm -f)
|
||||
#$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/*)
|
||||
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system)
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor)
|
||||
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/muskie/vendor/etc/sensors/sensor_def_qcomdev.conf)
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/walleye/vendor/etc/sensors/sensor_def_qcomdev.conf)
|
||||
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/init.$(PRODUCT_HARDWARE).logging.rc)
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/init.$(PRODUCT_HARDWARE).usb.rc)
|
||||
616
WCNSS_qcom_cfg.ini
Normal file
616
WCNSS_qcom_cfg.ini
Normal file
@@ -0,0 +1,616 @@
|
||||
# This file allows user to override the factory
|
||||
# defaults for the WLAN Driver
|
||||
|
||||
#############################################
|
||||
# STA related general configurations
|
||||
#############################################
|
||||
# Assigned MAC Addresses - This will be used until NV items are in place
|
||||
# Each byte of MAC address is represented in Hex format as XX
|
||||
Intf0MacAddress=000AF58989FF
|
||||
Intf1MacAddress=000AF58989FE
|
||||
Intf2MacAddress=000AF58989FD
|
||||
Intf3MacAddress=000AF58989FC
|
||||
|
||||
#Channel Bonding
|
||||
gChannelBondingMode5GHz=1
|
||||
gChannelBondingMode24GHz=0
|
||||
|
||||
#Enable Keep alive with non-zero period value
|
||||
gStaKeepAlivePeriod=60
|
||||
|
||||
# Maximum MPDU length (VHT only. Valid values: 0->3895 octets, 1->7991 octets, 2->11454 octets)
|
||||
gVhtMpduLen=2
|
||||
|
||||
# 0 for OLPC 1 for CLPC and SCPC
|
||||
gEnableCloseLoop=1
|
||||
|
||||
ImplicitQosIsEnabled=0
|
||||
|
||||
# Enable Tx beamforming in VHT20MHz
|
||||
# Valid values are 0,1. If commented out, the default value is 0.
|
||||
# 0=disable, 1=enable
|
||||
gEnableTxBFin20MHz=1
|
||||
|
||||
#Enable/Disable SU Tx beamformer support.
|
||||
gEnableTxSUBeamformer=1
|
||||
|
||||
# 1=enable tx STBC; 0=disable
|
||||
gEnableTXSTBC=1
|
||||
|
||||
# 1=enable STBC; 0=disable STBC
|
||||
gEnableRXSTBC=1
|
||||
|
||||
# 1=enable rx LDPC; 0=disable
|
||||
gEnableRXLDPC=1
|
||||
|
||||
# Flag to allow STA send AddTspec even when ACM is Off
|
||||
gAddTSWhenACMIsOff=1
|
||||
|
||||
# RTS threshold
|
||||
RTSThreshold=1048576
|
||||
|
||||
# 802.11d support
|
||||
g11dSupportEnabled=0
|
||||
|
||||
|
||||
# Phy Mode (auto, b, g, n, etc)
|
||||
# Valid values are 0-9, with 0 = Auto, 4 = 11n, 9 = 11ac
|
||||
# 1 = 11abg, 2 = 11b, 3 = 11g, 5 = 11g only, 6 = 11n only
|
||||
# 7 = 11b only 8 = 11ac only.
|
||||
gDot11Mode=0
|
||||
|
||||
# Enable Rx handling options
|
||||
# Rx_thread=1 RPS=2(default for ROME) NAPI=4(default for ihelium)
|
||||
rx_mode=4
|
||||
|
||||
#Enable VHT on 2.4Ghz
|
||||
gEnableVhtFor24GHzBand=1
|
||||
|
||||
# Regulatory Setting; 0=STRICT; 1=CUSTOM
|
||||
gRegulatoryChangeCountry=1
|
||||
|
||||
# userspace country code setting shld take priority
|
||||
gCountryCodePriority=1
|
||||
|
||||
# Enable/Disable LPASS support
|
||||
# 0 to disable, 1 to enable
|
||||
gEnableLpassSupport=1
|
||||
|
||||
# Enable(1)/Disable(0) SIFS burst
|
||||
gEnableSifsBurst=1
|
||||
|
||||
# Tx Chain Mask for CCK
|
||||
gCckChainMaskEnable=1
|
||||
|
||||
# Tx Chain Mask for 1SS
|
||||
gTxChainMask1ss=0
|
||||
|
||||
# TPC power
|
||||
gSelfGenFrmPwr=3
|
||||
|
||||
################ NAN feature set start ###################
|
||||
# Enable or Disable NAN
|
||||
# 1=Enable (default), 0=Disable
|
||||
gEnableNanSupport=1
|
||||
genable_nan_datapath=1
|
||||
gnan_datapath_ndi_channel=6
|
||||
################ NAN feature set end #####################
|
||||
|
||||
gIgnorePeerHTopMode=1
|
||||
gIgnorePeerErpInfo=1
|
||||
|
||||
# 802.11n Protection flag
|
||||
gEnableApProt=1
|
||||
|
||||
# Fixed Rate
|
||||
gFixedRate=0
|
||||
|
||||
# Intra-BSS forward
|
||||
gDisableIntraBssFwd=0
|
||||
|
||||
# WMM Enable/Disable
|
||||
WmmIsEnabled=0
|
||||
|
||||
# 802.11h support
|
||||
g11hSupportEnabled=1
|
||||
|
||||
#Short Guard Interval Enable/disable
|
||||
gShortGI20Mhz=1
|
||||
gShortGI40Mhz=1
|
||||
|
||||
#Auto Shutdown wlan : Value in Seconds. 0 means disabled. Max 1 day = 86400 sec
|
||||
gWlanAutoShutdown=0
|
||||
|
||||
#Preferred band (both or 2.4 only or 5 only)
|
||||
BandCapability=0
|
||||
|
||||
gVhtChannelWidth=2
|
||||
|
||||
# Enable Tx beamforming
|
||||
gTxBFEnable=1
|
||||
|
||||
# Set txchainmask and rxchainmask
|
||||
# These parameters are used only if gEnable2x2 is 0
|
||||
# Valid values are 1,2
|
||||
# Set gSetTxChainmask1x1=1 or gSetRxChainmask1x1=1 to select chain0.
|
||||
# Set gSetTxChainmask1x1=2 or gSetRxChainmask1x1=2 to select chain1.
|
||||
gSetTxChainmask1x1=1
|
||||
gSetRxChainmask1x1=1
|
||||
|
||||
#If set to 0, MCC is not allowed.
|
||||
gEnableMCCMode=1
|
||||
|
||||
# MCC to SCC Switch mode: 0-Disable 1-Enable 2-Force SCC if same band
|
||||
gWlanMccToSccSwitchMode = 0
|
||||
|
||||
# Maximum Receive AMPDU size (VHT only. Valid values: 0->8k 1->16k 2->32k 3->64k 4->128k)
|
||||
gVhtAmpduLenExponent=7
|
||||
|
||||
# Maximum number of concurrent connections
|
||||
gMaxConcurrentActiveSessions=3
|
||||
|
||||
# Radar PRI multiplier
|
||||
gDFSradarMappingPriMultiplier=4
|
||||
|
||||
# Enable or Disable Multi-user MIMO
|
||||
# 1=Enable (default), 0=Disable
|
||||
gEnableMuBformee=1
|
||||
|
||||
# Enable to check FW hash if secure FW feature is enabled. It's for defconfig
|
||||
# builds only since it will be ignored in performance/release builds.
|
||||
gEnableFWHashCheck=1
|
||||
|
||||
# Enable or Disable MCC Adaptive Scheduler at the FW
|
||||
# 1=Enable (default), 0=Disable
|
||||
gEnableMCCAdaptiveScheduler=1
|
||||
|
||||
# Disable/Enable GreenAP
|
||||
# 0 to disable, 1 to enable, default: 1
|
||||
gEnableGreenAp=0
|
||||
|
||||
################ Datapath feature set Begin ################
|
||||
# Bus bandwidth threshold values in terms of number of packets
|
||||
gBusBandwidthHighThreshold=2000
|
||||
gBusBandwidthMediumThreshold=500
|
||||
gBusBandwidthLowThreshold=150
|
||||
|
||||
# Bus bandwidth compute timeout value in ms
|
||||
gBusBandwidthComputeInterval=100
|
||||
|
||||
# VHT Tx/Rx MCS values
|
||||
# Valid values are 0,1,2. If commented out, the default value is 0.
|
||||
# 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
|
||||
gVhtRxMCS=2
|
||||
gVhtTxMCS=2
|
||||
|
||||
# VHT Tx/Rx MCS values for 2x2
|
||||
# Valid values are 0,1,2. If commented out, the default value is 0.
|
||||
# 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
|
||||
gEnable2x2=1
|
||||
gVhtRxMCS2x2=2
|
||||
gVhtTxMCS2x2=2
|
||||
|
||||
#IPA config is a bit mask and following are the configurations.
|
||||
#bit0 IPA Enable
|
||||
#bit1 IPA PRE Filter enable
|
||||
#bit2 IPv6 enable
|
||||
#bit3 IPA Resource Manager (RM) enable
|
||||
#bit4 IPA Clock scaling enable
|
||||
#bit5 IPA uC ENABLE
|
||||
#bit6 IPA uC STA ENABLE
|
||||
#bit8 IPA Real Time Debugging
|
||||
gIPAConfig=0
|
||||
gIPADescSize=800
|
||||
|
||||
# Enable/Disable RX full reorder offload
|
||||
gReorderOffloadSupported=1
|
||||
|
||||
# Enable CE classification
|
||||
# 1 - enable(default) 0 - disable
|
||||
gCEClassifyEnable=1
|
||||
|
||||
# Enable(Tx) fastpath for data traffic.
|
||||
# 1 - enable(default) 0 - disable
|
||||
gEnableFastPath=1
|
||||
|
||||
# This flag enables IP, TCP and UDP checksum offload
|
||||
# 1 - enable(default) 0 - disable
|
||||
gEnableIpTcpUdpChecksumOffload=1
|
||||
|
||||
# Enable TCP Segmentation Offload
|
||||
# 1 - enable 0 - disable
|
||||
TSOEnable=0
|
||||
|
||||
# Enable Large Recieve Offload
|
||||
# 1 - enable(default) 0 - disable
|
||||
LROEnable=1
|
||||
|
||||
# Enable HT MPDU Density
|
||||
# 4 for 2 micro sec
|
||||
ght_mpdu_density=4
|
||||
|
||||
# Enable flow steering to enable multiple CEs for Rx flows.
|
||||
# Multiple Rx CEs<==>Multiple Rx IRQs<==>probably different CPUs.
|
||||
# Parallel Rx paths.
|
||||
# 1 - enable 0 - disable(default)
|
||||
gEnableFlowSteering=1
|
||||
|
||||
################ Datapath feature set End ################
|
||||
|
||||
#############################################
|
||||
# SCAN related configurations
|
||||
#############################################
|
||||
# Enable/Disable Idle Scan
|
||||
gEnableIdleScan=0
|
||||
|
||||
#Enable Scan Results Aging based on timer
|
||||
#Timer value is in seconds
|
||||
#If Set to 0 it will not enable the feature
|
||||
gScanAgingTime=30
|
||||
|
||||
#Enable Scan Results Aging based on number of scans
|
||||
gScanResultAgeCount=1
|
||||
|
||||
#Enable thermal mitigation
|
||||
gThermalMitigationEnable=0
|
||||
|
||||
#Maximum Channel time in msec
|
||||
gMaxMediumTime=6000
|
||||
|
||||
# Scan Timing Parameters
|
||||
# gPassiveMaxChannelTime=110
|
||||
# gPassiveMinChannelTime=60
|
||||
gActiveMaxChannelTime=40
|
||||
gActiveMinChannelTime=20
|
||||
|
||||
gPNOScanSupport=1
|
||||
|
||||
# Perform PNO fast scan this many number of times
|
||||
gPNOScanTimerRepeatValue=6
|
||||
|
||||
# PNO slow scan period = gPNOSlowScanMultiplier times PNO fast scan period
|
||||
# Example: fast scan period is passed from framework (default = 10 sec), then
|
||||
# PNO slow scan period = 60 sec.
|
||||
gPNOSlowScanMultiplier=6
|
||||
|
||||
# Enable or Disable Extended Scan (GScan)
|
||||
# 1=Enable (default), 0=Disable
|
||||
gExtScanEnable=1
|
||||
|
||||
#If set will start with active scan after driver load, otherwise will start with
|
||||
#passive scan to find out the domain
|
||||
gEnableBypass11d=1
|
||||
|
||||
#If set to 0, will not scan DFS channels
|
||||
gEnableDFSChnlScan=1
|
||||
|
||||
#Maxium Channel time in msec
|
||||
gMaxMediumTime = 6000
|
||||
|
||||
adaptive_dwell_mode_enabled=1
|
||||
|
||||
hostscan_adaptive_dwell_mode=1
|
||||
|
||||
adapt_dwell_lpf_weight=80
|
||||
|
||||
adapt_dwell_wifi_act_threshold=10
|
||||
|
||||
# Enable or disable Probe Req Information Element whitelist. When enabled, IEs corresponding to bits
|
||||
# set in bitmaps are allowed in probe request, all others removed while device is unassociated
|
||||
# with an AP
|
||||
# 1=Enable, 0=Disable (default)
|
||||
g_enable_probereq_whitelist_ies=1
|
||||
|
||||
# ie bitmap examples: <bitmap_name>=<value> [<Allowed Information elements>]
|
||||
# g_probe_req_ie_bitmap_0=0x80000009 #[0, 3, 31]
|
||||
# g_probe_req_ie_bitmap_0=0x00000000 #[] (default)
|
||||
# g_probe_req_ie_bitmap_1=0x80000009 #[32, 35, 63]
|
||||
g_probe_req_ie_bitmap_0=0x0000000B
|
||||
# g_probe_req_ie_bitmap_1=0x00000000
|
||||
# g_probe_req_ie_bitmap_2=0x00000000
|
||||
# g_probe_req_ie_bitmap_3=0x00000000
|
||||
# g_probe_req_ie_bitmap_4=0x00000000
|
||||
# g_probe_req_ie_bitmap_5=0x00000000
|
||||
# g_probe_req_ie_bitmap_6=0x00000000
|
||||
# g_probe_req_ie_bitmap_7=0x00000000
|
||||
|
||||
#############################################
|
||||
# Power related configurations
|
||||
#############################################
|
||||
# Enable IMPS or not
|
||||
gEnableImps=1
|
||||
|
||||
# Enable BMPS or not
|
||||
gEnableBmps=1
|
||||
|
||||
# Increase sleep duration (seconds) during IMPS
|
||||
# 0 implies no periodic wake up from IMPS. Periodic wakeup is
|
||||
# unnecessary if Idle Scan is disabled.
|
||||
gImpsModSleepTime=0
|
||||
|
||||
# UAPSD service interval for VO,VI, BE, BK traffic
|
||||
InfraUapsdVoSrvIntv=0
|
||||
InfraUapsdViSrvIntv=0
|
||||
InfraUapsdBeSrvIntv=0
|
||||
InfraUapsdBkSrvIntv=0
|
||||
|
||||
# Enable suspend or not
|
||||
# 1: Enable standby, 2: Enable Deep sleep, 3: Enable Mcast/Bcast Filter
|
||||
gEnableSuspend=3
|
||||
|
||||
#Enable Power Save offload
|
||||
gEnablePowerSaveOffload=2
|
||||
|
||||
#Enable Power saving mechanism Based on Android Framework
|
||||
#If set to 0 Driver internally control the Power saving mechanism
|
||||
#If set to 1 Android Framwrok control the Power saving mechanism
|
||||
isAndroidPsEn=0
|
||||
|
||||
beaconEarlyTerminationWakeInterval=3
|
||||
|
||||
#Data Inactivity Timeout when in powersave (in ms)
|
||||
gDataInactivityTimeout=200
|
||||
|
||||
# Inactivity time (in ms) to end TX Service Period while in IBSS power save mode
|
||||
gIbssTxSpEndInactivityTime=10
|
||||
|
||||
gEnableModulatedDTIM=2
|
||||
gMaxLIModulatedDTIM=6
|
||||
|
||||
#############################################
|
||||
# Roaming related configurations
|
||||
#############################################
|
||||
# CSR Roaming Enable(1) Disable(0)
|
||||
gRoamingTime=0
|
||||
|
||||
# ESE Support and fast transition
|
||||
EseEnabled=1
|
||||
|
||||
gNeighborLookupThreshold=76
|
||||
gNeighborReassocThreshold=81
|
||||
gNeighborScanTimerPeriod=200
|
||||
gNeighborScanChannelMinTime=20
|
||||
gNeighborScanChannelMaxTime=30
|
||||
gMaxNeighborReqTries=3
|
||||
|
||||
# To enable, set gRoamIntraBand=1 (Roaming within band)
|
||||
# To disable, set gRoamIntraBand=0 (Roaming across band)
|
||||
gRoamIntraBand=0
|
||||
|
||||
# Legacy (non-ESE, non-802.11r) Fast Roaming Support
|
||||
# To enable, set FastRoamEnabled=1
|
||||
# To disable, set FastRoamEnabled=0
|
||||
FastRoamEnabled=1
|
||||
|
||||
#Check if the AP to which we are roaming is better than current AP in terms of RSSI.
|
||||
#Checking is disabled if set to Zero.Otherwise it will use this value as to how better
|
||||
#the RSSI of the new/roamable AP should be for roaming
|
||||
RoamRssiDiff=3
|
||||
|
||||
# If the RSSI of any available candidate is better than currently associated
|
||||
# AP by at least gImmediateRoamRssiDiff, then being to roam immediately (without
|
||||
# registering for reassoc threshold).
|
||||
# NOTE: Value of 0 means that we would register for reassoc threshold.
|
||||
gImmediateRoamRssiDiff=10
|
||||
|
||||
# 802.11K support
|
||||
gRrmEnable=1
|
||||
gRrmOperChanMax=8
|
||||
gRrmNonOperChanMax=8
|
||||
|
||||
gEnableFastRoamInConcurrency=1
|
||||
|
||||
# Enable/Disable Roaming Offload Support (a.k.a Key Management Offload)
|
||||
# 0 to disable, 1 to enable
|
||||
gRoamOffloadEnabled=1
|
||||
|
||||
gAllowDFSChannelRoam=1
|
||||
|
||||
#############################################
|
||||
# Offload related configurations
|
||||
#############################################
|
||||
# Beacon filtering frequency (unit in beacon intervals)
|
||||
gNthBeaconFilter=50
|
||||
|
||||
# Enable WAPI or not
|
||||
# WAPIIsEnabled=0
|
||||
# Flags to filter Mcast abd Bcast RX packets.
|
||||
# Value 0: No filtering, 1: Filter all Multicast.
|
||||
# 2: Filter all Broadcast. 3: Filter all Mcast abd Bcast
|
||||
McastBcastFilter=3
|
||||
|
||||
#Flag to enable HostARPOffload feature or not
|
||||
hostArpOffload=1
|
||||
|
||||
#Flag to enable HostNSOffload feature or not
|
||||
hostNSOffload=1
|
||||
|
||||
# controlling the following offload patterns
|
||||
# through ini parameter. Default value is 1
|
||||
# to disable set it to zero. ssdp = 0
|
||||
# Setup multicast pattern for mDNS 224.0.0.251,
|
||||
# SSDP 239.255.255.250 and LLMNR 224.0.0.252
|
||||
ssdp = 0
|
||||
|
||||
#Enable MC address filtering offload
|
||||
gMCAddrListEnable=1
|
||||
|
||||
#Enable Active mode offload
|
||||
gActiveModeOffload=1
|
||||
|
||||
#Enable Active mode offload
|
||||
gEnableActiveModeOffload=1
|
||||
|
||||
#Enable APF in Active mode
|
||||
gActiveUcBpfMode=2
|
||||
gActiveMcBcBpfMode=1
|
||||
|
||||
#HW CCE Filter mode
|
||||
gHwFilterMode=0
|
||||
|
||||
# WOW Enable/Disable.
|
||||
# 0 - Disable both magic pattern match and pattern byte match.
|
||||
# 1 - Enable magic pattern match on all interfaces.
|
||||
# 2 - Enable pattern byte match on all interfaces.
|
||||
# 3 - Enable both magic patter and pattern byte match on all interfaces.
|
||||
# Default value of gEnableWoW is 3.
|
||||
# gEnableWoW=0
|
||||
|
||||
|
||||
#############################################
|
||||
# Logging related configurations
|
||||
#############################################
|
||||
gEnableLogp=1
|
||||
|
||||
gEnableSelfRecovery=1
|
||||
|
||||
#Enable firmware log
|
||||
gEnablefwlog=1
|
||||
# Additional firmware log levels
|
||||
gFwDebugLogLevel=3
|
||||
gFwDebugModuleLoglevel=2,1,3,1,5,1,9,1,13,1,14,1,18,1,19,1,26,1,28,1,29,1,31,1,36,1,38,1,46,1,47,1,50,1,52,1,53,1,56,1,60,1,61,1,4,1
|
||||
|
||||
#Enable firmware uart print
|
||||
gEnablefwprint=0
|
||||
|
||||
#############################################
|
||||
# TDLS related configurations
|
||||
#############################################
|
||||
# Enable support for TDLS
|
||||
# 0 - disable
|
||||
# 1 - enable
|
||||
gEnableTDLSSupport=1
|
||||
|
||||
# Enable support for Implicit Trigger of TDLS. That is, wlan driver shall
|
||||
# initiate TDLS Discovery towards a peer whenever setup criteria (throughput
|
||||
# and RSSI) is met and then will initiate teardown when teardown criteria
|
||||
# (idle packet count and RSSI) is met.
|
||||
# 0 - disable
|
||||
# 1 - enable
|
||||
gEnableTDLSImplicitTrigger=1
|
||||
|
||||
# Enable TDLS External Control. That is, user space application has to
|
||||
# first configure a peer MAC in wlan driver towards which TDLS is desired.
|
||||
# Device will establish TDLS only towards those configured peers whenever
|
||||
# TDLS criteria (throughput and RSSI threshold) is met and teardown TDLS
|
||||
# when teardown criteria (idle packet count and RSSI) is met. However,
|
||||
# device will accept TDLS connection if it is initiated from any other peer,
|
||||
# even if that peer is not configured.
|
||||
# 0 - disable
|
||||
# 1 - enable
|
||||
# For TDLS External Control, Implicit Trigger must also be enabled.
|
||||
gTDLSExternalControl=1
|
||||
|
||||
# Enable support for TDLS off-channel operation
|
||||
# 0 - disable
|
||||
# 1 - enable
|
||||
# TDLS off-channel operation will be invoked when there is only one
|
||||
# TDLS connection.
|
||||
gEnableTDLSOffChannel=1
|
||||
|
||||
gEnableTDLSScan=1
|
||||
gTDLSTxPacketThreshold=10
|
||||
gTDLSIdlePacketThreshold=1
|
||||
|
||||
#############################################
|
||||
# P2P related configurations
|
||||
#############################################
|
||||
#P2P Listen offload
|
||||
gEnableP2pListenOffload=1
|
||||
|
||||
#Enable or Disable p2p device address administered
|
||||
isP2pDeviceAddrAdministrated=0
|
||||
|
||||
#Say gGoKeepAlivePeriod(5 seconds) and gGoLinkMonitorPeriod(10 seconds).
|
||||
#For every 10 seconds DUT send Qos Null frame(i.e., Keep Alive frame if link is idle for last 10 seconds.)
|
||||
#For both active and power save clients.
|
||||
|
||||
#Power save clients: DUT set TIM bit from 10th second onwards and till client honors TIM bit.
|
||||
#If doesn't honor for 5 seconds then DUT remove client.
|
||||
|
||||
#Active clients: DUT send Qos Null frame for 10th seconds onwards if it is not success still we try on
|
||||
#11th second if not tries on 12th and so on till 15th second. Hence before disconnection DUT will send 5 NULL frames.
|
||||
#Hence in any case DUT will detect client got removed in (10+5) seconds. i.e., (gGoKeepAlivePeriod + gGoLinkMonitorPeriod)..
|
||||
|
||||
#gGoLinkMonitorPeriod/ gApLinkMonitorPeriod is period where link is idle and it is period
|
||||
#where we send NULL frame.
|
||||
|
||||
#gApLinkMonitorPeriod = 10
|
||||
#gGoLinkMonitorPeriod = 10
|
||||
|
||||
#gGoKeepAlivePeriod/gApKeepAlivePeriod is time to spend to check whether frame are succeed to send or not.
|
||||
#Hence total effective detection time is gGoLinkMonitorPeriod+ gGoKeepAlivePeriod/gApLinkMonitorPeriod+ gApKeepAlivePeriod.
|
||||
gGoKeepAlivePeriod = 20
|
||||
gApKeepAlivePeriod = 20
|
||||
|
||||
#############################################
|
||||
# SAP related configurations
|
||||
#############################################
|
||||
#Enable OBSS protection
|
||||
gEnableApOBSSProt=1
|
||||
|
||||
#Enable/Disable UAPSD for SoftAP
|
||||
gEnableApUapsd=1
|
||||
|
||||
# SAP auto channel selection configuration
|
||||
# 0 = disable auto channel selection
|
||||
# 1 = enable auto channel selection, channel provided by supplicant will be ignored
|
||||
gApAutoChannelSelection=0
|
||||
|
||||
#SOFTAP Channel Range selection
|
||||
gAPChannelSelectStartChannel=1
|
||||
gAPChannelSelectEndChannel=11
|
||||
|
||||
# SAP Country code
|
||||
# Default Country Code is 2 bytes, 3rd byte is optional indoor or out door.
|
||||
# Example
|
||||
# US Indoor, USI
|
||||
# Korea Outdoor, KRO
|
||||
# Japan without optional byte, JP
|
||||
# France without optional byte, FR
|
||||
#gAPCntryCode=USI
|
||||
|
||||
# DFS Master Capability
|
||||
gEnableDFSMasterCap=1
|
||||
|
||||
# Disable 11AC for hotspot
|
||||
gSapForce11NFor11AC=1
|
||||
|
||||
#Auto Shutdown Value in seconds. A value of 0 means Auto shutoff is disabled
|
||||
gAPAutoShutOff=0
|
||||
|
||||
# Remove Overlap channel restriction
|
||||
gEnableOverLapCh=0
|
||||
|
||||
# Enable/Disable channel avoidance for SAP in SCC scenario
|
||||
# 0 - disable
|
||||
# 1 - enable
|
||||
gSapSccChanAvoidance=0
|
||||
|
||||
#Enable/Disable Tx beamformee in SAP mode
|
||||
gEnableTxBFeeSAP=1
|
||||
|
||||
|
||||
|
||||
#Enable/Disable dual MAC feature
|
||||
# 0 - enable DBS
|
||||
# 1 - disable DBS
|
||||
# 2 - disable DBS for connection but keep DBS for scan
|
||||
# 3 - disable DBS for connection but keep DBS scan with async
|
||||
# scan policy disabled
|
||||
# 4 - enable DBS for connection as well as for scan with async
|
||||
# scan policy disabled
|
||||
gDualMacFeatureDisable=2
|
||||
|
||||
#Set priority for connection with bssid_hint
|
||||
g_is_bssid_hint_priority=0
|
||||
|
||||
gdbs_scan_selection=5,4,1,16,4,1
|
||||
|
||||
enable_11d_in_world_mode=1
|
||||
|
||||
gEnableLPRx=0
|
||||
|
||||
END
|
||||
|
||||
# Note: Configuration parser would not read anything past the END marker
|
||||
40
aosp_muskie.mk
Normal file
40
aosp_muskie.mk
Normal file
@@ -0,0 +1,40 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
|
||||
# Inherit from the common Open Source product configuration
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
|
||||
|
||||
|
||||
$(call inherit-product, device/google/muskie/device-muskie.mk)
|
||||
$(call inherit-product-if-exists, vendor/google_devices/muskie/proprietary/device-vendor-muskie.mk)
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
Dialer \
|
||||
Launcher3 \
|
||||
WallpaperPicker
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/muskie/audio_effects.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.conf
|
||||
|
||||
PRODUCT_RESTRICT_VENDOR_FILES := owner
|
||||
|
||||
PRODUCT_MANUFACTURER := Google
|
||||
PRODUCT_BRAND := Android
|
||||
PRODUCT_NAME := aosp_muskie
|
||||
PRODUCT_DEVICE := muskie
|
||||
PRODUCT_MODEL := AOSP on muskie
|
||||
39
aosp_walleye.mk
Normal file
39
aosp_walleye.mk
Normal file
@@ -0,0 +1,39 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
# Inherit from the common Open Source product configuration
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
|
||||
|
||||
|
||||
$(call inherit-product, device/google/muskie/device-walleye.mk)
|
||||
$(call inherit-product-if-exists, vendor/google_devices/muskie/proprietary/device-vendor-walleye.mk)
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
Dialer \
|
||||
Launcher3 \
|
||||
WallpaperPicker
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/muskie/audio_effects.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.conf
|
||||
|
||||
PRODUCT_RESTRICT_VENDOR_FILES := owner
|
||||
|
||||
PRODUCT_MANUFACTURER := Google
|
||||
PRODUCT_BRAND := Android
|
||||
PRODUCT_NAME := aosp_walleye
|
||||
PRODUCT_DEVICE := walleye
|
||||
PRODUCT_MODEL := AOSP on walleye
|
||||
19
aosp_walleye_test.mk
Normal file
19
aosp_walleye_test.mk
Normal file
@@ -0,0 +1,19 @@
|
||||
#
|
||||
# Copyright 2017 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.
|
||||
#
|
||||
|
||||
$(call inherit-product, device/google/muskie/aosp_walleye.mk)
|
||||
|
||||
PRODUCT_NAME := aosp_walleye_test
|
||||
331
audio_effects.conf
Normal file
331
audio_effects.conf
Normal file
@@ -0,0 +1,331 @@
|
||||
# List of effect libraries to load. Each library element must contain a "path" element
|
||||
# giving the full path of the library .so file.
|
||||
# libraries {
|
||||
# <lib name> {
|
||||
# path <lib path>
|
||||
# }
|
||||
# }
|
||||
libraries {
|
||||
bundle {
|
||||
path /vendor/lib/soundfx/libbundlewrapper.so
|
||||
}
|
||||
reverb {
|
||||
path /vendor/lib/soundfx/libreverbwrapper.so
|
||||
}
|
||||
visualizer_sw {
|
||||
path /vendor/lib/soundfx/libvisualizer.so
|
||||
}
|
||||
visualizer_hw {
|
||||
path /vendor/lib/soundfx/libqcomvisualizer.so
|
||||
}
|
||||
downmix {
|
||||
path /vendor/lib/soundfx/libdownmix.so
|
||||
}
|
||||
loudness_enhancer {
|
||||
path /vendor/lib/soundfx/libldnhncr.so
|
||||
}
|
||||
proxy {
|
||||
path /vendor/lib/soundfx/libeffectproxy.so
|
||||
}
|
||||
offload_bundle {
|
||||
path /vendor/lib/soundfx/libqcompostprocbundle.so
|
||||
}
|
||||
audio_pre_processing {
|
||||
path /vendor/lib/soundfx/libqcomvoiceprocessing.so
|
||||
}
|
||||
volume_listener {
|
||||
path /vendor/lib/soundfx/libvolumelistener.so
|
||||
}
|
||||
}
|
||||
|
||||
# Default pre-processing library. Add to audio_effect.conf "libraries" section if
|
||||
# audio HAL implements support for default software audio pre-processing effects
|
||||
#
|
||||
# pre_processing {
|
||||
# path /system/lib/soundfx/libaudiopreprocessing.so
|
||||
# }
|
||||
|
||||
# list of effects to load. Each effect element must contain a "library" and a "uuid" element.
|
||||
# The value of the "library" element must correspond to the name of one library element in the
|
||||
# "libraries" element.
|
||||
# The name of the effect element is indicative, only the value of the "uuid" element
|
||||
# designates the effect.
|
||||
# The uuid is the implementation specific UUID as specified by the effect vendor. This is not the
|
||||
# generic effect type UUID.
|
||||
# effects {
|
||||
# <fx name> {
|
||||
# library <lib name>
|
||||
# uuid <effect uuid>
|
||||
# }
|
||||
# ...
|
||||
# }
|
||||
|
||||
effects {
|
||||
|
||||
# additions for the proxy implementation
|
||||
# Proxy implementation
|
||||
#effectname {
|
||||
#library proxy
|
||||
#uuid xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
||||
|
||||
# SW implemetation of the effect. Added as a node under the proxy to
|
||||
# indicate this as a sub effect.
|
||||
#libsw {
|
||||
#library libSW
|
||||
#uuid yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
|
||||
#} End of SW effect
|
||||
|
||||
# HW implementation of the effect. Added as a node under the proxy to
|
||||
# indicate this as a sub effect.
|
||||
#libhw {
|
||||
#library libHW
|
||||
#uuid zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzz
|
||||
#}End of HW effect
|
||||
#} End of effect proxy
|
||||
|
||||
bassboost {
|
||||
library proxy
|
||||
uuid 14804144-a5ee-4d24-aa88-0002a5d5c51b
|
||||
|
||||
libsw {
|
||||
library bundle
|
||||
uuid 8631f300-72e2-11df-b57e-0002a5d5c51b
|
||||
}
|
||||
|
||||
libhw {
|
||||
library offload_bundle
|
||||
uuid 2c4a8c24-1581-487f-94f6-0002a5d5c51b
|
||||
}
|
||||
}
|
||||
virtualizer {
|
||||
library proxy
|
||||
uuid d3467faa-acc7-4d34-acaf-0002a5d5c51b
|
||||
|
||||
libsw {
|
||||
library bundle
|
||||
uuid 1d4033c0-8557-11df-9f2d-0002a5d5c51b
|
||||
}
|
||||
|
||||
libhw {
|
||||
library offload_bundle
|
||||
uuid 509a4498-561a-4bea-b3b1-0002a5d5c51b
|
||||
}
|
||||
}
|
||||
equalizer {
|
||||
library proxy
|
||||
uuid c8e70ecd-48ca-456e-8a4f-0002a5d5c51b
|
||||
|
||||
libsw {
|
||||
library bundle
|
||||
uuid ce772f20-847d-11df-bb17-0002a5d5c51b
|
||||
}
|
||||
|
||||
libhw {
|
||||
library offload_bundle
|
||||
uuid a0dac280-401c-11e3-9379-0002a5d5c51b
|
||||
}
|
||||
}
|
||||
volume {
|
||||
library bundle
|
||||
uuid 119341a0-8469-11df-81f9-0002a5d5c51b
|
||||
}
|
||||
reverb_env_aux {
|
||||
library proxy
|
||||
uuid 48404ac9-d202-4ccc-bf84-0002a5d5c51b
|
||||
|
||||
libsw {
|
||||
library reverb
|
||||
uuid 4a387fc0-8ab3-11df-8bad-0002a5d5c51b
|
||||
}
|
||||
|
||||
libhw {
|
||||
library offload_bundle
|
||||
uuid 79a18026-18fd-4185-8233-0002a5d5c51b
|
||||
}
|
||||
}
|
||||
reverb_env_ins {
|
||||
library proxy
|
||||
uuid b707403a-a1c1-4291-9573-0002a5d5c51b
|
||||
|
||||
libsw {
|
||||
library reverb
|
||||
uuid c7a511a0-a3bb-11df-860e-0002a5d5c51b
|
||||
}
|
||||
|
||||
libhw {
|
||||
library offload_bundle
|
||||
uuid eb64ea04-973b-43d2-8f5e-0002a5d5c51b
|
||||
}
|
||||
}
|
||||
reverb_pre_aux {
|
||||
library proxy
|
||||
uuid 1b78f587-6d1c-422e-8b84-0002a5d5c51b
|
||||
|
||||
libsw {
|
||||
library reverb
|
||||
uuid f29a1400-a3bb-11df-8ddc-0002a5d5c51b
|
||||
}
|
||||
|
||||
libhw {
|
||||
library offload_bundle
|
||||
uuid 6987be09-b142-4b41-9056-0002a5d5c51b
|
||||
}
|
||||
}
|
||||
reverb_pre_ins {
|
||||
library proxy
|
||||
uuid f3e178d2-ebcb-408e-8357-0002a5d5c51b
|
||||
|
||||
libsw {
|
||||
library reverb
|
||||
uuid 172cdf00-a3bc-11df-a72f-0002a5d5c51b
|
||||
}
|
||||
|
||||
libhw {
|
||||
library offload_bundle
|
||||
uuid aa2bebf6-47cf-4613-9bca-0002a5d5c51b
|
||||
}
|
||||
}
|
||||
visualizer {
|
||||
library proxy
|
||||
uuid 1d0a1a53-7d5d-48f2-8e71-27fbd10d842c
|
||||
|
||||
libsw {
|
||||
library visualizer_sw
|
||||
uuid d069d9e0-8329-11df-9168-0002a5d5c51b
|
||||
}
|
||||
|
||||
libhw {
|
||||
library visualizer_hw
|
||||
uuid 7a8044a0-1a71-11e3-a184-0002a5d5c51b
|
||||
}
|
||||
}
|
||||
downmix {
|
||||
library downmix
|
||||
uuid 93f04452-e4fe-41cc-91f9-e475b6d1d69f
|
||||
}
|
||||
loudness_enhancer {
|
||||
library loudness_enhancer
|
||||
uuid fa415329-2034-4bea-b5dc-5b381c8d1e2c
|
||||
}
|
||||
aec {
|
||||
library audio_pre_processing
|
||||
uuid 5d593ae0-1ef9-11e7-93ae-92361f002671
|
||||
}
|
||||
ns {
|
||||
library audio_pre_processing
|
||||
uuid 5d593d56-1ef9-11e7-93ae-92361f002671
|
||||
}
|
||||
music_helper {
|
||||
library volume_listener
|
||||
uuid 08b8b058-0590-11e5-ac71-0025b32654a0
|
||||
}
|
||||
ring_helper {
|
||||
library volume_listener
|
||||
uuid 0956df94-0590-11e5-bdbe-0025b32654a0
|
||||
}
|
||||
alarm_helper {
|
||||
library volume_listener
|
||||
uuid 09f303e2-0590-11e5-8fdb-0025b32654a0
|
||||
}
|
||||
# voice_helper is called when stream type is voice_call in VoIP usecase
|
||||
voice_helper {
|
||||
library volume_listener
|
||||
uuid 0ace5c08-0590-11e5-ae9e-0025b32654a0
|
||||
}
|
||||
notification_helper {
|
||||
library volume_listener
|
||||
uuid 0b776dde-0590-11e5-81ba-0025b32654a0
|
||||
}
|
||||
}
|
||||
|
||||
# additional effect from vendor
|
||||
# UUID generated using version 1
|
||||
|
||||
output_session_processing {
|
||||
music {
|
||||
music_helper {
|
||||
}
|
||||
}
|
||||
ring {
|
||||
ring_helper {
|
||||
}
|
||||
}
|
||||
alarm {
|
||||
alarm_helper {
|
||||
}
|
||||
}
|
||||
# stream type voice_call is used for VoIP call
|
||||
voice_call {
|
||||
voice_helper {
|
||||
}
|
||||
}
|
||||
notification {
|
||||
notification_helper {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pre_processing {
|
||||
voice_communication {
|
||||
aec {
|
||||
}
|
||||
ns {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Default pre-processing effects. Add to audio_effect.conf "effects" section if
|
||||
# audio HAL implements support for them.
|
||||
#
|
||||
# agc {
|
||||
# library pre_processing
|
||||
# uuid aa8130e0-66fc-11e0-bad0-0002a5d5c51b
|
||||
# }
|
||||
# aec {
|
||||
# library pre_processing
|
||||
# uuid bb392ec0-8d4d-11e0-a896-0002a5d5c51b
|
||||
# }
|
||||
# ns {
|
||||
# library pre_processing
|
||||
# uuid c06c8400-8e06-11e0-9cb6-0002a5d5c51b
|
||||
# }
|
||||
|
||||
# Audio preprocessor configurations.
|
||||
# The pre processor configuration consists in a list of elements each describing
|
||||
# pre processor settings for a given input source. Valid input source names are:
|
||||
# "mic", "camcorder", "voice_recognition", "voice_communication"
|
||||
# Each input source element contains a list of effects elements. The name of the effect
|
||||
# element must be the name of one of the effects in the "effects" list of the file.
|
||||
# Each effect element may optionally contain a list of parameters and their
|
||||
# default value to apply when the pre processor effect is created.
|
||||
# A parameter is defined by a "param" element and a "value" element. Each of these elements
|
||||
# consists in one or more elements specifying a type followed by a value.
|
||||
# The types defined are: "int", "short", "float", "bool" and "string"
|
||||
# When both "param" and "value" are a single int, a simple form is allowed where just
|
||||
# the param and value pair is present in the parameter description
|
||||
# pre_processing {
|
||||
# <input source name> {
|
||||
# <fx name> {
|
||||
# <param 1 name> {
|
||||
# param {
|
||||
# int|short|float|bool|string <value>
|
||||
# [ int|short|float|bool|string <value> ]
|
||||
# ...
|
||||
# }
|
||||
# value {
|
||||
# int|short|float|bool|string <value>
|
||||
# [ int|short|float|bool|string <value> ]
|
||||
# ...
|
||||
# }
|
||||
# }
|
||||
# <param 2 name > {<param> <value>}
|
||||
# ...
|
||||
# }
|
||||
# ...
|
||||
# }
|
||||
# ...
|
||||
# }
|
||||
|
||||
#
|
||||
# TODO: add default audio pre processor configurations after debug and tuning phase
|
||||
#
|
||||
122
audio_platform_info_tavil.xml
Normal file
122
audio_platform_info_tavil.xml
Normal file
@@ -0,0 +1,122 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!-- Copyright (c) 2014, 2016, 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. -->
|
||||
<audio_platform_info>
|
||||
<acdb_ids>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER" acdb_id="15"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_SPEAKER" acdb_id="14"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_HFP" acdb_id="14"/>
|
||||
<device name="SND_DEVICE_IN_VOICE_REC_MIC" acdb_id="41"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_HAC_HANDSET" acdb_id="201"/>
|
||||
<device name="SND_DEVICE_IN_VOICE_SPEAKER_DMIC" acdb_id="19"/>
|
||||
<device name="SND_DEVICE_IN_VOICE_REC_DMIC_STEREO" acdb_id="505"/>
|
||||
<device name="SND_DEVICE_IN_VOICE_REC_MIC_AEC_NS" acdb_id="114"/>
|
||||
<device name="SND_DEVICE_IN_UNPROCESSED_MIC" acdb_id="143"/>
|
||||
<device name="SND_DEVICE_IN_UNPROCESSED_STEREO_MIC" acdb_id="144"/>
|
||||
<device name="SND_DEVICE_IN_UNPROCESSED_THREE_MIC" acdb_id="145"/>
|
||||
<device name="SND_DEVICE_IN_UNPROCESSED_QUAD_MIC" acdb_id="146"/>
|
||||
<device name="SND_DEVICE_IN_UNPROCESSED_HEADSET_MIC" acdb_id="65"/>
|
||||
<device name="SND_DEVICE_IN_BT_SCO_MIC_NREC" acdb_id="122"/>
|
||||
<device name="SND_DEVICE_IN_BT_SCO_MIC_WB_NREC" acdb_id="123"/>
|
||||
<device name="SND_DEVICE_IN_VOICE_DMIC_TMUS" acdb_id="99"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_HANDSET_TMUS" acdb_id="98"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_TTY_HCO_HANDSET" acdb_id="14"/>
|
||||
<device name="SND_DEVICE_IN_VOICE_TTY_HCO_USB_MIC" acdb_id="16"/>
|
||||
<device name="SND_DEVICE_IN_VOICE_TTY_VCO_HANDSET_MIC" acdb_id="19"/>
|
||||
<device name="SND_DEVICE_IN_VOICE_TTY_FULL_USB_MIC" acdb_id="16"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_TTY_FULL_USB" acdb_id="17"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_USB_HEADPHONES" acdb_id="10"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_USB_HEADSET" acdb_id="10"/>
|
||||
<device name="SND_DEVICE_IN_USB_HEADSET_MIC_AEC" acdb_id="130 "/>
|
||||
<device name="SND_DEVICE_IN_VOICE_USB_HEADSET_MIC" acdb_id="8"/>
|
||||
<device name="SND_DEVICE_IN_UNPROCESSED_USB_HEADSET_MIC" acdb_id="143"/>
|
||||
<device name="SND_DEVICE_IN_VOICE_RECOG_USB_HEADSET_MIC" acdb_id="44"/>
|
||||
</acdb_ids>
|
||||
<bit_width_configs>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER" bit_width="24"/>
|
||||
</bit_width_configs>
|
||||
<pcm_ids>
|
||||
<usecase name="USECASE_AUDIO_PLAYBACK_LOW_LATENCY" type="out" id="13"/>
|
||||
<usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD" type="out" id="8"/>
|
||||
<usecase name="USECASE_VOWLAN_CALL" type="in" id="-1"/>
|
||||
<usecase name="USECASE_VOWLAN_CALL" type="out" id="-1"/>
|
||||
<usecase name="USECASE_AUDIO_RECORD_LOW_LATENCY" type="in" id="17" />
|
||||
<usecase name="USECASE_AUDIO_PLAYBACK_ULL" type="out" id="17" />
|
||||
<usecase name="USECASE_VOICEMMODE1_CALL" type="in" id="2" />
|
||||
<usecase name="USECASE_VOICEMMODE1_CALL" type="out" id="2" />
|
||||
<usecase name="USECASE_VOICEMMODE2_CALL" type="in" id="19" />
|
||||
<usecase name="USECASE_VOICEMMODE2_CALL" type="out" id="19" />
|
||||
<usecase name="USECASE_AUDIO_PLAYBACK_AFE_PROXY" type="out" id="6" />
|
||||
<usecase name="USECASE_AUDIO_RECORD_AFE_PROXY" type="in" id="7" />
|
||||
<usecase name="USECASE_AUDIO_PLAYBACK_MMAP" type="out" id="4" />
|
||||
<usecase name="USECASE_AUDIO_RECORD_MMAP" type="in" id="4" />
|
||||
<usecase name="USECASE_AUDIO_PLAYBACK_VOIP" type="out" id="16" />
|
||||
<usecase name="USECASE_AUDIO_RECORD_VOIP" type="in" id="16" />
|
||||
</pcm_ids>
|
||||
<config_params>
|
||||
<param key="input_mic_max_count" value="3"/>
|
||||
<param key="snd_card_name" value="msm8998-tavil-snd-card"/>
|
||||
</config_params>
|
||||
<backend_names>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER" backend="speaker" interface="QUAT_MI2S_RX"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_SPEAKER" backend="speaker" interface="QUAT_MI2S_RX"/>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_REVERSE" backend="speaker" interface="QUAT_MI2S_RX"/>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_SAFE" backend="speaker" interface="QUAT_MI2S_RX"/>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_PROTECTED" backend="speaker" interface="QUAT_MI2S_RX"/>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_AND_USB_HEADSET" backend="speaker-and-usb-headphones" interface="QUAT_MI2S_RX-and-USB_AUDIO_RX"/>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_SAFE_AND_USB_HEADSET" backend="speaker-and-usb-headphones" interface="QUAT_MI2S_RX-and-USB_AUDIO_RX"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_SPEAKER_HFP" backend="speaker" interface="QUAT_MI2S_RX"/>
|
||||
<device name="SND_DEVICE_OUT_HANDSET" backend="handset" interface="QUAT_MI2S_RX"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_HANDSET" backend="handset" interface="QUAT_MI2S_RX"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_HAC_HANDSET" backend="handset" interface="QUAT_MI2S_RX"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_HANDSET_TMUS" backend="handset" interface="QUAT_MI2S_RX"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_TTY_FULL_USB" backend="usb-headset" interface="USB_AUDIO_RX"/>
|
||||
<device name="SND_DEVICE_IN_VOICE_TTY_FULL_USB_MIC" backend="usb-headset-mic" interface="USB_AUDIO_TX"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_TTY_VCO_USB" backend="usb-headphones" interface="USB_AUDIO_RX"/>
|
||||
<device name="SND_DEVICE_OUT_VOICE_TTY_HCO_HANDSET" backend="voice-tty-hco-handset" interface="QUAT_MI2S_RX"/>
|
||||
<device name="SND_DEVICE_IN_VOICE_TTY_HCO_USB_MIC" backend="usb-headset-mic" interface="USB_AUDIO_TX"/>
|
||||
<device name="SND_DEVICE_OUT_BT_SCO" backend="bt-sco" interface="SLIMBUS_7_RX"/>
|
||||
<device name="SND_DEVICE_OUT_BT_SCO_WB" backend="bt-sco-wb" interface="SLIMBUS_7_RX"/>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_AND_BT_SCO" backend="speaker-and-bt-sco" interface="QUAT_MI2S_RX-and-SLIMBUS_7_RX"/>
|
||||
<device name="SND_DEVICE_OUT_SPEAKER_AND_BT_SCO_WB" backend="speaker-and-bt-sco-wb" interface="QUAT_MI2S_RX-and-SLIMBUS_7_RX"/>
|
||||
</backend_names>
|
||||
<gain_db_to_level_mapping>
|
||||
<gain_level_map db="-70" level="4"/>
|
||||
<gain_level_map db="-12.5" level="3"/>
|
||||
<gain_level_map db="-7.2" level="2"/>
|
||||
<gain_level_map db="-3.6" level="1"/>
|
||||
<gain_level_map db="0" level="0"/>
|
||||
</gain_db_to_level_mapping>
|
||||
<app_types>
|
||||
<app uc_type="PCM_PLAYBACK" mode="default" bit_width="16" id="69936" max_rate="96000" />
|
||||
<app uc_type="PCM_PLAYBACK" mode="default" bit_width="24" id="69940" max_rate="192000" />
|
||||
<app uc_type="PCM_PLAYBACK" mode="voip" bit_width="16" id="69945" max_rate="48000" />
|
||||
<app uc_type="PCM_CAPTURE" mode="default" bit_width="16" id="69938" max_rate="96000" />
|
||||
<app uc_type="PCM_CAPTURE" mode="default" bit_width="24" id="69940" max_rate="96000" />
|
||||
<app uc_type="PCM_CAPTURE" mode="voip" bit_width="16" id="69945" max_rate="48000" />
|
||||
</app_types>
|
||||
</audio_platform_info>
|
||||
|
||||
194
audio_policy_volumes.xml
Normal file
194
audio_policy_volumes.xml
Normal file
@@ -0,0 +1,194 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright (C) 2015 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.
|
||||
-->
|
||||
<!-- Volume section defines a volume curve for a given use case and device category.
|
||||
It contains a list of points of this curve expressing the attenuation in Millibels for a given
|
||||
volume index from 0 to 100.
|
||||
<volume stream=”AUDIO_STREAM_MUSIC” deviceCategory=””>
|
||||
<point>0,-9600</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
-->
|
||||
|
||||
<volumes>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>0,-2900</point>
|
||||
<point>57,-1450</point>
|
||||
<point>71,-950</point>
|
||||
<point>86,-550</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-2200</point>
|
||||
<point>14,-1900</point>
|
||||
<point>71,-800</point>
|
||||
<point>86,-550</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EARPIECE">
|
||||
<point>0,-2500</point>
|
||||
<point>71,-650</point>
|
||||
<point>86,-300</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA">
|
||||
<point>0,-2900</point>
|
||||
<point>57,-1400</point>
|
||||
<point>71,-950</point>
|
||||
<point>86,-550</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>1,-3000</point>
|
||||
<point>33,-2600</point>
|
||||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-4680</point>
|
||||
<point>42,-2070</point>
|
||||
<point>85,-540</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-5500</point>
|
||||
<point>53,-2130</point>
|
||||
<point>60,-1950</point>
|
||||
<point>73,-1600</point>
|
||||
<point>80,-1200</point>
|
||||
<point>86,-680</point>
|
||||
<point>93,-340</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-4680</point>
|
||||
<point>42,-2070</point>
|
||||
<point>85,-540</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-4680</point>
|
||||
<point>42,-2070</point>
|
||||
<point>85,-540</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>0,-4200</point>
|
||||
<point>33,-2800</point>
|
||||
<point>66,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-2400</point>
|
||||
<point>33,-1600</point>
|
||||
<point>66,-800</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EARPIECE">
|
||||
<point>0,-4200</point>
|
||||
<point>33,-2800</point>
|
||||
<point>66,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>1,-3000</point>
|
||||
<point>33,-2600</point>
|
||||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>1,-3000</point>
|
||||
<point>33,-2600</point>
|
||||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
</volumes>
|
||||
|
||||
1
board-info.txt
Normal file
1
board-info.txt
Normal file
@@ -0,0 +1 @@
|
||||
require board=muskie|walleye
|
||||
136
device-common.mk
Normal file
136
device-common.mk
Normal file
@@ -0,0 +1,136 @@
|
||||
#
|
||||
# Copyright (C) 2017 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.
|
||||
#
|
||||
|
||||
LOCAL_PATH := device/google/muskie
|
||||
|
||||
# Audio XMLs
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/mixer_paths_tavil.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tavil.xml \
|
||||
$(LOCAL_PATH)/audio_platform_info_tavil.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_tavil.xml \
|
||||
$(LOCAL_PATH)/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml
|
||||
|
||||
# Bug 62375603
|
||||
PRODUCT_PROPERTY_OVERRIDES += audio.adm.buffering.ms=3
|
||||
PRODUCT_PROPERTY_OVERRIDES += vendor.audio.adm.buffering.ms=3
|
||||
PRODUCT_PROPERTY_OVERRIDES += audio_hal.period_multiplier=2
|
||||
PRODUCT_PROPERTY_OVERRIDES += af.fast_track_multiplier=1
|
||||
|
||||
|
||||
# Pro audio feature
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml
|
||||
|
||||
# Enable AAudio MMAP/NOIRQ data path.
|
||||
# 1 is AAUDIO_POLICY_NEVER means only use Legacy path.
|
||||
# 2 is AAUDIO_POLICY_AUTO means try MMAP then fallback to Legacy path.
|
||||
# 3 is AAUDIO_POLICY_ALWAYS means only use MMAP path.
|
||||
PRODUCT_PROPERTY_OVERRIDES += aaudio.mmap_policy=1
|
||||
# 1 is AAUDIO_POLICY_NEVER means only use SHARED mode
|
||||
# 2 is AAUDIO_POLICY_AUTO means try EXCLUSIVE then fallback to SHARED mode.
|
||||
# 3 is AAUDIO_POLICY_ALWAYS means only use EXCLUSIVE mode.
|
||||
PRODUCT_PROPERTY_OVERRIDES += aaudio.mmap_exclusive_policy=1
|
||||
|
||||
# Increase the apparent size of a hardware burst from 1 msec to 2 msec.
|
||||
# A "burst" is the number of frames processed at one time.
|
||||
# That is an increase from 48 to 96 frames at 48000 Hz.
|
||||
# The DSP will still be bursting at 48 frames but AAudio will think the burst is 96 frames.
|
||||
# A low number, like 48, might increase power consumption or stress the system.
|
||||
PRODUCT_PROPERTY_OVERRIDES += aaudio.hw_burst_min_usec=2000
|
||||
|
||||
# Enable SM log mechanism by default
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
persist.radio.smlog_switch=1 \
|
||||
ro.radio.log_prefix="modem_log_" \
|
||||
ro.radio.log_loc="/data/vendor/modem_dump"
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/init.logging.userdebug.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.$(PRODUCT_HARDWARE).logging.rc
|
||||
else
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/init.logging.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.$(PRODUCT_HARDWARE).logging.rc
|
||||
endif
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/init-common.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init-$(PRODUCT_HARDWARE).rc \
|
||||
$(LOCAL_PATH)/init.common.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.$(PRODUCT_HARDWARE).usb.rc \
|
||||
$(LOCAL_PATH)/init.insmod.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.cfg
|
||||
|
||||
# Input device files
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/synaptics_dsxv26.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/synaptics_dsxv26.idc
|
||||
|
||||
include device/google/wahoo/device.mk
|
||||
|
||||
# Kernel modules
|
||||
ifeq (,$(filter-out muskie_clang walleye_clang, $(TARGET_PRODUCT)))
|
||||
# if TARGET_PRODUCT == *_clang
|
||||
BOARD_VENDOR_KERNEL_MODULES += \
|
||||
device/google/wahoo-kernel/clang/synaptics_dsx_core_htc.ko \
|
||||
device/google/wahoo-kernel/clang/synaptics_dsx_rmi_dev_htc.ko \
|
||||
device/google/wahoo-kernel/clang/synaptics_dsx_fw_update_htc.ko \
|
||||
device/google/wahoo-kernel/clang/htc_battery.ko
|
||||
else ifeq (,$(filter-out muskie_gcc walleye_gcc, $(TARGET_PRODUCT)))
|
||||
# if TARGET_PRODUCT == *_gcc
|
||||
BOARD_VENDOR_KERNEL_MODULES += \
|
||||
device/google/wahoo-kernel/gcc/synaptics_dsx_core_htc.ko \
|
||||
device/google/wahoo-kernel/gcc/synaptics_dsx_rmi_dev_htc.ko \
|
||||
device/google/wahoo-kernel/gcc/synaptics_dsx_fw_update_htc.ko \
|
||||
device/google/wahoo-kernel/gcc/htc_battery.ko
|
||||
else ifeq (,$(filter-out muskie_kasan walleye_kasan, $(TARGET_PRODUCT)))
|
||||
# if TARGET_PRODUCT == *_kasan
|
||||
BOARD_VENDOR_KERNEL_MODULES += \
|
||||
device/google/wahoo-kernel/kasan/synaptics_dsx_core_htc.ko \
|
||||
device/google/wahoo-kernel/kasan/synaptics_dsx_rmi_dev_htc.ko \
|
||||
device/google/wahoo-kernel/kasan/synaptics_dsx_fw_update_htc.ko \
|
||||
device/google/wahoo-kernel/kasan/htc_battery.ko
|
||||
else
|
||||
BOARD_VENDOR_KERNEL_MODULES += \
|
||||
device/google/wahoo-kernel/synaptics_dsx_core_htc.ko \
|
||||
device/google/wahoo-kernel/synaptics_dsx_rmi_dev_htc.ko \
|
||||
device/google/wahoo-kernel/synaptics_dsx_fw_update_htc.ko \
|
||||
device/google/wahoo-kernel/htc_battery.ko
|
||||
endif
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/muskie/nfc/libnfc-nxp.muskie.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/muskie/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf \
|
||||
device/google/muskie/thermal-engine-vr.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-vr.conf
|
||||
|
||||
# Wifi configuration file
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/muskie/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/qca_cld/WCNSS_qcom_cfg.ini
|
||||
|
||||
#IMU calibration
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
persist.config.calibration_fac=/persist/sensors/calibration/calibration.xml
|
||||
|
||||
# HWUI common settings
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.hwui.gradient_cache_size=1 \
|
||||
ro.hwui.drop_shadow_cache_size=6 \
|
||||
ro.hwui.r_buffer_cache_size=8 \
|
||||
ro.hwui.texture_cache_flushrate=0.4 \
|
||||
ro.hwui.text_small_cache_width=1024 \
|
||||
ro.hwui.text_small_cache_height=1024 \
|
||||
ro.hwui.text_large_cache_width=2048 \
|
||||
ro.hwui.text_large_cache_height=1024
|
||||
|
||||
# NFC/camera interaction workaround - DO NOT COPY TO NEW DEVICES
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.camera.notify_nfc=1
|
||||
40
device-muskie.mk
Normal file
40
device-muskie.mk
Normal file
@@ -0,0 +1,40 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
PRODUCT_AAPT_CONFIG := normal
|
||||
PRODUCT_AAPT_PREF_CONFIG := 560dpi
|
||||
PRODUCT_AAPT_PREBUILT_DPI := xxxhdpi xxhdpi xhdpi hdpi
|
||||
|
||||
PRODUCT_HARDWARE := muskie
|
||||
|
||||
# DEVICE_PACKAGE_OVERLAYS for the device should be before
|
||||
# including common overlays since the one listed first
|
||||
# takes precedence.
|
||||
ifdef DEVICE_PACKAGE_OVERLAYS
|
||||
$(warning Overlays defined in '$(DEVICE_PACKAGE_OVERLAYS)' will override '$(PRODUCT_HARDWARE)' overlays)
|
||||
endif
|
||||
DEVICE_PACKAGE_OVERLAYS += device/google/muskie/muskie/overlay
|
||||
|
||||
include device/google/muskie/device-common.mk
|
||||
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.sf.lcd_density=560 \
|
||||
|
||||
# HWUI cache sizes
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.hwui.texture_cache_size=72 \
|
||||
ro.hwui.layer_cache_size=48 \
|
||||
ro.hwui.path_cache_size=32
|
||||
40
device-walleye.mk
Normal file
40
device-walleye.mk
Normal file
@@ -0,0 +1,40 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
PRODUCT_AAPT_CONFIG := normal
|
||||
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
|
||||
PRODUCT_AAPT_PREBUILT_DPI := xxhdpi xhdpi hdpi
|
||||
|
||||
PRODUCT_HARDWARE := walleye
|
||||
|
||||
# DEVICE_PACKAGE_OVERLAYS for the device should be before
|
||||
# including common overlays since the one listed first
|
||||
# takes precedence.
|
||||
ifdef DEVICE_PACKAGE_OVERLAYS
|
||||
$(warning Overlays defined in '$(DEVICE_PACKAGE_OVERLAYS)' will override '$(PRODUCT_HARDWARE)' overlays)
|
||||
endif
|
||||
DEVICE_PACKAGE_OVERLAYS += device/google/muskie/walleye/overlay
|
||||
|
||||
include device/google/muskie/device-common.mk
|
||||
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.sf.lcd_density=420
|
||||
|
||||
# HWUI cache sizes
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.hwui.texture_cache_size=56 \
|
||||
ro.hwui.layer_cache_size=32 \
|
||||
ro.hwui.path_cache_size=16
|
||||
25
factory-images/generate-factory-images-package.sh
Executable file
25
factory-images/generate-factory-images-package.sh
Executable file
@@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Copyright 2017 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.
|
||||
|
||||
source ../../../common/clear-factory-images-variables.sh
|
||||
BUILD=4169385
|
||||
DEVICE=walleye
|
||||
PRODUCT=walleye
|
||||
VERSION=opd1.170711.001
|
||||
SRCPREFIX=signed-
|
||||
BOOTLOADER=mw8998-002.0048.00
|
||||
RADIO=g8998-00033-1707051711
|
||||
source ../../../common/generate-factory-images-common.sh
|
||||
41
init-common.rc
Normal file
41
init-common.rc
Normal file
@@ -0,0 +1,41 @@
|
||||
on late-fs
|
||||
# boot time fs tune
|
||||
write /sys/block/sda/queue/iostats 0
|
||||
write /sys/block/sda/queue/scheduler cfq
|
||||
write /sys/block/sda/queue/iosched/slice_idle 0
|
||||
write /sys/block/sda/queue/read_ahead_kb 2048
|
||||
write /sys/block/sda/queue/nr_requests 256
|
||||
write /sys/block/dm-0/queue/read_ahead_kb 2048
|
||||
write /sys/block/dm-1/queue/read_ahead_kb 2048
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
# end boot time fs tune
|
||||
write /sys/block/sda/queue/read_ahead_kb 1024
|
||||
write /sys/block/sda/queue/nr_requests 128
|
||||
write /sys/block/sda/queue/iostats 1
|
||||
write /sys/block/dm-0/queue/read_ahead_kb 512
|
||||
write /sys/block/dm-1/queue/read_ahead_kb 512
|
||||
|
||||
on property:sys.boot_completed=1 && property:ro.build.type=user
|
||||
write /proc/sys/kernel/modules_disabled 1
|
||||
|
||||
on init && property:ro.boot.revision=EVM
|
||||
setprop ro.boot.hardware.revision 0.5
|
||||
|
||||
on init && property:ro.boot.revision=EVT0
|
||||
setprop ro.boot.hardware.revision 0.6
|
||||
|
||||
on init && property:ro.boot.revision=EVT1
|
||||
setprop ro.boot.hardware.revision 0.7
|
||||
|
||||
on init && property:ro.boot.revision=EVT2
|
||||
setprop ro.boot.hardware.revision 0.8
|
||||
|
||||
on init && property:ro.boot.revision=DVT
|
||||
setprop ro.boot.hardware.revision 1.0
|
||||
|
||||
on init && property:ro.boot.revision=MP0 # PVT
|
||||
setprop ro.boot.hardware.revision 1.0
|
||||
|
||||
on init && property:ro.boot.revision=MP1
|
||||
setprop ro.boot.hardware.revision 1.0
|
||||
13
init.common.usb.rc
Normal file
13
init.common.usb.rc
Normal file
@@ -0,0 +1,13 @@
|
||||
import /vendor/etc/init/hw/init.wahoo.usb.rc
|
||||
|
||||
on boot && property:ro.bootmode=usbradio && property:persist.sys.usb.usbradio.config=*
|
||||
setprop sys.usb.config "none"
|
||||
setprop sys.usb.config ${persist.sys.usb.usbradio.config}
|
||||
|
||||
# battery driver settings for the retail demo environment where
|
||||
# the device will be perpertually plugged in to a power source
|
||||
on property:sys.retaildemo.enabled=1
|
||||
write /sys/module/htc_battery/parameters/full_level_dis_chg 35
|
||||
|
||||
on property:sys.retaildemo.enabled=0
|
||||
write /sys/module/htc_battery/parameters/full_level_dis_chg 100
|
||||
4
init.insmod.cfg
Normal file
4
init.insmod.cfg
Normal file
@@ -0,0 +1,4 @@
|
||||
insmod /vendor/lib/modules/synaptics_dsx_core_htc.ko
|
||||
insmod /vendor/lib/modules/synaptics_dsx_fw_update_htc.ko
|
||||
insmod /vendor/lib/modules/synaptics_dsx_rmi_dev_htc.ko
|
||||
insmod /vendor/lib/modules/htc_battery.ko
|
||||
0
init.logging.rc
Normal file
0
init.logging.rc
Normal file
6
init.logging.userdebug.rc
Normal file
6
init.logging.userdebug.rc
Normal file
@@ -0,0 +1,6 @@
|
||||
on boot
|
||||
write /sys/class/uio/uio1/device/rtel/rtel 1
|
||||
|
||||
on post-fs-data
|
||||
# SM DUMP logging collection
|
||||
mkdir /data/vendor/modem_dump 0777 system system
|
||||
2081
mixer_paths_tavil.xml
Normal file
2081
mixer_paths_tavil.xml
Normal file
File diff suppressed because it is too large
Load Diff
31
muskie/BoardConfig.mk
Normal file
31
muskie/BoardConfig.mk
Normal file
@@ -0,0 +1,31 @@
|
||||
#
|
||||
# Copyright (C) 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.
|
||||
#
|
||||
|
||||
TARGET_BOOTLOADER_BOARD_NAME := muskie
|
||||
DEFAULT_LOW_PERSISTENCE_MODE_BRIGHTNESS := 0x00000056
|
||||
|
||||
include device/google/wahoo/BoardConfig.mk
|
||||
-include vendor/google_devices/muskie/proprietary/BoardConfigVendor.mk
|
||||
|
||||
BOARD_BOOTIMAGE_PARTITION_SIZE := 33554432
|
||||
|
||||
#sepolicy common to muskie/walleye
|
||||
BOARD_SEPOLICY_DIRS += device/google/muskie/sepolicy
|
||||
|
||||
# Testing related defines
|
||||
BOARD_PERFSETUP_SCRIPT := platform_testing/scripts/perf-setup/wahoo-setup.sh
|
||||
|
||||
BOARD_LISA_TARGET_SCRIPTS := device/google/wahoo/lisa/
|
||||
@@ -0,0 +1,28 @@
|
||||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<!-- These resources are around just to allow their values to be customized
|
||||
for different hardware and product builds. -->
|
||||
<resources>
|
||||
<!-- MMS user agent string -->
|
||||
<string name="config_mms_user_agent" translatable="false">g2pw2100</string>
|
||||
<!-- MMS user agent prolfile url -->
|
||||
<string name="config_mms_user_agent_profile_url" translatable="false">http://uaprof.vtext.com/htc/g2pw2100/g2pw2100.xml</string>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,29 @@
|
||||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<!-- These resources are around just to allow their values to be customized
|
||||
for different hardware and product builds. -->
|
||||
<resources>
|
||||
|
||||
<!-- MMS user agent string -->
|
||||
<string name="config_mms_user_agent" translatable="false">g2pw2100</string>
|
||||
<!-- MMS user agent prolfile url -->
|
||||
<string name="config_mms_user_agent_profile_url" translatable="false">http://uaprof.vtext.com/htc/g2pw2100/g2pw2100.xml</string>
|
||||
|
||||
</resources>
|
||||
114
muskie/overlay/frameworks/base/core/res/res/values/config.xml
Normal file
114
muskie/overlay/frameworks/base/core/res/res/values/config.xml
Normal file
@@ -0,0 +1,114 @@
|
||||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<!-- These resources are around just to allow their values to be customized
|
||||
for different hardware and product builds. -->
|
||||
<resources>
|
||||
|
||||
<!-- MMS user agent string -->
|
||||
<string name="config_mms_user_agent" translatable="false">g2pw2100</string>
|
||||
<!-- MMS user agent prolfile url -->
|
||||
<string name="config_mms_user_agent_profile_url" translatable="false">http://www.gstatic.com/android/sms/G_2PW2100.xml</string>
|
||||
|
||||
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
|
||||
The N entries of this array define N 1 zones as follows:
|
||||
|
||||
Zone 0: 0 <= LUX < array[0]
|
||||
Zone 1: array[0] <= LUX < array[1]
|
||||
...
|
||||
Zone N: array[N - 1] <= LUX < array[N]
|
||||
Zone N + 1 array[N] <= LUX < infinity
|
||||
|
||||
Must be overridden in platform specific overlays -->
|
||||
<integer-array name="config_autoBrightnessLevels">
|
||||
<item>5</item>
|
||||
<item>20</item>
|
||||
<item>40</item>
|
||||
<item>100</item>
|
||||
<item>325</item>
|
||||
<item>600</item>
|
||||
<item>1250</item>
|
||||
<item>2200</item>
|
||||
<item>4000</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Array of output values for LCD backlight corresponding to the LUX values
|
||||
in the config_autoBrightnessLevels array. This array should have size one greater
|
||||
than the size of the config_autoBrightnessLevels array.
|
||||
This must be overridden in platform specific overlays -->
|
||||
<integer-array name="config_autoBrightnessLcdBacklightValues">
|
||||
<item>10</item> <!-- 0-5 -->
|
||||
<item>33</item> <!-- 5-20 -->
|
||||
<item>49</item> <!-- 20-40 -->
|
||||
<item>68</item> <!-- 40-100 -->
|
||||
<item>87</item> <!-- 100-325 -->
|
||||
<item>108</item> <!-- 325-600 -->
|
||||
<item>132</item> <!-- 600-1250 -->
|
||||
<item>167</item> <!-- 1250-2200 -->
|
||||
<item>206</item> <!-- 2200-4000 -->
|
||||
<item>255</item> <!-- 4000+ -->
|
||||
</integer-array>
|
||||
|
||||
<!-- Array of output values for button backlight corresponding to the LUX values
|
||||
in the config_autoBrightnessLevels array. This array should have size one greater
|
||||
than the size of the config_autoBrightnessLevels array.
|
||||
This must be overridden in platform specific overlays -->
|
||||
<integer-array name="config_autoBrightnessButtonBacklightValues">
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
|
||||
<integer name="config_shutdownBatteryTemperature">600</integer>
|
||||
|
||||
<!-- Minimum screen brightness allowed by the power manager. -->
|
||||
<integer name="config_screenBrightnessDim">6</integer>
|
||||
|
||||
<!-- Screen brightness when dozing. -->
|
||||
<integer name="config_screenBrightnessDoze">13</integer>
|
||||
|
||||
<!-- Default screen brightness setting.
|
||||
Must be in the range specified by minimum and maximum. -->
|
||||
<integer name="config_screenBrightnessSettingDefault">98</integer>
|
||||
|
||||
<!-- Default screen brightness for VR setting. Default value: 0x56 => 86. -->
|
||||
<integer name="config_screenBrightnessForVrSettingDefault">86</integer>
|
||||
|
||||
<!-- Minimum screen brightness setting allowed by the power manager.
|
||||
The user is forbidden from setting the brightness below this level. -->
|
||||
<integer name="config_screenBrightnessSettingMinimum">4</integer>
|
||||
|
||||
<!-- Values for USB port setting. in format of bootmode:current function:new function -->
|
||||
<string-array translatable="false" name="config_oemUsbModeOverride">
|
||||
<item>"usbradio:adb:diag,serial_cdev,rmnet_gsi,adb:diag,serial_cdev,rmnet_gsi"</item>
|
||||
<item>"usbradio:mtp,adb:diag,serial_cdev,rmnet_gsi,adb:diag,serial_cdev,rmnet_gsi"</item>
|
||||
<item>"usbradio:mtp:diag,serial_cdev,rmnet_gsi:diag,serial_cdev,rmnet_gsi"</item>
|
||||
<item>"usbradio:rndis,adb:rndis,diag,adb:diag,serial_cdev,rmnet_gsi"</item>
|
||||
<item>"usbradio:rndis:rndis,diag:diag,serial_cdev,rmnet_gsi"</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,158 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<device name="Android">
|
||||
<!-- Item not being relevant anymore:
|
||||
bluetooth.active, bluetooth.on,
|
||||
wifi.on, wifi.active, wifi.scan as they shoud be provided by WifiActivityEnergyInfo
|
||||
dsp.audio, dsp.video
|
||||
-->
|
||||
|
||||
<item name="cpu.idle">15</item>
|
||||
|
||||
<item name="cpu.awake">14.38</item>
|
||||
|
||||
<item name="gps.on">30</item>
|
||||
|
||||
<item name="radio.active">50</item>
|
||||
<item name="radio.scanning">5</item>
|
||||
<array name="radio.on"> <!-- Strength 0 to BINS-1 -->
|
||||
<value>6</value> <!-- none -->
|
||||
<value>5</value> <!-- poor -->
|
||||
<value>4</value> <!-- moderate -->
|
||||
<value>3</value> <!-- good -->
|
||||
<value>3</value> <!-- great -->
|
||||
</array>
|
||||
|
||||
<item name="wifi.controller.voltage">0</item>
|
||||
|
||||
<array name="cpu.clusters.cores">
|
||||
<value>4</value> <!-- Cluster 0 has 4 cores (cpu0, cpu1, cpu2, cpu3) -->
|
||||
<value>4</value> <!-- Cluster 1 has 4 cores (cpu4, cpu5, cpu5, cpu7) -->
|
||||
</array>
|
||||
|
||||
<!-- Different CPU speeds as reported in
|
||||
/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state -->
|
||||
<array name="cpu.speeds.cluster0">
|
||||
<value>300000</value>
|
||||
<value>364800</value>
|
||||
<value>441600</value>
|
||||
<value>518400</value>
|
||||
<value>595200</value>
|
||||
<value>672000</value>
|
||||
<value>748800</value>
|
||||
<value>825600</value>
|
||||
<value>883200</value>
|
||||
<value>960000</value>
|
||||
<value>1036800</value>
|
||||
<value>1094400</value>
|
||||
<value>1171200</value>
|
||||
<value>1248000</value>
|
||||
<value>1324800</value>
|
||||
<value>1401600</value>
|
||||
<value>1478400</value>
|
||||
<value>1555200</value>
|
||||
<value>1670400</value>
|
||||
<value>1747200</value>
|
||||
<value>1824000</value>
|
||||
<value>1900800</value>
|
||||
</array>
|
||||
|
||||
<array name="cpu.active.cluster0">
|
||||
<value>103.348000</value>
|
||||
<value>108.472000</value>
|
||||
<value>133.136993</value>
|
||||
<value>111.133003</value>
|
||||
<value>107.376999</value>
|
||||
<value>111.085999</value>
|
||||
<value>104.720001</value>
|
||||
<value>109.449997</value>
|
||||
<value>138.858002</value>
|
||||
<value>111.936996</value>
|
||||
<value>133.197998</value>
|
||||
<value>118.005005</value>
|
||||
<value>117.300003</value>
|
||||
<value>146.181000</value>
|
||||
<value>117.845001</value>
|
||||
<value>123.345993</value>
|
||||
<value>125.492004</value>
|
||||
<value>153.684998</value>
|
||||
<value>132.847000</value>
|
||||
<value>160.753998</value>
|
||||
<value>138.453995</value>
|
||||
<value>149.253998</value>
|
||||
</array>
|
||||
|
||||
<!-- Different CPU speeds as reported in
|
||||
/sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state -->
|
||||
<array name="cpu.speeds.cluster1">
|
||||
<value>300000</value>
|
||||
<value>345600</value>
|
||||
<value>422400</value>
|
||||
<value>499200</value>
|
||||
<value>576000</value>
|
||||
<value>652800</value>
|
||||
<value>729600</value>
|
||||
<value>806400</value>
|
||||
<value>902400</value>
|
||||
<value>979200</value>
|
||||
<value>1056000</value>
|
||||
<value>1132800</value>
|
||||
<value>1190400</value>
|
||||
<value>1267200</value>
|
||||
<value>1344000</value>
|
||||
<value>1420800</value>
|
||||
<value>1497600</value>
|
||||
<value>1574400</value>
|
||||
<value>1651200</value>
|
||||
<value>1728000</value>
|
||||
<value>1804800</value>
|
||||
<value>1881600</value>
|
||||
<value>1958400</value>
|
||||
<value>2035200</value>
|
||||
<value>2112000</value>
|
||||
<value>2208000</value>
|
||||
<value>2265600</value>
|
||||
<value>2323200</value>
|
||||
<value>2342400</value>
|
||||
<value>2361600</value>
|
||||
<value>2457600</value>
|
||||
</array>
|
||||
|
||||
<array name="cpu.active.cluster1">
|
||||
<value>143.03</value>
|
||||
<value>97.95</value>
|
||||
<value>104.41</value>
|
||||
<value>103.54</value>
|
||||
<value>107.21</value>
|
||||
<value>152.82</value>
|
||||
<value>156.37</value>
|
||||
<value>106.92</value>
|
||||
<value>106.44</value>
|
||||
<value>113.09</value>
|
||||
<value>156.63</value>
|
||||
<value>152.48</value>
|
||||
<value>136.45</value>
|
||||
<value>177.21</value>
|
||||
<value>120.17</value>
|
||||
<value>166.94</value>
|
||||
<value>138.59</value>
|
||||
<value>197.52</value>
|
||||
<value>161.63</value>
|
||||
<value>163.24</value>
|
||||
<value>175.34</value>
|
||||
<value>183.17</value>
|
||||
<value>252.96</value>
|
||||
<value>230.71</value>
|
||||
<value>286.02</value>
|
||||
<value>288.12</value>
|
||||
<value>336.74</value>
|
||||
<value>325.27</value>
|
||||
<value>367.62</value>
|
||||
<value>369.38</value>
|
||||
<value>342.99</value>
|
||||
</array>
|
||||
<item name="screen.on">161.74</item>
|
||||
<item name="screen.full">122.66</item>
|
||||
<item name="camera.flashlight">240.10</item>
|
||||
<item name="camera.avg">1157.88</item>
|
||||
<item name="battery.capacity">3830</item>
|
||||
</device>
|
||||
491
nfc/libnfc-nxp.muskie.conf
Normal file
491
nfc/libnfc-nxp.muskie.conf
Normal file
@@ -0,0 +1,491 @@
|
||||
## This file is used by NFC NXP NCI HAL(external/libnfc-nci/halimpl/pn547)
|
||||
## and NFC Service Java Native Interface Extensions (packages/apps/Nfc/nci/jni/extns/pn547)
|
||||
###############################################################################
|
||||
# Application options
|
||||
# Logging Levels
|
||||
# NXPLOG_DEFAULT_LOGLEVEL 0x01
|
||||
# ANDROID_LOG_DEBUG 0x03
|
||||
# ANDROID_LOG_WARN 0x02
|
||||
# ANDROID_LOG_ERROR 0x01
|
||||
# ANDROID_LOG_SILENT 0x00
|
||||
NXPLOG_EXTNS_LOGLEVEL=0x01
|
||||
NXPLOG_NCIHAL_LOGLEVEL=0x01
|
||||
NXPLOG_NCIX_LOGLEVEL=0x01
|
||||
NXPLOG_NCIR_LOGLEVEL=0x01
|
||||
NXPLOG_FWDNLD_LOGLEVEL=0x01
|
||||
NXPLOG_TML_LOGLEVEL=0x01
|
||||
|
||||
###############################################################################
|
||||
# Nfc Device Node name
|
||||
NXP_NFC_DEV_NODE="/dev/nq-nci"
|
||||
|
||||
###############################################################################
|
||||
# Extension for Mifare reader enable
|
||||
MIFARE_READER_ENABLE=0x01
|
||||
|
||||
###############################################################################
|
||||
# Vzw Feature enable
|
||||
VZW_FEATURE_ENABLE=0x01
|
||||
|
||||
###############################################################################
|
||||
# File name for Firmware
|
||||
NXP_FW_NAME="libpn553_fw.so"
|
||||
|
||||
###############################################################################
|
||||
# System clock source selection configuration
|
||||
#define CLK_SRC_XTAL 1
|
||||
#define CLK_SRC_PLL 2
|
||||
NXP_SYS_CLK_SRC_SEL=0x02
|
||||
|
||||
###############################################################################
|
||||
# System clock frequency selection configuration
|
||||
#define CLK_FREQ_13MHZ 1
|
||||
#define CLK_FREQ_19_2MHZ 2
|
||||
#define CLK_FREQ_24MHZ 3
|
||||
#define CLK_FREQ_26MHZ 4
|
||||
#define CLK_FREQ_38_4MHZ 5
|
||||
#define CLK_FREQ_52MHZ 6
|
||||
NXP_SYS_CLK_FREQ_SEL=0x02
|
||||
|
||||
|
||||
###############################################################################
|
||||
# The timeout value to be used for clock request acknowledgment
|
||||
# min value = 0x01 to max = 0x06
|
||||
NXP_SYS_CLOCK_TO_CFG=0x06
|
||||
|
||||
###############################################################################
|
||||
# NXP proprietary settings
|
||||
NXP_ACT_PROP_EXTN={2F, 02, 00}
|
||||
|
||||
###############################################################################
|
||||
# NFC forum profile settings
|
||||
NXP_NFC_PROFILE_EXTN={20, 02, 05, 01, A0, 44, 01, 00}
|
||||
|
||||
###############################################################################
|
||||
# NFCC Configuration Control
|
||||
# Allow NFCC to manage RF Config 0x01
|
||||
# Don't allow NFCC to manage RF Config 0x00
|
||||
NXP_NFC_MERGE_RF_PARAMS={20, 02, 04, 01, 85, 01, 01}
|
||||
|
||||
###############################################################################
|
||||
# Standby enable settings
|
||||
#NXP_CORE_STANDBY={2F, 00, 01, 01}
|
||||
|
||||
###############################################################################
|
||||
# NXP TVDD configurations settings
|
||||
# Allow NFCC to configure External TVDD, two configurations (1 and 2) supported,
|
||||
# out of them only one can be configured at a time.
|
||||
NXP_EXT_TVDD_CFG=0x02
|
||||
|
||||
###############################################################################
|
||||
#config1:SLALM, 3.3V for both RM and CM
|
||||
NXP_EXT_TVDD_CFG_1={20, 02, 0F, 01, A0, 0E, 0B, 31, 01, 01, 31, 00, 00, 00, 01, 00, D0, 0C}
|
||||
|
||||
###############################################################################
|
||||
#config2: use DCDC in CE, use Tx_Pwr_Req, set CFG2 mode, SLALM,
|
||||
#monitoring 5V from DCDC, 3.3V for both RM and CM, DCDCWaitTime=4.2ms
|
||||
NXP_EXT_TVDD_CFG_2={20, 02, 0F, 01, A0, 0E, 0B, 11, 01, C2, B2, 00, BA, 1E, 18, 00, D0, 0C}
|
||||
|
||||
###############################################################################
|
||||
# NXP RF configuration ALM/PLM settings
|
||||
# This section needs to be updated with the correct values based on the platform
|
||||
NXP_RF_CONF_BLK_1={
|
||||
20, 02, 22, 04,
|
||||
A0, 0D, 03, 24, 03, 7E,
|
||||
A0, 0D, 06, 34, 44, 66, 0A, 00, 00,
|
||||
A0, 0D, 06, 06, 42, 00, 02, F4, F4,
|
||||
A0, 0D, 06, 06, 37, 28, 76, 00, 00
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
# NXP RF configuration ALM/PLM settings
|
||||
# This section needs to be updated with the correct values based on the platform
|
||||
NXP_RF_CONF_BLK_2={
|
||||
20, 02, D6, 01, A0, 34, D2, 23, 04, 18, 47, 40, 00, 00, 40, 01, 10, 00, 00, 03, 1E, 00, 80, 02, 32, 00, B0, 00, 4B, 00, 30, 02, 67, 00, 38, 02, 99, 00, 38, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 00, 00, 00, 00, 00, 00, 47, 00, 00, 40, 01, 10, 00, 00, 03, 1E, 00, 80, 02, 32, 00, B0, 00, 4B, 00, 30, 02, 67, 00, 38, 02, 99, 00, 38, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 08, 02, 00, 00, 00, 00
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
# NXP RF configuration ALM/PLM settings
|
||||
# This section needs to be updated with the correct values based on the platform
|
||||
NXP_RF_CONF_BLK_3={
|
||||
20, 02, 5B, 01, A0, 0B, 57, F2, 12, 90, 78, 0F, 4E, 00, 3D, 95, 00, 00, 3D, 9F, 00, 00, 50, 9F, 00, 00, 59, 9F, 00, 00, 5A, 9F, 00, 00, 64, 9F, 00, 00, 65, 9F, 00, 00, 6E, 9F, 00, 00, 72, 9F, 00, 00, 79, 9F, 00, 00, 7B, 9F, 00, 00, 84, 9F, 00, 00, 86, 9F, 00, 00, 8F, 9F, 00, 00, 91, 9F, 00, 00, 9A, 9F, 00, 00, A1, 9F, 00, 00, A7, 9F, 00, 00, B0, 9F, 00, 00, B9, 1F, 00, 00
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
# NXP RF configuration ALM/PLM settings
|
||||
# This section needs to be updated with the correct values based on the platform
|
||||
#NXP_RF_CONF_BLK_4={
|
||||
#}
|
||||
|
||||
###############################################################################
|
||||
# NXP RF configuration ALM/PLM settings
|
||||
# This section needs to be updated with the correct values based on the platform
|
||||
#NXP_RF_CONF_BLK_5={
|
||||
#}
|
||||
|
||||
###############################################################################
|
||||
# NXP RF configuration ALM/PLM settings
|
||||
# This section needs to be updated with the correct values based on the platform
|
||||
#NXP_RF_CONF_BLK_6={
|
||||
#}
|
||||
|
||||
###############################################################################
|
||||
# Set configuration optimization decision setting
|
||||
# Enable = 0x01
|
||||
# Disable = 0x00
|
||||
NXP_SET_CONFIG_ALWAYS=0x00
|
||||
|
||||
###############################################################################
|
||||
# Core configuration extensions
|
||||
# It includes
|
||||
# Wired mode settings A0ED, A0EE
|
||||
# Tag Detector A040, A041, A043
|
||||
# Low Power mode A007
|
||||
# Clock settings A002, A003
|
||||
# PbF settings A008
|
||||
# Clock timeout settings A004
|
||||
# eSE (SVDD) PWR REQ settings A0F2
|
||||
# Window size A0D8
|
||||
# DWP Speed A0D5
|
||||
# How eSE connected to PN553 A012
|
||||
# UICC2 bit rate A0D1
|
||||
# SWP1A interface A0D4
|
||||
# DWP intf behavior config, SVDD Load activated by default if set to 0x31 A037
|
||||
NXP_CORE_CONF_EXTN={20, 02, 44, 0E,
|
||||
A0, EC, 01, 01,
|
||||
A0, ED, 01, 01,
|
||||
A0, 5E, 01, 01,
|
||||
A0, 12, 01, 02,
|
||||
A0, 40, 01, 01,
|
||||
A0, D1, 01, 02,
|
||||
A0, D4, 01, 00,
|
||||
A0, 37, 01, 35,
|
||||
A0, D8, 01, 02,
|
||||
A0, D5, 01, 0A,
|
||||
A0, 43, 01, 00,
|
||||
A0, B1, 02, 8C, 0A,
|
||||
A0, 38, 04, 0A, 06, 06, 00,
|
||||
A0, 3A, 08, 0E, 01, 0E, 01, 0E, 01, 0E, 01
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
# Core configuration rf field filter settings to enable set to 01 to disable set
|
||||
# to 00 last bit
|
||||
NXP_CORE_RF_FIELD={ 20, 02, 05, 01, A0, 62, 01, 00 }
|
||||
|
||||
###############################################################################
|
||||
# To enable i2c fragmentation set i2c fragmentation enable 0x01 to disable set
|
||||
# to 0x00
|
||||
NXP_I2C_FRAGMENTATION_ENABLED=0x00
|
||||
|
||||
###############################################################################
|
||||
# Core configuration settings
|
||||
NXP_CORE_CONF={ 20, 02, 31, 0F,
|
||||
85, 01, 01,
|
||||
28, 01, 00,
|
||||
21, 01, 00,
|
||||
30, 01, 08,
|
||||
31, 01, 03,
|
||||
32, 01, 60,
|
||||
38, 01, 01,
|
||||
33, 04, 01, 02, 03, 04,
|
||||
54, 01, 06,
|
||||
50, 01, 02,
|
||||
5B, 01, 00,
|
||||
80, 01, 01,
|
||||
81, 01, 01,
|
||||
82, 01, 0E,
|
||||
18, 01, 01
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
# Mifare Classic Key settings
|
||||
#NXP_CORE_MFCKEY_SETTING={20, 02, 25,04, A0, 51, 06, A0, A1, A2, A3, A4, A5,
|
||||
# A0, 52, 06, D3, F7, D3, F7, D3, F7,
|
||||
# A0, 53, 06, FF, FF, FF, FF, FF, FF,
|
||||
# A0, 54, 06, 00, 00, 00, 00, 00, 00}
|
||||
|
||||
###############################################################################
|
||||
# Default SE Options
|
||||
# No secure element 0x00
|
||||
# eSE 0x01
|
||||
# UICC 0x02
|
||||
# UICC2 0x04
|
||||
NXP_DEFAULT_SE=0x07
|
||||
|
||||
###############################################################################
|
||||
#Enable SWP full power mode when phone is power off
|
||||
NXP_SWP_FULL_PWR_ON=0x00
|
||||
|
||||
###############################################################################
|
||||
#### Select the CHIP ####
|
||||
#PN547C2 0x01
|
||||
#PN65T 0x02
|
||||
#PN548AD 0x03
|
||||
#PN66T 0x04
|
||||
#PN551 0x05
|
||||
#PN67T 0x06
|
||||
#PN553 0x07
|
||||
#PN80T 0x08
|
||||
NXP_NFC_CHIP=0x08
|
||||
|
||||
###############################################################################
|
||||
# CE when Screen state is locked
|
||||
# This setting is for DEFAULT_AID_ROUTE,
|
||||
# DEFAULT_DESFIRE_ROUTE and DEFAULT_MIFARE_CLT_ROUTE
|
||||
# Disable 0x00
|
||||
# Enable 0x01
|
||||
NXP_CE_ROUTE_STRICT_DISABLE=0x01
|
||||
|
||||
###############################################################################
|
||||
#Timeout in secs to get NFCEE Discover notification
|
||||
NXP_DEFAULT_NFCEE_DISC_TIMEOUT=20
|
||||
|
||||
###############################################################################
|
||||
NXP_DEFAULT_NFCEE_TIMEOUT=20
|
||||
|
||||
###############################################################################
|
||||
#Timeout in secs
|
||||
NXP_SWP_RD_START_TIMEOUT=0x0A
|
||||
|
||||
###############################################################################
|
||||
#Timeout in secs
|
||||
NXP_SWP_RD_TAG_OP_TIMEOUT=0x01
|
||||
|
||||
###############################################################################
|
||||
#Set the default AID route Location :
|
||||
#This settings will be used when application does not set this parameter
|
||||
# host 0x00
|
||||
# eSE 0x01
|
||||
# UICC 0x02
|
||||
# UICC2 0x03
|
||||
DEFAULT_AID_ROUTE=0x00
|
||||
|
||||
###############################################################################
|
||||
#Set the Mifare Desfire route Location :
|
||||
#This settings will be used when application does not set this parameter
|
||||
# host 0x00
|
||||
# eSE 0x01
|
||||
# UICC 0x02
|
||||
# UICC2 0x03
|
||||
DEFAULT_DESFIRE_ROUTE=0x02
|
||||
|
||||
###############################################################################
|
||||
#Set the Mifare CLT route Location :
|
||||
#This settings will be used when application does not set this parameter
|
||||
# host 0x00
|
||||
# eSE 0x01
|
||||
# UICC 0x02
|
||||
# UICC2 0x03
|
||||
DEFAULT_MIFARE_CLT_ROUTE=0x02
|
||||
|
||||
###############################################################################
|
||||
#Set the Felica CLT route Location :
|
||||
#This settings will be used when application does not set this parameter
|
||||
# eSE 0x01
|
||||
# UICC 0x02
|
||||
# UICC2 0x03
|
||||
DEFAULT_FELICA_CLT_ROUTE=0x01
|
||||
|
||||
###############################################################################
|
||||
#Set the default AID Power state :
|
||||
#This settings will be used when application does not set this parameter
|
||||
# bit pos 0 = Switch On
|
||||
# bit pos 1 = Switch Off
|
||||
# bit pos 2 = Battery Off
|
||||
# bit pos 3 = Screen Lock
|
||||
# bit pos 4 = Screen Off
|
||||
DEFAULT_AID_PWR_STATE=0x19
|
||||
|
||||
###############################################################################
|
||||
#Set the Mifare Desfire Power state :
|
||||
#This settings will be used when application does not set this parameter
|
||||
# bit pos 0 = Switch On
|
||||
# bit pos 1 = Switch Off
|
||||
# bit pos 2 = Battery Off
|
||||
# bit pos 3 = Screen Lock
|
||||
# bit pos 4 = Screen Off
|
||||
DEFAULT_DESFIRE_PWR_STATE=0x1B
|
||||
|
||||
###############################################################################
|
||||
#Set the Mifare CLT Power state :
|
||||
#This settings will be used when application does not set this parameter
|
||||
# bit pos 0 = Switch On
|
||||
# bit pos 1 = Switch Off
|
||||
# bit pos 2 = Battery Off
|
||||
# bit pos 3 = Screen Lock
|
||||
# bit pos 4 = Screen Off
|
||||
DEFAULT_MIFARE_CLT_PWR_STATE=0x1B
|
||||
|
||||
###############################################################################
|
||||
#Set the Felica CLT Power state :
|
||||
#This settings will be used when application does not set this parameter
|
||||
# bit pos 0 = Switch On
|
||||
# bit pos 1 = Switch Off
|
||||
# bit pos 2 = Battery Off
|
||||
# bit pos 3 = Screen Lock
|
||||
# bit pos 4 = Screen Off
|
||||
DEFAULT_FELICA_CLT_PWR_STATE=0x1B
|
||||
|
||||
###############################################################################
|
||||
# AID Matching platform options
|
||||
# AID_MATCHING_L 0x01
|
||||
# AID_MATCHING_K 0x02
|
||||
AID_MATCHING_PLATFORM=0x01
|
||||
|
||||
###############################################################################
|
||||
# P61 interface options
|
||||
# NFC 0x01
|
||||
# SPI 0x02
|
||||
NXP_P61_LS_DEFAULT_INTERFACE=0x01
|
||||
|
||||
###############################################################################
|
||||
# P61 LTSM interface options
|
||||
# NFC 0x01
|
||||
# SPI 0x02
|
||||
NXP_P61_LTSM_DEFAULT_INTERFACE=0x01
|
||||
|
||||
###############################################################################
|
||||
#CHINA_TIANJIN_RF_SETTING
|
||||
#Enable 0x01
|
||||
#Disable 0x00
|
||||
NXP_CHINA_TIANJIN_RF_ENABLED=0x01
|
||||
|
||||
###############################################################################
|
||||
#SWP_SWITCH_TIMEOUT_SETTING
|
||||
# Allowed range of swp timeout setting is 0x00 to 0x3C [0 - 60].
|
||||
# Timeout in milliseconds, for example
|
||||
# No Timeout 0x00
|
||||
# 10 millisecond timeout 0x0A
|
||||
NXP_SWP_SWITCH_TIMEOUT=0x0A
|
||||
|
||||
###############################################################################
|
||||
# P61 interface options for JCOP Download
|
||||
# NFC 0x01
|
||||
# SPI 0x02
|
||||
NXP_P61_JCOP_DEFAULT_INTERFACE=0x01
|
||||
|
||||
###############################################################################
|
||||
# P61 JCOP OS download options
|
||||
# FRAMEWORK API BY APPLICATION 0x00
|
||||
# AT BOOT_TIME 0x01
|
||||
NXP_JCOPDL_AT_BOOT_ENABLE=0x00
|
||||
|
||||
###############################################################################
|
||||
# Loader service version
|
||||
# NFC service checks for LS version 2.0 or 2.1
|
||||
# LS2.0 0x20
|
||||
# LS2.1 0x21
|
||||
# LS2.2 0x22
|
||||
# AT NFC service intialization
|
||||
NXP_LOADER_SERVICE_VERSION=0x22
|
||||
|
||||
###############################################################################
|
||||
#Timeout value in milliseconds for NFCC standby mode.The range is between 5000
|
||||
#msec to 20000 msec and zero is to disable.
|
||||
NXP_NFCC_STANDBY_TIMEOUT=20000
|
||||
|
||||
###############################################################################
|
||||
#Dynamic RSSI feature enable
|
||||
# Disable 0x00
|
||||
# Enable 0x01
|
||||
NXP_AGC_DEBUG_ENABLE=0x00
|
||||
|
||||
###############################################################################
|
||||
#Virtual Mode ESE and Wired Mode ongoing delay Wired Mode
|
||||
# For Technology routing to ESE Technology Mask = 4
|
||||
# For ISO-DEP Protocol routing to ESE Mask = 2
|
||||
# It can also take TECH|PROTO = 6
|
||||
# To ignore the delay set mask to = 0
|
||||
NXP_ESE_WIRED_PRT_MASK=0x00
|
||||
|
||||
###############################################################################
|
||||
#Virtual Mode UICC and Wired Mode ongoing delay Wired Mode
|
||||
#For Technology routing to UICC Technology Mask = 4
|
||||
#For ISO-DEP Protocol routing to UICC set Mask = 2
|
||||
#For Select AID Routing to UICC set Mask = 1
|
||||
#It can also take values TECH|PROTO|SELECT_AID = 7 , 6 , 5 ,3 .To ignore delay
|
||||
#set mask = 0
|
||||
NXP_UICC_WIRED_PRT_MASK=0x00
|
||||
|
||||
################################################################################
|
||||
#RF field true delay Wired Mode
|
||||
# delay wired mode = 1
|
||||
# allow wired mode = 0
|
||||
NXP_WIRED_MODE_RF_FIELD_ENABLE=0x00
|
||||
|
||||
###############################################################################
|
||||
#Config to allow adding aids
|
||||
#NFC on/off is required after this config
|
||||
#1 = enabling adding aid to NFCC routing table.
|
||||
#0 = disabling adding aid to NFCC routing table.
|
||||
NXP_ENABLE_ADD_AID=0x01
|
||||
|
||||
###############################################################################
|
||||
# JCOP-3.3 continuous process timeout in msec and value should be in Hexadecimal
|
||||
# JCOP CP TIMEOUT
|
||||
NXP_CP_TIMEOUT={00, 77}
|
||||
|
||||
###############################################################################
|
||||
# Enable/Disable checking default proto SE Id
|
||||
# Disable 0x00
|
||||
# Enable 0x01
|
||||
NXP_CHECK_DEFAULT_PROTO_SE_ID=0x01
|
||||
|
||||
###############################################################################
|
||||
#NXP_CN_TRANSIT_BLK_NUM_CHECK_ENABLE
|
||||
#Enable/Disable block number checks for china transit use case
|
||||
#Enable 0x01
|
||||
#Disable 0x00
|
||||
NXP_CN_TRANSIT_BLK_NUM_CHECK_ENABLE=0x01
|
||||
|
||||
###############################################################################
|
||||
# Wired mode resume timeout vaule in wired mode resume feature enable
|
||||
# DWP resume time out in ms( 4 bytes hex value and LSB first)
|
||||
#example 1000 = 0x03E8
|
||||
#exmaple 2000 = 0x07D0
|
||||
#example 500 = 0x01F4
|
||||
NXP_WIREDMODE_RESUME_TIMEOUT={E8,03,00,00}
|
||||
###############################################################################
|
||||
# Power to eSE is controlled by DH or PMU depending on following configurations
|
||||
#define DH_PWR_CONTROL 1
|
||||
#define PMU_PWR_CONTROL 2
|
||||
NXP_ESE_POWER_DH_CONTROL=1
|
||||
|
||||
###############################################################################
|
||||
# Timeout value in milliseconds for wired mode resume after RF field event timeout
|
||||
NXP_NFCC_RF_FIELD_EVENT_TIMEOUT=3000
|
||||
|
||||
###############################################################################
|
||||
# NXP PMU Support configuration is sent if PMU_PWR_CONTROL is configured
|
||||
# External PMU available in phone ON and phone OFF case if NXP_ESE_POWER_EXT_PMU=1
|
||||
# External PMU available only in phone ON case if NXP_ESE_POWER_EXT_PMU=2
|
||||
NXP_ESE_POWER_EXT_PMU=2
|
||||
|
||||
###############################################################################
|
||||
# Whether to allow wired mode in desfire and mifare CLT
|
||||
# Disable 0x00
|
||||
# Enable 0x01
|
||||
NXP_ALLOW_WIRED_IN_MIFARE_DESFIRE_CLT=0x00
|
||||
|
||||
###############################################################################
|
||||
# Restrict routing to first matched rule only.
|
||||
# Blacklist enable 0x01
|
||||
# Blacklist disable 0x00
|
||||
NXP_PROP_BLACKLIST_ROUTING=0x00
|
||||
|
||||
###############################################################################
|
||||
# Send DWP interface reset command as part of SE open
|
||||
# Disable 0x00
|
||||
# Enable 0x01
|
||||
NXP_DWP_INTF_RESET_ENABLE=0x01
|
||||
|
||||
###############################################################################
|
||||
# Timeout value in milliseconds for JCOP OS download to complete
|
||||
OS_DOWNLOAD_TIMEOUT_VALUE=60000
|
||||
|
||||
###############################################################################
|
||||
# Timeout value in milliseconds to send response for Felica command received
|
||||
NXP_HCEF_CMD_RSP_TIMEOUT_VALUE=5000
|
||||
|
||||
###############################################################################
|
||||
0
self-extractors/Android.mk
Normal file
0
self-extractors/Android.mk
Normal file
12
self-extractors/PART1
Normal file
12
self-extractors/PART1
Normal file
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# Usage is subject to the enclosed license agreement
|
||||
|
||||
echo
|
||||
echo The license for this software will now be displayed.
|
||||
echo You must agree to this license before using this software.
|
||||
echo
|
||||
echo -n Press Enter to view the license
|
||||
read dummy
|
||||
echo
|
||||
|
||||
more << __EOF__
|
||||
22
self-extractors/PART2
Normal file
22
self-extractors/PART2
Normal file
@@ -0,0 +1,22 @@
|
||||
__EOF__
|
||||
|
||||
if test $? != 0
|
||||
then
|
||||
echo ERROR: Couldn\'t display license file 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo
|
||||
|
||||
echo -n Type \"I ACCEPT\" if you agree to the terms of the license:\
|
||||
read typed
|
||||
|
||||
if test "$typed" != I\ ACCEPT
|
||||
then
|
||||
echo
|
||||
echo You didn\'t accept the license. Extraction aborted.
|
||||
exit 2
|
||||
fi
|
||||
|
||||
echo
|
||||
|
||||
12
self-extractors/PART3
Normal file
12
self-extractors/PART3
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
if test $? != 0
|
||||
then
|
||||
echo
|
||||
echo ERROR: Couldn\'t extract files. 1>&2
|
||||
exit 3
|
||||
else
|
||||
echo
|
||||
echo Files extracted successfully.
|
||||
fi
|
||||
exit 0
|
||||
|
||||
2
self-extractors/PROLOGUE
Normal file
2
self-extractors/PROLOGUE
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
53
self-extractors/extract-lists.txt
Normal file
53
self-extractors/extract-lists.txt
Normal file
@@ -0,0 +1,53 @@
|
||||
google_devices)
|
||||
TO_EXTRACT="\
|
||||
IMAGES/vendor.img \
|
||||
"
|
||||
;;
|
||||
qcom)
|
||||
TO_EXTRACT="\
|
||||
system/bin/netutils-wrapper-1.0 \
|
||||
system/etc/cne/Nexus/ATT/ATT_profiles.xml \
|
||||
system/etc/cne/Nexus/ROW/ROW_profiles.xml \
|
||||
system/etc/cne/Nexus/VZW/VZW_profiles.xml \
|
||||
system/etc/firmware/dnd.descriptor \
|
||||
system/etc/firmware/dnd.sound_model \
|
||||
system/etc/firmware/music_detector.descriptor \
|
||||
system/etc/firmware/music_detector.sound_model \
|
||||
system/etc/permissions/com.android.ims.rcsmanager.xml \
|
||||
system/framework/cneapiclient.jar \
|
||||
system/framework/com.android.ims.rcsmanager.jar \
|
||||
system/framework/com.quicinc.cne.api-V1.0-java.jar \
|
||||
system/framework/com.quicinc.cne.jar \
|
||||
system/framework/embmslibrary.jar \
|
||||
system/framework/rcsimssettings.jar \
|
||||
system/framework/vendor.qti.qcril.am-V1.0-java.jar \
|
||||
system/lib64/android.hardware.biometrics.fingerprint@2.1.so \
|
||||
system/lib64/android.hardware.oemlock@1.0.so \
|
||||
system/lib64/com.qualcomm.qti.imsrtpservice@1.0.so \
|
||||
system/lib64/libaptX_encoder.so \
|
||||
system/lib64/libaptXHD_encoder.so \
|
||||
system/lib64/libdiag_system.so \
|
||||
system/lib64/libimscamera_jni.so \
|
||||
system/lib64/libimsmedia_jni.so \
|
||||
system/lib64/lib-imsvideocodec.so \
|
||||
system/lib64/lib-imsvtextutils.so \
|
||||
system/lib64/lib-imsvt.so \
|
||||
system/lib64/lib-imsvtutils.so \
|
||||
system/lib64/libion.so \
|
||||
system/lib64/libiperf.so \
|
||||
system/lib64/librcc.so \
|
||||
system/lib/com.qualcomm.qti.imsrtpservice@1.0.so \
|
||||
system/lib/libdiag_system.so \
|
||||
system/lib/libimscamera_jni.so \
|
||||
system/lib/libimsmedia_jni.so \
|
||||
system/lib/lib-imsvideocodec.so \
|
||||
system/lib/lib-imsvtextutils.so \
|
||||
system/lib/lib-imsvt.so \
|
||||
system/lib/lib-imsvtutils.so \
|
||||
system/lib/libion.so \
|
||||
system/lib/libiperf.so \
|
||||
system/lib/librcc.so \
|
||||
system/xbin/iperf3 \
|
||||
system/xbin/sanitizer-status \
|
||||
"
|
||||
;;
|
||||
1
self-extractors/google_devices/COPYRIGHT
Normal file
1
self-extractors/google_devices/COPYRIGHT
Normal file
@@ -0,0 +1 @@
|
||||
# (C) Google Inc.
|
||||
264
self-extractors/google_devices/LICENSE
Normal file
264
self-extractors/google_devices/LICENSE
Normal file
@@ -0,0 +1,264 @@
|
||||
THIS DEVELOPER SOFTWARE LICENSE AGREEMENT (THE "AGREEMENT") IS A LEGALLY
|
||||
BINDING AGREEMENT BETWEEN Google Inc. ("LICENSOR") AND
|
||||
YOU OR THE LEGAL ENTITY YOU REPRESENT ("You" or its possessive, "Your"). BY
|
||||
TYPING "I ACCEPT" WHERE INDICATED YOU ACKNOWLEDGE THAT YOU HAVE READ THIS
|
||||
AGREEMENT, UNDERSTAND IT AND AGREE TO BE BOUND BY ITS TERMS AND CONDITIONS.
|
||||
IF YOU DO NOT AGREE TO THESE TERMS YOU MUST DISCONTINUE THE INSTALLATION
|
||||
PROCESS AND YOU SHALL NOT USE THE SOFTWARE OR RETAIN ANY COPIES OF THE
|
||||
SOFTWARE OR DOCUMENTATION. ANY USE OR POSSESSION OF THE SOFTWARE BY YOU IS
|
||||
SUBJECT TO THE TERMS AND CONDITIONS SET FORTH IN THIS AGREEMENT. IF THE
|
||||
SOFTWARE IS INSTALLED ON A COMPUTER OWNED BY A CORPORATION OR OTHER LEGAL
|
||||
ENTITY, THEN YOU REPRESENT AND WARRANT THAT YOU HAVE THE AUTHORITY TO BIND
|
||||
SUCH ENTITY TO THE TERMS AND CONDITIONS OF THIS AGREEMENT.
|
||||
|
||||
1. Special Definitions
|
||||
|
||||
a. The term "Android" means the open source mobile platform, software
|
||||
stack, operating system, middleware, application programming
|
||||
interfaces and mobile applications under the trade-name "Android"
|
||||
distributed at Android.com.
|
||||
|
||||
b. The term "Android Applications" means a software application or
|
||||
open-source contribution developed by You, designed to operate with
|
||||
Android that does not contain or incorporate any of the Software.
|
||||
|
||||
c. The term "Authorized Android Enabled Device" means only the device
|
||||
identified on the site from which You downloaded the Software.
|
||||
The term "Software" means the Licensor's proprietary software and
|
||||
libraries in object code form, designed for use on the Authorized
|
||||
Android Enabled Device.
|
||||
|
||||
d. The term "Authorized Android Enabled Device Software" means a
|
||||
packaged build for Authorized Android Enabled Devices, consisting
|
||||
of files suitable for installation on an Authorized Android Enabled
|
||||
Device using a mechanism such as fastboot mode or recovery mode.
|
||||
|
||||
2. License Grant
|
||||
|
||||
a. Subject to the terms of this Agreement, Licensor hereby grants to
|
||||
You, free of charge, a non-exclusive, non-sublicensable,
|
||||
non-transferable, limited copyright license, during the term of
|
||||
this Agreement, to download, install and use the Software
|
||||
internally in machine-readable (i.e., object code) form and the
|
||||
Documentation for non-commercial use on an Authorized Android
|
||||
Enabled Device and non-commercial redistribution for academic
|
||||
purposes only of a reasonable number of copies of the Authorized
|
||||
Android Enabled Device Software (the "Limited Purpose"). You may
|
||||
grant your end users the right to use the Software for
|
||||
non-commercial purposes on an Authorized Android Enabled Device.
|
||||
The license to the Software granted to You hereunder is solely for
|
||||
the Limited Purpose set forth in this section, and the Software
|
||||
shall not be used for any other purpose.
|
||||
|
||||
3. Restrictions
|
||||
|
||||
a. Retention of Rights. The entire right, title and interest in the
|
||||
Software shall remain with Licensor and, unless specified in
|
||||
writing hereunder, no rights are granted to any of the Software.
|
||||
Except for the right to use the Software for the Limited Purpose,
|
||||
the delivery of the Software to You does not convey to You any
|
||||
intellectual property rights in the Software, including, but not
|
||||
limited to any rights under any patent, trademark, copyright, or
|
||||
trade secret. Neither the delivery of the Software to You nor any
|
||||
terms set forth herein shall be construed to grant to You, either
|
||||
expressly, by implication or by way of estoppel, any license under
|
||||
any patents or other intellectual property rights covering or
|
||||
relating to any other product or invention or any combination of
|
||||
the Software with any other product. Any rights not expressly
|
||||
granted to You herein are reserved by Licensor.
|
||||
|
||||
b. No Commercialization or Distribution of the Software and
|
||||
Documentation. Except as expressly provided in Section 2 of this
|
||||
Agreement, You shall have no right to (i) copy, disclose,
|
||||
distribute, publically perform, publically display, transfer,
|
||||
alter, modify, translate, disassemble, decompile, reverse engineer,
|
||||
or adapt the Software and Documentation, or any portion thereof, or
|
||||
create any derivative works based thereon; (ii) rent, lease,
|
||||
assign, sublicense, resell, disclose or otherwise transfer the
|
||||
Software and Documentation in whole or in part to any third party
|
||||
(iii) use the Software and Documentation except for the Limited
|
||||
Purpose, (iv) remove or alter any of the copyright or proprietary
|
||||
notices contained in any of the Software and Documentation. For the
|
||||
purposes of clarity, nothing in this Agreement prohibits You from
|
||||
making and distributing Android Applications under commercial or
|
||||
non-commercial terms, provided that You shall not contain,
|
||||
incorporate, and/or compile the Software or any of its derivative
|
||||
works, in whole or in part, into Your Android Applications and/or
|
||||
any software/devices created by You or by third parties acting on
|
||||
Your behalf. You and any such third party shall comply with all of
|
||||
the terms and conditions of this Agreement.
|
||||
|
||||
c. No Reverse Engineering. Except for any portions of the Software
|
||||
provided to You in source code format and except for any third
|
||||
party code distributed with the Software that is licensed under
|
||||
contrary terms, You will not reverse engineer, disassemble,
|
||||
decompile, or translate the Software, or otherwise attempt to
|
||||
derive the source code version of the Software, except if and to
|
||||
the extent expressly permitted under any applicable law.
|
||||
|
||||
d. Third Party Software. You agree that Android may contain third
|
||||
party software. You agree that you may not distribute such third
|
||||
party software for any purpose without appropriate licenses from
|
||||
the applicable third party or parties.
|
||||
|
||||
e. No Transfer or Assignment. You shall not assign any of its rights
|
||||
or obligations under this Agreement. Any attempted assignment in
|
||||
contravention of this Section shall be void.
|
||||
|
||||
f. Licensor shall retain all title, ownership and Intellectual
|
||||
Property Rights in and to the Software and any derivative thereof.
|
||||
"Intellectual Property Rights" shall mean all patent, copyright,
|
||||
trade secret, trademark and other proprietary and intellectual
|
||||
property rights, including moral rights.
|
||||
|
||||
g. Neither this Agreement, nor any act by Licensor or its Affiliates
|
||||
persuant to this Agreement or relating to the Software (including,
|
||||
without limitation, the provision by Licensor or its Affiliates of
|
||||
the Software) shall provide to You any license or any other rights
|
||||
whatsoever under any patents, trademarks, trade secrets, copyrights
|
||||
or any other intellectual property rights of Licensor or its
|
||||
Affiliates, except for the copyrights expressly set forth in this
|
||||
Agreement. You understand and agree that:
|
||||
|
||||
h. Neither this Agreement, nor delivery of the Software alone or in
|
||||
combination with any Licensor ASIC grants you any right to
|
||||
practice, or any other right at all with respect to, any patent of
|
||||
Licensor or its Affiliates, and
|
||||
|
||||
i. A separating license agreement from Motorola Incorporated is needed
|
||||
to use or practice any patent of Licensor or its Affiliates.
|
||||
|
||||
j. You agree not to contend in any context that, as a result of the
|
||||
provision or use of this software, either Licensor or Affiliate has
|
||||
any obligation to extend, or Licensor or any other party has
|
||||
obtained any right to, any license, whether express or implied,
|
||||
with respect to any patent of Licensor or its Affiliates for any
|
||||
purpose. For the purposes of this agreement, "Affiliate" means
|
||||
(i) any corporation or any other legal entity that owns, directly
|
||||
or indirectly, more than fifty percent (50%) of the shares, equity
|
||||
interest or other securities of any entity entitled to vote for
|
||||
election of directors (or other managing authority), or (ii) any
|
||||
corporation or any other legal entity fifty percent (50%) or more
|
||||
of whose shares, equity interest, or other securities entitled to
|
||||
vote for election of directors (or other managing authority) is
|
||||
owned or controlled by an entity, either directly or indirectly.
|
||||
|
||||
4. Indemnity
|
||||
|
||||
a. You agree to indemnify and hold harmless Licensor, Google, and
|
||||
their officers, directors, customers, employees and successors and
|
||||
assigns (each an "Indemnified Party") against any and all claims,
|
||||
demands, causes of action, losses, liabilities, damages, costs and
|
||||
expenses, incurred by the Indemnified Party (including but not
|
||||
limited to costs of defense, investigation and reasonable
|
||||
attorney's fees) arising out of, resulting from or related to
|
||||
(i) any software, products, documentation, content, materials or
|
||||
derivative works created or developed by You using the Software
|
||||
which causes an infringement of any patent, copyright, trademark,
|
||||
trade secret, or other property, publicity or privacy rights of any
|
||||
third parties arising in any jurisdiction anywhere in the world,
|
||||
(ii) the download, distribution, installation, storage, execution,
|
||||
use or transfer of such software, products, documentation, content,
|
||||
materials or derivative works by any person or entity, and/or
|
||||
(iii) any breach of this Agreement by You. If requested by an
|
||||
Indemnified Party, You agree to defend such Indemnified Party in
|
||||
connection with any third party claims, demands, or causes of
|
||||
action resulting from, arising out of or in connection with any of
|
||||
the foregoing.
|
||||
|
||||
5. Limitation of Liability
|
||||
|
||||
a. TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE LAWS, UNDER NO
|
||||
CIRCUMSTANCES, INCLUDING WITHOUT LIMITATION NEGLIGENCE, SHALL
|
||||
LICENSOR, GOOGLE, THEIR AFFILIATES AND/OR ITS DIRECTORS, OFFICERS,
|
||||
EMPLOYEES OR AGENTS BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
|
||||
SPECIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT
|
||||
LIMITED TO DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS
|
||||
INTERRUPTION, LOSS OF BUSINESS INFORMATION AND THE LIKE) ARISING
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR ANY DOWNLOAD,
|
||||
INSTALLATION OR USE OF, OR INABILITY TO USE, THE SOFTWARE, EVEN IF
|
||||
LICENSOR OR GOOGLE HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OR
|
||||
EXCLUSION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES SO
|
||||
THE ABOVE LIMITATION OR EXCLUSION MAY NOT APPLY OR MAY BE LIMITED.
|
||||
IN NO EVENT SHALL LICENSOR'S OR GOOGLE'S TOTAL AGGREGATE LIABILITY
|
||||
TO YOU FOR ANY AND ALL DAMAGES, LOSSES, CLAIMS AND CAUSES OF
|
||||
ACTIONS (WHETHER IN CONTRACT, TORT, INCLUDING NEGLIGENCE,
|
||||
INDEMNIFICATION OR OTHERWISE) EXCEED ONE HUNDRED U.S. DOLLARS
|
||||
(US$100). THE LIMITATIONS SET FORTH IN THIS PARAGRAPH SHALL BE
|
||||
DEEMED TO APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
THE PARTIES HAVE FULLY CONSIDERED THE FOREGOING ALLOCATION OF RISK
|
||||
AND FIND IT REASONABLE, AND THAT THE FOREGOING LIMITATIONS IN THIS
|
||||
PARAGRAPH ARE AN ESSENTIAL BASIS OF THE BARGAIN BETWEEN THE
|
||||
PARTIES.
|
||||
|
||||
6. No Warranty
|
||||
|
||||
a. LICENSOR AND GOOGLE MAKE NO WARRANTIES, EXPRESS OR IMPLIED, WITH
|
||||
RESPECT TO THE SOFTWARE AND DOCUMENTATION PROVIDED UNDER THIS
|
||||
AGREEMENT, INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF
|
||||
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR AGAINST
|
||||
INFRINGEMENT, OR ANY EXPRESS OR IMPLIED WARRANTY ARISING OUT OF
|
||||
TRADE USAGE OR OUT OF A COURSE OF DEALING OR COURSE OF PERFORMANCE.
|
||||
NOTHING CONTAINED IN THIS AGREEMENT SHALL BE CONSTRUED AS A
|
||||
WARRANTY OR REPRESENTATION BY LICENSOR (I) AS TO THE VALIDITY OR
|
||||
SCOPE OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT
|
||||
AND (II) THAT ANY MANUFACTURE OR USE WILL BE FREE FROM INFRINGEMENT
|
||||
OF PATENTS, COPYRIGHTS OR OTHER INTELLECTUAL PROPERTY RIGHTS OF
|
||||
OTHERS, AND IT SHALL BE THE SOLE RESPONSIBILITY OF YOU TO MAKE SUCH
|
||||
DETERMINATION AS IS NECESSARY WITH RESPECT TO THE ACQUISITION OF
|
||||
LICENSES UNDER PATENTS AND OTHER INTELLECTUAL PROPERTY OF THIRD
|
||||
PARTIES. LICENSOR AND GOOGLE SHALL NOT HAVE ANY OBLIGATION TO
|
||||
PROVIDE ANY TECHNICAL SUPPORT OF THE SOFTWARE UNDER THIS AGREEMENT.
|
||||
|
||||
7. Term and Termination
|
||||
|
||||
a. This Agreement shall be effective on the date You accept this
|
||||
Agreement and shall remain in effect until terminated as provided
|
||||
herein. You may terminate the Agreement at any time by deleting and
|
||||
destroying all copies of the Software and all related information
|
||||
in Your possession or control. This Agreement terminates
|
||||
immediately and automatically, with or without notice, if You fail
|
||||
to comply with any provision hereof. Additionally, Licensor may at
|
||||
any time terminate this Agreement, without cause, upon notice to
|
||||
You. Upon termination You must delete or destroy all copies of the
|
||||
Software in Your possession, and the license granted to You in this
|
||||
Agreement shall terminate. Sections 3, 4, 5, 6 and 8 shall survive
|
||||
the termination of this Agreement.
|
||||
|
||||
8. Miscellaneous
|
||||
|
||||
a. Governing Law. This Agreement is governed and interpreted in
|
||||
accordance with the laws of the State of California without giving
|
||||
effect to its conflict of laws provisions. The United Nations
|
||||
Convention on Contracts for the International Sale of Goods is
|
||||
expressly disclaimed and shall not apply. Any claim arising out of
|
||||
or related to this Agreement must be brought exclusively in a
|
||||
federal or state court located in Santa Clara County, California
|
||||
and You consent to the jurisdiction and venue of such courts.
|
||||
|
||||
b. Waiver and Severability. The failure of either party to require
|
||||
performance by the other party of any provision of this Agreement
|
||||
shall not affect the full right to require such performance at any
|
||||
time thereafter; nor shall the waiver by either party of a breach
|
||||
of any provision of this Agreement be taken or held to be a waiver
|
||||
of the provision itself. Severability. If any provision of this
|
||||
Agreement is unenforceable or invalid under any applicable law or
|
||||
is so held by applicable court decision, such unenforceability or
|
||||
invalidity shall not render this Agreement unenforceable or invalid
|
||||
as a whole, and such provision shall be changed and interpreted so
|
||||
as to best accomplish the objectives of such unenforceable or
|
||||
invalid provision within the limits of applicable law or
|
||||
applicable court decisions.
|
||||
|
||||
c. Amendment and Modification. This Agreement and any of its terms and
|
||||
provisions may only be amended, modified, supplemented or waived in
|
||||
a writing signed by both parties hereto.
|
||||
|
||||
d. Compliance with Laws. You shall comply with all applicable laws,
|
||||
rules, and regulations in connection with its activities under this
|
||||
Agreement.
|
||||
|
||||
e. Entire Agreement. This Agreement completely and exclusively states
|
||||
the agreement between You and Licensor regarding this subject
|
||||
matter.
|
||||
15
self-extractors/google_devices/staging/BoardConfigPartial.mk
Normal file
15
self-extractors/google_devices/staging/BoardConfigPartial.mk
Normal file
@@ -0,0 +1,15 @@
|
||||
# Copyright 2017 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.
|
||||
|
||||
BOARD_PREBUILT_VENDORIMAGE := vendor/google_devices/walleye/proprietary/vendor.img
|
||||
13
self-extractors/google_devices/staging/device-partial.mk
Normal file
13
self-extractors/google_devices/staging/device-partial.mk
Normal file
@@ -0,0 +1,13 @@
|
||||
# Copyright 2017 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.
|
||||
1
self-extractors/qcom/COPYRIGHT
Normal file
1
self-extractors/qcom/COPYRIGHT
Normal file
@@ -0,0 +1 @@
|
||||
# (C) Qualcomm Technologies, Inc.
|
||||
264
self-extractors/qcom/LICENSE
Normal file
264
self-extractors/qcom/LICENSE
Normal file
@@ -0,0 +1,264 @@
|
||||
THIS DEVELOPER SOFTWARE LICENSE AGREEMENT (THE "AGREEMENT") IS A LEGALLY
|
||||
BINDING AGREEMENT BETWEEN Qualcomm Technologies, Inc. ("LICENSOR") AND
|
||||
YOU OR THE LEGAL ENTITY YOU REPRESENT ("You" or its possessive, "Your"). BY
|
||||
TYPING "I ACCEPT" WHERE INDICATED YOU ACKNOWLEDGE THAT YOU HAVE READ THIS
|
||||
AGREEMENT, UNDERSTAND IT AND AGREE TO BE BOUND BY ITS TERMS AND CONDITIONS.
|
||||
IF YOU DO NOT AGREE TO THESE TERMS YOU MUST DISCONTINUE THE INSTALLATION
|
||||
PROCESS AND YOU SHALL NOT USE THE SOFTWARE OR RETAIN ANY COPIES OF THE
|
||||
SOFTWARE OR DOCUMENTATION. ANY USE OR POSSESSION OF THE SOFTWARE BY YOU IS
|
||||
SUBJECT TO THE TERMS AND CONDITIONS SET FORTH IN THIS AGREEMENT. IF THE
|
||||
SOFTWARE IS INSTALLED ON A COMPUTER OWNED BY A CORPORATION OR OTHER LEGAL
|
||||
ENTITY, THEN YOU REPRESENT AND WARRANT THAT YOU HAVE THE AUTHORITY TO BIND
|
||||
SUCH ENTITY TO THE TERMS AND CONDITIONS OF THIS AGREEMENT.
|
||||
|
||||
1. Special Definitions
|
||||
|
||||
a. The term "Android" means the open source mobile platform, software
|
||||
stack, operating system, middleware, application programming
|
||||
interfaces and mobile applications under the trade-name "Android"
|
||||
distributed at Android.com.
|
||||
|
||||
b. The term "Android Applications" means a software application or
|
||||
open-source contribution developed by You, designed to operate with
|
||||
Android that does not contain or incorporate any of the Software.
|
||||
|
||||
c. The term "Authorized Android Enabled Device" means only the device
|
||||
identified on the site from which You downloaded the Software.
|
||||
The term "Software" means the Licensor's proprietary software and
|
||||
libraries in object code form, designed for use on the Authorized
|
||||
Android Enabled Device.
|
||||
|
||||
d. The term "Authorized Android Enabled Device Software" means a
|
||||
packaged build for Authorized Android Enabled Devices, consisting
|
||||
of files suitable for installation on an Authorized Android Enabled
|
||||
Device using a mechanism such as fastboot mode or recovery mode.
|
||||
|
||||
2. License Grant
|
||||
|
||||
a. Subject to the terms of this Agreement, Licensor hereby grants to
|
||||
You, free of charge, a non-exclusive, non-sublicensable,
|
||||
non-transferable, limited copyright license, during the term of
|
||||
this Agreement, to download, install and use the Software
|
||||
internally in machine-readable (i.e., object code) form and the
|
||||
Documentation for non-commercial use on an Authorized Android
|
||||
Enabled Device and non-commercial redistribution for academic
|
||||
purposes only of a reasonable number of copies of the Authorized
|
||||
Android Enabled Device Software (the "Limited Purpose"). You may
|
||||
grant your end users the right to use the Software for
|
||||
non-commercial purposes on an Authorized Android Enabled Device.
|
||||
The license to the Software granted to You hereunder is solely for
|
||||
the Limited Purpose set forth in this section, and the Software
|
||||
shall not be used for any other purpose.
|
||||
|
||||
3. Restrictions
|
||||
|
||||
a. Retention of Rights. The entire right, title and interest in the
|
||||
Software shall remain with Licensor and, unless specified in
|
||||
writing hereunder, no rights are granted to any of the Software.
|
||||
Except for the right to use the Software for the Limited Purpose,
|
||||
the delivery of the Software to You does not convey to You any
|
||||
intellectual property rights in the Software, including, but not
|
||||
limited to any rights under any patent, trademark, copyright, or
|
||||
trade secret. Neither the delivery of the Software to You nor any
|
||||
terms set forth herein shall be construed to grant to You, either
|
||||
expressly, by implication or by way of estoppel, any license under
|
||||
any patents or other intellectual property rights covering or
|
||||
relating to any other product or invention or any combination of
|
||||
the Software with any other product. Any rights not expressly
|
||||
granted to You herein are reserved by Licensor.
|
||||
|
||||
b. No Commercialization or Distribution of the Software and
|
||||
Documentation. Except as expressly provided in Section 2 of this
|
||||
Agreement, You shall have no right to (i) copy, disclose,
|
||||
distribute, publically perform, publically display, transfer,
|
||||
alter, modify, translate, disassemble, decompile, reverse engineer,
|
||||
or adapt the Software and Documentation, or any portion thereof, or
|
||||
create any derivative works based thereon; (ii) rent, lease,
|
||||
assign, sublicense, resell, disclose or otherwise transfer the
|
||||
Software and Documentation in whole or in part to any third party
|
||||
(iii) use the Software and Documentation except for the Limited
|
||||
Purpose, (iv) remove or alter any of the copyright or proprietary
|
||||
notices contained in any of the Software and Documentation. For the
|
||||
purposes of clarity, nothing in this Agreement prohibits You from
|
||||
making and distributing Android Applications under commercial or
|
||||
non-commercial terms, provided that You shall not contain,
|
||||
incorporate, and/or compile the Software or any of its derivative
|
||||
works, in whole or in part, into Your Android Applications and/or
|
||||
any software/devices created by You or by third parties acting on
|
||||
Your behalf. You and any such third party shall comply with all of
|
||||
the terms and conditions of this Agreement.
|
||||
|
||||
c. No Reverse Engineering. Except for any portions of the Software
|
||||
provided to You in source code format and except for any third
|
||||
party code distributed with the Software that is licensed under
|
||||
contrary terms, You will not reverse engineer, disassemble,
|
||||
decompile, or translate the Software, or otherwise attempt to
|
||||
derive the source code version of the Software, except if and to
|
||||
the extent expressly permitted under any applicable law.
|
||||
|
||||
d. Third Party Software. You agree that Android may contain third
|
||||
party software. You agree that you may not distribute such third
|
||||
party software for any purpose without appropriate licenses from
|
||||
the applicable third party or parties.
|
||||
|
||||
e. No Transfer or Assignment. You shall not assign any of its rights
|
||||
or obligations under this Agreement. Any attempted assignment in
|
||||
contravention of this Section shall be void.
|
||||
|
||||
f. Licensor shall retain all title, ownership and Intellectual
|
||||
Property Rights in and to the Software and any derivative thereof.
|
||||
"Intellectual Property Rights" shall mean all patent, copyright,
|
||||
trade secret, trademark and other proprietary and intellectual
|
||||
property rights, including moral rights.
|
||||
|
||||
g. Neither this Agreement, nor any act by Licensor or its Affiliates
|
||||
persuant to this Agreement or relating to the Software (including,
|
||||
without limitation, the provision by Licensor or its Affiliates of
|
||||
the Software) shall provide to You any license or any other rights
|
||||
whatsoever under any patents, trademarks, trade secrets, copyrights
|
||||
or any other intellectual property rights of Licensor or its
|
||||
Affiliates, except for the copyrights expressly set forth in this
|
||||
Agreement. You understand and agree that:
|
||||
|
||||
h. Neither this Agreement, nor delivery of the Software alone or in
|
||||
combination with any Licensor ASIC grants you any right to
|
||||
practice, or any other right at all with respect to, any patent of
|
||||
Licensor or its Affiliates, and
|
||||
|
||||
i. A separating license agreement from Qualcomm Incorporated is needed
|
||||
to use or practice any patent of Licensor or its Affiliates.
|
||||
|
||||
j. You agree not to contend in any context that, as a result of the
|
||||
provision or use of this software, either Licensor or Affiliate has
|
||||
any obligation to extend, or Licensor or any other party has
|
||||
obtained any right to, any license, whether express or implied,
|
||||
with respect to any patent of Licensor or its Affiliates for any
|
||||
purpose. For the purposes of this agreement, "Affiliate" means
|
||||
(i) any corporation or any other legal entity that owns, directly
|
||||
or indirectly, more than fifty percent (50%) of the shares, equity
|
||||
interest or other securities of any entity entitled to vote for
|
||||
election of directors (or other managing authority), or (ii) any
|
||||
corporation or any other legal entity fifty percent (50%) or more
|
||||
of whose shares, equity interest, or other securities entitled to
|
||||
vote for election of directors (or other managing authority) is
|
||||
owned or controlled by an entity, either directly or indirectly.
|
||||
|
||||
4. Indemnity
|
||||
|
||||
a. You agree to indemnify and hold harmless Licensor, Google, and
|
||||
their officers, directors, customers, employees and successors and
|
||||
assigns (each an "Indemnified Party") against any and all claims,
|
||||
demands, causes of action, losses, liabilities, damages, costs and
|
||||
expenses, incurred by the Indemnified Party (including but not
|
||||
limited to costs of defense, investigation and reasonable
|
||||
attorney's fees) arising out of, resulting from or related to
|
||||
(i) any software, products, documentation, content, materials or
|
||||
derivative works created or developed by You using the Software
|
||||
which causes an infringement of any patent, copyright, trademark,
|
||||
trade secret, or other property, publicity or privacy rights of any
|
||||
third parties arising in any jurisdiction anywhere in the world,
|
||||
(ii) the download, distribution, installation, storage, execution,
|
||||
use or transfer of such software, products, documentation, content,
|
||||
materials or derivative works by any person or entity, and/or
|
||||
(iii) any breach of this Agreement by You. If requested by an
|
||||
Indemnified Party, You agree to defend such Indemnified Party in
|
||||
connection with any third party claims, demands, or causes of
|
||||
action resulting from, arising out of or in connection with any of
|
||||
the foregoing.
|
||||
|
||||
5. Limitation of Liability
|
||||
|
||||
a. TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE LAWS, UNDER NO
|
||||
CIRCUMSTANCES, INCLUDING WITHOUT LIMITATION NEGLIGENCE, SHALL
|
||||
LICENSOR, GOOGLE, THEIR AFFILIATES AND/OR ITS DIRECTORS, OFFICERS,
|
||||
EMPLOYEES OR AGENTS BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
|
||||
SPECIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT
|
||||
LIMITED TO DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS
|
||||
INTERRUPTION, LOSS OF BUSINESS INFORMATION AND THE LIKE) ARISING
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR ANY DOWNLOAD,
|
||||
INSTALLATION OR USE OF, OR INABILITY TO USE, THE SOFTWARE, EVEN IF
|
||||
LICENSOR OR GOOGLE HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OR
|
||||
EXCLUSION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES SO
|
||||
THE ABOVE LIMITATION OR EXCLUSION MAY NOT APPLY OR MAY BE LIMITED.
|
||||
IN NO EVENT SHALL LICENSOR'S OR GOOGLE'S TOTAL AGGREGATE LIABILITY
|
||||
TO YOU FOR ANY AND ALL DAMAGES, LOSSES, CLAIMS AND CAUSES OF
|
||||
ACTIONS (WHETHER IN CONTRACT, TORT, INCLUDING NEGLIGENCE,
|
||||
INDEMNIFICATION OR OTHERWISE) EXCEED ONE HUNDRED U.S. DOLLARS
|
||||
(US$100). THE LIMITATIONS SET FORTH IN THIS PARAGRAPH SHALL BE
|
||||
DEEMED TO APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
THE PARTIES HAVE FULLY CONSIDERED THE FOREGOING ALLOCATION OF RISK
|
||||
AND FIND IT REASONABLE, AND THAT THE FOREGOING LIMITATIONS IN THIS
|
||||
PARAGRAPH ARE AN ESSENTIAL BASIS OF THE BARGAIN BETWEEN THE
|
||||
PARTIES.
|
||||
|
||||
6. No Warranty
|
||||
|
||||
a. LICENSOR AND GOOGLE MAKE NO WARRANTIES, EXPRESS OR IMPLIED, WITH
|
||||
RESPECT TO THE SOFTWARE AND DOCUMENTATION PROVIDED UNDER THIS
|
||||
AGREEMENT, INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF
|
||||
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR AGAINST
|
||||
INFRINGEMENT, OR ANY EXPRESS OR IMPLIED WARRANTY ARISING OUT OF
|
||||
TRADE USAGE OR OUT OF A COURSE OF DEALING OR COURSE OF PERFORMANCE.
|
||||
NOTHING CONTAINED IN THIS AGREEMENT SHALL BE CONSTRUED AS A
|
||||
WARRANTY OR REPRESENTATION BY LICENSOR (I) AS TO THE VALIDITY OR
|
||||
SCOPE OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT
|
||||
AND (II) THAT ANY MANUFACTURE OR USE WILL BE FREE FROM INFRINGEMENT
|
||||
OF PATENTS, COPYRIGHTS OR OTHER INTELLECTUAL PROPERTY RIGHTS OF
|
||||
OTHERS, AND IT SHALL BE THE SOLE RESPONSIBILITY OF YOU TO MAKE SUCH
|
||||
DETERMINATION AS IS NECESSARY WITH RESPECT TO THE ACQUISITION OF
|
||||
LICENSES UNDER PATENTS AND OTHER INTELLECTUAL PROPERTY OF THIRD
|
||||
PARTIES. LICENSOR AND GOOGLE SHALL NOT HAVE ANY OBLIGATION TO
|
||||
PROVIDE ANY TECHNICAL SUPPORT OF THE SOFTWARE UNDER THIS AGREEMENT.
|
||||
|
||||
7. Term and Termination
|
||||
|
||||
a. This Agreement shall be effective on the date You accept this
|
||||
Agreement and shall remain in effect until terminated as provided
|
||||
herein. You may terminate the Agreement at any time by deleting and
|
||||
destroying all copies of the Software and all related information
|
||||
in Your possession or control. This Agreement terminates
|
||||
immediately and automatically, with or without notice, if You fail
|
||||
to comply with any provision hereof. Additionally, Licensor may at
|
||||
any time terminate this Agreement, without cause, upon notice to
|
||||
You. Upon termination You must delete or destroy all copies of the
|
||||
Software in Your possession, and the license granted to You in this
|
||||
Agreement shall terminate. Sections 3, 4, 5, 6 and 8 shall survive
|
||||
the termination of this Agreement.
|
||||
|
||||
8. Miscellaneous
|
||||
|
||||
a. Governing Law. This Agreement is governed and interpreted in
|
||||
accordance with the laws of the State of California without giving
|
||||
effect to its conflict of laws provisions. The United Nations
|
||||
Convention on Contracts for the International Sale of Goods is
|
||||
expressly disclaimed and shall not apply. Any claim arising out of
|
||||
or related to this Agreement must be brought exclusively in a
|
||||
federal or state court located in Santa Clara County, California
|
||||
and You consent to the jurisdiction and venue of such courts.
|
||||
|
||||
b. Waiver and Severability. The failure of either party to require
|
||||
performance by the other party of any provision of this Agreement
|
||||
shall not affect the full right to require such performance at any
|
||||
time thereafter; nor shall the waiver by either party of a breach
|
||||
of any provision of this Agreement be taken or held to be a waiver
|
||||
of the provision itself. Severability. If any provision of this
|
||||
Agreement is unenforceable or invalid under any applicable law or
|
||||
is so held by applicable court decision, such unenforceability or
|
||||
invalidity shall not render this Agreement unenforceable or invalid
|
||||
as a whole, and such provision shall be changed and interpreted so
|
||||
as to best accomplish the objectives of such unenforceable or
|
||||
invalid provision within the limits of applicable law or
|
||||
applicable court decisions.
|
||||
|
||||
c. Amendment and Modification. This Agreement and any of its terms and
|
||||
provisions may only be amended, modified, supplemented or waived in
|
||||
a writing signed by both parties hereto.
|
||||
|
||||
d. Compliance with Laws. You shall comply with all applicable laws,
|
||||
rules, and regulations in connection with its activities under this
|
||||
Agreement.
|
||||
|
||||
e. Entire Agreement. This Agreement completely and exclusively states
|
||||
the agreement between You and Licensor regarding this subject
|
||||
matter.
|
||||
13
self-extractors/qcom/staging/BoardConfigPartial.mk
Normal file
13
self-extractors/qcom/staging/BoardConfigPartial.mk
Normal file
@@ -0,0 +1,13 @@
|
||||
# Copyright 2017 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.
|
||||
60
self-extractors/qcom/staging/device-partial.mk
Normal file
60
self-extractors/qcom/staging/device-partial.mk
Normal file
@@ -0,0 +1,60 @@
|
||||
# Copyright 2017 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.
|
||||
|
||||
# blob(s) necessary for Walleye hardware
|
||||
PRODUCT_COPY_FILES := \
|
||||
vendor/qcom/walleye/proprietary/netutils-wrapper-1.0:system/bin/netutils-wrapper-1.0:qcom \
|
||||
vendor/qcom/walleye/proprietary/ATT_profiles.xml:system/etc/cne/Nexus/ATT/ATT_profiles.xml:qcom \
|
||||
vendor/qcom/walleye/proprietary/ROW_profiles.xml:system/etc/cne/Nexus/ROW/ROW_profiles.xml:qcom \
|
||||
vendor/qcom/walleye/proprietary/VZW_profiles.xml:system/etc/cne/Nexus/VZW/VZW_profiles.xml:qcom \
|
||||
vendor/qcom/walleye/proprietary/dnd.descriptor:system/etc/firmware/dnd.descriptor:qcom \
|
||||
vendor/qcom/walleye/proprietary/dnd.sound_model:system/etc/firmware/dnd.sound_model:qcom \
|
||||
vendor/qcom/walleye/proprietary/music_detector.descriptor:system/etc/firmware/music_detector.descriptor:qcom \
|
||||
vendor/qcom/walleye/proprietary/music_detector.sound_model:system/etc/firmware/music_detector.sound_model:qcom \
|
||||
vendor/qcom/walleye/proprietary/com.android.ims.rcsmanager.xml:system/etc/permissions/com.android.ims.rcsmanager.xml:qcom \
|
||||
vendor/qcom/walleye/proprietary/cneapiclient.jar:system/framework/cneapiclient.jar:qcom \
|
||||
vendor/qcom/walleye/proprietary/com.android.ims.rcsmanager.jar:system/framework/com.android.ims.rcsmanager.jar:qcom \
|
||||
vendor/qcom/walleye/proprietary/com.quicinc.cne.api-V1.0-java.jar:system/framework/com.quicinc.cne.api-V1.0-java.jar:qcom \
|
||||
vendor/qcom/walleye/proprietary/com.quicinc.cne.jar:system/framework/com.quicinc.cne.jar:qcom \
|
||||
vendor/qcom/walleye/proprietary/embmslibrary.jar:system/framework/embmslibrary.jar:qcom \
|
||||
vendor/qcom/walleye/proprietary/rcsimssettings.jar:system/framework/rcsimssettings.jar:qcom \
|
||||
vendor/qcom/walleye/proprietary/vendor.qti.qcril.am-V1.0-java.jar:system/framework/vendor.qti.qcril.am-V1.0-java.jar:qcom \
|
||||
vendor/qcom/walleye/proprietary/lib64/android.hardware.biometrics.fingerprint@2.1.so:system/lib64/android.hardware.biometrics.fingerprint@2.1.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/lib64/android.hardware.oemlock@1.0.so:system/lib64/android.hardware.oemlock@1.0.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/lib64/com.qualcomm.qti.imsrtpservice@1.0.so:system/lib64/com.qualcomm.qti.imsrtpservice@1.0.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/lib64/libaptX_encoder.so:system/lib64/libaptX_encoder.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/lib64/libaptXHD_encoder.so:system/lib64/libaptXHD_encoder.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/lib64/libdiag_system.so:system/lib64/libdiag_system.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/lib64/libimscamera_jni.so:system/lib64/libimscamera_jni.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/lib64/libimsmedia_jni.so:system/lib64/libimsmedia_jni.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/lib64/lib-imsvideocodec.so:system/lib64/lib-imsvideocodec.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/lib64/lib-imsvtextutils.so:system/lib64/lib-imsvtextutils.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/lib64/lib-imsvt.so:system/lib64/lib-imsvt.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/lib64/lib-imsvtutils.so:system/lib64/lib-imsvtutils.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/lib64/libion.so:system/lib64/libion.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/lib64/libiperf.so:system/lib64/libiperf.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/lib64/librcc.so:system/lib64/librcc.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/com.qualcomm.qti.imsrtpservice@1.0.so:system/lib/com.qualcomm.qti.imsrtpservice@1.0.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/libdiag_system.so:system/lib/libdiag_system.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/libimscamera_jni.so:system/lib/libimscamera_jni.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/libimsmedia_jni.so:system/lib/libimsmedia_jni.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/lib-imsvideocodec.so:system/lib/lib-imsvideocodec.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/lib-imsvtextutils.so:system/lib/lib-imsvtextutils.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/lib-imsvt.so:system/lib/lib-imsvt.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/lib-imsvtutils.so:system/lib/lib-imsvtutils.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/libion.so:system/lib/libion.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/libiperf.so:system/lib/libiperf.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/librcc.so:system/lib/librcc.so:qcom \
|
||||
vendor/qcom/walleye/proprietary/iperf3:system/xbin/iperf3:qcom \
|
||||
vendor/qcom/walleye/proprietary/sanitizer-status:system/xbin/sanitizer-status:qcom \
|
||||
18
self-extractors/root/proprietary/BoardConfigVendor.mk
Normal file
18
self-extractors/root/proprietary/BoardConfigVendor.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
# Copyright 2017 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.
|
||||
|
||||
LOCAL_STEM := walleye/BoardConfigPartial.mk
|
||||
|
||||
-include vendor/google_devices/$(LOCAL_STEM)
|
||||
-include vendor/qcom/$(LOCAL_STEM)
|
||||
18
self-extractors/root/proprietary/device-vendor-walleye.mk
Normal file
18
self-extractors/root/proprietary/device-vendor-walleye.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
# Copyright 2017 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.
|
||||
|
||||
LOCAL_STEM := walleye/device-partial.mk
|
||||
|
||||
$(call inherit-product-if-exists, vendor/google_devices/$(LOCAL_STEM))
|
||||
$(call inherit-product-if-exists, vendor/qcom/$(LOCAL_STEM))
|
||||
1
sepolicy/property.te
Normal file
1
sepolicy/property.te
Normal file
@@ -0,0 +1 @@
|
||||
type radio_usb_prop, property_type;
|
||||
1
sepolicy/property_contexts
Normal file
1
sepolicy/property_contexts
Normal file
@@ -0,0 +1 @@
|
||||
persist.sys.usb.usbradio.rc u:object_r:radio_usb_prop:s0
|
||||
1
sepolicy/system_server.te
Normal file
1
sepolicy/system_server.te
Normal file
@@ -0,0 +1 @@
|
||||
userdebug_or_eng(`set_prop(system_server, radio_usb_prop)')
|
||||
32
synaptics_dsxv26.idc
Normal file
32
synaptics_dsxv26.idc
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 2017 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.
|
||||
|
||||
#
|
||||
# Input Device Calibration File for the muskie touch screen.
|
||||
#
|
||||
|
||||
device.internal = 1
|
||||
|
||||
touch.deviceType = touchScreen
|
||||
touch.orientationAware = 1
|
||||
|
||||
touch.size.calibration = diameter
|
||||
touch.size.scale = 42.086933
|
||||
touch.size.bias = -21.905636
|
||||
touch.size.isSummed = 0
|
||||
|
||||
touch.pressure.calibration = amplitude
|
||||
touch.pressure.scale = 0.0125
|
||||
|
||||
touch.orientation.calibration = none
|
||||
17
thermal-engine-vr.conf
Executable file
17
thermal-engine-vr.conf
Executable file
@@ -0,0 +1,17 @@
|
||||
[SKIN_SHUTDOWN]
|
||||
algo_type monitor
|
||||
sampling 1000
|
||||
sensor back_therm
|
||||
thresholds 56000
|
||||
thresholds_clr 55000
|
||||
actions shutdown
|
||||
action_info 1
|
||||
|
||||
[VR-SKIN]
|
||||
algo_type monitor
|
||||
sensor back_therm
|
||||
sampling 1000
|
||||
thresholds 52000
|
||||
thresholds_clr 48000
|
||||
actions cluster0+cluster1+gpu+battery
|
||||
action_info 883200+902400+342000000+3
|
||||
78
thermal-engine.conf
Executable file
78
thermal-engine.conf
Executable file
@@ -0,0 +1,78 @@
|
||||
sampling 5000
|
||||
|
||||
[SKIN-MID-FLOOR-BC]
|
||||
algo_type ss
|
||||
sampling 2000
|
||||
sensor back_therm
|
||||
device cluster1
|
||||
set_point 40000
|
||||
set_point_clr 39000
|
||||
device_max_limit 1804800
|
||||
time_constant 0
|
||||
|
||||
[SKIN-MID-LOW-FLOOR-BC]
|
||||
algo_type ss
|
||||
sampling 2000
|
||||
sensor back_therm
|
||||
device cluster1
|
||||
set_point 42000
|
||||
set_point_clr 41000
|
||||
device_max_limit 1497600
|
||||
time_constant 0
|
||||
|
||||
[SKIN-LOW-FLOOR-BC]
|
||||
algo_type ss
|
||||
sampling 2000
|
||||
sensor back_therm
|
||||
device cluster1
|
||||
set_point 47000
|
||||
set_point_clr 46000
|
||||
device_max_limit 1190400
|
||||
time_constant 0
|
||||
|
||||
[HOT-SKIN-VIRTUAL]
|
||||
algo_type virtual
|
||||
trip_sensor back_therm
|
||||
sensors tsens_tz_sensor13 tsens_tz_sensor0
|
||||
list_cnt 2
|
||||
weights 1 -1
|
||||
set_point 39000
|
||||
set_point_clr 36000
|
||||
sampling 1000
|
||||
math 0
|
||||
|
||||
[VIRTUAL-SS-GPU-SKIN]
|
||||
algo_type ss
|
||||
sensor HOT-SKIN-VIRTUAL
|
||||
device gpu
|
||||
sampling 2000
|
||||
set_point 7000
|
||||
set_point_clr 2000
|
||||
device_max_limit 414000000
|
||||
|
||||
[SKIN-MONITOR]
|
||||
algo_type monitor
|
||||
sampling 2000
|
||||
sensor back_therm
|
||||
thresholds 50000 52000 54000
|
||||
thresholds_clr 49000 51000 53000
|
||||
actions cluster0+cluster1+gpu cluster0+cluster1+gpu cluster0+cluster1+gpu
|
||||
action_info 1094400+1190400+414000000 883200+902400+342000000 300000+300000+257000000
|
||||
|
||||
[BATTERY-MONITOR]
|
||||
algo_type monitor
|
||||
sampling 2000
|
||||
sensor back_therm
|
||||
thresholds 52000
|
||||
thresholds_clr 50000
|
||||
actions battery
|
||||
action_info 3
|
||||
|
||||
[SKIN-SHUTDOWN]
|
||||
algo_type monitor
|
||||
sampling 1000
|
||||
sensor back_therm
|
||||
thresholds 56000
|
||||
thresholds_clr 55000
|
||||
actions shutdown
|
||||
action_info 1
|
||||
19
vendorsetup.sh
Executable file
19
vendorsetup.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#
|
||||
# Copyright 2017 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.
|
||||
#
|
||||
|
||||
add_lunch_combo aosp_muskie-userdebug
|
||||
add_lunch_combo aosp_walleye-userdebug
|
||||
add_lunch_combo aosp_walleye_test-userdebug
|
||||
32
voice_processing/Android.mk
Normal file
32
voice_processing/Android.mk
Normal file
@@ -0,0 +1,32 @@
|
||||
# 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.
|
||||
|
||||
ifneq ($(filter muskie walleye, $(TARGET_DEVICE)),)
|
||||
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES := voice_processing_descriptors.c
|
||||
LOCAL_C_INCLUDES += $(call include-path-for, audio-effects)
|
||||
LOCAL_MULTILIB := $(AUDIOSERVER_MULTILIB)
|
||||
LOCAL_MODULE := libqcomvoiceprocessingdescriptors
|
||||
LOCAL_MODULE_RELATIVE_PATH := soundfx
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_OWNER := qcom
|
||||
LOCAL_PROPRIETARY_MODULE := true
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
endif
|
||||
47
voice_processing/voice_processing_descriptors.c
Normal file
47
voice_processing/voice_processing_descriptors.c
Normal file
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* Copyright (C) 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.
|
||||
*/
|
||||
|
||||
#include <hardware/audio_effect.h>
|
||||
//------------------------------------------------------------------------------
|
||||
// Effect descriptors
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// UUIDs for effect types have been generated from http://www.itu.int/ITU-T/asn1/uuid.html
|
||||
// as the pre processing effects are not defined by OpenSL ES
|
||||
|
||||
// Acoustic Echo Cancellation 5d593ae0-1ef9-11e7-93ae-92361f002671
|
||||
const effect_descriptor_t qcom_product_aec_descriptor = {
|
||||
{ 0x7b491460, 0x8d4d, 0x11e0, 0xbd61, { 0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b } }, // type
|
||||
{ 0x5d593ae0, 0x1ef9, 0x11e7, 0x93ae, { 0x92, 0x36, 0x1f, 0x00, 0x26, 0x71 } }, // uuid
|
||||
EFFECT_CONTROL_API_VERSION,
|
||||
(EFFECT_FLAG_TYPE_PRE_PROC|EFFECT_FLAG_DEVICE_IND|EFFECT_FLAG_HW_ACC_TUNNEL),
|
||||
0,
|
||||
0,
|
||||
"Acoustic Echo Canceler",
|
||||
"Qualcomm Fluence for Wahoo"
|
||||
};
|
||||
|
||||
// Noise suppression 5d593d56-1ef9-11e7-93ae-92361f002671
|
||||
const effect_descriptor_t qcom_product_ns_descriptor = {
|
||||
{ 0x58b4b260, 0x8e06, 0x11e0, 0xaa8e, { 0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b } }, // type
|
||||
{ 0x5d593d56, 0x1ef9, 0x11e7, 0x93ae, { 0x92, 0x36, 0x1f, 0x00, 0x26, 0x71 } }, // uuid
|
||||
EFFECT_CONTROL_API_VERSION,
|
||||
(EFFECT_FLAG_TYPE_PRE_PROC|EFFECT_FLAG_DEVICE_IND|EFFECT_FLAG_HW_ACC_TUNNEL),
|
||||
0,
|
||||
0,
|
||||
"Noise Suppression",
|
||||
"Qualcomm Fluence for Wahoo"
|
||||
};
|
||||
31
walleye/BoardConfig.mk
Normal file
31
walleye/BoardConfig.mk
Normal file
@@ -0,0 +1,31 @@
|
||||
#
|
||||
# Copyright (C) 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.
|
||||
#
|
||||
|
||||
TARGET_BOOTLOADER_BOARD_NAME := walleye
|
||||
DEFAULT_LOW_PERSISTENCE_MODE_BRIGHTNESS := 0x00000056
|
||||
|
||||
include device/google/wahoo/BoardConfig.mk
|
||||
-include vendor/google_devices/muskie/proprietary/BoardConfigVendor.mk
|
||||
|
||||
BOARD_BOOTIMAGE_PARTITION_SIZE := 33554432
|
||||
|
||||
#sepolicy common to muskie/walleye
|
||||
BOARD_SEPOLICY_DIRS += device/google/muskie/sepolicy
|
||||
|
||||
# Testing related defines
|
||||
BOARD_PERFSETUP_SCRIPT := platform_testing/scripts/perf-setup/wahoo-setup.sh
|
||||
|
||||
BOARD_LISA_TARGET_SCRIPTS := device/google/wahoo/lisa/
|
||||
@@ -0,0 +1,29 @@
|
||||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<!-- These resources are around just to allow their values to be customized
|
||||
for different hardware and product builds. -->
|
||||
<resources>
|
||||
|
||||
<!-- MMS user agent string -->
|
||||
<string name="config_mms_user_agent" translatable="false">g011a</string>
|
||||
<!-- MMS user agent prolfile url -->
|
||||
<string name="config_mms_user_agent_profile_url" translatable="false">http://uaprof.vtext.com/google/g011a/g011a.xml</string>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,29 @@
|
||||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<!-- These resources are around just to allow their values to be customized
|
||||
for different hardware and product builds. -->
|
||||
<resources>
|
||||
|
||||
<!-- MMS user agent string -->
|
||||
<string name="config_mms_user_agent" translatable="false">g011a</string>
|
||||
<!-- MMS user agent prolfile url -->
|
||||
<string name="config_mms_user_agent_profile_url" translatable="false">http://uaprof.vtext.com/google/g011a/g011a.xml</string>
|
||||
|
||||
</resources>
|
||||
118
walleye/overlay/frameworks/base/core/res/res/values/config.xml
Normal file
118
walleye/overlay/frameworks/base/core/res/res/values/config.xml
Normal file
@@ -0,0 +1,118 @@
|
||||
<?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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<!-- These resources are around just to allow their values to be customized
|
||||
for different hardware and product builds. -->
|
||||
<resources>
|
||||
|
||||
<!-- MMS user agent string -->
|
||||
<string name="config_mms_user_agent" translatable="false">g011a</string>
|
||||
<!-- MMS user agent prolfile url -->
|
||||
<string name="config_mms_user_agent_profile_url" translatable="false">http://www.gstatic.com/android/sms/G011A.xml</string>
|
||||
|
||||
<!-- Default screen brightness for VR setting. Default value: 0x58 => 88. -->
|
||||
<integer name="config_screenBrightnessForVrSettingDefault">88</integer>
|
||||
|
||||
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
|
||||
The N entries of this array define N 1 zones as follows:
|
||||
|
||||
Zone 0: 0 <= LUX < array[0]
|
||||
Zone 1: array[0] <= LUX < array[1]
|
||||
...
|
||||
Zone N: array[N - 1] <= LUX < array[N]
|
||||
Zone N + 1 array[N] <= LUX < infinity
|
||||
|
||||
Must be overridden in platform specific overlays -->
|
||||
<integer-array name="config_autoBrightnessLevels">
|
||||
<item>5</item>
|
||||
<item>20</item>
|
||||
<item>40</item>
|
||||
<item>100</item>
|
||||
<item>325</item>
|
||||
<item>600</item>
|
||||
<item>1250</item>
|
||||
<item>2200</item>
|
||||
<item>4000</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Array of output values for LCD backlight corresponding to the LUX values
|
||||
in the config_autoBrightnessLevels array. This array should have size one greater
|
||||
than the size of the config_autoBrightnessLevels array.
|
||||
This must be overridden in platform specific overlays -->
|
||||
<integer-array name="config_autoBrightnessLcdBacklightValues">
|
||||
<item>10</item> <!-- 0-5 -->
|
||||
<item>33</item> <!-- 5-20 -->
|
||||
<item>49</item> <!-- 20-40 -->
|
||||
<item>68</item> <!-- 40-100 -->
|
||||
<item>87</item> <!-- 100-325 -->
|
||||
<item>108</item> <!-- 325-600 -->
|
||||
<item>132</item> <!-- 600-1250 -->
|
||||
<item>167</item> <!-- 1250-2200 -->
|
||||
<item>206</item> <!-- 2200-4000 -->
|
||||
<item>255</item> <!-- 4000+ -->
|
||||
</integer-array>
|
||||
|
||||
<!-- Array of output values for button backlight corresponding to the LUX values
|
||||
in the config_autoBrightnessLevels array. This array should have size one greater
|
||||
than the size of the config_autoBrightnessLevels array.
|
||||
This must be overridden in platform specific overlays -->
|
||||
<integer-array name="config_autoBrightnessButtonBacklightValues">
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
|
||||
<integer name="config_shutdownBatteryTemperature">600</integer>
|
||||
|
||||
<!-- Minimum screen brightness allowed by the power manager. -->
|
||||
<integer name="config_screenBrightnessDim">6</integer>
|
||||
|
||||
<!-- Screen brightness when dozing. -->
|
||||
<integer name="config_screenBrightnessDoze">13</integer>
|
||||
|
||||
<!-- Default screen brightness setting.
|
||||
Must be in the range specified by minimum and maximum. -->
|
||||
<integer name="config_screenBrightnessSettingDefault">98</integer>
|
||||
|
||||
<!-- Minimum screen brightness setting allowed by the power manager.
|
||||
The user is forbidden from setting the brightness below this level. -->
|
||||
<integer name="config_screenBrightnessSettingMinimum">4</integer>
|
||||
|
||||
<!-- Values for USB port setting. in format of bootmode:current function:new function -->
|
||||
<string-array translatable="false" name="config_oemUsbModeOverride">
|
||||
<item>"usbradio:adb:diag,serial_cdev,rmnet_gsi,adb:diag,serial_cdev,rmnet_gsi"</item>
|
||||
<item>"usbradio:mtp,adb:diag,serial_cdev,rmnet_gsi,adb:diag,serial_cdev,rmnet_gsi"</item>
|
||||
<item>"usbradio:mtp:diag,serial_cdev,rmnet_gsi:diag,serial_cdev,rmnet_gsi"</item>
|
||||
<item>"usbradio:rndis,adb:rndis,diag,adb:diag,serial_cdev,rmnet_gsi"</item>
|
||||
<item>"usbradio:rndis:rndis,diag:diag,serial_cdev,rmnet_gsi"</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Boolean indicating whether framework needs to set the tx power limit for meeting SAR requirements
|
||||
during voice calls -->
|
||||
<bool translatable="false" name="config_wifi_framework_enable_voice_call_sar_tx_power_limit">true</bool>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,197 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
**
|
||||
** Copyright 2017, 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.
|
||||
*/
|
||||
-->
|
||||
<device name="Android">
|
||||
<!-- All values are in mAh except as noted -->
|
||||
|
||||
<!-- Nothing -->
|
||||
<item name="none">0</item>
|
||||
|
||||
<!-- This is the battery capacity in mAh -->
|
||||
<item name="battery.capacity">2700</item>
|
||||
|
||||
<!-- Number of cores each CPU cluster contains -->
|
||||
<array name="cpu.clusters.cores">
|
||||
<value>4</value> <!-- Cluster 0 has 4 cores (cpu0, cpu1, cpu2, cpu3) -->
|
||||
<value>4</value> <!-- Cluster 1 has 4 cores (cpu4, cpu5, cpu5, cpu7) -->
|
||||
</array>
|
||||
|
||||
<!-- Power consumption when CPU is suspended -->
|
||||
<item name="cpu.idle">6.815</item>
|
||||
<!-- Additional power consumption when CPU is in a kernel idle loop -->
|
||||
<item name="cpu.awake">0.386</item>
|
||||
|
||||
<!-- Different CPU speeds as reported in
|
||||
/sys/devices/system/cpu/cpu0/cpufreq/stats/scaling_available_frequencies -->
|
||||
<array name="cpu.speeds.cluster0">
|
||||
<value>300000</value> <!-- 300 MHz CPU speed -->
|
||||
<value>364800</value> <!-- 364 MHz CPU speed -->
|
||||
<value>441600</value> <!-- 441 MHz CPU speed -->
|
||||
<value>518400</value> <!-- 518 MHz CPU speed -->
|
||||
<value>595200</value> <!-- 595 MHz CPU speed -->
|
||||
<value>672000</value> <!-- 672 MHz CPU speed -->
|
||||
<value>748800</value> <!-- 748 MHz CPU speed -->
|
||||
<value>825600</value> <!-- 825 MHz CPU speed -->
|
||||
<value>883200</value> <!-- 883 MHz CPU speed -->
|
||||
<value>960000</value> <!-- 960 MHz CPU speed -->
|
||||
<value>1036800</value> <!-- 1036 MHz CPU speed -->
|
||||
<value>1094400</value> <!-- 1094 MHz CPU speed -->
|
||||
<value>1171200</value> <!-- 1171 MHz CPU speed -->
|
||||
<value>1248000</value> <!-- 1248 MHz CPU speed -->
|
||||
<value>1324800</value> <!-- 1324 MHz CPU speed -->
|
||||
<value>1401600</value> <!-- 1401 MHz CPU speed -->
|
||||
<value>1478400</value> <!-- 1478 MHz CPU speed -->
|
||||
<value>1555200</value> <!-- 1555 MHz CPU speed -->
|
||||
<value>1670400</value> <!-- 1670 MHz CPU speed -->
|
||||
<value>1747200</value> <!-- 1747 MHz CPU speed -->
|
||||
<value>1824000</value> <!-- 1824 MHz CPU speed -->
|
||||
<value>1900800</value> <!-- 1900 MHz CPU speed -->
|
||||
</array>
|
||||
<!-- Different CPU speeds as reported in
|
||||
/sys/devices/system/cpu/cpu4/cpufreq/stats/scaling_available_frequencies -->
|
||||
<array name="cpu.speeds.cluster1">
|
||||
<value>300000</value> <!-- 300 MHz CPU speed -->
|
||||
<value>345600</value> <!-- 345 MHz CPU speed -->
|
||||
<value>422400</value> <!-- 422 MHz CPU speed -->
|
||||
<value>499200</value> <!-- 499 MHz CPU speed -->
|
||||
<value>576000</value> <!-- 576 MHz CPU speed -->
|
||||
<value>652800</value> <!-- 652 MHz CPU speed -->
|
||||
<value>729600</value> <!-- 729 MHz CPU speed -->
|
||||
<value>806400</value> <!-- 806 MHz CPU speed -->
|
||||
<value>902400</value> <!-- 902 MHz CPU speed -->
|
||||
<value>979200</value> <!-- 979 MHz CPU speed -->
|
||||
<value>1056000</value> <!-- 1056 MHz CPU speed -->
|
||||
<value>1132800</value> <!-- 1132 MHz CPU speed -->
|
||||
<value>1190400</value> <!-- 1190 MHz CPU speed -->
|
||||
<value>1267200</value> <!-- 1267 MHz CPU speed -->
|
||||
<value>1344000</value> <!-- 1344 MHz CPU speed -->
|
||||
<value>1420800</value> <!-- 1420 MHz CPU speed -->
|
||||
<value>1497600</value> <!-- 1497 MHz CPU speed -->
|
||||
<value>1574400</value> <!-- 1574 MHz CPU speed -->
|
||||
<value>1651200</value> <!-- 1651 MHz CPU speed -->
|
||||
<value>1728000</value> <!-- 1728 MHz CPU speed -->
|
||||
<value>1804800</value> <!-- 1804 MHz CPU speed -->
|
||||
<value>1881600</value> <!-- 1881 MHz CPU speed -->
|
||||
<value>1958400</value> <!-- 1958 MHz CPU speed -->
|
||||
<value>2035200</value> <!-- 2035 MHz CPU speed -->
|
||||
<value>2112000</value> <!-- 2112 MHz CPU speed -->
|
||||
<value>2208000</value> <!-- 2208 MHz CPU speed -->
|
||||
<value>2265600</value> <!-- 2265 MHz CPU speed -->
|
||||
<value>2323200</value> <!-- 2323 MHz CPU speed -->
|
||||
<value>2342400</value> <!-- 2342 MHz CPU speed -->
|
||||
<value>2361600</value> <!-- 2361 MHz CPU speed -->
|
||||
<value>2457600</value> <!-- 2457 MHz CPU speed -->
|
||||
</array>
|
||||
|
||||
<!-- Additional power used by a CPU from cluster 0 when running at different
|
||||
speeds. Currently this measurement also includes cluster cost. -->
|
||||
<array name="cpu.active.cluster0">
|
||||
<value>94.160</value> <!-- 300 MHz CPU speed -->
|
||||
<value>93.476</value> <!-- 364 MHz CPU speed -->
|
||||
<value>94.298</value> <!-- 441 MHz CPU speed -->
|
||||
<value>94.855</value> <!-- 518 MHz CPU speed -->
|
||||
<value>95.562</value> <!-- 595 MHz CPU speed -->
|
||||
<value>96.226</value> <!-- 672 MHz CPU speed -->
|
||||
<value>97.122</value> <!-- 748 MHz CPU speed -->
|
||||
<value>97.846</value> <!-- 825 MHz CPU speed -->
|
||||
<value>98.628</value> <!-- 883 MHz CPU speed -->
|
||||
<value>100.261</value> <!-- 960 MHz CPU speed -->
|
||||
<value>101.152</value> <!-- 1036 MHz CPU speed -->
|
||||
<value>102.414</value> <!-- 1094 MHz CPU speed -->
|
||||
<value>103.788</value> <!-- 1171 MHz CPU speed -->
|
||||
<value>105.495</value> <!-- 1248 MHz CPU speed -->
|
||||
<value>107.019</value> <!-- 1324 MHz CPU speed -->
|
||||
<value>107.988</value> <!-- 1401 MHz CPU speed -->
|
||||
<value>109.419</value> <!-- 1478 MHz CPU speed -->
|
||||
<value>112.277</value> <!-- 1555 MHz CPU speed -->
|
||||
<value>115.216</value> <!-- 1670 MHz CPU speed -->
|
||||
<value>120.171</value> <!-- 1747 MHz CPU speed -->
|
||||
<value>121.103</value> <!-- 1824 MHz CPU speed -->
|
||||
<value>127.612</value> <!-- 1900 MHz CPU speed -->
|
||||
</array>
|
||||
<!-- Additional power used by a CPU from cluster 1 when running at different
|
||||
speeds. Currently this measurement also includes cluster cost. -->
|
||||
<array name="cpu.active.cluster1">
|
||||
<value>100.694</value> <!-- 300 MHz CPU speed -->
|
||||
<value>101.776</value> <!-- 345 MHz CPU speed -->
|
||||
<value>104.376</value> <!-- 422 MHz CPU speed -->
|
||||
<value>107.662</value> <!-- 499 MHz CPU speed -->
|
||||
<value>110.020</value> <!-- 576 MHz CPU speed -->
|
||||
<value>112.200</value> <!-- 652 MHz CPU speed -->
|
||||
<value>115.311</value> <!-- 729 MHz CPU speed -->
|
||||
<value>117.869</value> <!-- 806 MHz CPU speed -->
|
||||
<value>120.536</value> <!-- 902 MHz CPU speed -->
|
||||
<value>124.278</value> <!-- 979 MHz CPU speed -->
|
||||
<value>126.533</value> <!-- 1056 MHz CPU speed -->
|
||||
<value>128.559</value> <!-- 1132 MHz CPU speed -->
|
||||
<value>133.988</value> <!-- 1190 MHz CPU speed -->
|
||||
<value>136.235</value> <!-- 1267 MHz CPU speed -->
|
||||
<value>141.534</value> <!-- 1344 MHz CPU speed -->
|
||||
<value>145.820</value> <!-- 1420 MHz CPU speed -->
|
||||
<value>150.525</value> <!-- 1497 MHz CPU speed -->
|
||||
<value>156.475</value> <!-- 1574 MHz CPU speed -->
|
||||
<value>164.219</value> <!-- 1651 MHz CPU speed -->
|
||||
<value>169.669</value> <!-- 1728 MHz CPU speed -->
|
||||
<value>179.833</value> <!-- 1804 MHz CPU speed -->
|
||||
<value>196.902</value> <!-- 1881 MHz CPU speed -->
|
||||
<value>204.774</value> <!-- 1958 MHz CPU speed -->
|
||||
<value>222.625</value> <!-- 2035 MHz CPU speed -->
|
||||
<value>227.947</value> <!-- 2112 MHz CPU speed -->
|
||||
<value>251.520</value> <!-- 2208 MHz CPU speed -->
|
||||
<value>266.381</value> <!-- 2265 MHz CPU speed -->
|
||||
<value>282.240</value> <!-- 2323 MHz CPU speed -->
|
||||
<value>288.020</value> <!-- 2342 MHz CPU speed -->
|
||||
<value>295.238</value> <!-- 2361 MHz CPU speed -->
|
||||
<value>294.655</value> <!-- 2457 MHz CPU speed -->
|
||||
</array>
|
||||
|
||||
<!-- Additional power used when screen is turned on at minimum brightness -->
|
||||
<item name="screen.on">131.397</item>
|
||||
<!-- Additional power used when screen is at maximum brightness, compared to
|
||||
screen at minimum brightness -->
|
||||
<item name="screen.full">189.487</item>
|
||||
|
||||
<!-- Average power used by the camera flash module when on -->
|
||||
<item name="camera.flashlight">245.859</item>
|
||||
<!-- Average power use by the camera subsystem for a typical camera
|
||||
application. Intended as a rough estimate for an application running a
|
||||
preview and capturing approximately 10 full-resolution pictures per
|
||||
minute. -->
|
||||
<item name="camera.avg">895.907</item>
|
||||
|
||||
<!-- Additional power used when audio decoding/encoding via DSP -->
|
||||
<item name="dsp.audio">55.714</item>
|
||||
|
||||
<!-- Additional power used when GPS is acquiring a signal -->
|
||||
<item name="gps.on">30</item>
|
||||
|
||||
<!-- Additional power used when cellular radio is transmitting/receiving -->
|
||||
<item name="radio.active">50</item>
|
||||
<!-- Additional power used when cellular radio is paging the tower -->
|
||||
<item name="radio.scanning">5</item>
|
||||
<!-- Additional power used when the cellular radio is on. Multi-value entry,
|
||||
one per signal strength (no signal, weak, moderate, strong) -->
|
||||
<array name="radio.on"> <!-- Strength 0 to BINS-1 -->
|
||||
<value>6</value> <!-- none -->
|
||||
<value>5</value> <!-- poor -->
|
||||
<value>4</value> <!-- moderate -->
|
||||
<value>3</value> <!-- good -->
|
||||
<value>3</value> <!-- great -->
|
||||
</array>
|
||||
|
||||
</device>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
** Copyright 2009, 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<!-- These resources are around just to allow their values to be customized
|
||||
for different hardware and product builds. -->
|
||||
<resources>
|
||||
<!-- Doze: Table that translates sensor values from the doze_brightness_sensor_type sensor
|
||||
to an opacity value for a black scrim that is overlayed in AOD1.
|
||||
Valid range is from 0 (transparent) to 255 (opaque).
|
||||
-1 means keeping the current opacity. -->
|
||||
<integer-array name="config_doze_brightness_sensor_to_scrim_opacity">
|
||||
<item>-1</item> <!-- 0: OFF -->
|
||||
<item>160</item> <!-- 1: NIGHT -->
|
||||
<item>0</item> <!-- 2: LOW -->
|
||||
<item>0</item> <!-- 3: HIGH -->
|
||||
<item>0</item> <!-- 4: SUN -->
|
||||
</integer-array>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user