summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Encode the Number of MNC Digits in CellIdentitylineage-16.0-cafNathan Harold2019-02-123-15/+181
| | | | | | | | | | | | | | | | | | | Legacy RIL uses an integer to encode the number of MNC digits. Because the size is not fixed, leading zeroes result in ambiguity in the length of the mnc. This change adds support for passing the number of encoded digits in the most-significant nibble of the mnc integer (which is only 10 bits). Thus, on any implementation that is 16-bits or wider, the mnc info will be properly encoded and decoded with the correctly-sized string. Bug: 111971808 Test: ril::util::mnc::test Change-Id: I24aeba5328a63f80b0d6b25b068bd19160191dff Merged-In: I24aeba5328a63f80b0d6b25b068bd19160191dff (cherry picked from commit 98cfceefdf06d5e4ec3bfff3d1cd425baefb155e)
* libril: Fix manual network selection with old modemfaust932019-01-262-0/+16
| | | | | | | | * Old modem sends and applies mccmnc+network type, but new aosp telephony uses only digits. * Manually cut or append the "+" and strings after that to work around. Change-Id: I1015e6c0d6afdc0c03d70e9491d49331703eddcc
* librilutils: Relocate pb-generated objects to their expected pathRicardo Cerqueira2018-08-311-0/+4
| | | | | | | Relocation is less intrusive, and scales better across repositories using these headers Change-Id: Id11dd44bc44873a5ccef933d27e468bf916e6bdf
* libril: Restore support for RIL v6, v8 and v9 stacksAdrian DC2018-08-311-12/+130
| | | | | | | | * Allow RIL_SignalStrength_v8 structures to pass checks * Fill v10 SCDMA field rscp with invalid value INT_MAX Change-Id: I8c2a5eeadc7b441ab80e3dcd8c8e9e75bd6b0b79 Signed-off-by: Adrian DC <radian.dc@gmail.com>
* libril: Protect against NULL unsolicited response functionD. Andrei Măceș2018-08-301-3/+5
| | | | | | | | | | | | Upstream change I732234a22328a1bfcb603bb020547f543b6fd766 makes RIL_UNSOL_DC_RT_INFO_CHANGED's responseFunction() NULL, without protecting against it in RIL_onUnsolicitedResponse(), thus crash- ing at least hammerhead's RIL stack upon mobile data connection. https://android-review.googlesource.com/#/c/platform/hardware/ril/+/345950/ Change-Id: I6567019cb6daf6492a29e04cc9872e69b2ba456d Signed-off-by: D. Andrei Măceș <Andrei.Maces@alumni.nd.edu>
* Revert "Disable rild from starting at power up"Kevin F. Haggerty2018-08-282-2/+0
| | | | | | | | | | * Ain't nobody wants to have rild started from a separate shell script in init like CAF wants to do in: https://source.codeaurora.org/quic/la/device/qcom/common/tree/rootdir/etc/init.class_main.sh?h=LA.UM.7.2.r1-04000-sdm660.0 This reverts commit 8eb100eb4a79d60e8c441ab72c270167ed8b67b3. Change-Id: I3e7eae85b851c8cd3d0b8ca7a6ea9308c4f22c47
* Make RIL command headers overlayable by devices.Danny Baumann2018-08-281-2/+2
| | | | Change-Id: I73e11e10dd18d0ed73fa063091bc2bde35014b5f
* libril: Bounds check s_commandsPaul Keith2018-08-281-0/+5
| | | | | | * We shouldn't be assuming this is always going to be valid Change-Id: Ibd43133340d86f7c60ead5f7de63c73b05d00f2e
* ril-caf: Add guard makefileSteve Kondik2018-08-261-0/+5
| | | | Change-Id: I4f53cf6a5cfd204f13ca13b3dcdb6dc83529837a
* libril: allow board to provide librilTom Giordano2018-08-261-0/+3
| | | | Change-Id: If0033865ab179854c27c56eaaf078fcc30ea102a
* Merge a1dd1f0aaf0a52f479d307557cd1f594c7c45d8f on remote branchLinux Build Service Account2018-08-072-0/+15
|\ | | | | | | Change-Id: I9f1c1ba73d2ecdd0866d75b11b64f3befb024402
| * Snap for 4914984 from c9eed2722b97c4d4e8f8bfc2558d02b17fa5ef21 to ↵Android Build Role Account android-build-prod2018-07-262-0/+15
| |\ | | | | | | | | | | | | | | | p-keystone-qcom-release Change-Id: Id8e6273acfb4f973965a3c99b29bdfd6a5f036ad
| | * FR51015: Tuning of Binder buffer for rild.Ruthwar Ambeer2018-07-252-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Tuned the Binder buffer to 500KB as it is not going to use the default allocated 1MB which saves RAM for 32 bit processors. Change-Id: Ifea2720f8e853643a37912c3459e923168677b1e CRs-Fixed: 2283052
* | | Merge 767770dcffb7a6553d25740d2975b6e201f592be on remote branchLinux Build Service Account2018-06-182-1/+2
|\| | | | | | | | | | | Change-Id: I727838bc9dc42bc3e17535bafb5580b6ae3789d7
| * | Snap for 4784460 from 113dbaa061b837ed4f743dffc1d60466a88acd85 to ↵Android Build Role Account android-build-prod2018-05-162-1/+2
| |\| | | | | | | | | | | | | | | | p-keystone-qcom-release Change-Id: I33a8160df99aac7390094018818603c3a9cbce7a
| | * Merge PPR1.180514.001Eric Arseneau2018-05-142-1/+2
| | |\ | | | | | | | | | | | | Change-Id: Idfba35fb8a205cdd273748218efc75159c2af834
| | | * Snap for 4778776 from 982ba7ab0767df77b0cda7f592bfde7e8b6cb53d to pi-releaseandroid-build-team Robot2018-05-132-1/+2
| | | |\ | | | | | | | | | | | | | | | Change-Id: I7b8a0c69fbd4b62e15f451bbd7146b3e08a231d4
| | | | * Add scan error to Network Scan resultSooraj Sasindran2018-05-072-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add scan error to Network Scan result Bug: 79377435 Test: Verified that SCAN is always responding fine Change-Id: If0232826aa14fb35fc7a5324bdc95368c88994f5
* | | | | Merge 5c34862a2eaf2c754a4651670e237faa4fc59e05 on remote branchLinux Build Service Account2018-05-301-3/+3
|\| | | | | | | | | | | | | | | | | | | Change-Id: Ieb875502a43c02ca2bb34b6fc9003a74f6ba4d10
| * | | | Snap for 4767666 from 41686ede2f9c0e4d97c5a5803dfb28df067f2e89 to ↵Android Build Role Account android-build-prod2018-05-081-3/+3
|/| | | | | |/ / / | | | | | | | | | | | | | | | | p-keystone-qcom-release Change-Id: Id7b1eda022739c5406d976da5ecae48c4ea99f06
| * | | Merge PPR1.180507.001Yifan Hong2018-05-071-3/+3
| |\| | | | | | | | | | | | | | Change-Id: I115d94f645394c594190523031260a217eb5f69d
| | * | Snap for 4765094 from 456df1bf437a38bd1931da18b1322db9e792eb6a to pi-releaseandroid-build-team Robot2018-05-061-3/+3
| | |\| | | | | | | | | | | | | Change-Id: Ib69e8d05717f20cf99207b15d033b49da57e9462
| | | * ril: Change rild initial sequence to guarantee non-null function pointer ↵terrycrhuang2018-05-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | before rild register its hidl service Test: Build and local test Bug: 78886552 Change-Id: I1137cc0f4f09f0304662a2227b84c2b5b228d45d
* | | | Snap for 4691350 from 8ca23e6a4c424c4ce6edab1ce25c14d7b199ce8e to ↵Android Build Role Account android-build-prod2018-04-012-3/+22
|\| | | | | | | | | | | | | | | | | | | | | | | p-keystone-qcom-release Change-Id: Ib96fbb2218f406dc4353a4c15e639f5523bc222f
| * | | Snap for 4683893 from ac71c57c88050f2bc46ea75320f03c62c708c91a to pi-releaseandroid-build-team Robot2018-03-292-3/+22
| |\| | | | | | | | | | | | | | | | | | | | | | am: df2c407790 Change-Id: Ic846e8968ec25af1d33484d5b11211cf0b5bfff6
| | * | Snap for 4683893 from ac71c57c88050f2bc46ea75320f03c62c708c91a to pi-releaseandroid-build-team Robot2018-03-282-3/+22
| | |\| | | | | | | | | | | | | Change-Id: If7690dc77983587a309bd5505304e230f8d012bd
| | | * Merge "Add DISABLE_RILD_OEM_HOOK." into pi-devTreeHugger Robot2018-03-272-3/+22
| | | |\
| | | | * Add DISABLE_RILD_OEM_HOOK.Steven Moreland2018-03-212-3/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OEM hook is deprecated, so adding a way to disable it to this radio implementation. Bug: 75322118 Test: boot device w/ DISABLE_RILD_OEM_HOOK works, lshal Change-Id: Ie7ade48476d2c330df608e9cc8dab805f84dd81d
* | | | | Snap for 4682269 from 8eb100eb4a79d60e8c441ab72c270167ed8b67b3 to ↵Android Build Role Account android-build-prod2018-03-282-0/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | p-keystone-qcom-release Change-Id: Id60102687e958495421017aa34ad99c3035244c4
| * | | | Disable rild from starting at power upRafeeqh Shaik2018-03-272-0/+2
|/ / / / | | | | | | | | | | | | | | | | Change-Id: I5f3396d0b38de7fbcd457897f90ad51f7c30b755 CRs-Fixed: 2206184
* | | | Snap for 4675196 from 4415af1fc566ee991dc31ed6115e48d0ee4ae152 to ↵Android Build Role Account android-build-prod2018-03-231-7/+11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | p-keystone-qcom-release Change-Id: Ia517fb3cbe021a842ed98c3e66e593f9a25a69cc
| * | | | Merge Qualcomm release PPR1.180321.001Diego Wilson2018-03-221-7/+11
| |\| | | | | | | | | | | | | | | | | | Change-Id: I7b0bbce3b3dc1e25b19f17730b36a1a0e90b2460
| | * | | Snap for 4667902 from 4818c04ca31a6244cc2ab26724f45958a245b0c9 to pi-releaseandroid-build-team Robot2018-03-211-1/+1
| | |\| | | | | | | | | | | | | | | | | Change-Id: I89402e3e4a6f741b12a0e753fc4f77808545ceea
| | | * | reference-ril: fix asan errorbohu2018-03-201-1/+1
| | | |/ | | | | | | | | | | | | | | | | | | | | BUG: 74981776 Change-Id: I9e321fd6b34fe2a37a5e22668f7070f6da7d9f46
| | * | Snap for 4662252 from 0c6d7438566d42bf07d1fcf7bf3460ce406f0ac2 to pi-releaseandroid-build-team Robot2018-03-180-0/+0
| | |\| | | | | | | | | | | | | Change-Id: Iffc696ed191eee61c5666b9d078ea7be7504bf30
| | | * Revert "Emulator: add CSIM authentication support"Bo Hu2018-03-161-81/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 1a0999f5359912a5f8b43ecb242b6fcb1de6c769. Reason for revert: regression Change-Id: Iaccff16f66132418e744531db117c7d6af21a90a BUG: 75284151
| | | * Emulator: add CSIM authentication supportbohu2018-03-151-14/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG: 72886046 BUG: 37719621 BUG: 70507162 Test: run cts -m CtsCarrierApiTestCases -t android.carrierapi.cts.CarrierApiTest#testGetIccAuthentication Change-Id: I4438eab706ba4c0bd360600a1eb7322b186c9e82 Signed-off-by: Roman Kiryanov <rkir@google.com>
| | * | Snap for 4653471 from 2d9f8af0f6334ded55c7850e5d12d480881fcc8f to pi-releaseandroid-build-team Robot2018-03-141-6/+9
| | |\| | | | | | | | | | | | | Change-Id: Idcc2e103f020883492e0edffa2398399283d441b
| | | * Emulator: use RIL_CellInfo_v12bohu2018-03-121-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RIL_CellInfo is deprecated and it fails CTS test BUG: 72886046 Test: run cts -m CtsTelephonyTestCases -t android.telephony.cts.CellInfoTest#testCellInfo Change-Id: I814322824836c91e9a9ad7807a6edb06f2047245 Signed-off-by: Roman Kiryanov <rkir@google.com>
| | | * Emulator: use APPTYPE_USIM instead of APPTYPE_SIMbohu2018-03-121-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The USIM is assumed to be available by default now. (previously SIM is default) BUG: 72886046 Test: run cts -m CtsTelephonyTestCases -t android.telephony.cts.TelephonyManagerTest#testGetForbiddenPlmns Change-Id: I7161df9eb0317cf2c6978b5b4af2332ce91da8a9 Signed-off-by: Roman Kiryanov <rkir@google.com>
| | * | Snap for 4651078 from 8c1da5b30cd4e01dd587d0b7ada8383b54b63879 to pi-releaseandroid-build-team Robot2018-03-131-0/+1
| | |\| | | | | | | | | | | | | Change-Id: Ie83246c96cfe9211d1fd3f2d44dae03ab8ffd1d1
| | | * Emulator: set correct MEID for non-CDMA phonebohu2018-03-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For GSM phone, the MEID should be empty. BUG: 72886046 Test: un cts -m CtsTelephonyTestCases -t android.telephony.cts.TelephonyManagerTest#testGetMeid Change-Id: Id0cabe87f417fe284b41f5394c755cfbd3bd689c
* | | | Snap for 4665230 from 7e03807fdd448fe4c5b5149d05cd3165c8d69e1c to ↵Android Build Role Account android-build-prod2018-03-2010-24/+159
|\| | | | | | | | | | | | | | | | | | | | | | | p-keystone-qcom-release Change-Id: I42ca7bc089fe588a07a4165c17dc28fc191ddc4e
| * | | Merge Qualcomm release AU_LINUX_ANDROID_LA.UM.7.3.08.00.00.388.092Diego Wilson2018-03-1910-24/+159
| |\ \ \ | | | | | | | | | | | | | | | Change-Id: I1e89dd21960e0c932e75eaa3497ad9c960ae5c0c
| | * | | P PPR1.180311.001 merge efa6e614ef66851e2491a18485529ae2bd869201 - conflictsLalit Kansara2018-03-147-19/+126
| | |\| | | | | | | | | | | | | | | | | Change-Id: Ic355831b6ed1119238f0ea9c4cd7387408f48cc3
| | | * | Snap for 4647811 from efa3401c716b8d090afbd9a6a1022f111a041b9a to pi-releaseandroid-build-team Robot2018-03-111-7/+17
| | | |\| | | | | | | | | | | | | | | | Change-Id: I48c4f23e945a8e2e270656dea3b386683414cb67
| | | | * Emulator: support querying device identitybohu2018-03-091-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current reference-ril only support CDMA type; Changed it to support Non-CDMS type (such as GSM) as well. BUG: 72886046 Test: run cts -m CtsTelephonyTestCases -t android.telephony.cts.TelephonyManagerTest#testGetImei Change-Id: I8a5f61d96568b22f990da2004248436fcef7a51a Signed-off-by: Roman Kiryanov <rkir@google.com>
| | | | * Use system property gateway if not using WiFiBjoern Johansson2018-03-091-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running with WiFi the IPv4 gateway for the radio interface is known and can be hardcoded, even if TAP is enabled. This is because the gateway is the internal address in the router namespace. Without WiFi the radio interface is eth0, the public interface. The gateway for this interface can be dynamic if running with TAP networking so in that case it can't use a hardcoded gateway the way it used to. The DHCP client will set the net.eth0.gw system property to the gateway of the host network so use that property to give the correct gateway to the radio interface. Bug: 72886046 Test: manual, build and ran the emulator (steps from CTS tests) Change-Id: I110a1216cccc846a48befe4c8cb2e602ed63752f (cherry picked from commit cf111309af68ab095371ef495d2c78e1faf885a6) (cherry picked from commit 0de94de9dc67db550f50bf2ffe3360b7ce02907d)
| | | * | Snap for 4641295 from d20f07743b64e7670cb8e69e01b8c3ac55cea160 to pi-releaseandroid-build-team Robot2018-03-081-12/+81
| | | |\| | | | | | | | | | | | | | | | Change-Id: I8dd08888d66fb188a2968b05a31ebda1e6f46302
| | | | * Merge "Enable/disable radio interface on setup/deactivate" into pi-devTreeHugger Robot2018-03-081-12/+81
| | | | |\