Commit Graph

655 Commits

Author SHA1 Message Date
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
Christopher N. Hesse 719630aaf6 audio: Guard mixer path dependency fix
Change-Id: Id93d7941ae322a83488da3cea62c6eb36a6e9160
2018-03-04 13:54:52 +00:00
Christopher N. Hesse 62b70f8299 power: Allow POWER_HINT_DISABLE_TOUCH in low power mode
Remove the unused len var while we're at it.

Change-Id: Iabaf3b8704072a8758b213a54530eaffbf0c7ae5
2018-02-23 18:24:01 +00:00
Christopher N. Hesse 7f2c1bf988 ril: Add support for imsType parcel member
This is needed for Samsung devices like the Galaxy A5 2017.

Change-Id: I3b89cf8ac232fef5629b439dbf5d2f21bdb264a2
2018-02-22 21:02:29 +00:00
Christopher N. Hesse ffe632e356 ril: Add support for roamingProtocol parcel member
This is needed for Samsung devices like the Galaxy A5 2017.

Change-Id: I549130b838377d8a8668ac59b51c314fe9e7f5ab
2018-02-22 21:02:04 +00:00
Paul Keith c41b85cf57 AdvancedDisplay: Rename Negative to Accessibility
* Samsung now supports many more modes than just inverted colors
* Add strings for these extra modes while we're at it

Change-Id: If2a469c994658d521d98b91adec1a19badb8092f
2018-02-22 21:00:43 +00:00
LuK1337 d9b32260a3 AdvancedDisplay: Add support for new mDNIe scenarios
* BROWSER_APP
* eBOOK_APP
* EMAIL_APP
* TDMB_APP

Change-Id: I44be4d46f7a077295f0631a71ec652e61c3f9411
2018-02-22 21:00:34 +00:00
Paul Keith 763a8c3b46 AdvancedDisplay: Fix strings
* It just so happens that not all devices will have the
  same options available, so allow them to specify what
  they have without breaking tranlations by moving the
  scenario names into individual strings from the arrays
* Update a few strings to be actually translatable
* Fix an off-by-one error for every display mode after
  "LineageOS (default)": UI is the same thing as the
  default mode, so remove it to make the mode selection
  actually choose the user-selected mode

Change-Id: Id5d659d79c10ea097c35b7416ef7c1cc93937756
2018-02-22 20:59:56 +00:00
Christopher N. Hesse 4f7dc6ffec power: Silence excessive logging
Change-Id: I519122aaa77e73cf0290610a3d9d4aa79700e843
2018-02-19 22:24:14 +00:00