Commit Graph

736 Commits

Author SHA1 Message Date
dianlujitao
53924e2e5c sdm845-common: Create system copy of ims-ext-common and add to classpath
* Our ims.apk doesn't load ims-ext-common.jar, and it's moved to /product
   on 10 where PRODUCT_BOOT_JARS doesn't work.
 * Create a system copy of the jar and add it to boot classpath to make
   it loadable from the apk without extra work,

Change-Id: Ia530a530bd4469e12500410fc5e8ba393de60b18
2019-10-06 18:00:51 +02:00
Brad Ebinger
b9c2661283 sdm845-common: Enable FEATURE_TELEPHONY_IMS for these devices
Bug: 118823723
Test: checkbuild
Merged-In: I69fd98160e852b371331a7bc169c7c97dd37f011
Change-Id: I69fd98160e852b371331a7bc169c7c97dd37f011
2019-10-06 18:00:51 +02:00
Bruno Martins
a057940299 sdm845-common: Kang newer power-off alarm blobs
Change-Id: Icc38c99b6498e4a6bfa94801e29e60997ddf72b2
2019-10-06 18:00:51 +02:00
Vasantha Balla
d27dd7f4b6 sdm845-common: Update performance values in xml file
Vp8 and Hevc c2 encoder performance values are modified
as per cts test results.

Change-Id: I95d383b10a4e035efe2b8c4644aed7d9a4cbce18
2019-10-02 01:08:44 +02:00
Sujin Panicker
2f596b8675 sdm845-common: media: Update opus omx codec ranking
Update opus omx codec ranking to give c2 implementation
higher priority.

Change-Id: Id6f1064483980e5fb9079ef19163ada083f6de60
2019-10-02 01:08:35 +02:00
Shrikara B
28f36fd60b sdm845-common: media: Update performance points
Update performance points of few video encoders and
decoders

Change-Id: I2bd73a07baf46d5b86e3aacb10fc6ebe38e49c00
2019-10-02 00:03:26 +01:00
Vasantha Balla
eb7be5755b sdm845-common: Update performance entries as per latest results
Finetune and update mediacodec performance entries.

Change-Id: I9326bfb4361efd29f12b4092dd87395c90c6b68c
2019-10-02 00:03:26 +01:00
Mahesh Lanka
81c688b2d0 sdm845-common: omx: Publish performance points
Publish performance points for HW codecs

Change-Id: I76fb57f4ff26428982264a3aaebbbcbf3941fa04
2019-10-02 00:03:26 +01:00
Vasantha Balla
966c2f7a9b sdm845-common: Update latest media codecs performance values
Enter values for c2 software codecs as per results shown.

Change-Id: I9276ac6074b01861f9700515e3429f18854b2a93
2019-10-02 00:03:26 +01:00
Paras Nagda
b7f98ca2a7 sdm845-common: media_profiles: mpeg4 sw encoder only supports max 720p
This change is required for SDM845

Change-Id: Ia62afd7275b02e31b5acecaf2a7fcfac79a3444e
2019-10-02 00:03:26 +01:00
Manikanta Kanamarlapudi
1917fcf652 sdm845-common: Change secure max instances to 3
change secure max instances to 3

CRs-Fixed: 2293050
Change-Id: I590fcadaddd4cbe7ffb8b29e99fec0b7fad569e0
2019-10-02 00:03:24 +01:00
LuK1337
72d79efdb8 sdm845-common: Convert remaining configstore settings to props
Change-Id: Iadefa31bc863b7ab70239874bed82bef240cbba5
2019-10-01 22:38:38 +02:00
Sundong Ahn
7b19e41185 sdm845-common: Add system properties for surfaceflinger
The configstore will be not used in surfaceflinger. So surfaceflinger
will use the system properties instead of configstore.
For this, the system properties are added.

Bug: 112386364
Test: m -j && boot test
Change-Id: Ie3d2adccca06702217984cf2c9db986d852b7014
2019-10-01 22:38:38 +02:00
mike dooley
5cac2501b7 sdm845-common: Enabling sound trigger V2_2
V2_2 has the same functionality as V2_1 except it adds one new
api, getModelState.

Note: V2_1 will be removed in a subsequent cl.

Test: built android and tested using SoundTriggerTestApp

Bug: 70206501
Change-Id: Id2647687732e79df252588d69f95d2a407e0092c
2019-09-30 17:48:43 +01:00
Paul McLean
9c8335aa1f sdm845-common: Adding Audio HAL V5: Direction API
Bug: 119137468
Test: With testbed app
Change-Id: I4251b3853d00308dbd988625f8e7466a66b823fa
2019-09-30 17:48:43 +01:00
Bruno Martins
bfeffb6e96 sdm845-common: sepolicy: Label white led sysfs node
Change-Id: I7c51c5d20daa04252e7e0a41bbe698d6081064b3
2019-09-30 17:14:03 +01:00
Ananth Raghavan Subramanian
ea7fea3fad sdm845-common: power: Modify definitions of Perf client calls
Now conforms to the exact definition in the shared perf library

Change-Id: I6f92140b42800072283c2f3a52e6814fc0f1d5d2
2019-09-30 14:40:00 +01:00
Bruno Martins
f48012686d sdm845-common: Drop mediaextractor seccomp policy
These syscalls are now allowed by default.

Change-Id: I405f609d030331e19031612cbd912a54a3c72339
2019-09-30 14:22:21 +01:00
LuK1337
44e26839b9 sdm845-common: sepolicy: Label ~ legacy ~ neural networks 1.1 HAL
Change-Id: Ib1e95f214310177d089fd41a926c6405a094b6ea
2019-09-30 10:09:41 +02:00
Subbaraman Narayanamurthy
9a52477c55 sdm845-common: Change user/group permission for for charger
Make charger binary run as system instead of root. Since it
needs to handle input key events, add input as a supplemental
group in addition to system and graphics.

Change-Id: Id1dc46f335087147b7d8cf674664c26f0b511de1
2019-09-28 19:25:22 +01:00
Bruno Martins
0dc7e72545 sdm845-common: Move offline charging daemon to new path and update label
The charger daemon has been moved to /system/bin, so mimic that change
but keep using the nice deamon. Also the service label got changed to charger
and daemon is now labeled as charger_exec, therefore update it accordingly.

Change-Id: I93a88aef41f52837fd0be691e414a5319b689208
2019-09-28 19:25:22 +01:00
Jiyong Park
52a78a2af1 sdm845-common: Add updatable_apex.mk
The product abstracts configs that need to be set to support updating of APEXes.

Change-Id: Id5aa944ceba6a6846308f1c18a08af8b3bb38589
2019-09-25 23:51:07 +01:00
Nicolas Geoffray
6ffbcdd714 sdm845-common: Generate the apex image.
Change-Id: I18a76766590db27a4c32534dc948f55f78da166c
2019-09-25 23:51:07 +01:00
Bruno Martins
236d7e861f sdm845-common: Kill framework compatibility matrix with fire
This thing is not mandatory at all and only demands extra work by having
to keep it up-to-date whenever new interfaces are added to the device manifest
or simply uprev'ed.

Change-Id: I7c5485f201efde86ff1b277951e7faebf8b80437
2019-09-25 23:20:45 +01:00
Abhishek Arpure
59c8584ac2 sdm845-common: Add capabilityconfigstore HAL
Change-Id: I5495f511fd99838417f2804df070df1dbc15a640
2019-09-25 09:15:55 +01:00
Bruno Martins
8e7273eaef sdm845-common: Support vendor.display.config 1.7 in the FCM
Change-Id: I5bf302c41f6be1ab42df29f552c4b4eb325bc7f8
2019-09-25 00:41:22 +02:00
Qing Huang
bc4e512a28 sdm845-common: Correct hwcomposer name
Hwcomposer service is changed from vendor.hwcomposer-2-1
to vendor.hwcomposer-2-3. Correct the property
name accordingly to start/stop mm-pp-dpps service.

Change-Id: Ic4fd9806e903ed752f6551c776cacd0032cf74af
2019-09-24 23:35:51 +01:00
Padmanabhan Komanduru
477fb02f58 sdm845-common: Switch to composer 2.3
Change-Id: I9c70051647f81c4adf2431562c2d6b9854a71879
2019-09-24 23:35:45 +01:00
Ramakant Singh
f0bf3dbd0d sdm845-common: Update graphics mapper version
Update from 2.0 to 2.1

Change-Id: I410c5b8f90bd76099bb834e64bb5a747c8dfe61a
2019-09-24 23:27:38 +01:00
Bruno Martins
692220008b sdm845-common: Update display and media stack to Q
Change-Id: I460fdf675259f81cdbee1b073ca1b67b38cf5275
2019-09-24 23:27:30 +01:00
Dileep Marchya
e5724faff9 sdm845-common: Update vendor.display.config version to 1.7
CRs-Fixed: 2381958
Change-Id: I9e7eafb4900835faa5a82e44f9ec9c51570c0ce6
2019-09-24 18:33:17 +02:00
Akhil Narang
8988c0a4f9 sdm845-common: releasetools: be more clear about firmware image patching
This looks very odd on most of the devices using this tree
because nothing is being patched. Just mention which image
is being flashed and only when it actually is.

Change-Id: Ib6c35e08aee0f1c102da28ca37434093a92f7045
Signed-off-by: Akhil Narang <akhilnarang.1999@gmail.com>
2019-09-23 16:31:16 +02:00
Akhil Narang
79d111f0bf sdm845-common: releasetools: remove unused or unnecessary imports
Change-Id: Ib6b164182733ccd2ea1d5c885d3746cf14bff397
Signed-off-by: Akhil Narang <akhilnarang.1999@gmail.com>
2019-09-23 16:30:49 +02:00
Bruno Martins
c7216cdc6f sdm845-common: sepolicy: Label files under extra root folders
These labels are no longer being set in QC sepolicy.

Change-Id: I56c73bdf3125f9b2f73294665626cc9bd7408759
2019-09-21 00:30:11 +02:00
jhenrique09
0e221d0b0e sdm845-common: Update aptx blobs from crosshatch
Change-Id: Ic7f18aad91f9a9221fa5c76783adbd720612c0aa
2019-09-20 22:06:31 +01:00
argraur
4996a155ea sdm845-common: use spdaemon blobs from cepheus
Same reason as before haha yes

Change-Id: Ic174ef19e421dbe523687147cc50fe00463890ab
Signed-off-by: argraur <argraur@gmail.com>
2019-09-20 22:06:31 +01:00
argraur
2fd03c4d7c sdm845-common: use libaudioroute_ext from cepheus
This works on Android10, sdm845 one doesn't

Change-Id: I5c2b59ea547e7599b28182d76237bd74ba5c08e5
Signed-off-by: argraur <argraur@gmail.com>
2019-09-20 22:06:31 +01:00
LuK1337
d50329024c sdm845-common: bluetooth: Push×pop PROPERTY_VALUE_MAX in buildcfg header
This deals with the PROPERTY_VALUE_MAX redefinition compilation issue.

Change-Id: I34bb283512ca1a75c680af140846f16cccf0c645
2019-09-15 02:08:21 +02:00
Bruno Martins
4b93e8e5a7 sdm845-common: Remove obsolete RIL variant board flag
There's no CAF variant anymore.

Change-Id: Ief74f8b2aa861b0d16ffab9b52304006008d2444
2019-09-14 22:01:36 +01:00
Dhananjay Kumar
a3b30290f9 sdm845-common: 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-14 22:56:30 +02:00
Mingshu pang
11ced7f7a7 sdm845-common: configs: 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
2019-09-14 22:56:30 +02:00
Samyak Jain
6c22289ab9 sdm845-common: configs: 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-14 22:55:47 +02:00
Bruno Martins
2bb339005a sdm845-common: Pin standard SystemUI instead of Google's
Change-Id: If96bb13d6cc2c2156d8df111a1037247c96c6e0f
2019-09-14 21:05:31 +01:00
Nicolas Geoffray
8c551c6bcc sdm845-common: Adjust pinned files following runtime module work.
Test: adb shell dumpsys pinner
Bug: 119868597
Change-Id: I83c709accb32d0f2c341179dbc5dcd6d7ec75d8a
2019-09-14 21:05:31 +01:00
Nicolas Geoffray
db1feb07f0 sdm845-common: Add a new list of pinned file for the JIT in zygote experiment.
Bug: 119800099
Test: adb shell dumpsys pinner
Change-Id: I44596d11f7444551a9898373a068556d49a1a4e6
2019-09-14 21:05:31 +01:00
Jeff Tinker
a6d189797d sdm845-common: Enable clearkey drm plugin v1.2
test: android.media.cts.MediaDrmClearkeyTest#testOfflineKeyManagement

bug:117570956
bug:110838441
bug:116252891
Change-Id: Ie9373543ef416e718a70e75d95bf5b15a2852705
2019-09-14 19:25:20 +01:00
Volodymyr Zhdanov
037d99ab04 sdm845-common: org.ifaa.android.manager: switch to blueprint
* otherwise rip boot jars

Change-Id: Iea769fb4d3e07202b5477d2a86e40dd04170a053
2019-09-14 19:03:41 +02:00
Qimeng Pan
7876eb8f22 sdm845-common: Remove old CarrierSwitch solution init.rc code for 845
CarrierSwitch use a new solution from P or later. the new solution
switch carrier by a standalone apk instead of modifing the init.rc
code in old solution.
So, Remove init.rc changes for old carrier switch solution.

Change-Id: I2da9861d71bc73df1b19066d2fad0dd3f4dedb3e
CRs-Fixed: 2377064
2019-09-14 19:01:37 +02:00
Lalit Kansara
6051228de0 sdm845-common: Fix syntax errors in *.rc files
- Remove extra arguments from chown and chmod

Change-Id: I728daaccdfc47234e462ee197ab2dfc42962268e
2019-09-14 18:49:14 +02:00
Peter Kalauskas
d71d249fc8 sdm845-common: Convert IMediaCasService to use vintf_fragments
Bug: 119669996
Test: Run cts CtsMediaTestCases
Change-Id: I39aed4c8c2286f35cda3b480b33c810795bdf420
2019-09-11 12:25:35 +01:00