summaryrefslogtreecommitdiffstats
path: root/telephony
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Do not clear good TLVs when a error occurs decoding.Wink Saville2012-01-232-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In change Ief74d0e4f4f28dff7a435e9dab1fab1ca1d9bfaf with a sha1 of e81932e92a773538e1ad1ad1d4bfd8f241860c8d it seemed like a good idea to throw away all TLV's on errors. In retrospect that was probably not a good idea. For example on the MTN Ghana SIM the error occurs because of some 0 pad bytes at the end, all of the actual TLV's are good, so throwing away everything is unreasonable. Instead accepting what is valid seems a better approach. Also, add a couple debug lines on error paths. Change-Id: I4add0c9cd242f46e0ef8700229d0ec755b9e4c4c
* | | Merge "Additional logging information for Card Application Toolkit/SIM Toolkit"Wink Saville2012-01-207-19/+85
|\ \ \
| * | | Additional logging information for Card Application Toolkit/SIM ToolkitWink Saville2012-01-207-19/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an optional explanation field and toString to ResultException Add toString to CommandDetails. Add add a few more log statements on error paths. Bug: 5852715 Change-Id: I8594178002a67798aa3fb38ce1ee15c1a41f1854
* | | | Merge "Stop using shared DUN APN when tethering stops."Robert Greenwalt2012-01-205-17/+100
|\ \ \ \ | |/ / / |/| | |
| * | | Stop using shared DUN APN when tethering stops.Robert Greenwalt2012-01-035-17/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Even if other people are sharing the connection (ie, carrier wants default and tethered traffic on the same APN) stop using a carrier-described APN when the tethering stops. bug:5525764 Change-Id: I95ed2aaed4d79519d233a62cf2945edead8114bc
* | | | am 7b6231a4: am aba79851: Merge "Use new preferredAPN URI avoiding ↵Wink Saville2012-01-181-4/+11
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | onApnChanged() call with self-change" into ics-mr1 * commit '7b6231a44e21fbf5b2bc2a5eff2231139ac4088f': Use new preferredAPN URI avoiding onApnChanged() call with self-change
| * | | Use new preferredAPN URI avoiding onApnChanged() call with self-changeWink Saville2012-01-171-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Solving the issue that setting preferred APN from GDCT triggers back APN change event and force unnecessary data call disconnects and setups. The new URI is added in Telephony Provider so ContentObserver callback (results in onApnChanged) will not be triggered. Bug:5448858 Change-Id: I4c0bcf32cec69cf1d0a0430f7a27495b89e93625
* | | | am e6572304: am 2753e826: Merge "Fix teardown of secondary connections on ↵John Huang2012-01-131-2/+4
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | CDMA" into ics-mr1 * commit 'e65723044d6ad7fb2ff1bb760100a3cf40c6c5f2': Fix teardown of secondary connections on CDMA
| * | | Fix teardown of secondary connections on CDMARobert Greenwalt2012-01-121-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Restores functionallity from Gingerbread. We should tear down when the enabledcount goes to zero, but we should always notify and attempt to switch back to default when indicated. bug:5830081 Change-Id: Ib8469bb5369da21e8cc05fb755b2d7e24c8e02a6
* | | | Merge "Ignore case on apn type strings."Robert Greenwalt2012-01-121-3/+4
|\ \ \ \
| * | | | Ignore case on apn type strings.Robert Greenwalt2012-01-111-3/+4
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Found that if the type were not lowercase it wouldn't match. That's silly. Do case-insensitive compares. bug:5525764 Change-Id: Ibfe6be6c34116e00931594ec317fe192e1756ade
* | | | am 70205788: am 6ad68ba9: Adjust the mapping of LTE signal bars.John Wang2012-01-111-4/+4
|\ \ \ \ | |/ / / |/| / / | |/ / | | | * commit '70205788fa39968b8331085597e3d3b61e271fbe': Adjust the mapping of LTE signal bars.
| * | Adjust the mapping of LTE signal bars.John Wang2012-01-111-4/+4
| | | | | | | | | | | | | | | bug:5640958 Change-Id: I91efc5a81b505aae59dac9b1d69314efaffda6b6
* | | Merge "Add use of net.tethering.noprovisioning to fetchDunApn"Wink Saville2012-01-061-2/+11
|\ \ \
| * | | Add use of net.tethering.noprovisioning to fetchDunApnWink Saville2012-01-061-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To make it easier to test tethering, have fetchDunApn return null when the system property net.tethering.noprovisioning is true. Change-Id: Id6162967c6b8b25f04380fe009961c150fa714ef
* | | | am f817e941: am 2f143a96: Merge "Fix an RuntimeExcpetion in ↵Wink Saville2012-01-062-41/+66
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | GsmDCT.onDataSetupComplete" into ics-mr1 * commit 'f817e9413356de2a303e14709e67457190e976c9': Fix an RuntimeExcpetion in GsmDCT.onDataSetupComplete
| * | Fix an RuntimeExcpetion in GsmDCT.onDataSetupCompleteWink Saville2012-01-052-41/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of throwing an exception when the connection between the DCT and a DC is broken (i.e. its null) it is treated as an error with a new cause. And thus will be handled as other typical errors. Bug: 5798643 Change-Id: I46f1660ae78f118b54ab62504809723ca302b2ef
* | | am 3ed28036: am c697ebfd: Merge "Enhancement on ICS data stall polling ↵Wink Saville2012-01-043-14/+61
|\ \ \ | |/ / | | | | | | | | | | | | | | | logic" into ics-mr1 * commit '3ed2803691cc271fe6b893dc46d49fca2fce61df': Enhancement on ICS data stall polling logic
| * | Merge "Enhancement on ICS data stall polling logic" into ics-mr1Wink Saville2012-01-043-14/+61
| |\ \
| | * | Enhancement on ICS data stall polling logicKazuhiro Ondo2012-01-043-14/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Put enhancements on data stall polling logic in ICS so that stall recovery can kick in earler while screen is on. Bug: 5767897 Change-Id: I4683fc45c0161f4374749c8e5840261c19a48f77
* | | | am 0ad96f89: am d4d35168: Merge "Add support of dislaying Alpha tag for BIP ↵Wink Saville2012-01-045-11/+150
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | commands" into ics-mr1 * commit '0ad96f89401920486b68d8404f6a143870d57500': Add support of dislaying Alpha tag for BIP commands
| * | | Merge "Add support of dislaying Alpha tag for BIP commands" into ics-mr1Wink Saville2012-01-045-11/+150
| |\ \ \
| | * | | Add support of dislaying Alpha tag for BIP commandsWink Saville2012-01-035-11/+150
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While BIP data call setup is still handled in RIL/Modem, this patch is adding support of Alpha tag display on UI. Alpha tag is optionally included in "OPEN Channel", "Close Channel", "Send Data" or "Receive Data" command. "Open channel" will be notified via RIL_UNSOL_STK_PROACTIVE_COMMAND which requires TERMINAL RESPONSE based on user input. "Close channel", "Send Data" and "Receive Data" commands are send via RIL_UNSOL_STK_EVENT_NOTIFY just to display transient notice. Bug:5165510 Change-Id: I873e55274c860886bc816ce6fb07cb882d339214
* | | | am a3534ad4: am c97d0e43: Merge "Support suggestedRetryTime in CDMA DCT" ↵Wink Saville2012-01-041-6/+20
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | into ics-mr1 * commit 'a3534ad4a4b936a2629f4a0b854b814b3494ac7e': Support suggestedRetryTime in CDMA DCT
| * | | Support suggestedRetryTime in CDMA DCTKazuhiro Ondo2011-12-201-6/+20
| |/ / | | | | | | | | | | | | | | | | | | Support suggestedRetryTime in SETUP_DATA response in CDMA DCT. Bug: 5740832 Change-Id: I4abd884bec76f1d9ee29d1ba36c7ea2cac9e0fb3
* | | Merge "Separate SIM states from Radio states"Wink Saville2011-12-2929-664/+842
|\ \ \ | |_|/ |/| |
| * | Separate SIM states from Radio statesNaveen Kalla2011-12-2929-664/+842
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Radio state reflects the state of the modem. SIM_READY, RUIM_READY, NV_READY are subscription states and it is possible that the new cards have multiple subscriptions. Remove the SIM states from Radio State and introduce a new VOICE_RADIO_TECH message to identify the exact voice technology. SIM states will continue to be identified from the SIM_STATUS messages. Change-Id: Ia67d54f43b6c3340d9cf5c27fcb6f7ef49ef4d40
* | | Use shared connections over retries.Robert Greenwalt2011-12-202-33/+43
|/ / | | | | | | | | | | | | | | | | Old code would detect we were in a retry loop and ignore other active connections we could share. We really want live shared connections to dominate over retrying disconnected ones. bug:5525764 Change-Id: If93383c52024113eec595b31e46897d1fcabc44c
* | am ea75b822: am 234a5ef6: Merge "When the SIM_READY set current preferred ↵Wink Saville2011-12-075-0/+33
|\ \ | |/ | | | | | | | | | | network type." into ics-mr1 * commit 'ea75b82221dc9086cf97a791aed3b79ff3731bba': When the SIM_READY set current preferred network type.
| * When the SIM_READY set current preferred network type.Wink Saville2011-12-075-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This looks to fix a problem where the nv_data.bin file file gets corrupted. When greping a radio log for "md5" if something like following is seen: RIL(s) : load_md5_state: MD5 state 1 RIL(s) : check_md5: RIL(s) : compute_md5: path /efs/nv_data.bin RIL(s) : check_md5: MD5 fail. orignal md5 '628647a8e5c6cac2d586199417c0103c' computed md5 '58a635cbaf5fe4ffb2797aeaa2b32709' (rild) RIL(s) : check_md5: RIL(s) : compute_md5: path /efs/.nv_data.bak It means that corruption was detected and a back version was used which is ok. Apparently that backup version can have the default network type revert to 2G only thus causing the symptoms reported in b/5695729 where after taking an OTA 2G becomes the default. By calling setCurrentPreferredNetworkType when the sim is ready we can reset the the network type to 3G. Note: I also tried calling setCurrentPreferredNetworkType in EVENT_RADIO_AVAILABLE but that didn't work and we would see the response to setPreferredNetworkType failing as the ril wasn't ready. RILJ : setCurrentPreferredNetworkType: 0 RILJ : [0004]> REQUEST_SET_PREFERRED_NETWORK_TYPE : 0 RILJ : [0004]< REQUEST_SET_PREFERRED_NETWORK_TYPE error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE Bug: 5695729 Change-Id: Ibbd29cda0b201a8c08f4dcfa5cec211611e1d599
* | am 2de0b07f: am ca0a68cc: Merge "Correct the dialing number of structured ↵John Wang2011-12-071-2/+18
|\ \ | |/ | | | | | | | | | | MMI." into ics-mr1 * commit '2de0b07f47c3561b6e550ff630901d2776a437e3': Correct the dialing number of structured MMI.
| * Merge "Correct the dialing number of structured MMI." into ics-mr1John Wang2011-12-071-2/+18
| |\
| | * Correct the dialing number of structured MMI.John Wang2011-12-071-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to TS 22.030 6.5.2 "Structure of the MMI", the dialing number can not end with #. The format is like *SC*SI#DN. Correct the mmi pattern to exclude DN# case. With this fix, processCode() will tread *NNN#DN#, e.g. *400#16 digit number# in bug 5622718, as USSD and send via RIL_REQUEST_SEND_USSD. bug:5622718 Change-Id: Ifc8d0edff4308602a5f3fc651cf116bf6bad3cbc
* | | am 2ebd3612: am f352491a: Merge "Trim leading zeros from ipv4 addrs." into ↵Robert Greenwalt2011-12-071-3/+9
|\ \ \ | |/ / | | | | | | | | | | | | | | | ics-mr1 * commit '2ebd3612d82f728873f87cdbea9fa5513b5cfb39': Trim leading zeros from ipv4 addrs.
| * | Trim leading zeros from ipv4 addrs.Robert Greenwalt2011-12-071-3/+9
| |/ | | | | | | | | | | | | | | Underlying libraries will interpret leading zeros as octal values and fail. bug:5262995 Change-Id: Iff949225bb6b941f7274ee81754e1f41ed719a6c
* | am 00f1ac80: am 2a7b5ab1: Merge "Be careful sharing connections when dun is ↵Robert Greenwalt2011-12-022-1/+22
|\ \ | |/ | | | | | | | | | | in play" into ics-mr1 * commit '00f1ac8001b2bfe2ab70730d9c039ca4e633a2c2': Be careful sharing connections when dun is in play
| * Be careful sharing connections when dun is in playRobert Greenwalt2011-12-022-1/+22
| | | | | | | | | | | | | | | | A request for a DUN connection should only use the carriers requested dun connection. Don't share another connection unless it matches the carriers settings. bug:5701374 Change-Id: I75a65fcfce1b218bd9ca4ce2ab85cbe850813321
* | am c8e643a8: am 22d5d7b6: Merge "Fix state synchronization problem." into ↵Robert Greenwalt2011-12-011-9/+10
|\ \ | |/ | | | | | | | | | | ics-mr1 * commit 'c8e643a86345ef7e2807946107062c9d8635455d': Fix state synchronization problem.
| * Fix state synchronization problem.Robert Greenwalt2011-11-301-9/+10
| | | | | | | | | | | | | | | | | | Don't report that we're disconnected immediately if we're disconnecting when another disconnect comes in. Remove this behavior from the default handler and add a catch all "yeah, we're disconnected already" to the inactive state. bug:5568633 Change-Id: Iff7ccde2069b47f8ad8255f3bca0292b80041388
* | Merge "Add support for country specific emergency number handling."David Brown2011-11-301-70/+61
|\ \
| * | Add support for country specific emergency number handling.Shaopeng Jia2011-11-201-70/+61
| | | | | | | | | | | | | | | Bug: 5247602, 5615428 Change-Id: I1bdfbc987f45e0f2ebbe68adaab215395c83ca35
* | | am 08b52112: am e95f4986: Merge "Fix a build break." into ics-mr1John Wang2011-11-231-2/+2
|\ \ \ | | |/ | |/| | | | | | | * commit '08b52112335dcbcd51fa387c2a9a92dc43efa689': Fix a build break.
| * | Fix a build break.John Wang2011-11-231-2/+2
| | | | | | | | | | | | Change-Id: I2a9ceaace02f442c5e36fa8425b051116c81e76f
* | | am 39c293f4: am 9b108009: Check watingApns before access it.John Wang2011-11-231-2/+8
|\ \ \ | |/ / | | | | | | | | | * commit '39c293f4392f6c4bb4da6182123a0511cabb0df1': Check watingApns before access it.
| * | Check watingApns before access it.John Wang2011-11-231-2/+8
| | | | | | | | | | | | | | | bug:5663125 Change-Id: I66275fafd316f318f9035ac11c16a30fcb32f7c8
* | | am 18f05518: am eaeb4f4e: Merge "Fix some policy-base routing issues." into ↵Robert Greenwalt2011-11-231-0/+8
|\ \ \ | |/ / | | / | |/ |/| | | | | ics-mr1 * commit '18f05518a882eeb778433c65bff27831a8accdc2': Fix some policy-base routing issues.
| * Merge "Fix some policy-base routing issues." into ics-mr1Robert Greenwalt2011-11-231-0/+8
| |\
| | * Fix some policy-base routing issues.Robert Greenwalt2011-11-231-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Secondary nets sometimes come up with no routes, but parsing errors end up with null routes getting added. Trim that away. Also added some dumpstate logging of the secondary route tables and rules. bug:5615697 Change-Id: I94c9d888bab958df44891b9117236436e046cc7f
* | | am 7d22534b: am 3f51f954: Merge "Fix a crash caused by SIP addresses ↵David Brown2011-11-182-1/+26
|\ \ \ | |/ / | | | | | | | | | | | | | | | containing "%40" instead of "@"" into ics-mr1 * commit '7d22534b4cba49b1bd9d88969c3189a2c6fecf55': Fix a crash caused by SIP addresses containing "%40" instead of "@"
| * | Fix a crash caused by SIP addresses containing "%40" instead of "@"David Brown2011-11-172-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CallerInfo.doSecondaryLookupIfNecessary() was assuming that SIP addresses would always contain the character '@', but that's not always true since the username/domainname delimiter can actually be "%40" (the URI-escaped equivalent.) This would cause the in-call UI to crash if you ever called a SIP address like "xyz%40example.com". TESTED: - Make an outgoing call to the SIP address "xyz%40example.com" ==> The call ultimately fails, but the in-call UI no longer crashes when it first comes up. Bug: 5637074 Change-Id: I62d15a7ccd509924d38b780b92e657b9efa26125