summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fingerprint: bauth: Bump version to 2.1lineage-15.0LuK13372017-11-261-2/+2
| | | | | | * Required for fingerprint HIDL HAL in O. Change-Id: Iec8450521a51bbfddf2225274a7a6982baa42561
* consumerir: Move device dependent modules to /vendorDiego Wilson2017-11-261-0/+1
| | | | Change-Id: Ia05938d479babea4e0d7d25d52c818a43cedf362
* liblights: Move device dependent modules to /vendorDiego Wilson2017-11-261-0/+1
| | | | Change-Id: Ia7534e9188048b95e6c85497cfeb5e28a279629b
* samsung: hardware: Rebrand from cmhw to lineagehwArne Coucheron2017-10-136-13/+13
| | | | Change-Id: I9576ca2d6bf5dfb9d0259e314f20aa0fe7f775b5
* dtbhtool: Use libfdt from external/dtcChristopher N. Hesse2017-09-1614-3544/+0
| | | | Change-Id: Ia3e38120965125de684e39213f94ad53238d55ce
* dtbToolCM -> dtbToolLineageLuK13372017-08-281-1/+1
| | | | Change-Id: I515ce4855cbaa2157a25dac56f18a6b1ca60ec84
* wifiloader: Load kernel module if presentChristopher N. Hesse2017-08-132-1/+79
| | | | | | | | Samsung does this in the macloader service, but this is the more appropriate place for our platform. Change-Id: I6335fea1d73d48f3c3f9938f33b536c5cda52acb
* Automatic translation importAbhisek Devkota2017-08-031-1/+1
| | | | Change-Id: Iac6ca07164f94ff319af48ecf8cae29a76052c02
* secril-client: close fds on I/O errorsBasil Gello2017-08-031-0/+23
| | | | | | | | | | if a kernel device returns an I/O error, it is better not to chew the CPU resources retrying I/O operation on a not ready device. Fixes periodical 100%-core load in audioserver after a voice call completion. Change-Id: I2b66ffd18c85823a11e50598a6b4e3c0245a0083
* power: Keep boost fd opened as wellChristopher N. Hesse2017-07-311-28/+39
| | | | Change-Id: I016b28c29786fc948a007d4ec3106be8a662eafd
* macloader: Drop semcove case and enumAndrea Arcangeli2017-07-262-4/+0
| | | | | | | | The all_ranges structure has one entry less than MAX_TYPES because semcove type is not defined there, but there's no check for NULL and if the mac isn't found it segfaults. Change-Id: Ie218ea0a82b03992085db0f2d1cfc7079e7415a0
* secril-client: Fix RIL client token management in SendOemRequestHookRaw()Basil Gello2017-07-171-0/+9
| | | | | | | | | | | | | | | | | On some devices, like SM-T805 (Galaxy Tab S 10.5 LTE), the RIL client code produces errors "SendOemRequestHookRaw: No token" due to large amount of tokens allocated by OEM messages requiring no response from RIL daemon (like set call audio path, set call volume, set mite etc). The indicator of an OEM message with no response expected is: RegisterRequestCompleteHandler(client, REQ_XXX, NULL); inside the RIL client message method. To prevent the token pool from overflows, the proposed patch de-registers the token and frees its call history if the handler for this message req_id is set to NULL. Change-Id: Id414263bf471115797cae1a9ed628249734b9347
* secril-client: return exact error code from blockingWrite()Basil Gello2017-07-131-2/+1
| | | | Change-Id: Ibb6d3636648480c53a2fd19044eefe5b97f1eceb
* Revert "power: Temporary logging fix"Christopher N. Hesse2017-07-131-4/+13
| | | | | | This reverts commit ff86846e97f2d159cc98af80938246db0d53c39a. Change-Id: I46aa4d6606c3c519322b2e2cd048bd312a15fa4d
* power: Allow for a dynamic cluster configurationChristopher N. Hesse2017-07-132-68/+85
| | | | Change-Id: I542b36d26cad23f29e70ab70d996c95ca3ab11a7
* power: Temporary logging fixChristopher N. Hesse2017-07-091-13/+5
| | | | | | | | | | | This will be reverted once the more advanced mechanism (https://review.lineageos.org/#/c/179092/) goes in. The boost fd logging will be restored once https://review.lineageos.org/#/c/180313/ makes it into the code base. Change-Id: Ifc1b4a2ba3e1c4283d74eafec45c5fbf07153f03
* power: Print information on bootChristopher N. Hesse2017-07-091-0/+19
| | | | Change-Id: I1a8ba54f1b27c2e96c6bae77046dc207cdf35025
* power: sysfs_read: Do not store newlinesChristopher N. Hesse2017-07-091-1/+6
| | | | Change-Id: If20b509b489b056ac3b37c208c42bc5407f61802
* AdvancedDisplay: RefactorLuca Stefani2017-06-2613-226/+160
| | | | | | | * Integrate with Settings * Remove back button Change-Id: Ie3bcd43ef7225bdc3b177446906335f59561b584
* Automatic translation importAbhisek Devkota2017-06-221-6/+6
| | | | Change-Id: I352dfea4f441b2b1a7d14b4e665f1fe77eecc99c
* exynos: multimedia: add support for OMX_IndexParamVideoIntraRefresh parameterDheeraj CVR2017-06-224-3/+81
| | | | | | | filiprrs: This fixes miracast, and possibly resolves issues with features like chromecast, screen recording, wifi display etc. Change-Id: I35f789a9ae29df0198b21c98dc866d8886799893
* liblights: Fix fast blinking notification LEDs.Jason Vidal2017-06-191-0/+4
| | | | | | | | | Seems that the fast blinking notification LEDs experienced on some Samsung devices was due to the removal of these two lines that clean the 'blink' array. Propose re-inserting to correct the fast blinking LED issue. Change-Id: I88ea828a50468aae494b1dd54290607308de543a
* liblights: Add BLN supportDominggoes Isakh2017-06-152-0/+25
| | | | Change-Id: I3745b7c4ca7adadd62e116c71cd7357a4e8ed015
* liblights: Fix variable button brightness codePaul Keith2017-06-021-2/+2
| | | | | | | | | | | | * Because we're using #ifdef in set_light_buttons(), defining VAR_BUTTON_BRIGHTNESS to anything, including 0, results in the button brightness code being enabled * That results in broken touchkey backlight for devices that don't override the samsung_lights header, or defined this macro to 0 in their device's samsung_lights header * Comment out the macro to correct this logic Change-Id: Icf554b0deac975f729f1a70e517341dae74f3657
* Automatic translation importAbhisek Devkota2017-05-311-1/+1
| | | | Change-Id: I376a4f179af4bd395ca9c17da93f5101aca4c68c
* liblights: Add support for variable touchkey brightnessDominggoes Isakh2017-05-302-4/+8
| | | | Change-Id: Icc5c589e88dc342ae50b432187bae65a9b3a23d7
* power: Write IO busy parameter for big clusterChristopher N. Hesse2017-05-291-2/+8
| | | | Change-Id: I9e09f640b956be87729df735225fcfe8f066ab48
* modemloader: Add support for recent devicesChristopher N. Hesse2017-05-251-6/+22
| | | | | | | | | | | * Try to read the hardware revision from the bootloader before parsing /proc/cpuinfo * Set more properties to catch all recent device needs as well * Introduce a property to let other services (cbd) know they can start Change-Id: I50d8ec37921ec2559bdd7fe852d830f10fe1c12e
* Automatic translation importAbhisek Devkota2017-05-175-5/+5
| | | | Change-Id: I15bc33336962fd84fcb328d5fda461e5ce0bd495
* power: Allow POWER_HINT_LOW_POWER hint to disable power save modeChristopher N. Hesse2017-05-061-1/+2
| | | | Change-Id: I3b4c90f05267ca4182187361e5d373adb6de25d7
* Automatic translation importAbhisek Devkota2017-04-2857-57/+57
| | | | Change-Id: I7cdf0153bcb66bf25d80c694022018b5d89287e2
* AdvancedDisplay - Rename default scenarioAbhisek Devkota2017-04-271-1/+1
| | | | Change-Id: I6122234ef08b78958e28d3a127b3c73757a43445
* mkbootimg: add exynos subdir to possible_dtb_dirsJesse Chan2017-04-251-1/+1
| | | | Change-Id: I70e5e0817ff0b63da7df3ab63f42b815170096e4
* power: Sanity check touchscreen pathPaul Keith2017-04-241-1/+4
| | | | | | | * Let's not always assume this isn't NULL Change-Id: I181cb014fc06d0f0ca795c3ecc374ccf9dbb57f1 Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
* Automatic translation importAbhisek Devkota2017-04-205-3/+49
| | | | Change-Id: I201d7c8ce8c9495085e68a76e14aa8d67caa31de
* power: Align to AOSP APIChristopher N. Hesse2017-04-051-7/+6
| | | | | | | AOSP power hints can have a NULL data parameter, only our custom hints are guaranteed to provide data. Change-Id: Ibea874e75a7092b3f9c1c56dc5182cdf73f35532
* power: Remove unused variablesChristopher N. Hesse2017-04-051-2/+0
| | | | Change-Id: I805a12837bd013e71c098479279dcc5895ea1e1d
* lights: Put back fd checks before closingChristopher N. Hesse2017-04-051-4/+6
| | | | | | | While close(NULL) is indeed a harmless noop, fd can end up being < 0 for us. Change-Id: I56dcd7fb61c72d3ce750b13329ff42e11ab63c84
* lights_helper: I/O API cleanupChristopher N. Hesse2017-04-021-22/+21
| | | | | | | | | | * buf => buffer for consistency * explicitly cast strtol retval to int * close(NULL) is a no-op, remove superfluous checking * replace variying buffer sizes by INT_MAX_STRLEN * always return signed errno codes Change-Id: I972e33e2435ec7d68a8ffdc5ab88a14d8005ff55
* audience: Cleanup write_int()Christopher N. Hesse2017-04-021-12/+19
| | | | Change-Id: Idfec2093c63a864d5f9d37353adbf6f8fc5d4fcd
* audience: Use O_WRONLY flag for write_int()Christopher N. Hesse2017-04-021-1/+1
| | | | Change-Id: I9a0bdc78644e7a4875d7e49051722fff3d47ee6b
* audience: Always log write_int() failsChristopher N. Hesse2017-04-021-7/+1
| | | | Change-Id: I747c38646599ae3f687279ca8a95db804f3ad015
* audience: Warn when we cannot handle the output deviceChristopher N. Hesse2017-04-021-0/+2
| | | | Change-Id: I0cddd94f22c5e912436682d713a1ae441723cfee
* power: Add POWER_HINT_DISABLE_TOUCH supportChristopher N. Hesse2017-04-021-0/+8
| | | | Change-Id: I363df278598e3402692424539638f3547c648e26
* Automatic translation importAbhisek Devkota2017-03-291-2/+2
| | | | Change-Id: I58d68d3bc81f39d0b452a9aa1f408a0e6830de63
* PowerHAL: Update the hispeed_freq value before using itMartin Bouchet2017-03-281-0/+5
| | | | | | | | | | The hispeed_freq value is read only in the inizialization process. If we decide to change it later writing a new value to the node this new value wont be taken into consideration by the power hal. Lets update the hispeed_freq value in the power hal before using it to limit the max cpu freq when we go into power save mode. Change-Id: I4b8c7f67259750b2931b18c3871874022aa6054d
* audio: Split BT SCO media/incall pathsChristopher N. Hesse2017-03-203-15/+27
| | | | Change-Id: I23a621855e8b96edcd92d8740dfec270ff7e7407
* audio: add support for bluetooth wideband voice callsFevax2017-03-204-8/+42
| | | | Change-Id: I02bf23a83c52389cc02ba1f61572eb651418fe24
* power: Rework governor path abstractionChristopher N. Hesse2017-03-182-8/+13
| | | | | | | Construct the paths for the driver based on the device specific header data. Change-Id: Ic7c72a2bbe6f199e1297f41817840059595f516d
* Automatic translation importAbhisek Devkota2017-03-151-1/+1
| | | | Change-Id: Ib6bc0641aa25b3f4071b3ad2e57a5c084d418916