Commit graph

595 commits

Author SHA1 Message Date
dianlujitao
824cdd1db3 msm8937-common: Nuke BOARD_USES_QC_TIME_SERVICES flag
* Any pre-O framework did exact the same thing as TimeService.apk
   when the flag is enabled, as we always ship TimeService.apk,
   there's no reason to keep the flag, and the framework stuff is
   not ported to O.
* Remove unused 32-bit library as well.

Change-Id: I74abc65468e983732bccde571003235891379463
2018-06-29 00:02:43 +08:00
LuK1337
5a362ca422 msm8937-common: Update Widevine blobs to O-MR1
* From vince 8.1.0 OPM1.171019.019
2018-06-29 00:02:43 +08:00
LuK1337
c0e667863d msm8937-common: Load proper thermal-engine configs
* Required for Oreo blobs.

Change-Id: I25c98446ce4677f83f8c543b41b7f8be12c4c254
2018-06-29 00:02:43 +08:00
Manaf Meethalavalappu Pallikunhi
24fa892a90 msm8937-common: thermal: Add thermal send rule socket to thermal service init
Add thermal send rule socket to thermal service initialization script
This change is required for SE Android so that thermal socket context
are not overridden by init.

Change-Id: I8774b62f35f72a481f9976dda5d1aee1e19d8374
2018-06-29 00:02:43 +08:00
LuK1337
897f4860d8 msm8937-common: Update thermal-engine to O
* From TA-1025_00WW 8.1.0 OPR1.170623.026
2018-06-29 00:02:43 +08:00
Bruno Martins
5b3314281b msm8937-common: Update for moved hardware key overlays
* These have now been moved to the SDK
 * Retire custom settings for longPressHome & longPressOnAppSwitch

Change-Id: I551ddc8c58ccd7184fddb1c615b15cce8127daad
2018-06-29 00:02:43 +08:00
Peter Qiu
20968a5ba6 msm8937-common: Use hardware feature definition to indicate Passpoint support
Bug: 36886243
Test: Manual test
Change-Id: I570f7037abfd670e153c62a8dc723f1e89e9bf56
2018-06-29 00:02:43 +08:00
Bruno Martins
751eb3ee92 msm8937-common: Advertize HWC2 color transform support
Change-Id: Id0e63007554f2e45221c7e7243c7439467f74c61
2018-06-29 00:02:43 +08:00
Philip Cuadra
f0526ca2eb msm8937-common: Enable Camera App pinning
This change enables Camera app pinning on 8996 targets

Bug 28251566

Change-Id: Icc357441af65e8ece897311bdaf8acc063d3f6ab
2018-06-29 00:02:43 +08:00
Bruno Martins
1a2a6ae080 msm8937-common: Move device-specific feature configs to vendor
Change-Id: I4204f3842618ffde85b6d254b0c0d235364469e5
2018-06-29 00:02:43 +08:00
Roshan Pius
4a07127129 msm8937-common: manifest.xml: Add wifi 1.1 package
Bug: 63129484
Test: Devices boots up and connects to wifi networks.
Change-Id: I53fc4c52d8c7faff8c9f80c6bf0ba29501597ef6
2018-06-29 00:02:43 +08:00
sqian
cd1941154b msm8937-common: Enable radio service 1.1
Test: compile; adb shell compiled_vts_binary
Bug: 38499208
Change-Id: I55d6384e88c1839d04be00dab0345ae5a365ab42
2018-06-29 00:02:43 +08:00
Paras Nagda
b65605069a msm8937-common: cas: Add CAS HAL
Change-Id: I3d26b3c8c57425d2ee596f8efecaa2722b39551c
2018-06-29 00:02:01 +08:00
TheScarastic
e605044d1a msm8937-common: Add initial manifest and compatibility_matrix
Change-Id: I075388fe81751eaa1df7170bb05e3db3a79fc8d8
2018-06-29 00:01:58 +08:00
Prateek Chaubey
ae3e3a72e1 msm8937-common: Move wlan configs to vendor 2018-06-29 00:01:58 +08:00
Prateek Chaubey
90698eb4ad msm8937-common: Update Wifi Configs from LA.UM.6.6.r1-09000-89xx.0
* Remove dead fstman.ini
2018-06-29 00:01:58 +08:00
Hardik Kantilal Patel
081f77447d msm8937-common: rootdir: Create wifi directory into /data/vendor path
As per Android-O architecture, move vendor specific file into
/data/vendor path instead of /data/misc. To address this
create the wifi directory into /data/vendor path.

CRs-Fixed: 2047794
Change-Id: I6835fb70e1777e23d0b30aa9e08de9a746638c50
2018-06-29 00:01:58 +08:00
Ethan Chen
5ddc3c6585 msm8937-common: Remove init.qcom.bt.sh
* Just run the hci_qcomm_init binary instead

Change-Id: If2b4b9fc738e729bd389f3f96e6843a4ca6eb558
2018-06-29 00:01:58 +08:00
Bruno Martins
05f1c9c7e9 msm8937-common: Update BT and WiFi blobs to O
* BT blobs From vince 8.1.0 OPM1.171019.019
 * WIFI blobs From tissot OPR1.170623.026
2018-06-29 00:01:58 +08:00
Srinu Jella
94c97f44d9 msm8937-common: Remove bt config address from execution
- Remove bt config address from execution
  as it is not required.

CRs-Fixed: 2028675
Change-Id: I4a71f5f1ff682cc3bf7753acc22e0f299d06c344
2018-06-29 00:01:58 +08:00
Aditya Bavanari
bd33bea7b6 msm8937-common: init.qcom.rc: Modify permissions for /data/vendor/misc
Modify permissions for /data/vendor/misc to 01771
from 0770 in order to enable audio module
to access the directory.

CRs-Fixed: 2074932
Change-Id: Ibc832cd0ec7c04a99b3fa1e9a554f919e11a149a
2018-06-29 00:01:58 +08:00
Saurabh Srivastava
2887450b59 msm8937-common: Fixing permission for /data/vendor
Removing creation of /data/vendor with system
group access.

CRs-Fixed: 2055140
Change-Id: Ic9fb98ea1420769f2ffa5262fd6e1a82ad848941
2018-06-29 00:01:58 +08:00
Naresh Tanniru
648ee63f82 msm8937-common: rootdir: create /data/vendor folder for audio
- for audio acdb and dump files create /data/vendor folder

Change-Id: If24a072d3686c3740ba36a3d6eb1849b4a769a3b
2018-06-29 00:01:58 +08:00
Prateek Chaubey
b62264b15e msm8937-common: Move audio configs to vendor 2018-06-29 00:01:58 +08:00
Haynes Mathew George
a381801bdd msm8937-common: config: Additional 12k, 24k sample rate support to direct_pcm profile
Add 12k, 24k as supported sample rates

CRs-Fixed: 1073379
Change-Id: I63d7de7fa8b90ecc1c658fdc3c1448814476636e
2018-06-29 00:01:36 +08:00
Aalique Grahame
606875ca51 msm8937-common: configs: Add support for 32/48KHz voip
Add 32/48KHz sampling rates to 8998 config file
and 32KHz sampling rate to 8996 config file to
allow voip applications with 32/48KHz to route to
the voip path

CRs-Fixed: 1065380
Change-Id: I0801f912977d9aed783c33a308288eae422a851b
2018-06-29 00:01:17 +08:00
Dhananjay Kumar
2e4ed5f2d0 msm8937-common: audio: Make direct output independent of DIRECT_PCM flag
- Make direct output independent of flag AUDIO_OUTPUT_FLAG_DIRECT_PCM.
- Remove multi-channel profile as it is redundant with respect to
  direct output profiles.

Original Change-Id: I7f5fef656f1d8796872e4d297da3220c3e69951d
Change-Id: I7bd29678721d0215bd7fcdada4020e6b2ec6c397
2018-06-29 00:00:58 +08:00
Dhananjay Kumar
40871b46b9 msm8937-common: audio: Update policy configuration to fix vts failure
Update default audio_policy_configuration.xml to remove configurations
that are not compatible with aosp system image and are causing vts failures.

Original Change-Id: Iae1f4c72090ef5a0c6472083dce8b0065beb6851
Change-Id: If1b6274a815dbd9b5a9a7dfdbf3fd8043df91446
2018-06-29 00:00:40 +08:00
LuK1337
8ae253ae59 msm8937-common: Update Audio Stack and ADSP to O
* Audio Stack From vince 8.1.0 OPM1.171019.019
 * Listen From TA-1025_00WW 8.1.0 OPR1.170623.026
2018-06-29 00:03:00 +08:00
Prateek Chaubey
1e2e5d0974 msm8937-common: rename aanc_tuning_mixer.txt to audio_tuning_mixer.txt 2018-06-29 00:03:00 +08:00
Bruno Martins
9e01c246b0 msm8937-common: Convert audio_effects.conf to XML
* Based on ecf82951a4

 * Global processor configurations discarded (useless anyway because
   those were related with Dirac effects applied to MUIU shipping apps).

 * Additionally to the same tests done by Google, it was verified that
   with this change "XML effect configuration loaded successfully.",
   while before it showed: "XML effect configuration failed to load.".

Change-Id: I954879274cea4e3f608cbf5c3e0b302ef187050a
2018-06-29 00:03:00 +08:00
Luca Stefani
fd0a268d81 msm8937-common: audio: Fix audio effect libs path
Change-Id: I8f50ea750405ae920ef5a74dda31ca5ac85e3af0
2018-06-29 00:03:00 +08:00
Bruno Martins
e3744f4009 msm8937-common: Move media configs to vendor
Change-Id: Id589520e15ecd2066e6e3d002ee96c9364d25cac
2018-06-29 00:03:00 +08:00
Billchen1977
0f18f9828d msm8937-common: Add btsco playback
* disable sco enhanced commands

Change-Id: I8c24fda21ee4fc49f1edfb64746172638353a23e
2018-06-29 00:03:00 +08:00
Sam
9e4bbcbe3e msm8937-common: overlays: Update for new LED capabilities
*) frameworks/base bool config_intrusiveBatteryLed is no longer
   used so it has been removed.

*) Use LIGHTS_BATTERY_LIGHT capability in lineage-sdk instead.

*) Update config_deviceLightCapabilities comments

*) Move bool config_intrusiveNotificationLed out of
   Lineage-specific overlays because it's an AOSP config
2018-06-29 00:03:00 +08:00
Bruno Martins
76f4890660 msm8937-common: lineagehw: Apply LineageOS rebrand
* Adapt to the new Lineage SDK and temporarily disable the import
   of currently non-existing Lineage common classes.

 * Drop never required BOARD_USES_CYANOGEN_HARDWARE flag
   (only required to opt-in for common light HALs).

 * Remove Dead Vibrator HW
2018-06-29 00:03:00 +08:00
Bruno Martins
95186e1512 msm8937-common: overlay-lineage: Apply LineageOS rebrand
Change-Id: Idc537612efe4cf870d6a8164bd04844c1bb40b2b
2018-06-29 00:03:00 +08:00
Uma Mehta
0eefb1bd17 msm8937-common: Adding syscalls for VPP functionality
Adding syscalls inotify_init1 and inotify_add_watch
used by VPP functionality.

Change-Id: I1a867c1168292359f9f76f507eda1c1045324f4a
2018-06-29 00:03:00 +08:00
Uma Mehta
a0b0b9e3e2 msm8937-common: mediacodec: Allow sysinfo and getcwd syscall
Add sysinfo and getcwd syscall to make
operations using gpustats successfull.

Change-Id: Ibaf899904a6a33997eeb696d7a8ee073f29820c1
2018-06-29 00:03:00 +08:00
Praneeth Paladugu
a61001f270 msm8937-common: mediacodec: Allow lseek syscall
Add _lseek syscall to make file operations are successful.

Change-Id: I746bf6a9fd5492a359086f8003a771234337e61d
2018-06-29 00:03:00 +08:00
Praveen Chavan
41699e924b msm8937-common: mediacodec: Allow sendto and recvfrom syscalls
Add sendto and recvfrom syscalls

CRs-Fixed: 1001945
Change-Id: Id4287b742f8c559f4e566a687578abdd100ffe4c
2018-06-29 00:03:00 +08:00
Mahesh Lanka
a6cceef346 msm8937-common: mediaextractor: Allow pread64 and readlinkat syscalls
Add pread64 and readlinkat syscalls.

Change-Id: Ic466e6d401fea5c9b47a9e3abf388cdae1a90f93
2018-06-29 00:03:00 +08:00
Praveen Chavan
ed9c543e46 msm8937-common: mediacodec: Allow select and eventfd syscalls
Add pselect6 and eventfd2 syscalls

Bug: 27654762

Change-Id: I9aba945e50bece5b94f4fd15e44bc84d50a41a0b
2018-06-29 00:03:00 +08:00
LuK1337
1972db5577 msm8937-common: Update media blobs to O-MR1
* From: vince 8.1.0 OPM1.171019.019
2018-06-29 00:03:00 +08:00
LuK1337
9ef260b20d msm8937-common: Update Keystore and Sensors blobs to O-MR1
* From vince 8.1.0 OPM1.171019.019
2018-06-29 00:03:00 +08:00
LuK1337
46456ea372 msm8937-common: Update Gatekeeper blobs to O-MR1
* From: vince 8.1.0 OPM1.171019.019
2018-06-29 00:03:00 +08:00
LuK1337
39c2ef3a25 msm8937-common: Update peripheral manager to O-MR1
* From from vince 8.1.0 OPM1.171019.019
2018-06-29 00:03:00 +08:00
LuK1337
588e53b8b8 msm8937-common: Update DRM&QSEE stack to O-MR1
* From vince 8.1.0 OPM1.171019.019
2018-06-29 00:03:00 +08:00
Paul Keith
0ed3bdd487 msm8937-common: Use QTI HIDL power HAL
Change-Id: I2abf4ca9b0b5a0cb031f12c400a1159962f5e94c
2018-06-29 00:03:00 +08:00
Abhimanyu Garg
81c79c4049 msm8937-common: creating directory path for iop data files
Creating new directory in data/vendor directory to store the IOP data
files.

Change-Id: I8e5cb44125494d87ee8f169e376809d8fbd89205
2018-06-29 00:03:00 +08:00