Commit Graph

26 Commits

Author SHA1 Message Date
Paul Keith a924001761
klte-common: Transition to consumerir HIDL hal
Change-Id: Ife68fd0ccd65eb16241694bbf911fc6810f7dd80
2020-01-29 20:13:33 -07:00
Paul Keith c453c83a25 klte-common: Update ril.h to be inline with msm8974-common
Change-Id: I736f34d0acd1428bb7a78417c4c35bf5bccc5cec
2018-02-08 03:57:56 +01:00
Kevin F. Haggerty 8153e77961 klte-common: Drop libril
* We're going to use the shared version from msm8974-common now

Change-Id: Ie4e6336209a5fb6881cd52807082ea2acffd1c8c
2018-02-05 21:30:06 -07:00
Paul Keith ae4dd1ba1a klte-common: Fixup RIL_Call structure
* Because of how structure alignment works,
  adding these unused chars here is unneeded
* This makes this structure more understandable
  when looking at the stock RIL java class
* Move Samsung call details as the 8 bytes before
  the RIL_UUS_Info pointer, to match stock

Change-Id: I2e62be0b1774209c0165ece90588ecb7aeb042e3
2018-01-19 16:07:35 -07:00
Kevin F. Haggerty 345ceb6a2c klte-common: libril: Fix SMS on certain variants
* Samsung added an int to the end of the RIL_SMS_Response
  struct in some of the variants (like vzw) but not all
* The presence of this field was discovered by examining
  the stock RIL.java, which conditionally read an extra
  int from the parcel, based on the device specific
  CscFeature_RIL_SmsErrorClassRetry feature
* This causes SMS messages to show as "failed to send"
  in the app, when they actually suceeded in sending
* Allow Samsung's custom struct and AOSP's to fix it

* Forward port to ril-caf on lineage-15.1

Change-Id: I6b3e545c2c42ab2de2ac11e93dfdf9546248080a
2018-01-19 16:07:35 -07:00
solk2 613d3fdea2 klte-common: libril: Fix RIL_Call structure
* Samsung added call_id as the second byte of index
* Split index to avoid a workaround in RIL subclass
* Add Samsung call detail fields, reorganize to fix
  incorrect structure, to avoid hacks in RIL class

Change-Id: I023228c05165c0cef9b698846a96484a6d318092
2018-01-19 16:07:35 -07:00
Paul Keith 1bafc74e01 [DO NOT MERGE] klte-common: libril: Add Samsung changes
* Changes in ril.cpp based off of hardware/samsung/libril

[haggertk]: Forward port to ril-caf on lineage-15.1 by
            remapping all the samsung unsol responses
            to NULL with the old response in a comment,
            and all the samsung requests to NULL with
            the old request mapping in a comment.
            This is safe because nothing in AOSP knows
            about any of Samsung's requests/responses

***** SIGNAL STRENGTH HACKS NOT PORTED YET *****

Change-Id: I59bad9925d141e6cefbc24d4eefdc0c79017852a
2018-01-19 16:07:35 -07:00
Kevin F. Haggerty bcc9a6c694 [DO NOT MERGE] klte-common: import libril from hardware/ril-caf
* Branch LineageOS/android_hardware_ril@55fb07ad (staging/lineage-15.1-caf)
  + https://review.lineageos.org/#/c/199884/

Change-Id: Ic2095f4da30a599cf25a51e286a5b9ce9096dc82
2018-01-19 16:07:35 -07:00
Kevin F. Haggerty 0b73a22c27 klte-common: Move proprietary binaries to vendor
Change-Id: If8f69a66f6168869e2a7578110d1200510b73ddd
2017-12-24 10:31:18 -07:00
Adrian DC 737bd8c396 klte-common: camera: Use wrapper parameters instead of CameraParameters
* Get inline with the lack of CameraParametersExtra.h
    support in AOSP, avoid using device header to inject
    additional parameters, especially with the introduction
    of Android.bp compilation for libcamera_client
    which ignores the device headers override

Change-Id: I754116f55ed32d54d1b1ad44407993137a07fb69
2017-11-01 16:45:05 -06:00
Kevin F. Haggerty e9c0171983 klte-common: Use the OSS GPS HAL
* Use bacon's GPS blob stack
* Build the package
* Drop our custom gps.h

Change-Id: Ib781b06310a4b11a5e69fe759549a89ce65fb1c8
2017-08-14 05:37:56 -06:00
Kevin F. Haggerty aa966f2656 klte-common: liblights: Add new brightness tuneables
Change-Id: Id021c6f8ad7b21704b440f8a5f21d63b4388769a
2017-02-24 19:12:10 +00:00
OzzysCmAcc 5ea0290d08 klte-common: Move WiFi NVRAM paths to our own macloader header
Change-Id: Ia6af356646aed9a9df0eff3dac3397b65c815e0d
2017-02-17 10:12:11 +01:00
Paul Keith 34292a9303 klte-common: Override consumerir header
* Board flag is deprecated

Change-Id: I3e1d685ec76a4221027a84d65fc70c998da62e1f
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2016-12-14 11:19:53 -06:00
Zhao Wei Liew 06544bfcaa klte-common: Fix max panel brightness path
* The previous path worked only because of
  failsafe methods in the lights HAL.
* Point the define to our actual max brightness path.

Change-Id: Ic80ecaf4f26859a597f4fc29cd6f7143d4daac6a
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2016-12-14 11:19:15 -06:00
Kevin F. Haggerty 099f6d65ae klte-common: liblights: Define PANEL_MAX_BRIGHTNESS_NODE
Change-Id: I7065d8c8bf023ce9d357fe7702bf5752f342408d
2016-12-09 04:24:11 -07:00
Paul Keith 9e288a3114 liblights: Remove device level HAL
* This is in hardware/samsung now

Change-Id: I07d5bfef3a5af6cfc791e7b2f9b0adc9bc479be2
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2016-12-04 09:05:31 -08:00
Kevin Haggerty a171d62b26 Revert "klte-common: Add custom /proc/ nodes to fd whitelist"
This reverts commit 7c4e51c5fc.

Change-Id: I72c5bcbbaf0835faaf9722cf1b887785e2ed51d3
2016-11-13 06:48:28 -08:00
LuK1337 7c4e51c5fc klte-common: Add custom /proc/ nodes to fd whitelist
* Now Zygote requires doing so ;-;

Change-Id: I3a1710e69f8b86e5089db15ca68f4a811d512bac
2016-11-10 21:51:09 -07:00
ljzyal 9fa3c0b84c klte-common: Update gps header
Change-Id: I9556ad5abf8f41174691589cad8686057560bd8e
2016-10-01 15:45:58 -07:00
Ethan Chen 75dac81095 klte-common: Annotate unused parameter
Change-Id: Ied7dee334c0ff516d8f43f5050305c3dbe75ff62
2015-11-13 17:33:30 -08:00
Matt Filetto 1eeeb43867 klte-common: Add custom camera parameters header
Change-Id: I6bd3b6207913ab02cd2bdac49b97de4d7baf60bf
2014-11-23 03:07:25 -08:00
Matt Filetto d23a2fec9e klte-common: Update GPS header for lollipop
Change-Id: I2a56c8d5de0e894d6dc6cb8d686550317a6974f3
2014-11-22 22:43:41 -08:00
elelinux 43407e974c klte-common: Add modified gps.h from jflte
* Samsung is apparently using the same offsets in their structs
2014-08-27 01:24:47 -07:00
Ethan Chen 65493d2bf7 klte: Use prebuilt GPS libs 2014-07-31 17:29:17 -07:00
Daniel Moran (garwynn) 0a3081f5e7 Initial bringup (hlte base) 2014-04-16 23:22:27 -05:00