summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* lineagehw: Deprecate HWC2 display controlsHEADlineage-16.0Paul Keith2019-02-083-168/+15
| | | | | | | * They have been moved into LineageHardwareService * Also fix some minor style issues in HighTouchSensitivity Change-Id: I29fe6223e287531964656fd8c10edc1718e2ec65
* lineagehw: Remove reference to HIDL stuffPaul Keith2019-01-1811-592/+32
| | | | | | | * HIDL compat will be handled in the SDK instead * While we're at it, cleanup styling for some stuff Change-Id: I5fd37a8cac0b24f6539de6a7a24f567330e5abe2
* lineagehw: Deprecate some featuresPaul Keith2019-01-183-188/+0
| | | | | | | | * DISPLAY_GAMMA_CALIBRATION * LONG_TERM_ORBITS * SERIAL_NUMBER Change-Id: Ieb36eed277861219d05db94e642bd04189b6243b
* lineagehw: Convert to Android.bp and use only common classesRashed Abdel-Tawab2018-08-232-53/+26
| | | | | | | *) Restoration of device specific lineagehw capabilities will happen later via hidl implementations. Change-Id: Ib88f9ca74eb389936fe0096b010f9dce90c559d5
* lineagehw: Check if files are readable when we read themlineage-15.1LuK13372018-08-107-7/+10
| | | | Change-Id: Ife8900d57de47e3ce148dc362644b696a09ebc71
* lineagehw: Add support for sysfs ReadingEnhancementPaul Keith2018-08-081-8/+26
| | | | Change-Id: Iaef35f184d93fb40386c6122cfa25119578bcecd
* lineagehw: Update ReadingEnhancement for new APIPaul Keith2018-08-081-2/+27
| | | | | | * While we're at it, add comments to the exposed functions Change-Id: Ib1bf0362dcadf5340795fd63ddc9ca6a75060abb
* lineagehw: Introduce Reader mode backendRashed Abdel-Tawab2018-05-231-0/+93
| | | | | | | Currently just makes everything grayscale. Might be expanded in the future. Change-Id: I4b04c9050b9b465c9feb3b1d41b38bd2179dcf3b
* lineagehw: Link livedisplay library staticallydianlujitao2018-04-221-4/+2
| | | | Change-Id: I40795c84cc978d47b7ef18b0ad9186202b2d5a53
* lineagehw: Use HIDL for livedisplay vendor impldianlujitao2018-04-178-72/+458
| | | | Change-Id: Ibafa2eda5c8ea4a48e401f87b73b1c065e4f9521
* lineagehw: Remove thermal monitor featurestaging/lineage-15.1Michael Bestas2018-01-232-75/+0
| | | | Change-Id: Ic4d5e16b9cca6e1486b562eac67bcac968de17de
* lineagehw: Remove persistent storage featureMichael Bestas2018-01-231-196/+0
| | | | Change-Id: I1f78cb2d50f44afa2ad0bd104a8fb92268751af4
* lineagehw: Remove unique device ID featureMichael Bestas2018-01-231-82/+0
| | | | Change-Id: I7a3225d273673a8ed7b10e8dad9a216d4f0b0ac3
* Merge remote-tracking branch 'opthw/staging/lineage-15.1' into ↵Sam Mortimer2018-01-1615-0/+938
|\ | | | | | | | | | | staging/lineage-15.1 Change-Id: I6446bb2affdbe6808bdb7d3c7320310679150b4d
| * lineagehw: Deprecate use of gpu mode as a fallback for color controlSam Mortimer2018-01-041-61/+23
| | | | | | | | | | | | | | | | | | | | | | | | *) It's not power friendly and can break playback of DRM protected content. Further, there's no obvious connection between these issues and the use of livedisplay for the end user. (It doesn't work in Oreo at the moment anyway because related fw/native surfaceflinger commits are missing so let's capitalize..) *) Some cleanup whilst we're here. Change-Id: I85307958ec4cdec87ffdeec02288ddca8a900211
| * lineagehw: Add support for HWC2 color transformRashed Abdel-Tawab2018-01-042-3/+29
| | | | | | | | Change-Id: I6e7cec71f170f906f3c9fdb85738ec8ef1ed59bd
| * frameworks/opt/hardware: rebrand step 2: update file contentsSam Mortimer2017-09-2724-33/+34
| | | | | | | | Change-Id: I676c14e4835fd63e713936a2e16a867a3ae803d0
| * frameworks/opt/hardware: rebrand step 1: update pathsSam Mortimer2017-09-2621-0/+0
| | | | | | | | Change-Id: Ia62d39c0afa992a7c5198cc9151945052566bb55
| * Revert "cmhw: Allow LiveDisplay to check if GPU transform is used"Zhao Wei Liew2017-02-241-4/+0
| | | | | | | | | | | | | | | | | | | | This doesn't seem like a very elegant solution. Either way, this shouldn't have been merged until the actual solution which uses this is merged as well. This reverts commit d355b505612d03a561a1440b4ff4fd7b7b38401f. Change-Id: I76b64406ff63d1dfd504a6e9779281fa6a3d5fbe
| * cmhw: Add TouchscreenGestures APIZhao Wei Liew2017-02-011-0/+74
| | | | | | | | | | | | | | Support enumerating the touchscreen gestures supported by devices. Change-Id: I75123155cca1f78f5b145f694a37638088f06e2c
| * Revert "Add tap-to-wake class definition"Zhao Wei Liew2017-01-251-49/+0
| | | | | | | | | | | | | | | | | | | | | | | | Support for this in the Settings has been removed since CM 13.0. No official device on CM 13 and later is/should using this as every one of them should have migrated to the native tap-to-wake implementation. This reverts commit b240ab8e7c1918202c8c98118aab2d34b0be6461. Change-Id: I2bcf63feccd166d116a9a093d278cdafcac120af
| * cmhw: Allow LiveDisplay to check if GPU transform is usedChristopher N. Hesse2017-01-241-0/+4
| | | | | | | | Change-Id: Icb2d33f91778fa0c3058c839587f3b6532fc4be6
| * Revert "Add utility methods for reading and writing text (mostly sysfs) files."Zhao Wei Liew2016-09-081-76/+0
| | | | | | | | | | | | | | | | | | | | An improved version has been added to the CMSDK since CM 13.0. All users of this should be converted to using the CMSDK version. This reverts commit 843599985b06fc7b224109d58e73d91d5920eeb1. Issue-Id: CMN-43 Change-Id: I859555112015d7c9a875cac2e6c295f9b96f54bc
| * cmhw: Remove usage of Integer.parsePositiveIntSteve Kondik2016-08-291-1/+1
| | | | | | | | | | | | * This was an Android enhancement and not supported on the new runtime. Change-Id: I6f5eaf4981263729a1531fb5248bc675f4489c4b
| * cmhw: Add PictureAdjustment stubs - take deuxSteve Kondik2016-08-051-0/+117
| | | | | | | | | | | | | | * Enables adjustment of hue/saturation/intensity/contrast levels of the display. Change-Id: I952f15594e2ed0041b9837cbf0e15d54d6b4c5b1
| * Revert "cmhw: Add PictureAdjustment stubs"Michael Bestas2016-08-051-103/+0
| | | | | | | | | | | | | | | | | | * Revert until the rest of the topic is merged to unbreak builds This reverts commit a8ef044be1eb70c0f8a17f0c40d4c5c08bf71593. Change-Id: If1ba59c952e899f04b7ac0e23c52f4733c2e505d
| * cmhw: Add PictureAdjustment stubsSteve Kondik2016-07-311-0/+103
| | | | | | | | | | | | | | * Enables adjustment of hue/saturation/intensity/contrast levels of the display. Change-Id: I6b562324a27649809e41fa223445e517c262cca2
| * cmhw: Add ColorBalance stubsSteve Kondik2016-07-171-0/+65
| | | | | | | | Change-Id: I093a779600e3262e96f2da8f601449bc4f77e7c0
| * cmhw: Allow overrides of device-specific cmhw implementationsMichael Bestas2016-06-301-10/+17
| | | | | | | | | | | | | | | | | | | | | | * There are some cases where devices want to override common cmhw implementations, for example devices which inherit hardware/cyanogen but have different vibrator hardware * Allow override of classes instead of breaking the build by including duplicate implementations and always pick the last class in BOARD_HARDWARE_CLASS Change-Id: I8587076b87cee0dfc41746b5bc3f974274f71c21
| * DisplayColorCalibration: Fix logicWilli Ye2016-06-171-1/+1
| | | | | | | | | | | | * Previous commit broke booting on devices without color calibration Change-Id: Ia94120789ff531ecb4ca86003cb6f4439603560d
| * cmhw: Use cmsdk FileUtilsMichael Bestas2016-06-161-5/+2
| | | | | | | | Change-Id: I390a5a57a8a8a3d012b34e65a47c3dd8a66dab6d
| * cmhw: Fix DisplayColorCalibration GPU-mode issuesSteve Kondik2016-04-181-3/+4
| | | | | | | | | | | | | | * Make the fallback more robust * Fix method to return current values Change-Id: I13d31ed3994684ebaee9394d740c1c55aaf800ba
| * cmhw: Fix return valueSteve Kondik2016-04-161-1/+2
| | | | | | | | | | | | * GPU mode should return the scaled value. Change-Id: I2efae1c5d2c9807b384ecb9fba9d9d51ba260f78
| * cmhw: Move DisplayColorCalibration from hardware/cyanogen to hereSteve Kondik2016-04-151-49/+112
| | | | | | | | | | | | | | * Since this now provides GPU color tuning support, we need to make sure it's available to all devices. Change-Id: If26dc6e90157d0f9c64ffa77a1fdae3317f0a762
| * hardware: make sure to declare hardware as feature.Adnan Begovic2016-03-141-0/+1
| | | | | | | | Change-Id: I2aa61b6ebc8280786f2bcc9113ea1d399df83bf7
| * hardware: Add UniqueDeviceId supportMatt Wagantall2016-02-021-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's sometimes useful to know what physical device you're using. CMHW SerialNumber and an "ro.serialno" property already exists, but are not guaranteed to be unique. Different OEM may use overlapping numbering schemes, and sometimes placeholder like "012345ABCDE" are used. Attempt to work around these shortcomings by defining a new UniqueDeviceId class that provides a globally unique device ID that is both deterministic for a given device and designed not to overlap with IDs of any other devices. Change-Id: I55abe9232799f2c8088954118807565ed725d43a
| * hardware: Reference internal sdk instead of external.Adnan Begovic2015-12-081-1/+1
| | | | | | | | Change-Id: Ic89e1da601ac501ee66af8accee0223ddd956380
| * cmhw: Add isSelfManaged for SRE moduleSteve Kondik2015-12-081-0/+13
| | | | | | | | | | | | | | * Some implementations of this do their own ambient sensing. Add a flag to enable this. Change-Id: Ic575b42740de1cfcd109883013417142bed2cd4e
| * CmHW : Add thermal monitor stubDanesh M2015-09-242-0/+75
| | | | | | | | Change-Id: I157f40b34ddd05912727e29db9984b3897003a25
| * cmhw: Add PersistentStorage APISteve Kondik2015-09-091-0/+196
| | | | | | | | | | | | | | | | | | | | | | * This API is used for storing key-value pairs which persist across a factory reset. * The default implementation will attempt to use the /persist partition which is available on most QCOM based devices. If this is not applicable, a device should implement this HAL in a way which makes sense. Change-Id: Ia8d0a1af5dc19ffbbfaefaf8b5ce87b08d41538a
| * hardware: Add DisplayModeControl APISteve Kondik2015-08-172-0/+78
| | | | | | | | | | | | | | | | * A device may have a preset list of display modes identified by strings. This API adds support for enumerating and selecting one of these modes. Change-Id: I01f4655a31d79e5c55d318afc71204b9fc5e0ec5
| * cmhw: Add auto contrast supportSteve Kondik2015-07-151-0/+48
| | | | | | | | | | | | * LiveDisplay will use this soon. Change-Id: I2fe48edc648726607e7f1b9831c57582d4f42b11
| * Hardware: Add touchscreen hovering supportFranco2015-02-051-0/+50
| | | | | | | | Change-Id: Ic29cecda93179ba6ffec523af9600f621a2bf9bd
| * Fix HighTouchSensivity (2/2)Michael Bestas2014-09-101-0/+8
| | | | | | | | Change-Id: Ic46d29eeb875eaf9d9f04b8595f9f07bb6ebbd1d
| * Hardware: Add high touch sensitivity supportXiao-Long Chen2014-08-271-0/+40
| | | | | | | | Change-Id: Ia5ad3695ca253269dfe3a62420819ad9e9367f9c
| * cmhw: Add stubs for SRE supportBrinly Taylor2014-08-231-0/+58
| | | | | | | | | | | | | | * Add support for Sunlight Readability Enhancement, aka Facemelt Mode. * Optional dependency on adaptive backlight support, which is required in all current implementations. Change-Id: Id25bb5fd384f3935383a5c7f5795ce17afc73b00
| * Add default value for display color control (1/2)Lorenzo M2014-05-011-7/+15
| | | | | | | | Change-Id: Ib7f1256722b8ccc1259d6b47f840ea718a14070b
| * HAF: Add KeyDisabler stubRicardo Cerqueira2014-03-051-0/+53
| | | | | | | | | | | | Allow disabling the capacitive keys on a device Change-Id: I855cb094963bc3263fd68e4dacbbd8f331ccb825
| * Hardware: add ColorEnhancement supportM1cha2014-02-091-0/+48
| | | | | | | | Change-Id: I32e52c0e11dff2ce9d30d17e028190637ad2b1ff
| * Add tap-to-wake class definitionRicardo Cerqueira2014-01-211-0/+49
| | | | | | | | Change-Id: Icaa7f8e8846ab4d7375a03b407fb3c80a194de49