Commit graph

176 commits

Author SHA1 Message Date
Sujin Panicker
6d6655a7c7
clover: audio: Rename audio_platform_info to audio_platform_info_intcodec
* fixes Audio with new CAF Audio Hals
* refering to
b904fbec49
2019-10-03 12:17:16 +02:00
Rashed Abdel-Tawab
d2adce7434
clover: Remove deprecated vendorsetup.sh
Change-Id: I13d6b98e9520e8f61b261ffdf171c11624303122
2019-10-01 16:37:04 +02:00
Max Weffers
faa4567539
clover: mac: Change path for generate mac out of /mnt/vendor/persist 2019-09-26 11:07:36 +02:00
Dhananjay Kumar
92fa602ce4
clover: configs: Remove surround recording support from audio policy config xml
Remove surround sound recording support from audio policy config xml
as its resulting in CTS failure due to mismatch in channel index support
for record usecase.
Change-Id: Idf50b3f2e71c4209720e79c0248ce74bc1a0edf2
2019-09-26 11:07:36 +02:00
Erfan Abdi
0724652ce7
clover: Setup device soong namespace
Change-Id: I2e9c0ab68a0fe86ba18e3955e2823b87d88e835a
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-11 10:26:54 +02:00
Samyak Jain
28322472be
clover: config: Remove 2 instance support for "primary input"
As FM app no longer uses app loopback,
2 instances of "primary input" is not needed

Change-Id: I7d5e941e916bdf221798ca89360e4751d4af322b
2019-09-11 08:27:48 +02:00
Max Weffers
8c348a898e
lineage-ify Mi Pad4 2019-09-11 08:27:04 +02:00
mamarama9904
01b6577f5e clover: move and add PRODUCT_NAME override
if not, device name will be "havoc_clover".
2019-09-02 05:10:13 +02:00
Max Weffers
fa586d1daa
clover: prop: set persist.camera.preview.ubwc to 0
Fixes front cam with beautify enabled
2019-08-25 23:07:15 +02:00
guaiyihu
df889fc605
clover: keylayout: Map Button Jack keylayout to fix headset button controls
* input: sdm660-snd-card Button Jack as 
/devices/soc/soc:sound/sound/card0/input8
Change-Id: I26b4f9dd54856e4b43b9c79c81873641c7b7082b
2019-08-21 10:39:45 +02:00
ix5
00b16d9f08
clover: Remove "eng" from LOCAL_MODULE_TAGS
This has been deprecated for some time and will throw and
error in Android Q
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
Change-Id: I9e4caaa6f401a051e5edd341112dcc01c8f040b7
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-21 09:58:35 +02:00
Luca Stefani
72be253d70
clover: Make Android.mk search recursive
Change-Id: I3a05344f949eae581f1f17cc33b1df475d3e6760
2019-08-21 09:55:31 +02:00
dianlujitao
35102a6467
clover:media: Tweak media profiles
* Remove unsupported profiles in AOSP from media_profiles_vendor.xml:
   - vga
   - 4kdci
   - timelapsevga
   - timelapse4kdci
   - highspeedcif
   - highspeedvga
   - highspeed4kdci
   - qhd
   - 2k
   - timelapseqhd
   - timelapse2k
   - lpcm
   and use it as media_profiles_V1_0.xml
 * Remove never used CAF media_profiles_V1_0.xml.

Change-Id: I8309af0804caf32ab0870a7ad754b8d41dc9b544
2019-08-21 09:52:25 +02:00
Henrique Silva
7dec4c788f
clover: media_profiles: Remove highspeed profiles
* Fix slowmo on MiuiCamera
2019-08-21 09:47:26 +02:00
Max Weffers
20e556d96c
clover: overlay: Delete already defined overlays in common tree 2019-08-20 23:35:45 +02:00
Max Weffers
a92a1f06a6
clover: prop: enable hal3 for old camera blobs 2019-08-20 09:21:22 +02:00
Max Weffers
dfea66618a
clover: build use wayne fingerprint from 10.3.4 to pass safetynet 2019-08-20 09:19:23 +02:00
Max Weffers
6dc81f5c93
clover: recovery: Use toolbox instead of busybox 2019-08-14 09:12:40 +02:00
Max Weffers
0be4289165
clover: device: call new makefiles in common 2019-08-14 09:11:45 +02:00
Max Weffers
2c932aebb6
clover: hidl: move manifest.xml to common 2019-08-14 09:11:05 +02:00
Max Weffers
aabf50b4cf
clover: init: remove libinit from device 2019-08-14 09:10:00 +02:00
Max Weffers
44689a3729
clover: media: move device unrelated media configs to common 2019-08-14 09:09:08 +02:00
Max Weffers
ca56485ac6
clover: audio: move device unrelated audio configs to common 2019-08-14 09:08:07 +02:00
notsyncing
21bdd7d329
clover: Use USB audio policy configuration from AOSP
* This can greatly improve audio quality when an external
   USB DAC is connected.
Change-Id: I4eeaadc9e3dd26fb54dbfa5a1acf3599b3e6b16b
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-07-22 09:12:05 +02:00
Max Weffers
2bad8093e6
clover: prop: move vendor.mm.enable.qcom_parser to sdm660-common 2019-07-13 09:28:58 +02:00
PIPIPIG233666
0a492a7055
clover: audio: Add misound lib to audio effects 2019-07-12 22:39:07 +02:00
PIPIPIG233666
25012c4b77
clover: proprietary: Kang Audio FX modules from perseus V10.3.1.0 2019-07-12 20:12:31 +02:00
Max Weffers
dd8fdd6f3d
clover: Add camera model setup to init
*needed to get device name in taken photos
2019-07-12 19:06:07 +02:00
Max Weffers
cd74eb9331
clover: Use power profile.xml from stock rom 2019-07-10 11:04:57 +02:00
Dan Willemsen
4927a525db
clover: Switch from add_lunch_combo to COMMON_LUNCH_CHOICES
Bug: 77599627
Test: lunch  [see entries in list]
Change-Id: I7f06edb331a2a56f29db26294b2ece28666d2103
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-07-10 10:41:27 +02:00
LuK1337
c48c644336
clover: Don't advertise vorbis offloading support
* Doesn't work at all.

Change-Id: I8cd6341b240c3820dbbdef497e23e785b6ed99dc
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-07-10 10:39:57 +02:00
Sujin Panicker
464708bf78
clover: audio: Add BT SCO to routes list
- Issue with returning a valid device descriptor
  since BT SCO is not defined in IOProfile.
- With Android-Q changes, first attempt to retrieve device
  descriptor from the avaiable HwModule may fail due to
  address and encoded format conditions.
- Further device descriptor query is based on IOProfile
  with devices defined in audio_policy_configuration.
- This change adds BT SCO to IOProfile.

Change-Id: I52225070e97dd702f965ca5dbb5db9d128df1faf
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-06-24 18:44:31 +02:00
Max Weffers
bbd63c9d90
clover: overlay: Move Brightness to common repo 2019-06-20 09:34:45 +02:00
Max Weffers
08d41caee7
clover: manifest: update power hal to 1.3 2019-06-20 09:29:46 +02:00
Stylogey
a27bbf3822
clover: Add dirac [1/2] 2019-06-13 21:26:21 +02:00
mracar07
c4c8c1c1e6
clover: manifest: Usb Hal 1.1
Signed-off-by: mracar07 <umutcan@umutcanacar.me>
2019-06-08 16:17:40 +02:00
Max Weffers
01c02ac57e
clover: proprietary: update proprietary files list for sensors and thermal 2019-06-02 10:10:45 +02:00
Max Weffers
38a98f16e1
clover: scripts: patchelf libmmcamera_bokeh and libmmcamera_ppeiscore 2019-06-02 08:24:25 +02:00
Max Weffers
5a436ccf9e
clover: proprietary: Add proprietary files list 2019-06-02 08:10:46 +02:00
Max Weffers
0465b59cd7
clover: Add vendor scripts for new Vendor Layout 2019-06-02 07:44:08 +02:00
Max Weffers
e76471a499
clover: Remove Dolby formats by default.
The AC3, EAC3 formats are supported only when
license and respective decoders are present.
Having these entries in policy configuration
by default will unnecessarily trigger
open_output_stream and then fail when
decoders are not present. This results in
glitches at the begining of playback of video
clips with AC3 or EAC3 audio contents.

Removed these entries to make the video playbck
smooth with out any glitches.

CRs-Fixed: 2428579
Change-Id: I41b7ef9d8e2c5f77c261067337f602d705e11c35
Signed-off-by: Dusan Uveric <dusan.uveric9@gmail.com>
2019-06-02 07:43:54 +02:00
Lakshman Chaluvaraju
f5ec843089
clover: Add support for suspend mixer ctls
Add support for mixer controls to enable suspend/resume
for low latency sessions. These mixer controls are used
to remove the QOS vote in ALSA core

Change-Id: I77505de2c9e859f1cf75360789e480975a96a6a3
Signed-off-by: Dusan Uveric <dusan.uveric9@gmail.com>
2019-05-19 10:10:19 +02:00
Max Weffers
36e981a6fa
clover: update and fix dependencies 2019-04-08 10:35:51 +02:00
Max Weffers
d05d752032
clover: copy codec to media_codecs_vendor too 2019-03-06 11:34:54 +01:00
Max Weffers
ce61106b66
clover: audio: remove dynamic processing
*fixes audio sound quality
2019-02-11 10:20:15 +01:00
Max Weffers
482a54ac3e
clover: Move Build Fingerprint to sdm660-common 2019-02-05 16:07:00 +01:00
Max Weffers
4952c014e7
clover: Support Alipay fingerprint payment 2019-02-05 10:02:15 +01:00
Henrique Silva
88a8e7e047
clover: Add Initial support for dirac 2019-02-05 09:45:59 +01:00
Max Weffers
8ebebddd0f
clover: overlay: update brightness values 2019-02-05 09:42:53 +01:00
Danny Baumann
e2f9acb1d9
clover: Give light sensor some time to warm up
When being in dark environments, turning screen off, then moving to
bright environments and turning screen on, sometimes it happens that the
light sensor emits an initial light sample of 1 lux, which causes the
automatic brightness controller to ramp down the brightness even though
the ambient brightness is high. Avoid the controller using those samples
by giving the light sensor some time to warm up.

Change-Id: I81dcb41a25ff0c9f0cf3265da7054ac7ebcbcc34
2019-02-05 09:39:23 +01:00