Ruthwar Kumar Ambeer
9c58ea3fc0
Sending empty strings instead of NULL for some RIL requests
...
Some vendor RILs expect empty string instead of NULL pointer
for certain RIL requets. For RIL_REQUEST_ENTER_SIM_PIN,
RIL_REQUEST_ENTER_SIM_PUK, RIL_REQUEST_ENTER_SIM_PIN2,
RIL_REQUEST_ENTER_SIM_PUK2, RIL_REQUEST_CHANGE_SIM_PIN,
RIL_REQUEST_CHANGE_SIM_PIN2,
RIL_REQUEST_ENTER_NETWORK_DEPERSONALIZATION
RIL_REQUEST_SETUP_DATA_CALL,
RIL_REQUEST_SET_INITIAL_ATTACH_APN, RIL_REQUEST_SET_DATA_PROFILE,
RIL_REQUEST_ENTER_NETWORK_DEPERSONALIZATION,
RIL_REQUEST_SET_FACILITY_LOCK,
RIL_REQUEST_CHANGE_BARRING_PASSWORD, sending empty string instead
of NULL.
Test: Manual
Bug: 37782683, 65653485
Change-Id: I6627c8a12e096b9ac8ebe08e734782cfa951c488
6 years ago
Stricted
3dbd37f355
libril: remove unused variables/functions
...
Change-Id: I63230b917614bcfa2aa09f3d894804252d963caa
6 years ago
Paul Keith
7240949c54
libril: Fix freeing of strings for roaming protocol flag
...
Change-Id: Id6150885203a64733bffeb7ce6dc4e91fab305df
6 years ago
Paul Keith
63d0da85d7
ril: service: Fix RIL_UNSOL_NITZ_TIME_RECEIVED Parcel
...
* Sometimes, the modem is sending 1-2 extra fields with
the country mcc, which confuses ServiceStateTracker
* Drop the extra data here, instead of in our RIL class
[haggertk]: Forward port to ril-caf on lineage-15.
Change-Id: Ifbec67bb0dac271226bd8b5471deaf6a2ef33f2b
6 years ago
Paul Keith
8cc0417cf2
ril: service: Add workaround for "ring of death" bug
...
[javelinanddart]: Forward port to ril-caf on lineage-15.1
Change-Id: Ifeeee11ee83deddb8eff565847641c45a105378f
6 years ago
Paul Keith
96ff312382
ril: service: Get off my back
...
* Checking numInts and numStrings for strict equality when
we're not looping is dumb, because Samsung is notorious
for sending extra information in their RIL
* Check if there's *enough* data rather than the *exact amount*
to fix a bunch of invalid response errors
Change-Id: I14bc37240e5760b4629fcb74b64f25ad95d4fdfc
7 years ago
Christopher N. Hesse
d26f4c920f
ril: service: Fix breakage introduced by f7c75aa4e0
...
Before:
if (response == NULL || numStrings != 3) {
After:
if (response == NULL || numStrings != mqanelements - 2) {
This patch fixes the logic so we don't change the value check.
"mqanelements" is not related to getOperatorResponse, so get get rid of
the affected code.
Change-Id: I86c6ae7b7492a5d04fbc8dc415c4f615e7d05bab
7 years ago
Christopher N. Hesse
7f2c1bf988
ril: Add support for imsType parcel member
...
This is needed for Samsung devices like the Galaxy A5 2017.
Change-Id: I3b89cf8ac232fef5629b439dbf5d2f21bdb264a2
7 years ago
Christopher N. Hesse
ffe632e356
ril: Add support for roamingProtocol parcel member
...
This is needed for Samsung devices like the Galaxy A5 2017.
Change-Id: I549130b838377d8a8668ac59b51c314fe9e7f5ab
7 years ago
Martin Bouchet
f7c75aa4e0
libril: fix network operator search
...
The number of mQANElements should be defined in the system
prop ro.ril.telephony.mqanelements
Change-Id: Ie5bb8ba80c5ac93b7502da3b1bb3d2b4404ecd5e
7 years ago
Martin Bouchet
d912396454
libril: fix in call presentation
...
Change-Id: Ifd4a20c0bcd34f380716cc96cdd4c99b4b909266
7 years ago
Martin Bouchet
0063444a40
libril: port Samsung responseDataCallList to O libril
...
Change-Id: I1a1980e25b2ae1c496420fe3bfb0e8999e62f864
7 years ago
Martin Bouchet
db968d4efd
libril: port samsung changes to signalStrength
...
Change-Id: I39c1f5dcb44bcd0cf265243276d7649a9c2fdc8c
7 years ago
Martin Bouchet
6e9a4971ec
libril: bring back signalStrength v5 and v6
...
Change-Id: Ie0513986e9cabe9b363198e0192b18a0a8fe97de
7 years ago
Martin Bouchet
0d4bbaf7f1
ril: import Oreo AOSP libril
...
Change-Id: I00750bad812dc263e9c74a504b48512a892376c8
7 years ago