summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* macloader: add n5100 murata wifi addressstable/cm-13.0-ZNH0ERGIB2016-03-111-0/+1
| | | | Change-Id: I8296825f3d17bfdaccfa990d45598652ab40faaa
* libsecril-client: Use the correct incall audio pathsChristopher N. Hesse2016-03-082-1/+4
| | | | | | | | | | 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
* libril: Make ST-E Thor M7450 and Intel XMM7260 next gen modems as wellChristopher N. Hesse2016-03-062-20/+13
| | | | Change-Id: I7cacda8cdaf9e285688c06c42ccf6629efc2af9d
* powerhal: Add set_profile supportAndreas Schneider2016-03-061-30/+73
| | | | | Change-Id: I0d7fb8c5a7e5e06c300cbb4b78b6e1013d7bff6a Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* macloader: Add another SEMCO mac address halfChristopher N. Hesse2016-03-011-2/+3
| | | | | | Order existing SEMCO values while we're at it. Change-Id: I2b5c8a3e458cbcf41ea78eb953117a6779db2cc0
* Fix memory leaks and use of uninitialized pointers.Pavel Zhamaitsiak2016-02-222-58/+95
| | | | | Bug: 23187886 Change-Id: Ic15a02a902b591362b5c52c20afabe511fb0bbb7
* ril: fix $(filter ...) derpSimon Shields2016-02-171-1/+1
| | | | Change-Id: Ic2be936268701bd5f40056e5993ef35f5bd3969d
* ril: Group next gen Samsung modem's in same CFLAGBrandon McAnsh2016-02-153-11/+13
| | | | | | | * Sprint variant of zeroflte uses mdm9x35 instead of ss333 Change-Id: Ifa7c1ea51dd57ea4fbeb41560c3a7c4fa65a85c8 Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
* cmhw: add SunlightEnhancement/MDNIE Outdoor mode supportSimon Shields2016-02-111-0/+89
| | | | Change-Id: I86ea442992a945cf6dcad939aa95f04caa72834c
* libril: add initial support for ss333 modemSay2016-02-093-8/+16
| | | | | | | zeroflte uses ss333 Change-Id: If3c9d34ea31c06ce23bd8d0236a9f2ddbab3ddc4 Signed-off-by: Say <sktjdgns1189@naver.com>
* power: Ensure node_path is a string literalChristopher N. Hesse2016-02-011-2/+4
| | | | Change-Id: I20a87b04789e7fe2ae5938331e9d2fcef8134035
* Initial unified Samsung lights HALChristopher N. Hesse2016-01-284-0/+559
| | | | | | Originally written by Andreas Schneider for Slte. Change-Id: Iccff1e4532bc460896940451093470ece9086fb9
* modemloader: Fix compilation warningsAndreas Schneider2016-01-251-3/+3
| | | | Change-Id: I2c52b329cfe27e2df2f13213036b533c53e39d42
* Initial unified Samsung power HALChristopher N. Hesse2016-01-213-0/+484
| | | | | | | | | | | | | | | | | | 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
* libsecril-client: spell AUDIO correctlyAndroid-Andi2016-01-073-5/+5
| | | | Change-Id: I10c3a4bdeb71685049f641018d7a5ef593f999a6
* Allow all devices to build the modemloaderChristopher N. Hesse2016-01-041-4/+1
| | | | | | | | 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
* Initial modemloader serviceChristopher N. Hesse2016-01-033-0/+125
| | | | Change-Id: Icef590f4af8032cb06dc2554c6c64d9db48b7c83
* Add wifiloaderAndreas Schneider2015-12-193-0/+67
| | | | | | | | | | | | | | 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>
* ril: Unify network elements property checkChristopher N. Hesse2015-12-121-1/+1
| | | | | | | | 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
* exynos: multimedia: speed up color conversion from ARGB8888 to YUV420SPDheeraj CVR2015-12-084-1/+374
| | | | | | | | | 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
* libgralloc: Fix refresh rate calculationCaio Schnepper2015-11-301-2/+2
| | | | | | | Calculated refresh rate can be 3% off Reference: https://code.google.com/p/android/issues/detail?id=69391 Change-Id: I3b4efefcc0aef695ba48abdfb61f6d38b9d0a79c
* libril: fix compilation with debugging enabledforkbomb2015-11-231-6/+6
| | | | Change-Id: Iac159175a23b2810e56c38fb82cae58c20dddb8e
* samsung: Compilation fixesrogersb112015-11-094-12/+14
| | | | | | | * Add missing headers * Cast values to correct types Change-Id: Iaf621c562e884daeb22f6ec700d6989ba6ba1aef
* ril: Use debug log level and not errorAndreas Schneider2015-10-231-1/+1
| | | | | Change-Id: I8f017cb181967790260183fd06d1226d303bd2b8 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* ril: Fix network operator searchAndreas Schneider2015-10-231-1/+9
| | | | | | | | | | | 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>
* exynos4: Fix build of hwc and grallocCaio Schnepper2015-10-193-0/+45
| | | | | | | | 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
* Modify RIL Unsol Message Wakelock to 200msNathan Harold2015-10-191-1/+3
| | | | | | bug: 22456054 Change-Id: Id41e001f98b455bec5f004438f5d8498b17aaf2d
* Modem activity infoPrerepa Viswanadham2015-10-192-0/+33
| | | | Change-Id: Iab8fbdeae0867c6e9cb9027b08317b1b5a2c9dfc
* Add missing extern "C" declaration.Chih-Hung Hsieh2015-10-191-0/+2
| | | | | BUG: 20891299 Change-Id: Iedfd2e8e5bd32014f011352898763bcc0887b6b9
* Remove verbose logsRobert Greenwalt2015-10-191-0/+15
| | | | | | | | | | 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
* Link Capacity Estimation - RIL supportfenglu2015-10-193-0/+59
| | | | Change-Id: I9c4d4901d823d719be2b8bdec64f08eda342de53
* Fix build issues after the mergeVinit Deshpande2015-10-192-2/+4
| | | | Change-Id: Ia856311187a0b2168cb859bd8b2300ff59df6569
* libril: tag RILC messages to radio logMark Salyzyn2015-10-191-10/+10
| | | | Change-Id: Ia3234aa933249eb9f383c7e45c3f67b3c0c50634
* Introduction of the new SAP-UIM socketDheeraj Shetty2015-10-198-41/+1498
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Removal of dead code and adding log messages to make it easierNanik Tolaram2015-10-192-5/+10
| | | | | | | | | | | | | | | | | 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>
* We have POSIX clocks.Elliott Hughes2015-10-191-4/+0
| | | | | | We're probably not running the RIL on a Mac. Change-Id: Ib6be56cd26d67e2b72b559cb364b1e34ab613016
* libgralloc_ump: Fix buildCaio Schnepper2015-10-192-1/+137
| | | | | | | Included legacy <pixelflinger/format.h> to continue using "GGL_PIXEL_FORMAT_L_8" pixel format Change-Id: If08f90333bbcd9857f0dbcb462aaf6e8ad4d689f
* macloader: Including missing errno headerChristopher N. Hesse2015-10-150-0/+0
| | | | Change-Id: I25ea307e4f4f8754563fc69f53db9e5c087c3bfb
* macloader: include errno.hCaio Schnepper2015-10-101-0/+1
| | | | | | Fix build Change-Id: Ib60f66ddc2065bc92cd32e507ae9f3a5023f54c2
* ril: Support new sound manger RIL responsesAndreas Schneider2015-09-161-0/+6
| | | | | | | | | | | | | | | | 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
* libsecril-client: Fix SetCallAudioPath for current devicesstable/cm-12.1-YOG4PAndreas Schneider2015-08-253-3/+16
| | | | | Change-Id: I38f10432f8e9a257af3e74312616d07698edd20f Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* libril: Add support for ST-Ericsson Thor M7450 modemsChristopher N. Hesse2015-06-263-8/+11
| | | | | | | | | | 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
* ril: Fix compilation with debug messages turned onAndreas Schneider2015-06-231-6/+6
| | | | | Change-Id: Ifabf416ebdfe681e63df1d127567d0ef54cfc0ec Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* exynos: multimedia: fix resubmitting CSD for NuPlayerDheeraj CVR2015-06-191-2/+1
| | | | | | | Ignore OMX_BUFFERFLAG_CODECCONFIG to fix issues while resubmitting CSD. This fixes issues with seeking during playback when using NuPlayer. Change-Id: Id307100cb48608e6e3f09948838486da4948578c
* libril: Fix element countNBruderman2015-06-081-1/+1
| | | | | | | | | | 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
* libril: Fix network operator searchUtkarsh Gupta2015-05-122-2/+13
| | | | Change-Id: Ib904875c403942ec96dfa229080d9543d7c9b8fa
* libril: Fix signal strength for xmm6260 tooUtkarsh Gupta2015-05-021-3/+7
| | | | Change-Id: I3b35eb2c18df9110c7ec1bd3cf989cd34cc18fd7
* libfimg3x: Remove android_pmem.h includeCaio Schnepper2015-04-271-1/+0
| | | | Change-Id: I514e96676578a97b9481643e58a0e49a8d017678
* libril: Add missing semicolonCaio Schnepper2015-04-141-1/+1
| | | | Change-Id: I681e98abf600cd78a0783919d00b0acd215c6aaf
* libril: Avoid strncat which doesn't check if we overflowAndreas Schneider2015-04-131-1/+1
| | | | | Change-Id: I547e071316e8b4492b9837aae2096f27c02b67db Signed-off-by: Andreas Schneider <asn@cryptomilk.org>