Commit graph

311 commits

Author SHA1 Message Date
Christopher N. Hesse
357950e0e2 dtbhtool: Move target defs to header
Change-Id: Id1dcebe1abee087bb74d263c7537bc32d98f2380
2017-01-04 02:13:11 +01:00
Christopher N. Hesse
d17a69b6f4 dtbhtool: Fix missing PATH_MAX macro from limits.h
Change-Id: Ie9cc147d6f4511d1fd696de7f8c58e01afdd079e
2017-01-04 02:13:11 +01:00
Ketut Putu Kumajaya
72b1c49ee4 Samsung Exynos DTBH device tree support
Change-Id: If5bee99b10c2b0fe55cc6eaf9143126be0cf70dd
2017-01-04 02:13:11 +01:00
Ketut Putu Kumajaya
0c2cc5a940 Add signature support
Change-Id: Idf5b6144b78e156e6c77e656cfe14097750259e5
2017-01-04 02:13:07 +01:00
Ketut Putu Kumajaya
6384637a7c Initial commit, from CM's system/core
Change-Id: I9bcf09859a7171e4fbb869b1d2818b31b2677207
2017-01-04 02:11:33 +01:00
Christopher N. Hesse
a8fe2a112f liblights: Check for hardware support on HAL open
Change-Id: I601a987914e1774c9d1d12574f143f19f22b12e9
2016-12-31 17:14:47 +01:00
clyde@build01
34b8ed06f2 Automatic translation import
Change-Id: Iac10e6e1a960cb5c54d7155e7142c61cc6233112
Ticket: -
2016-12-21 18:29:19 -08:00
Christopher N. Hesse
1226350ee7 power: Get panel backlight brightness from lights helper
Change-Id: I3f28fc4abac947cc4a30d95ba74f45bf24c12c20
2016-12-21 14:24:03 -08:00
Christopher N. Hesse
898e1fe432 liblights: Expose panel brightness in helper lib
Change-Id: I810166818eac84466dfe2c4b88dff47e83a181c0
2016-12-21 14:23:38 -08:00
blinky@build01
6bbc6089cf Automatic translation import
Change-Id: I3bd03e41b7e44f3a261464a31c36b9c10474e4ee
Ticket: -
2016-12-20 18:05:31 -08:00
Dominggoes Isakh
cb48f297ff exynos4: Fix libfimc build
* Expected return type is an address, not a boolean.

Change-Id: I454c23b66388fe06fc6d630b7b510ae85bd94c4a
2016-12-18 13:06:03 -08:00
Paul Keith
698085880b consumerir: Move CLEAR_VARS below LOCAL_PATH
* For those keeping count, this is the second time
  my consumerir patches broke consumerir compile...

Change-Id: I343ec51d547bf616c1da3779457b0cace505c689
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2016-12-14 12:28:39 -08:00
Paul Keith
464c0c98bd consumerir: Allow devices to override default configs
* This is cleaner than hacking up makefiles
* This brings us closer to what other hals
  in this repo are doing (e.g. lights, power)
  and this is done following their example
* As a note, haggertk suggested this when we
  added the inital unified hal, but I never
  got around to doing it

Change-Id: I7c911c5afc2b67308d7135b50a4863a6a9480035
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2016-12-14 10:49:26 -06:00
RGIB
a7a0ecde63 macloader : add n5120 murata MAC address
Change-Id: I617eba4abfe9ad2088aaeb740e4deccce439c569
2016-12-11 06:12:14 -08:00
RGIB
1bf77699ec macloader : add n5110 murata MAC address
Change-Id: Ie7f71f4e678eb69b7d1942f5ee31127b2091715a
2016-12-10 02:41:35 -08:00
Christopher N. Hesse
4139d85cc6 power: Allow devices to override node paths
Change-Id: Ida7f41ddce2ef458cc77348c0b44ec0a7a86df72
2016-12-08 15:11:18 +01:00
Christopher N. Hesse
f3c6a42a21 liblights: Scale brightness if necessary
Change-Id: Ia9fdbe0c0f709e8e2e16f9cd2fb757c6f53e7c50
2016-12-08 14:56:11 +01:00
Christopher N. Hesse
ae27148492 liblights: Allow devices to override node paths
* Update the copyrights while we're at it.

Change-Id: Ie1bbf1f5150428a47baf6615f32d703d578efb82
2016-12-03 05:56:19 -08:00
Kevin F. Haggerty
1d09298e09 macloader: Yet another SEMCO3RD OUI
* OUI types verified by comparing dump of CIS against VID table
  in kernel source

Change-Id: I3bf4d778c88445da6e47854b8bd90d1d7433d337
2016-11-30 05:38:41 -07:00
Kevin F. Haggerty
fcb04eaa42 consumerir: move consumerir_get_num_carrier_freqs before first use
* Implicit declaration results in static/non-static mismatch

Change-Id: I1ff2682697a45e37c28f71f580480296306704e8
2016-11-26 13:12:31 -07:00
Christopher N. Hesse
6b7dda74ee Initial consumer IR HAL commit
* Initially written by crpalmer
* Changes and improvements made by:
 - zwliew: Cleaned up styling
 - javelinanddart: Added configs
   to make hal more universal

Change-Id: I98eefdde67ad7ed930532a82533a5c91f20abd83
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2016-11-26 11:22:11 -06:00
ishantvivek
987dcca825 power: Update DT2W_PATH
* TARGET_TAP_TO_WAKE_NODE is defined in if condition. But in DT2W_PATH, TARGET_DT2W_PATH is defined. Why?
* Use same flag for both, otherwise we need to define two flags for the dt2w path.
* Use TARGET_TAP_TO_WAKE_NODE instead of TARGET_DT2W_PATH, for similarity with qcom powerHAL.

Change-Id: I87cbdc3f2aa1a3f9f6509580f2c1f001129a0fda
2016-11-21 06:29:20 +00:00
Simon Shields
fe32c93da2 exynos4: hwc: GLES/gl.h is needed regardless of HWC_HWOVERLAY
Change-Id: I83108ba3d2442fbc0a252bd98c988235bafe7dc8
2016-11-20 21:37:16 -08:00
clyde@build01
1261d2b0c6 Automatic translation import
Change-Id: Ifa838521e480ba5c3565d48711702f4a23f038f7
Ticket: -
2016-11-20 14:27:14 -08:00
Christopher N. Hesse
1c47466906 power: Fix unused argument
Change-Id: Ia4048aa48b32ea344c303ca24289ade1b7dfae7a
2016-11-18 18:59:55 +01:00
Christopher N. Hesse
e143419bff power: Simplify read_panel_brightness()
Overengineering.

Change-Id: Ifef79a7e8f2249fdd22099a043303f9686ac014b
2016-11-18 18:56:19 +01:00
Kevin F. Haggerty
b21592339a macloader: Add even more OUIs
* OUI types verified by comparing dump of CIS against VID table
  in kernel source
* Added: 84:38:38, fc:db:b3

Change-Id: I2909d03be8cf7227ce008e981106705866571898
2016-11-06 12:45:26 -07:00
Simon Shields
3c2325f13b exynos: multimedia: N/clang fixes
Change-Id: I1891f793a44465c28219cb19455dbc29c09d4868
2016-10-28 18:55:19 -07:00
Kevin F. Haggerty
d4ee359c8d macloader: Add additional OUIs
* Fix c0:bd:d1 while we are at it
* All OUI types verified by comparing dump of CIS against VID table
  in kernel source

Change-Id: I7858d8c03a176b9b37798bf0112f4b460ff2c9de
2016-10-27 11:36:46 -07:00
Kyle Repinski
5a2cc4eed5 Fix RIL_CardStatus_v5 Parceling.
The difference between a v5 and v6 CardStatus response is the addition
of ims_subscription_app_index. In previous releases libril added a -1
to the Parcel in its place for transparent handling of GET_SIM_STATUS
everywhere else regardless of v5 or v6 responses, but it was erroneously
removed in change I4e53c6125995064b8ac0cdfc9376ef2cefe69ec8

Change-Id: I078b61d2f6dc28f738e8eb87f51193fa0bd94c7d
2016-10-24 01:44:16 -07:00
Sukanya Rajkhowa
70ecc09feb Add support for cdma dynamic address length.
Get the address,sub address,Bearer with dynamic length in the data parcel,
to avoid the OutOfBoundsException with the MAX macro.

BUG=26856156

Change-Id: I1d7437143c1369d77791136b68e06088acd72937
2016-10-24 01:43:13 -07:00
Cal Archer
ae50788ed7 macloader: add another semco3rd OUI for klte (SM-G900F)
Change-Id: I669a4cab0fba92c4ac5d4bd1c496634d06aa4a40
(cherry picked from commit c2104657697740a9bee31dc03bf0c5134ff93e6c)
2016-10-17 04:34:33 -07:00
Sanket Padawe
6daeeef766 Fix build failure which occurs after setting macro RILC_LOG.
Bug: 29214796
Change-Id: I5f74981a59344078f900ecf769cc962b1416d5fd
2016-10-12 13:01:23 -07:00
Sooraj Sasindran
cfef9bd422 RIL: release unsol wakelock
Make sure to release unsol wakelock

BUG=28635279
Change-Id: I4bdf0e7b35df4e6aa077b062ab359c6938ce8292
2016-10-12 13:01:10 -07:00
Ajay Nambi
0af7d1c98c Ril Error codes: Voice related messages
This change adds new error codes for messages
related to voice

Bug: 27038563
Change-Id: I61bcc853f8046e6baf6c8000029f7af0f3f894f0
2016-10-12 13:00:58 -07:00
Ajay Nambi
6965975b2a New error codes for SMS/other messages
This gerrit adds error codes for messages related
to SMS and set_mute, get_mute requests

Bug: 27038563
Change-Id: I4991e4a38c81501c39e91cfd5df90d8288f542ad
2016-10-12 13:00:43 -07:00
twen.chang
7dd377ce80 Add RIL Error code list
BUG: 27589497

Change-Id: I9cc8c12364676c3c56dbee57fdc01cf055460816
2016-10-12 13:00:31 -07:00
Sanket Padawe
487784599d Enable integer sanitization in libril.
Bug: 27486276
Change-Id: I5d440099120567f1ecedb898039b5627346c7089
2016-10-12 13:00:17 -07:00
Sanket Padawe
df3dabe4f6 Fixing security vulnerabilities in ril.cpp
Bug: 26522805
Change-Id: I8fa19a202b3ebe13dc617b417218b4f40fa8a702
2016-10-12 13:00:04 -07:00
Sanket Padawe
db5d1e07ad Add OEM specific error code space which can by used to
replace Generic errors.

Bug: 27038563
Change-Id: I4052505ed684067cb9145d165f0e335ad52ed404
2016-10-12 12:59:53 -07:00
Sanket Padawe
6049dec1db Convert newly added error code to string values in ril.cpp.
Bug: 23216719
Change-Id: Ie2202124cb460872a9f5c406e8f1ae94465d9d0b
2016-10-12 12:59:39 -07:00
Sanket Padawe
9f97208a88 Use different response type for unsolicited mesg requiring
wakelock.

+ New type is added as ack from RIL java should be sent only for unsolicited mesgs
which hold wakelock in ril.cpp.

Bug: 22127517

Change-Id: Ib7e920d168ab92665283f80476bad3f5ede033e4
2016-10-12 12:59:28 -07:00
Sanket Padawe
a7c043d6f0 Improve wakelock symantics in RIL.
Bug: 22127517
Change-Id: I13fce25c8c6b27987e576b29a2ca5cd813f5b06f
2016-10-12 12:56:50 -07:00
Sanket Padawe
a79128ab25 Added fields to CELL_INFO_LIST.
Gsm: ta, arfcn, bsic
Wcdma: uarfcn
Lte: earfcn

Bug: 23528586
Change-Id: Iaf7bfaac96bda92d980c566878b9fe481a6d2c21
2016-10-12 12:56:38 -07:00
Sanket Padawe
201aca3682 Use SimRefreshResponse struct in RIL Versions greater than 7
Modify condition to use SimRefreshResponse struct in
all RIL Versions greater than 7.

BUG=21075857

Change-Id: Ifde00434bfcaecf3b4c32392fc4964fe3b43f6b5
2016-10-12 12:56:19 -07:00
Ajay Nambi
e63b4f6986 Add WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION
Add WRITE_SMS_TO_SIM and UNSOL_SUPP_SVC_NOTIFICATION in
requestToString method.

Change-Id: I323f276d4048b168b27669a0aebb58cd9decf9bd
2016-10-12 12:56:03 -07:00
Sanket Padawe
9343e87d59 Improve RIL versioning.
+ Added documentation for new RIL versioning format.
+ Changes associated to new RIl versioning format.

Bug: 25779475
Change-Id: I4e53c6125995064b8ac0cdfc9376ef2cefe69ec8
2016-10-12 12:54:36 -07:00
Dheeraj CVR
48d3f723a5 libril: revert network operator string handling
* These workarounds were introduced before http://review.cyanogenmod.org/#/c/159520/
  and are no longer needed because the framework now has dynamic QAN element support.
  Setting the ro.ril.telephony.mqanelements to a proper value should fix the operator
  search on all the devices and these workarounds are no longer required.

* http://review.cyanogenmod.org/#/c/100398/ discards every 5th QAN element which breaks
  devices with libsec-ril that returns more than 5 QAN elements. zeroflte and noblelte
  return 6 QAN elements and the 5th element was being discarded instead of 6th.

* The code assumes 5 QAN elements per operator which doesn't hold true for all devices.

* In case of devices with 6 QAN elements, the size of the string array was a multiple
  of 6, but since we are discarding the 5th element, the contents of the string pertaining
  to each operator is a multiple of 5 following by trailing null strings in the array,
  which caused issues in the framework while trying to read the strings, since we are
  expecting 6 strings per operator and with a discarded string, we only receive 5.

Thanks to Javi Ferrer for diagnosing the issue on zeroflte

Change-Id: I2e99291f3438998a253755a19a063d15a19d63e0
2016-10-12 12:54:15 -07:00
Colin Cross
b9e88c8b54 Properly export ril_ex.h
Copying headers makes fixing compile errors hard, and breaks dependency
restrictions.  Move ril_ex.h to an exported include directory instead of
copying it.

Bug: 18903857
Change-Id: I4b59a01e442db0d3198def69a5a5ff17b2a41c66
2016-09-12 13:49:06 -07:00
Hyejin
e942c33156 Fix build error with RILC_LOG on
Change-Id: Ib724e6db3c7fb4e46e7d62706cf53cc944faf797
2016-09-12 13:47:25 -07:00