Ajay Nambi [Fri, 11 Mar 2016 20:02:55 +0000 (12:02 -0800)]
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
twen.chang [Fri, 4 Mar 2016 10:27:48 +0000 (18:27 +0800)]
Add RIL Error code list
BUG:
27589497
Change-Id: I9cc8c12364676c3c56dbee57fdc01cf055460816
Sanket Padawe [Tue, 8 Mar 2016 02:09:55 +0000 (18:09 -0800)]
Enable integer sanitization in libril.
Bug:
27486276
Change-Id: I5d440099120567f1ecedb898039b5627346c7089
Sanket Padawe [Mon, 29 Feb 2016 18:09:26 +0000 (10:09 -0800)]
Fixing security vulnerabilities in ril.cpp
Bug:
26522805
Change-Id: I8fa19a202b3ebe13dc617b417218b4f40fa8a702
Sanket Padawe [Tue, 9 Feb 2016 17:56:31 +0000 (09:56 -0800)]
Add OEM specific error code space which can by used to
replace Generic errors.
Bug:
27038563
Change-Id: I4052505ed684067cb9145d165f0e335ad52ed404
Sanket Padawe [Mon, 8 Feb 2016 22:28:59 +0000 (14:28 -0800)]
Convert newly added error code to string values in ril.cpp.
Bug:
23216719
Change-Id: Ie2202124cb460872a9f5c406e8f1ae94465d9d0b
Sanket Padawe [Wed, 3 Feb 2016 19:46:02 +0000 (11:46 -0800)]
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
Sanket Padawe [Wed, 27 Jan 2016 23:09:12 +0000 (15:09 -0800)]
Improve wakelock symantics in RIL.
Bug:
22127517
Change-Id: I13fce25c8c6b27987e576b29a2ca5cd813f5b06f
Sanket Padawe [Wed, 27 Jan 2016 02:44:01 +0000 (18:44 -0800)]
Added fields to CELL_INFO_LIST.
Gsm: ta, arfcn, bsic
Wcdma: uarfcn
Lte: earfcn
Bug:
23528586
Change-Id: Iaf7bfaac96bda92d980c566878b9fe481a6d2c21
Sanket Padawe [Thu, 21 Jan 2016 23:49:33 +0000 (15:49 -0800)]
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
Ajay Nambi [Tue, 15 Nov 2011 19:19:30 +0000 (11:19 -0800)]
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
Sanket Padawe [Mon, 11 Jan 2016 20:45:43 +0000 (12:45 -0800)]
Improve RIL versioning.
+ Added documentation for new RIL versioning format.
+ Changes associated to new RIl versioning format.
Bug:
25779475
Change-Id: I4e53c6125995064b8ac0cdfc9376ef2cefe69ec8
Dheeraj CVR [Tue, 4 Oct 2016 07:10:55 +0000 (11:10 +0400)]
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
Colin Cross [Wed, 16 Dec 2015 22:15:42 +0000 (14:15 -0800)]
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
Hyejin [Mon, 14 Sep 2015 23:27:28 +0000 (16:27 -0700)]
Fix build error with RILC_LOG on
Change-Id: Ib724e6db3c7fb4e46e7d62706cf53cc944faf797
Ajay Nambi [Wed, 5 Aug 2015 09:23:50 +0000 (14:53 +0530)]
Fix for rild crash becasue of buffer overflow
There is a buffer overflow which causing rild crash. For
appendPrintBuf, "sprintf" is replaced with "snprintf" for
the safe copy operation.
Bug:
23289936
Change-Id: I25430a5c6f2a8b19a3271235323499b6ee802746
Christopher N. Hesse [Sun, 28 Aug 2016 13:37:48 +0000 (15:37 +0200)]
libril: Export headers
Change-Id: Ie61d8eb47f19fd825713357a538754f05b89d11a
Christopher N. Hesse [Sat, 30 Jul 2016 17:47:13 +0000 (19:47 +0200)]
libril: Remove unused include
If someone needs this, it has to be fixed to read
TARGET_OUT_HEADERS (notice the extra 's').
We are only getting away with it right now because M ignores empty
include paths, but N will barf on this.
Change-Id: I7f010398a40ebaf6811a58a121590944445fbcba
Kevin F. Haggerty [Tue, 19 Jul 2016 04:21:29 +0000 (22:21 -0600)]
DisplayModeControl: Add null check to setMode()
* getCurrentMode() can return null. Don't let setMode() try set a
null mode because bad things happen.
* Let's make cmhw safe again (groan, I know that one was bad)
Change-Id: I20bdee4a0e8cbb0598f35770d71902332db51ddb
Luca Stefani [Fri, 15 Jul 2016 15:55:11 +0000 (08:55 -0700)]
Unbreak AdvancedDisplay
Change-Id: I546ad32983d9f6250319cf36a8ea528ee8473763
blinky@build01 [Thu, 14 Jul 2016 16:38:55 +0000 (09:38 -0700)]
Automatic translation import
Change-Id: I45a29ea2169735036b2fc2dbaeab822f4e6a68ce
Ticket: -
pinky@build01 [Wed, 13 Jul 2016 17:01:49 +0000 (10:01 -0700)]
Automatic translation import
Change-Id: I65fff5aaeb44f5b5e2a26c99b8a179660e0509ea
Ticket: -
Christopher N. Hesse [Wed, 22 Jun 2016 21:04:39 +0000 (23:04 +0200)]
power: Add double tap to wake support
Change-Id: Icb0b6d442544b39576ec74e70e97751d6bc70590
Arne Coucheron [Wed, 13 Jul 2016 05:05:45 +0000 (07:05 +0200)]
AdvancedDisplay: Fix build error
Change-Id: Ic0bac704bcf0b9bbcc374765db7df8b339bd1d42
Ethan Chen [Wed, 13 Jul 2016 01:38:00 +0000 (18:38 -0700)]
power: Fix compilation failure
Change-Id: Ib0923ba5c0976e2d00e6f190b370936a14a9b6df
Christopher N. Hesse [Mon, 11 Jul 2016 13:49:49 +0000 (15:49 +0200)]
power: Fix I/O business parameter setting
This parameter should be set even if we bail out early.
Change-Id: Iae78a13db229538960f1c7ec4c1f95f530810d71
Christopher N. Hesse [Mon, 11 Jul 2016 13:48:35 +0000 (15:48 +0200)]
power: Add support for auto power modes
Do not disable input devices in case of the screen still
being enabled.
Change-Id: Ide6bd7ca3d41ac64b472c5e68fdc545c8f851b2b
Zhao Wei Liew [Thu, 30 Jun 2016 10:47:22 +0000 (18:47 +0800)]
cmhw: Add DisplayModeControl support
Make use of LiveDisplay's implementation of display modes.
Remove AdvancedDisplay's display mode support as it duplicates
functionality provided by the CMHW implementation.
Based on Sean hoyt's original work on klmintwifi.
Change-Id: I455a8c764118adbdb997b2ba9145e24fecb8199b
Zhao Wei Liew [Wed, 29 Jun 2016 12:21:59 +0000 (20:21 +0800)]
hardware: Clean up CMHW and AdvancedDisplay
- Use CMSDK FileUtils
- Simplify, yet harden checks
- Use static final Strings
- Remove unnecessary imports
- Remove unnecessary Strings
- Update copyright
Change-Id: Id2f0f2fdf5be7e2b29a3910a6aa56a3aad10868f
Dheeraj CVR [Sun, 27 Mar 2016 13:31:41 +0000 (17:31 +0400)]
exynos: multimedia: implement proper EOS signalling for encoder
Change-Id: Ib1e33f9c9c6ee2bfe0280f1b73d731e3191aa56d
Arnab Chaudhuri [Sat, 7 May 2016 09:14:00 +0000 (14:44 +0530)]
liblights: Add BLN support
Change-Id: I859416c484777fcf08b5bf8f72ba9f9838e4c1b3
Michael Bestas [Sat, 16 Apr 2016 14:52:54 +0000 (17:52 +0300)]
Automatic translation import
Change-Id: I7ef909edb8aef366d7b03c05b0b36e96df531888
Simon Shields [Fri, 15 Apr 2016 12:44:30 +0000 (22:44 +1000)]
exynos4: gralloc: we have an ALIGN macro, use it
Change-Id: I1ef089b004d1d1e3f2ae525638954536ca881c7a
Christopher N. Hesse [Fri, 15 Apr 2016 16:38:35 +0000 (18:38 +0200)]
ril: Restore alphabetical order for modem barrier
Change-Id: Iae8f7cb6500c16d5b88d8e60d4e7e97ee6539a19
messi2050 [Thu, 14 Apr 2016 16:42:26 +0000 (22:12 +0530)]
libril: add initial support for tss310 modem
- j7elte use tss310
Change-Id: I9bea333de037d4d1c8a9bc2111a3455f56b61c9a
Signed-off-by: messi2050 <mino_forever@yahoo.com>
Andreas Schneider [Fri, 1 Apr 2016 19:19:59 +0000 (21:19 +0200)]
libril: Use a board flag for video call field
xmm7260 on SLTE doesn't have this flag anymore. Devices which need it
should specify the flag.
Change-Id: I166f579274667919756d3bb90e0b182165525975
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Michael Bestas [Tue, 5 Apr 2016 22:25:38 +0000 (01:25 +0300)]
Automatic translation import
Change-Id: Id8e0b97763e94e1c8108e75cd94de03d422748ec
Christopher N. Hesse [Sun, 27 Mar 2016 19:31:04 +0000 (21:31 +0200)]
libril: Remove RIL_REQUEST_DIAL_EMERGENCY
This is not part of the standard API, so remove it.
Samsung devices almost always use the RIL_REQUEST_DIAL_EMERGENCY_CALL
hook, so devices should implement that in their specific RIL subclass.
Change-Id: I2cf9eee00a4b5b02e998d8efcbefa87a9ca7b7b4
Andreas Blaesius [Mon, 28 Mar 2016 22:44:45 +0000 (00:44 +0200)]
ril: fix libril if we don't overwrite the header in our device tree
Change-Id: Ic580b80b28c738828f4c19aeb54421d9f98c7d40
Christopher N. Hesse [Sun, 27 Mar 2016 19:04:38 +0000 (21:04 +0200)]
libril: Move vendor commands header
Devices can now override this header in the device tree.
Change-Id: I6e3814342ee22513e556ba92264b0c2651722af3
Michael Bestas [Sun, 27 Mar 2016 21:50:48 +0000 (00:50 +0300)]
Automatic translation import
Change-Id: I9f757393f0b772d813db58fe42bff9fbc1826ad1
deadman96385 [Mon, 21 Mar 2016 19:21:38 +0000 (14:21 -0500)]
Move Advanced Display so exynos5/7 can use it
Change-Id: Idc255301f30cff6b41d04db6f14fa421ee9eddb5
Javi Ferrer [Thu, 20 Nov 2014 22:35:51 +0000 (04:05 +0530)]
exynos4: squash opensource libUMP
commit
f40eeecbe44ee3ca5f4406e8881f6ffe1507d87c
Author: Dheeraj CVR <cvr.dheeraj@gmail.com>
Date: Sun Dec 14 16:41:30 2014 +0530
exynos4: libUMP: fix headers for newer mali driver
Change-Id: Ia81fa1949d04d809b4c5045269a70d7bab758f4a
commit
8c3792c590c0591647ab5ab59ff74d11e5f8afdd
Author: Dheeraj CVR <cvr.dheeraj@gmail.com>
Date: Sun Dec 14 16:38:51 2014 +0530
exynos4: libUMP: use relative include paths
Change-Id: If46c68512d0404df0d46734531a6160eb18b7ce5
commit
feb6f2c45d4f87655a2f391114946933a128e60c
Author: Javi Ferrer <javi.f.o@gmail.com>
Date: Fri Nov 21 04:05:51 2014 +0530
exynos4: open source libUMP
- Deleted unneeded include ion.h
- Correct libsecion build
- Correct gralloc build and bring back ump_ref_drv_ion_import
Change-Id: I1da602ec77d78e5056ea0c37f328c6c1b0e60e00
Simon Shields [Fri, 18 Mar 2016 12:12:15 +0000 (23:12 +1100)]
exynos4: commonize AdvancedDisplay [1/3]
* show in settings
* drop support lib
* drop unnecessary viewpager/tab bar
* drop unused strings/resources
Change-Id: I90c62d7b106ad744ae698044f6f17a759fcbf8a3
Christopher N. Hesse [Tue, 15 Mar 2016 18:43:04 +0000 (19:43 +0100)]
modemloader: Use hw.revision instead of ro.revision
This change requires you to hexedit your cbd binary,
but in turn frees us from having to ignore ro.revision
in init.
Change-Id: I9c43fbbf5895888ea4bceff2a08a5ed8de77b921
RGIB [Fri, 11 Mar 2016 14:56:23 +0000 (15:56 +0100)]
macloader: add n5100 murata wifi address
Change-Id: I8296825f3d17bfdaccfa990d45598652ab40faaa
Christopher N. Hesse [Tue, 8 Mar 2016 14:50:23 +0000 (15:50 +0100)]
libsecril-client: Use the correct incall audio paths
The modems used in recent Samsung devices use different paths
than older devices apparently.
These values were extracted from hexdumps at the correct data
positions from the device specific libsecril-client.so blobs.
Change-Id: I0547cb1de40130843fee3f1310e1e6aed95195c7
Christopher N. Hesse [Mon, 22 Feb 2016 20:57:39 +0000 (21:57 +0100)]
libril: Make ST-E Thor M7450 and Intel XMM7260 next gen modems as well
Change-Id: I7cacda8cdaf9e285688c06c42ccf6629efc2af9d
Andreas Schneider [Wed, 3 Feb 2016 09:43:47 +0000 (10:43 +0100)]
powerhal: Add set_profile support
Change-Id: I0d7fb8c5a7e5e06c300cbb4b78b6e1013d7bff6a
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Christopher N. Hesse [Mon, 29 Feb 2016 16:55:11 +0000 (17:55 +0100)]
macloader: Add another SEMCO mac address half
Order existing SEMCO values while we're at it.
Change-Id: I2b5c8a3e458cbcf41ea78eb953117a6779db2cc0
Pavel Zhamaitsiak [Tue, 18 Aug 2015 18:40:01 +0000 (11:40 -0700)]
Fix memory leaks and use of uninitialized pointers.
Bug:
23187886
Change-Id: Ic15a02a902b591362b5c52c20afabe511fb0bbb7
Simon Shields [Wed, 17 Feb 2016 10:10:26 +0000 (21:10 +1100)]
ril: fix $(filter ...) derp
Change-Id: Ic2be936268701bd5f40056e5993ef35f5bd3969d
Brandon McAnsh [Sun, 14 Feb 2016 02:01:05 +0000 (21:01 -0500)]
ril: Group next gen Samsung modem's in same CFLAG
* Sprint variant of zeroflte uses mdm9x35 instead of ss333
Change-Id: Ifa7c1ea51dd57ea4fbeb41560c3a7c4fa65a85c8
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
Simon Shields [Tue, 9 Feb 2016 07:18:07 +0000 (18:18 +1100)]
cmhw: add SunlightEnhancement/MDNIE Outdoor mode support
Change-Id: I86ea442992a945cf6dcad939aa95f04caa72834c
Say [Sun, 13 Dec 2015 08:25:01 +0000 (17:25 +0900)]
libril: add initial support for ss333 modem
zeroflte uses ss333
Change-Id: If3c9d34ea31c06ce23bd8d0236a9f2ddbab3ddc4
Signed-off-by: Say <sktjdgns1189@naver.com>
Christopher N. Hesse [Mon, 1 Feb 2016 11:36:54 +0000 (12:36 +0100)]
power: Ensure node_path is a string literal
Change-Id: I20a87b04789e7fe2ae5938331e9d2fcef8134035
Christopher N. Hesse [Tue, 26 Jan 2016 11:17:55 +0000 (12:17 +0100)]
Initial unified Samsung lights HAL
Originally written by Andreas Schneider for Slte.
Change-Id: Iccff1e4532bc460896940451093470ece9086fb9
Andreas Schneider [Mon, 4 Jan 2016 12:59:17 +0000 (13:59 +0100)]
modemloader: Fix compilation warnings
Change-Id: I2c52b329cfe27e2df2f13213036b533c53e39d42
Christopher N. Hesse [Mon, 21 Dec 2015 20:28:23 +0000 (21:28 +0100)]
Initial unified Samsung power HAL
This is a power HAL for non-qcom Samsung devices.
It currently supports standard multi-core systems as well as
big.LITTLE configurations.
This HAL auto-detects your touchscreen and touchkey input switches
and handles the interactive state requests.
I also implemented a check to make sure your touchkeys won't turn
on when they're not supposed to (for example when a CMHW class disables
the capacitive buttons and activates a software navigation solution).
This previously needed a kernel hack to make sure the touchkeys wouldn't
be activated when resuming from suspend.
Change-Id: I22888c5ac490c85c417c5457ea4f457f78ed3521
Android-Andi [Thu, 7 Jan 2016 10:51:38 +0000 (11:51 +0100)]
libsecril-client: spell AUDIO correctly
Change-Id: I10c3a4bdeb71685049f641018d7a5ef593f999a6
Christopher N. Hesse [Mon, 4 Jan 2016 10:52:28 +0000 (11:52 +0100)]
Allow all devices to build the modemloader
It's needed by all Samsung devices using the proprietary
cpboot-daemon service, which applies to more than just
the currently supported modems (e.g. Shannon and friends).
Change-Id: I1f96f9b9926e12428cce9fa6976422c8eb53887e
Christopher N. Hesse [Fri, 1 Jan 2016 15:36:37 +0000 (16:36 +0100)]
Initial modemloader service
Change-Id: Icef590f4af8032cb06dc2554c6c64d9db48b7c83
Andreas Schneider [Sat, 19 Dec 2015 13:29:21 +0000 (14:29 +0100)]
Add wifiloader
This is needed on some Samsung device to load the wifi module. Before
this was solved using a bash script which does:
cat /proc/deferred_initcalls
but the new sepolicy rules don't allow init execute bash scripts. For
this we need a new tool which does the job and we can create sepolicy
rule for it.
Change-Id: I137cfaaff74955ad431bc09d74b0c970618dc3bf
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Christopher N. Hesse [Sat, 12 Dec 2015 10:49:42 +0000 (11:49 +0100)]
ril: Unify network elements property check
frameworks/opt/telephony is using a slightly different named property
to check for the QANElements count.
Align the check here to the frameworks one to avoid redundancies.
Change-Id: I22f7cf070953026798d0ae4759e3c9845dba767c
Dheeraj CVR [Sat, 30 May 2015 19:08:59 +0000 (23:08 +0400)]
exynos: multimedia: speed up color conversion from ARGB8888 to YUV420SP
Use NEON instructions for color conversion from ARGB8888 to YUV420SP. This
greatly improves performance and can help achieve 30fps+ framerates when
dealing with OMX_COLOR_FormatAndroidOpaque during Screen Recording and
Screen Casting.
Change-Id: Ifdaaf03e1ce6909822df3f046ef35dd977b84d17
Caio Schnepper [Mon, 30 Nov 2015 13:05:10 +0000 (11:05 -0200)]
libgralloc: Fix refresh rate calculation
Calculated refresh rate can be 3% off
Reference: https://code.google.com/p/android/issues/detail?id=69391
Change-Id: I3b4efefcc0aef695ba48abdfb61f6d38b9d0a79c
forkbomb [Mon, 23 Nov 2015 07:37:37 +0000 (18:37 +1100)]
libril: fix compilation with debugging enabled
Change-Id: Iac159175a23b2810e56c38fb82cae58c20dddb8e
rogersb11 [Tue, 13 Oct 2015 02:03:21 +0000 (22:03 -0400)]
samsung: Compilation fixes
* Add missing headers
* Cast values to correct types
Change-Id: Iaf621c562e884daeb22f6ec700d6989ba6ba1aef
Andreas Schneider [Fri, 23 Oct 2015 06:36:26 +0000 (08:36 +0200)]
ril: Use debug log level and not error
Change-Id: I8f017cb181967790260183fd06d1226d303bd2b8
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Thu, 22 Oct 2015 14:20:51 +0000 (16:20 +0200)]
ril: Fix network operator search
Newer RIL versions have more QAN elements so we need a way
to adjust them to the correct value.
This needs to be set to same value as mQANElements in the RIL Telephony
class.
Change-Id: Icfad9c0acf1b95f63c232b6c4c49ed52bd4e3aa4
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Caio Schnepper [Mon, 19 Oct 2015 23:06:03 +0000 (21:06 -0200)]
exynos4: Fix build of hwc and gralloc
HAL_PIXEL_FORMAT_RGBA_5551 and HAL_PIXEL_FORMAT_RGBA_4444 are used
by our hwc and gralloc, but they no longer exist in /system/core/include,
so we are moving these two formats to the hardware specific repo
Change-Id: I1c214af3b9819290173d2d60122d45a8ac635faf
Nathan Harold [Tue, 28 Jul 2015 21:54:58 +0000 (14:54 -0700)]
Modify RIL Unsol Message Wakelock to 200ms
bug:
22456054
Change-Id: Id41e001f98b455bec5f004438f5d8498b17aaf2d
Prerepa Viswanadham [Thu, 28 May 2015 07:37:32 +0000 (00:37 -0700)]
Modem activity info
Change-Id: Iab8fbdeae0867c6e9cb9027b08317b1b5a2c9dfc
Chih-Hung Hsieh [Wed, 6 May 2015 22:12:30 +0000 (15:12 -0700)]
Add missing extern "C" declaration.
BUG:
20891299
Change-Id: Iedfd2e8e5bd32014f011352898763bcc0887b6b9
Robert Greenwalt [Wed, 29 Apr 2015 23:57:39 +0000 (16:57 -0700)]
Remove verbose logs
Several things are redundent except for the fact
messages are reaching rilc. Left in in case we need to debug
the layer, but blocked out with #if VDBG
Reduces startup logging to radio buffer by 20%
Change-Id: I95099457ea365ee108e7da8e1f81434531b6b9f0
fenglu [Tue, 14 Apr 2015 21:53:55 +0000 (14:53 -0700)]
Link Capacity Estimation - RIL support
Change-Id: I9c4d4901d823d719be2b8bdec64f08eda342de53
Vinit Deshpande [Wed, 15 Apr 2015 20:31:05 +0000 (13:31 -0700)]
Fix build issues after the merge
Change-Id: Ia856311187a0b2168cb859bd8b2300ff59df6569
Mark Salyzyn [Thu, 9 Apr 2015 14:18:35 +0000 (07:18 -0700)]
libril: tag RILC messages to radio log
Change-Id: Ia3234aa933249eb9f383c7e45c3f67b3c0c50634
Dheeraj Shetty [Wed, 2 Jul 2014 19:27:57 +0000 (21:27 +0200)]
Introduction of the new SAP-UIM socket
Added new socket connection for communication between the SAP module
in Telephony and User Identity Module with DSDA support.
New classes added are:
RilSocket
---------
Base class(virtual) for any type of socket. Has listen
and commands callbacks similar to that of the existing
telephony->rild socket.
RilSapSocket
------------
Derived class for socket for communication between BT SAP
and the sim module in the modem. It initialises
socket, calls Sap_Uim_Init to get the handles and
starts the socket thread.
rilSocketQueue
--------------
Queue for managing socket requests.
Change-Id: I8828173941d6ae76f1f9cc0d567efaf41a77d175
Nanik Tolaram [Tue, 3 Feb 2015 01:50:04 +0000 (12:50 +1100)]
Removal of dead code and adding log messages to make it easier
for debugging
- Add more logging using ALOGD(..) for function dispatchSmsWrite,
dispatchDial, dispatchSIM_IO, dispatchSIM_APDU, dispatchCallForward,
dispatchRaw and dispatchCdmaSmsAck. To make it easier for debugging.
- Remove commented log message inside wakeTimeoutCallback () function
and remove the else clause as it's dead not used for anything.
- Modify log message inside removeFromList and removeWatch using +
and - to make it consistent with the other log message.
Change-Id: Ife0212e6a4724d8b06a1dd767484bfdf98b8e1a6
Signed-off-by: Nanik Tolaram <nanikjava@gmail.com>
Elliott Hughes [Fri, 9 Jan 2015 23:27:28 +0000 (15:27 -0800)]
We have POSIX clocks.
We're probably not running the RIL on a Mac.
Change-Id: Ib6be56cd26d67e2b72b559cb364b1e34ab613016
Caio Schnepper [Wed, 14 Oct 2015 19:07:24 +0000 (16:07 -0300)]
libgralloc_ump: Fix build
Included legacy <pixelflinger/format.h> to continue
using "GGL_PIXEL_FORMAT_L_8" pixel format
Change-Id: If08f90333bbcd9857f0dbcb462aaf6e8ad4d689f
Christopher N. Hesse [Wed, 16 Sep 2015 09:00:56 +0000 (11:00 +0200)]
macloader: Including missing errno header
Change-Id: I25ea307e4f4f8754563fc69f53db9e5c087c3bfb
Caio Schnepper [Sat, 10 Oct 2015 05:14:28 +0000 (02:14 -0300)]
macloader: include errno.h
Fix build
Change-Id: Ib60f66ddc2065bc92cd32e507ae9f3a5023f54c2
Andreas Schneider [Wed, 16 Sep 2015 14:48:44 +0000 (16:48 +0200)]
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
Andreas Schneider [Mon, 24 Aug 2015 17:55:42 +0000 (19:55 +0200)]
libsecril-client: Fix SetCallAudioPath for current devices
Change-Id: I38f10432f8e9a257af3e74312616d07698edd20f
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Christopher N. Hesse [Fri, 26 Jun 2015 12:53:56 +0000 (14:53 +0200)]
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
Andreas Schneider [Tue, 23 Jun 2015 16:41:38 +0000 (18:41 +0200)]
ril: Fix compilation with debug messages turned on
Change-Id: Ifabf416ebdfe681e63df1d127567d0ef54cfc0ec
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Dheeraj CVR [Sat, 30 May 2015 19:44:33 +0000 (23:44 +0400)]
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
NBruderman [Mon, 8 Jun 2015 12:54:55 +0000 (15:54 +0300)]
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
Utkarsh Gupta [Sun, 10 May 2015 11:23:37 +0000 (16:53 +0530)]
libril: Fix network operator search
Change-Id: Ib904875c403942ec96dfa229080d9543d7c9b8fa
Utkarsh Gupta [Thu, 23 Apr 2015 07:51:49 +0000 (13:21 +0530)]
libril: Fix signal strength for xmm6260 too
Change-Id: I3b35eb2c18df9110c7ec1bd3cf989cd34cc18fd7
Caio Schnepper [Mon, 27 Apr 2015 02:01:22 +0000 (23:01 -0300)]
libfimg3x: Remove android_pmem.h include
Change-Id: I514e96676578a97b9481643e58a0e49a8d017678
Caio Schnepper [Tue, 14 Apr 2015 11:03:43 +0000 (08:03 -0300)]
libril: Add missing semicolon
Change-Id: I681e98abf600cd78a0783919d00b0acd215c6aaf
Andreas Schneider [Mon, 13 Apr 2015 21:04:05 +0000 (23:04 +0200)]
libril: Avoid strncat which doesn't check if we overflow
Change-Id: I547e071316e8b4492b9837aae2096f27c02b67db
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Mon, 13 Apr 2015 20:54:49 +0000 (22:54 +0200)]
libril: Make data a const pointer in RIL_onUnsolicitedResponse()
Change-Id: I5b57da9e2672ea8455481e55794c33759cb741db
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Utkarsh Gupta [Mon, 13 Apr 2015 08:03:37 +0000 (13:33 +0530)]
libril: Fix signal strength
Change-Id: I81ce6dbb99a04c62666823602d1b72bb3fc50a1c
Daniel Hillenbrand [Sun, 12 Apr 2015 09:53:23 +0000 (11:53 +0200)]
libril: rewrite preferred network type
NETWORK_MODE_GLOBAL => NETWORK_MODE_WCDMA_PREF
Change-Id: I3087e4be3a6ff700b39544279fa0e265b9182180
Howard Su [Sun, 12 Apr 2015 08:25:05 +0000 (10:25 +0200)]
libril: move samsung specific into seperate table, update to v11
Change-Id: I6c7121a30dbbf9edc9573b8f2dee308366bab9a1
Andreas Schneider [Tue, 7 Apr 2015 17:01:54 +0000 (19:01 +0200)]
libril: Readd support for MODEM_TYPE_XMM7260
Change-Id: I395e9cbfd1a42334e5e6bbb706eef9be157ecd24
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>