Commit graph

608 commits

Author SHA1 Message Date
Prateek Chaubey
11bd52ff6a msm8937-common: Import liblight from caf 2018-06-29 00:02:43 +08:00
Garik Badalyan
b00f55787a msm8937-common: HIDL: Enable compilation of android.hidl.manager@1.0-java
android.hidl.manager@1.0-java.jar is used by HAL clients
to register for IServiceNotification.onRegistration()
notification.
2018-06-29 00:02:43 +08:00
dianlujitao
e76868dd53 msm8937-common: Build dummy android.hidl.[base,manager]@1.0 2018-06-29 00:02:43 +08:00
padarshr
f532b37f81 msm8937-common: Update vndk-sp build mechanism and library set.
This change is to add some more libraries needed to
be present in the vndk-sp library set. Also, move towards
a better the mechanism to build vndk-sp.
2018-06-29 00:02:43 +08:00
Pawin Vongmasa
df9a10c241 msm8937-common: Create media_profiles_V1_0.xml 2018-06-29 00:02:43 +08:00
Jesse Hall
debf887521 msm8937-common: Declare Vulkan compute level 0 system feature
Bug: 38396207 (VK_KHR_variable_pointers)
Bug: 64982680 (maxPerStageDescriptorStorageBuffers >= 16)
Test: CtsGraphicsTestCases:.VulkanFeaturesTest (ag/2810565)
Change-Id: I61cde61f53f0e9a1c657e6bd6658a4393360b0a6
2018-06-29 00:02:43 +08:00
TheScarastic
265678c804 msm8937-common: Add custom biometrics 2018-06-29 00:02:43 +08:00
LuK1337
d8d90bde50 msm8937-common: Move fstab to /vendor
Change-Id: I2e86c3be08d0d4f19a6cf89a931f4a1e6ac12cdf
2018-06-29 00:02:43 +08:00
Abhishek Arpure
28276f33e7 msm8937-common: Move uevent.qcom.rc to /vendor
Change-Id: Iab2699bf26ca4402b835d1af8d4493f9b28595d9
2018-06-29 00:02:43 +08:00
Abhishek Arpure
e2caf7319e msm8937-common: Move hardware specific .rc files to /vendor/etc/init/hw
The reason these files are moved to /vendor/etc/init/hw and
not /vendor/etc/init is because 'init' scans the /vendor/etc/init folder
for vendor service .rc fragments to import. That would either result
in duplicate imports or out-of-order imports of these hardware
specific .rc files and that *may* have unintended consequences.

In order to preserve the current import order for MTP, we move all
hardware specific .rc files to /vendor/etc/init/hw which is not
autoscanned by init BUT leave the init.${ro.hardware}.rc (i.e.
init.qcom.rc in this case) in root for 'init' to find.

Change-Id: I14531da05e2a3a256f734f8de96e1f1969c753f9
2018-06-29 00:02:43 +08:00
LuK1337
977516f130 msm8937-common: rootdir: Move init shell scripts to /vendor 2018-06-29 00:02:43 +08:00
Rashed Abdel-Tawab
42101c780e msm8937-common: Update for early-mounted system partition
* This removes /system entry from fstab, since this partition
   is now early-mounted and the fstab entry is specified in device tree.

 * At the same time, also include a fully populated fstab, in order to avoid
   build breakage while generating recovery updater scripts.

Change-Id: I8e558458b984e97a45a920c3751a6b7c3f2ebc5c
2018-06-29 00:02:43 +08:00
Bruno Martins
d5cb31a5c2 msm8937-common: Update TimeService to O-MR1
* From vince 8.1.0 OPM1.171019.019
2018-06-29 00:02:43 +08:00
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