Commit graph

563 commits

Author SHA1 Message Date
Michael Bestas
711e72b4ed Automatic translation import
Change-Id: Idc62dba34bdbe82a70e3b0e53755348a48659334
2018-11-22 12:08:40 +03:00
Bruno Martins
822af67683 AdvancedDisplay: Restore back button to the action bar
Change-Id: I7ae2d1ccbb0a55fc28c31d4791aaae1169b8221f
2018-11-22 12:08:14 +03:00
micky387
7ad3859afe AdvancedDisplay: cyanogenmod -> lineageos
Change-Id: Ie6d64f0995f266d2dbe3e16c8032820cc5164c1f
2018-11-22 12:04:36 +03:00
Shilin Victor
8f78bc5275 AdvancedDisplay: reset to cm-14.1
Change-Id: I4b989728bdd238865195dcadd5c16aa05a09ccae
2018-11-22 12:04:10 +03:00
Shilin Victor
68679c2253 Revert "AdvancedDisplay: Remove temporary for Pie bringup"
This reverts commit 0df2edccea.

Change-Id: Ic48a897db0b33afea13a5a12bb729407259a252a
2018-11-22 11:35:44 +03:00
Shilin Victor
e2733b095b Revert "HardwareConverter: Temporary remove OMX_SEC-formats for Pie bringup"
This reverts commit 46996ee4d4.

Change-Id: I12bd4e3c4f9d898424fa2ee5f11cd4de561b6885
2018-11-22 11:35:24 +03:00
DarkLord1731
605937f3b3 libril: Force static radio capability
Force the ril to return REQUEST_NOT_SUPPORTED error on getRadioCapability request.
Android handles the error and makes static radio capability for us, based on our config_radio_access_family overlay.

* Fixes network mode switch
2018-11-22 11:34:23 +03:00
olivieer
c2d7884f73 libril: Send fake event for manual network registration to unblock UI 2018-11-22 11:34:23 +03:00
Shilin Victor
d2ec13c4b2 Revert "exynos4: android.hardware.graphics.allocator@2.0 for Exynos4"
This reverts commit 3134d2eea5bc6b2a29de2faec067aea5e5d0a44e.

Change-Id: I2f80b912bbecfd2b72e668c2db0701c3e7008aa1
2018-11-22 11:34:15 +03:00
Shilin Victor
23331bcc02 libhwjpeg: fix build
Change-Id: I86b47caf8ca498b943ffea6556816c5ac75c137f
2018-11-22 11:34:15 +03:00
Dominggoes Isakh
b31f428d60 Resolve compiler errors
* remove all unused variables
* remove all unused functions
* build with -no-error

Change-Id: I8cdf30b9e650b4905c6c122122cd3630bf153275
2018-08-14 22:26:31 +02:00
Dominggoes Isakh
46996ee4d4 HardwareConverter: Temporary remove OMX_SEC-formats for Pie bringup
Change-Id: Ie9e665d7fc5b1124ecb662cfb4fcedc18d22021b
2018-08-13 19:49:53 +02:00
Dominggoes Isakh
0df2edccea AdvancedDisplay: Remove temporary for Pie bringup
Change-Id: I7d178b9a9aeee1a7405d449bac2d81fb75adfdd4
2018-08-12 22:31:46 +02:00
Dominggoes Isakh
a2a77195ad Advanced Display: Set LOCAL_SDK_VERSION to current
Change-Id: I47ed337672e739c15916e4871e96a8079b5554c1
2018-08-12 22:13:39 +02:00
Dominggoes Isakh
58db5d59b0 exynos4: android.hardware.graphics.mapper@2.0 for Exynos4
Change-Id: Ic3156237063e72b3a3745491685d3e5cbedd908d
2018-08-12 22:05:06 +02:00
Dominggoes Isakh
d50cd57a75 libgralloc: Move to vendor
Change-Id: I2db8ee6330ee2fa41f725e3004cca321b3b176b6
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
7a739e098a libhwcomposer: Move to vendor
Change-Id: Ib4cc446beaec71134061a97353dcd5b13dcc5901
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
bc63c3d685 libOMX: Prevent mediaserver crash when decoding unsupported videosize
Change-Id: I752ae2595982ffd1f9e547788d96fee9e908bf8a
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
94482bf33b exynos4: android.hardware.graphics.allocator@2.0 for Exynos4
* Buffer got corrupt because of the mNumFlexPlanes member.
  Use fixed value of 4 instead and exclude the member.
* Usage bits were not filtered properly

Change-Id: I7ee9fa73f896c505403447ae118a76d9f53e00a8
2018-08-08 06:26:10 +02:00
danile71
c2b270520b libril: Add support custom numStrings
* need for getDataRegistrationStateResponse
 setprop ro.ril.telephony.nstrings=N
Change-Id: Ie191063895cba348d949e20d8108c5ace5543df1
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
08c95948f7 exynos4: Fix GRALLOC_USAGE_YUV_ADDR for hardware decoders
Change-Id: I07206502e9dcdd731ce19eaf1e14ac519afab01e
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
a163e458aa libril: Fix signal strength for RIL_SignalStrength_v5/v6
Change-Id: Ie1afc7ba76dc6add446de86fd54a840e000a1808
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
7bfdb1b5c5 libril: Add support for RIL_CardStatus_v5
Change-Id: I605d3f28bbabb8d34f0da80a4e41f57be3256586
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
fe9ddc0c8a libril: Enable debugging
Change-Id: I4ce4bfd04e2d2f1aaf0a9f118dd550c27aad5e19
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
5c97e47e33 libril: Handle legacy radiostate-change for old RIL's
Change-Id: I8177943b2d2adb866107184d24a40bceaf89f92b
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
eba8ef8132 libril: Prevent executing undefined responseFunction()
Change-Id: I2851e117725c96e11480d47eb4ee35c89a930f29
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
763999dd87 exynos: Temporary remove getphys
Change-Id: Ia64dae7e838b32cfb1ed0c45b3c88d961e21e5d5
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
4ff5df4584 exynos4: gralloc: Add support gralloc1-adapter
Change-Id: I6df76e2c0b7d5fad0316ddb2305a7fc8142d6d89
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
9b21248cd4 Use TARGET_NEEDS_EXYNOS4_ENHANCEMENTS
Change-Id: I3072e938eeff0d1ada0760f77c71782366da1e57
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
eacf8f127f Add references to liblog
Change-Id: I24180381639fde75c0f1966274638b33bac44315
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
09604e974d Fix compiler errors
Change-Id: Ic0193e81edae8ee46c53865133ce42fda9f69d5d
2018-08-08 06:26:10 +02:00
Michael Bestas
88e64fec22 Automatic translation import
Change-Id: Idc62dba34bdbe82a70e3b0e53755348a48659334
2018-08-06 16:45:53 +02:00
Paul Keith
c51a095618 macloader: Correct classification of f0:25:b7
* CIS table says 33 33, which is semco not semco3rd

Change-Id: I944df6b13a8c1294ef47016d15f13f79c5ed5f7d
2018-08-01 21:45:36 +02:00
Christopher N. Hesse
c487bbe389 audio: improve log message to support for devices that dont have an amp
Change-Id: I3fe824c4dbdb57bb0d63b395cfcef2f9dbbe556b
Signed-off-by: Abhay Ruparel <abhayruparel2000@gmail.com>
2018-07-12 13:53:18 +02:00
stenkinevgeniy
0b52b58af8 Audio: remove unsupported aec loopback stuff.
Change-Id: Ibabe4c5fc3b23cd5a0e33fc90b76db93a72099a6
2018-07-03 07:38:08 +00:00
Paul Keith
7240949c54 libril: Fix freeing of strings for roaming protocol flag
Change-Id: Id6150885203a64733bffeb7ce6dc4e91fab305df
2018-07-01 16:08:04 +02:00
Vahempio
e483571e5d MAC: add new Murata range
New herolte OUI observed: 1c:70:22
Checked on hwaddress.com

Change-Id: I4a2c15e315b46af81f815114cf85f0d1cced87f3
(cherry picked from commit ba6c738c2f39fc1011ae5f61067f84b1bf430111)
2018-07-01 13:39:34 +02:00
micky387
cf411e7bf0 macloader: load nvram_net.txt from /vendor
Change-Id: I688f42059459c400834cac0b4c8933ef216827a5
2018-06-30 16:51:38 +02:00
ivanmeler
5e6355bc8c Add missing murata and semco3rd mac addresses
Users found this on few herolte/hero2lte revisions

Change-Id: I2cda3a3b39c951c1215622ae1b55483fbbfc94a8
2018-06-28 19:37:53 +10:00
Paul Keith
63d0da85d7 ril: service: Fix RIL_UNSOL_NITZ_TIME_RECEIVED Parcel
* Sometimes, the modem is sending 1-2 extra fields with
  the country mcc, which confuses ServiceStateTracker
* Drop the extra data here, instead of in our RIL class

[haggertk]: Forward port to ril-caf on lineage-15.

Change-Id: Ifbec67bb0dac271226bd8b5471deaf6a2ef33f2b
2018-06-23 11:55:58 +02:00
Paul Keith
8cc0417cf2 ril: service: Add workaround for "ring of death" bug
[javelinanddart]: Forward port to ril-caf on lineage-15.1

Change-Id: Ifeeee11ee83deddb8eff565847641c45a105378f
2018-06-23 11:55:50 +02:00
stenkinevgeniy
2ef158a268 Audio: out_open_pcm_devices - use out->config instead of pcm_device->pcm_profile->config.
Current get_pcm_device return always first finded pcm_profile.
And out->pcm_dev_list always have only pcm_device_playback pcm_profiles.

But if we need use deep_buffer pcm device
we need use deep_bufer pcm_config - current hal
don't did this...

And we configure out->config in adev_open_output_stream
function with proper pcm_config (deep or no).

Change-Id: I86fdb18202afb0e83393f32830d57c929f174ae6
(cherry picked from commit 39d1d019965d04ddfad2c643de53cd5501803aa4)
2018-05-18 12:45:41 +02:00
stenkinevgeniy
44335364f6 Audio: remove unsupported hotword/soundtrigger stuff.
Change-Id: Ie21f94e80a18f5a5805a3ee00e12e83fa2fc3f1a
(cherry picked from commit 35dbc1e39fa7d355edbebe0071145aac45cc1075)
2018-05-18 12:45:17 +02:00
Lukas0610
b0b7834861 fingerprint: send cancel-message to system
Android expects a FINGERPRINT_ERROR_CANCELED error-message if a
fingerprint authentication-requested was cancelled.

As bauth doesn't deliver such a message on its own, we use the
already notify-wrapper to send a message to Android if the
authentication was cancelled by bauth to allow a proper operation
of the fingerprint-service.

Some devices (hero, hero2) with the fingerprint scanner embedded in
the home button need this for the "config_fingerprintWakeAndUnlock"
option to work reliably.

Change-Id: Id5ec866a7608885925687a1927e0e6085e9b6cff
Ref: BUGBASH-1422
2018-04-10 00:22:33 +02:00
Victor Lourme
5869cd357e audio: return EINVAL to avoid get_presentation_position spamming logs
Change-Id: I32ec0c5651395c7af3dc4b80d25204bf0fcc1977
2018-04-01 02:23:39 +02:00
Michael Bestas
d5b988f3b2 mkbootimg: Include system/tools/dtbtool
* Moved from device/qcom/common

Change-Id: I9b301923aaebdbfbc8599e0f8524b2a38fe6cefa
2018-03-25 20:33:08 +03:00
Christopher N. Hesse
8179c011c6 audio: Use audio_route_{apply/reset}_and_update_path
We don't need to handle the mixer updates here anymore.

Change-Id: Id60759e31a6501e4772bbd7377505197c932545a
2018-03-10 00:09:15 +01:00
Christopher N. Hesse
ecb6050e40 audio: Update mixer knobs after re-applying output route
Change-Id: I35fbcc03e9666e579134512b443610e546c31441
2018-03-06 19:25:21 +00:00
Paul Keith
96ff312382 ril: service: Get off my back
* Checking numInts and numStrings for strict equality when
  we're not looping is dumb, because Samsung is notorious
  for sending extra information in their RIL
* Check if there's *enough* data rather than the *exact amount*
  to fix a bunch of invalid response errors

Change-Id: I14bc37240e5760b4629fcb74b64f25ad95d4fdfc
2018-03-06 19:25:04 +00:00
Christopher N. Hesse
d26f4c920f ril: service: Fix breakage introduced by f7c75aa4e0
Before:
    if (response == NULL || numStrings != 3) {
After:
    if (response == NULL || numStrings != mqanelements - 2) {

This patch fixes the logic so we don't change the value check.

"mqanelements" is not related to getOperatorResponse, so get get rid of
the affected code.

Change-Id: I86c6ae7b7492a5d04fbc8dc415c4f615e7d05bab
2018-03-06 19:20:50 +00:00