Caio Schnepper
d126ce64b4
libgralloc_ump: Fix build
...
Included legacy <pixelflinger/format.h> to continue
using "GGL_PIXEL_FORMAT_L_8" pixel format
Change-Id: If08f90333bbcd9857f0dbcb462aaf6e8ad4d689f
9 years ago
Christopher N. Hesse
5e6103a2ac
macloader: Including missing errno header
...
Change-Id: I25ea307e4f4f8754563fc69f53db9e5c087c3bfb
9 years ago
Caio Schnepper
02c9c719ad
macloader: include errno.h
...
Fix build
Change-Id: Ib60f66ddc2065bc92cd32e507ae9f3a5023f54c2
9 years ago
Andreas Schneider
84093984f3
ril: Support new sound manger RIL responses
...
New version of Samsung RIL do not use RIL_UNSOL_WB_AMR_STATE anymore.
There is a Sound Manager (SND-MGR) which has its own response base
(20000). So to be able to register a handler for
RIL_UNSOL_SNDMGR_WB_AMR_REPORT
with libsecril-client we need to know about it. This allows us to
register a callback in the audio HAL to turn WB support on.
WB_AMR_REPORT report 0x00, 0x01 or 0x02. I guess 0x01 is WB ON and
0x02 is WB + NS ON.
Change-Id: I403c86781551fc3b08354187322e8443402d56f6
9 years ago
Andreas Schneider
9427510d0f
libsecril-client: Fix SetCallAudioPath for current devices
...
Change-Id: I38f10432f8e9a257af3e74312616d07698edd20f
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
9 years ago
Christopher N. Hesse
7bf409edb0
libril: Add support for ST-Ericsson Thor M7450 modems
...
The M7450 modem used in the Galaxy Note 4 (N910C variant) uses a libril
implementation similar to the one employed for Intel XMM* modems by Samsung.
This probably needs future adjustments, but so far fixes basic call functions
and signal strength is displayed correctly.
Change-Id: I2d070102ad11746902527da3c2c7f49485c7d7f1
10 years ago
Andreas Schneider
a8d0950e22
ril: Fix compilation with debug messages turned on
...
Change-Id: Ifabf416ebdfe681e63df1d127567d0ef54cfc0ec
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
10 years ago
Dheeraj CVR
50db0ed6de
exynos: multimedia: fix resubmitting CSD for NuPlayer
...
Ignore OMX_BUFFERFLAG_CODECCONFIG to fix issues while resubmitting CSD.
This fixes issues with seeking during playback when using NuPlayer.
Change-Id: Id307100cb48608e6e3f09948838486da4948578c
10 years ago
NBruderman
72edd42d69
libril: Fix element count
...
This lines should drop every 5th element (#5,#10,#15,...).
At the moment it is dropping elements #6 , #11 , #16 , as it start from 0
and the list start from 1. So let's match it up.
Thanks to Tobias Heinemann for the idea.
Change-Id: Idc2904040119716e666ea0fe320cde1d45869ee5
10 years ago
Utkarsh Gupta
f7a63e5be9
libril: Fix network operator search
...
Change-Id: Ib904875c403942ec96dfa229080d9543d7c9b8fa
10 years ago
Utkarsh Gupta
8ede9fa98b
libril: Fix signal strength for xmm6260 too
...
Change-Id: I3b35eb2c18df9110c7ec1bd3cf989cd34cc18fd7
10 years ago
Caio Schnepper
dd9ce7d335
libfimg3x: Remove android_pmem.h include
...
Change-Id: I514e96676578a97b9481643e58a0e49a8d017678
10 years ago
Caio Schnepper
ec04254056
libril: Add missing semicolon
...
Change-Id: I681e98abf600cd78a0783919d00b0acd215c6aaf
10 years ago
Andreas Schneider
3063dc12b7
libril: Avoid strncat which doesn't check if we overflow
...
Change-Id: I547e071316e8b4492b9837aae2096f27c02b67db
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
10 years ago
Andreas Schneider
47b2d96357
libril: Make data a const pointer in RIL_onUnsolicitedResponse()
...
Change-Id: I5b57da9e2672ea8455481e55794c33759cb741db
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
10 years ago
Utkarsh Gupta
8a0d74087a
libril: Fix signal strength
...
Change-Id: I81ce6dbb99a04c62666823602d1b72bb3fc50a1c
10 years ago
Daniel Hillenbrand
d0b8416520
libril: rewrite preferred network type
...
NETWORK_MODE_GLOBAL => NETWORK_MODE_WCDMA_PREF
Change-Id: I3087e4be3a6ff700b39544279fa0e265b9182180
10 years ago
Howard Su
bd82ef1fa7
libril: move samsung specific into seperate table, update to v11
...
Change-Id: I6c7121a30dbbf9edc9573b8f2dee308366bab9a1
10 years ago
Andreas Schneider
eef440e4ab
libril: Readd support for MODEM_TYPE_XMM7260
...
Change-Id: I395e9cbfd1a42334e5e6bbb706eef9be157ecd24
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
10 years ago
Andreas Schneider
f68609b5d2
libril: Fix #elif for MODEM_TYPE_XMM6260
...
Change-Id: I71e64103aba6b374b6181f557030409be084bb25
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
10 years ago
Andreas Schneider
8cb8de66bb
libril: Use consistent names for modem defines
...
Change-Id: I3ac65d2458878a6a631439be4f830c851aa50759
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
10 years ago
Andreas Schneider
8e5fa432f3
libril: The data variable should be const
...
Change-Id: I72a694e603c1ff18b09e3c3208cae8c5af937513
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
10 years ago
Andreas Schneider
68f80d8f04
libril: Fix processRadioState prototype
...
Change-Id: I19c5c2319fe4110c3859012a27a08d5c7f942177
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
10 years ago
K Yasu
eeb7df7cf4
Fix the build error of some samsung devices which provides libril (e.g. ks01lte)
...
This fixes the merge error of commit 56b8dcfa3094f93698dda9f6731fa845f00ef287
Change-Id: I0efd718a85376059cad57ac9715673cbfb2e596f
(cherry picked from commit f8e5e164804f1408c2350dade3fd92d561e7076c)
10 years ago
Howard Su
e32dbfd56b
libril: Merge xmm6262 and xmm6260 to single lib.
...
The difference between two libs are very minor,
includes one hack around ucsInfo and the logic
to adjust signal strength. Besides that other
diffs are some logs.
The new version of code is minaly based on xmm6262,
especially the logic to adjust singal strength.
Merge them to easy maintain the code.
Change-Id: I76390541d017576591860c8701bb9763c460b8be
(cherry picked from commit 56b8dcfa3094f93698dda9f6731fa845f00ef287)
10 years ago
Andreas Schneider
6b9cd5f8b4
librilsec-client: Add support for xmm7260 modem
...
Change-Id: If287527a26a1f5c79ec493ad2cd1cd7152ba27db
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
10 years ago
Andreas Schneider
2947268122
libril: Add support for xmm7260 modem.
...
Change-Id: Ia3749bd4c43a2e233e722462dd6423fe8c692177
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
10 years ago
Andreas Schneider
3ff947b8d3
macloader: Add support to set nvram calibration file.
...
Change-Id: I0eb99ad6084eb8cd4452a91b13dd75384785f5a8
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit e283a09f99d0cbad2cf8b903ffe2da1c3e44663e)
10 years ago
Franco
70c7d4ddbb
cmhw: Add touchscreen hovering support
...
Change-Id: Ia581d6cc6f30b3de91c08ed5be3c4ba76b9a5d31
10 years ago
Andreas Schneider
ca1a0eea09
macloader: Fix log output and return value.
...
Change-Id: Ic306ffd3bffc274406b9c11513a7ae2794578d16
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
10 years ago
Andreas Schneider
c7212d0365
macloader: Use a variable for device type.
...
Change-Id: Ice29862ad6aaa15b07d6341893b0b8f1c65152e6
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
10 years ago
Andreas Schneider
3a73bd3f2e
macloader: Close file when we don't need it anymore.
...
Change-Id: Ib539b45ed45f1dcfc9eea0475adb9c50d17011b5
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
10 years ago
Andreas Schneider
7558b9dda2
macloader: Use fchown() to change owner of the cidfile.
...
Change-Id: Ia99c0ae414366d91b6d0112f50b00630749ea570
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
10 years ago
Andreas Schneider
7f517d761b
macloader: Use fchmod() to change permissions.
...
Change-Id: I18bca9b022dba24403867b022af9d858aad72bc4
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
10 years ago
Andreas Schneider
2b601794d7
macloader: Fix build warning with LOG defines.
...
They need to be set before log.h is included or we will get redefiniton
warnings.
Change-Id: I87e971d32139a807998468e6a781e1f39dd7a8e5
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
10 years ago
Andreas Schneider
60f13f21c2
macloader: Make macloader a C file.
...
Change-Id: I6bd4a324cc5a596f2900027615b83f73736d12e0
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
10 years ago
Christopher N. Hesse
0ed5670246
macloader: Add SEMCO for BCM43569
...
Values were read out from a Galaxy Note N910C (Exynos) running stock KK.
Change-Id: I3ce4bd360633642c423482070d18af035f50d8d9
10 years ago
Howard Su
cbf8e0a2ed
libril: use ip address as gateway in ppp network.
...
Fix data until these commits are completed:
http://review.cyanogenmod.org/82277
http://review.cyanogenmod.org/82329
Credits to Howard Su
http://review.cyanogenmod.org/80947
Change-Id: Iab88fd8d4ed1089cfdb724aa460597f6e39003bc
10 years ago
bmork
36b50656ab
XMM626x: fix Samsung RIL v9 update
...
The Samsung proprietary RIL commands are mapped using the
same array as the standard commands. This means that the
MAX and UNSOL_MAX macros must be updated whenever standard
commands are added, or the Samsung commands will noe be
correctly mapped.
Change-Id: I68ebc62e1967c5d027fc407eaeef480e735734f8
10 years ago
Ricardo Cerqueira
518d1720da
lights: Clean up light priorities and dedupe code
...
Attention > Notification > Battery
Change-Id: Ie3d17aced31673b281d718b76973d5774707a21d
10 years ago
Andreas Schneider
f3ba720f70
macloader: Add SEMCO3RD and WISOL for BCM4354.
...
Change-Id: I165f10d339acaa700f3e4e4b6f4576fda1da09a5
10 years ago
MarcKe
d973a7b153
macloader: add new murata vendor ID
...
Change-Id: If5968a040e9e8969985f0f307eb4a8a44486d94d
10 years ago
repo Shareef Ali
50c588b53f
AdaptiveBacklight: fix illegal value exception.
...
Change-Id: I8ea84451c8dd4be35a2d2e62547fc81a2b704dd1
10 years ago
MarcKe
a81d58b35e
macloader: add semcosh mac address
...
Change-Id: I510291c32c76140c5b37eb87a00600e8b4c034c0
macloader: add new semcosh mac addresses
Change-Id: I879e224a32acadde09762f5101a776869ee56f67
10 years ago
Howard Su
3896b5fce1
libril: remove -lpthread to fix build.
...
Change-Id: I3b132ef20fb5d784a3335356393c739af2fbe415
10 years ago
Howard Su
a42023004b
libcamera: fix camera.
...
Change-Id: I8992ec58b0254c73075e5e1a7b08227958179c0e
10 years ago
sbrissen
99008c2002
Exynos4: Fix build
...
Change-Id: Idb327b37156e2014a34a8831ce6d60769e3217af
10 years ago
Christopher R. Palmer
9b6b907dd8
libsecril-client: Remove -lpthread
...
Change-Id: I7f0a11a460cd3626f51a19482598cccabb13d5de
10 years ago
Andrew Jiang
ca4a9a096b
XMM626x: Update RIL to V9 [1/2]
...
Patch Set 2: Whitespace
Change-Id: I8ed4c470bdaccdcbb116ad2a70e7a2b6bdaf6062
10 years ago
JustArchi
300ecd3b0b
samsung: Correct macloader values
...
Detect is done on lower-case, so these records didn't work previously at all
Change-Id: I9a58e89679ed8aeeb194fde60cb90576aac79388
10 years ago