1518 Commits

Author SHA1 Message Date
Wink Saville
73ad388aae Merge "Check different CellLocation type in GsmDataConnectionTracker" into honeycomb-LTE 2011-04-08 13:20:20 -07:00
Robert Greenwalt
01f8f290cd am 63edf6c4: Rename PhoneBase\'s DataConnectionTracker member.
* commit '63edf6c4f5795009e55f2ae9556550c38daa9774':
  Rename PhoneBase's DataConnectionTracker member.
2011-04-08 12:23:49 -07:00
Robert Greenwalt
63edf6c4f5 Rename PhoneBase's DataConnectionTracker member.
Was called mDataConnection, but this is more confusing now that we have multiple
DataConnections.  Changed it to the more correct mDataConnectionTracker.

Change-Id: I3cdc4f2897d60e5b0885891744aa6ff2db27af37
2011-04-08 11:54:01 -07:00
Kazuhiro Ondo
8968f9f6d4 Check different CellLocation type in GsmDataConnectionTracker
Addressing phone app crash in GsmDataConnectionTracker when CDMALTEPhone
is used. CDMALTEPhone uses CDMA SST so getCellLocation() was returning
an instance of CdmaCellLocation. This was causing a crash when GsmDCT
type casts the instance as GsmCellLocation.

This patch tries to check the instance type before retrieving corresponding
cell id.

Change-Id: I6ac9cd4dc078552dc58d4d9350494a7b608c2b98
2011-04-08 11:42:51 -07:00
Wink Saville
4b1a37d725 am 5203a5bc: Cleanup debugging.
* commit '5203a5bc28a5ae432eab236780b2f97bdec71dbf':
  Cleanup debugging.
2011-04-08 11:35:11 -07:00
Wink Saville
5203a5bc28 Cleanup debugging.
Change-Id: I4c61b6716a6d03d70bc1e9013954d6b2002cec54
2011-04-08 11:14:23 -07:00
Wink Saville
b93811091d am 1905e166: Merge "DataConnection: set CID to the correct value." into honeycomb-LTE
* commit '1905e166ed40ee11e80476848ef40e817512f740':
  DataConnection: set CID to the correct value.
2011-04-08 10:41:09 -07:00
Wink Saville
1905e166ed Merge "DataConnection: set CID to the correct value." into honeycomb-LTE 2011-04-08 10:38:25 -07:00
Robert Greenwalt
2ce73e77c9 am 9c7f433c: Merge "Fix isApnTypeActive in GDCT." into honeycomb-LTE
* commit '9c7f433c80fd2014562f8d161e6a34710fe475d6':
  Fix isApnTypeActive in GDCT.
2011-04-08 10:09:03 -07:00
Robert Greenwalt
9c7f433c80 Merge "Fix isApnTypeActive in GDCT." into honeycomb-LTE 2011-04-08 10:07:31 -07:00
Robert Greenwalt
37c75ae06b DataConnection: set CID to the correct value.
import of partner change 5930

Change-Id: Iaa2d282f6f9292a57dfceedad676c9e3ad64f903
2011-04-08 10:05:58 -07:00
Robert Greenwalt
e3e535a9c6 am 4410660e: Fix ISO country code of Slovenia.
* commit '4410660e02c04b29d323c6d3bf81633fd07b6411':
  Fix ISO country code of Slovenia.
2011-04-08 10:05:01 -07:00
Robert Greenwalt
4410660e02 Fix ISO country code of Slovenia.
Misread an IBM site and thought it was sl-sl, but really it is sl-si.

fixes public bug 16021

Change-Id: I5b262a2b424fe2a0904f623f82449a539ede0fdb
2011-04-08 09:53:55 -07:00
Robert Greenwalt
7a093b2c35 Fix isApnTypeActive in GDCT.
The single active APN makes no sense now.  Add override function to
do the right thing.

Also makes ApnContext threadsafe.

Change-Id: I4302595e8818b7d31bdd32b5fdf4e3de1cd81ed8
2011-04-08 09:39:57 -07:00
Wink Saville
5f66c953a7 am 7183a7a5: Merge "Add RIL_UNSOL_RIL_CONNECTED and pass radio technology + 2 to setupDataCall." into honeycomb-LTE
* commit '7183a7a584397142ab7347d6f721011d743fb699':
  Add RIL_UNSOL_RIL_CONNECTED and pass radio technology + 2 to setupDataCall.
2011-04-07 16:51:50 -07:00
Wink Saville
1dd2ada5cf Add RIL_UNSOL_RIL_CONNECTED and pass radio technology + 2 to setupDataCall.
Added CommandsInterface.registerForRilConnected which allows components
to register for when the ril connects and provides the version of the
ril to the registrants or a -1 if the ril disconnects.

For ril version 6 RIL.setupDataCall needs to have RadioTechnology + 2
as the radioTechnology parameter when the rilVersion is >= 6.

DataConnection then uses registersForRilConnected to get the ril
version and provide the proper radioTechnology value to
RIL.setupDataCall

Change-Id: Iacba764b9e38a4a138d186ccf1625fea760cc56d
2011-04-07 14:34:29 -07:00
Robert Greenwalt
f4a29403ae resolved conflicts for merge of 70c3d1c2 to honeycomb-plus-aosp
Change-Id: I0962138f6ecb1ed54fda25524d8850b086f13c4f
2011-04-07 14:13:52 -07:00
Robert Greenwalt
70c3d1c23b Merge "Add external dependency API." into honeycomb-LTE 2011-04-07 13:02:28 -07:00
John Wang
91bc0f818c am 574d3c4b: Merge "Refactor onSetupConnectionCompleted." into honeycomb-LTE
* commit '574d3c4b2cb120314b68bffa34aed2545d1b1158':
  Refactor onSetupConnectionCompleted.
2011-04-07 12:46:21 -07:00
John Wang
574d3c4b2c Merge "Refactor onSetupConnectionCompleted." into honeycomb-LTE 2011-04-07 12:44:14 -07:00
John Wang
d3ba7d5bec Refactor onSetupConnectionCompleted.
Refactor the part of setting linkProperties based
on data call responses.

Bug:3501569
Change-Id: I02bf0558e2f8a5924197b8c06f19673279dec815
2011-04-07 12:37:05 -07:00
Robert Greenwalt
d55a6b498d Add external dependency API.
An APN will not be connected to if some external dependency is not met.

bug:3486704
Change-Id: I7d94df343b260013efd11faa978deb13f07f1389
2011-04-07 12:28:37 -07:00
Wink Saville
004da7e2e0 am 1b87f1db: Merge "Add getCdmaSubscriptionSource to CommandsInterface." into honeycomb-LTE
* commit '1b87f1db89e82d00445a43c4593d8c5ea5d2633f':
  Add getCdmaSubscriptionSource to CommandsInterface.
2011-04-06 17:54:11 -07:00
Wink Saville
d31fdf0565 Add getCdmaSubscriptionSource to CommandsInterface.
This was accidentally not added previously and it had an
extra parameter.

Change-Id: Ic48ab9e637a5343b63d3e03377acd2679b0f77e0
2011-04-06 16:55:39 -07:00
Jake Hamby
b49a73dfc4 Enable support for SMS national language shift tables.
Add support for encoding and decoding SMS 7 bit user data using the
national language shift tables defined in 3GPP TS 23.038 (GSM/UMTS only),
including the new tables added in Release 9 for Indic languages.

Decoding is always supported, but encoding is only enabled for the
specific language tables added to the new integer array resources
"config_sms_enabled_single_shift_tables" and
"config_sms_enabled_locking_shift_tables" defined in
frameworks/base/core/res/res/values/config.xml. The default empty arrays
should be overridden in an OEM overlay for the specific nationalities where
SMS national language shift table encoding is allowed/mandated (e.g. Turkey).
GsmAlphabet.countGsmSeptets() will try to find the most efficient encoding
among all combinations of enabled locking shift and single shift tables.
If no 7 bit encoding is possible, 16 bit UCS-2 encoding will be used.

This change also fixes a bug in the decoder: when an escape septet
is followed by a septet with no entry in the extension (single shift)
table, TS 23.038 Table 6.2.1.1 states that the MS shall display
the character in the main GSM 7 bit default alphabet table, or the
active national language locking shift table. Previously, we were
decoding this sequence as a space character. Two consecutive escape
septets will continue to decode as a space character, according to
Note 1 of table 6.2.1.1.

Change-Id: I4dab3f0ffe39f3df2064ed93c9c05f26e274d18b
2011-04-06 14:20:04 -07:00
Wink Saville
22cfcaee24 am 0b8e313c: Merge "Data Retry fix after failure due to permanent causes." into honeycomb-LTE
* commit '0b8e313c7f97f9cb34e2ba555182621889b69a16':
  Data Retry fix after failure due to permanent causes.
2011-04-01 16:36:25 -07:00
Wink Saville
44ff718f62 Data Retry fix after failure due to permanent causes.
Change-Id: I86d5a2dc9394dac93c4350159f4d99cf19aedec9
2011-04-01 14:45:49 -07:00
Wink Saville
7c6f532ae9 am dacb8090: Merge "Airplane mode on always timed out when camping on LTE" into honeycomb-LTE
* commit 'dacb80901dfbd7cc18a6f1ede6ca334ed42c038f':
  Airplane mode on always timed out when camping on LTE
2011-04-01 10:32:37 -07:00
Wink Saville
4aff3e363c am 0198fff9: Rename ro.telephony.lte_on_cdma to telephony.lte_on_cdma.
* commit '0198fff90430d9f974b0284fc3659434406c751b':
  Rename ro.telephony.lte_on_cdma to telephony.lte_on_cdma.
2011-04-01 10:30:44 -07:00
Wink Saville
dacb80901d Merge "Airplane mode on always timed out when camping on LTE" into honeycomb-LTE 2011-04-01 10:28:22 -07:00
Wink Saville
95bc2b7564 Airplane mode on always timed out when camping on LTE
While on LTE, GsmDataConnectionTracker is implicitly associated with CdmaServiceTracker.
CdmaServiceTracker asynchronously waits for the disconnection of data before turning off
the Radio but GsmDataConnection does not notify the disconnection due to different logic
in GsmServiceTracker.

This fix is to have common airplane mode toggle logic on both GSM and CDMA flavors.

Change-Id: I67ff82a59a2243856ae3e7c5e37b5726bcbf3c94
2011-04-01 10:11:18 -07:00
Wink Saville
0198fff904 Rename ro.telephony.lte_on_cdma to telephony.lte_on_cdma.
This allows the system property to be updated at runtime and
for testing.

Change-Id: I75788e5fa70efdbb9186b9f03baac1d9e6b3febd
2011-04-01 08:53:12 -07:00
Wink Saville
2a936154f6 am b90f9c37: Merge "Telephony: Add Powerdown Cause to PDP Deactivate Message." into honeycomb-LTE
* commit 'b90f9c370e5b1b1825016e48b864e8eda6d5f89c':
  Telephony: Add Powerdown Cause to PDP Deactivate Message.
2011-03-31 15:52:58 -07:00
Wink Saville
b90f9c370e Merge "Telephony: Add Powerdown Cause to PDP Deactivate Message." into honeycomb-LTE 2011-03-31 15:51:07 -07:00
Wink Saville
261306889e Telephony: Add Powerdown Cause to PDP Deactivate Message.
Modem needs to know if PDP deactivation is due to UE power down so that it can do detach.

Change-Id: Ie63f90f005845fcd6bfab421f193058b6e2e78d5
2011-03-31 15:46:25 -07:00
Wink Saville
cac1411e99 am 11feacb3: Merge "Telephony: Cleanup of SIM handling in CdmaLteSST." into honeycomb-LTE
* commit '11feacb348e624bcdbb073a32c1fc1d8bdc7bae3':
  Telephony: Cleanup of SIM handling in CdmaLteSST.
2011-03-31 13:19:06 -07:00
Wink Saville
11feacb348 Merge "Telephony: Cleanup of SIM handling in CdmaLteSST." into honeycomb-LTE 2011-03-31 13:16:41 -07:00
Wink Saville
72ec108b0c am b136aa6c: Merge "Telephony: Update LTE RILConstants to match ril.h" into honeycomb-LTE
* commit 'b136aa6c9a1c043ff91357cea9e0b6597c904507':
  Telephony: Update LTE RILConstants to match ril.h
2011-03-31 10:26:12 -07:00
Ramesh Sudini
e80d327676 Telephony: Cleanup of SIM handling in CdmaLteSST.
Change-Id: I41ae595bae035b2dfd2e32e4d54a754c27962567
2011-03-30 12:15:38 -07:00
Ramesh Sudini
afaf4c8fa9 Telephony: Update LTE RILConstants to match ril.h
Change-Id: I3abc88a98f3ce152df1d8de27da1132c05ee136f
2011-03-30 12:14:48 -07:00
Wink Saville
8a39562404 am fc151b6e: Merge "Cleanup DataConnectionTracker" into honeycomb-LTE
* commit 'fc151b6eb4a682510f3591879037b524bc8d59d0':
  Cleanup DataConnectionTracker
2011-03-29 15:12:22 -07:00
Wink Saville
fc151b6eb4 Merge "Cleanup DataConnectionTracker" into honeycomb-LTE 2011-03-29 14:44:56 -07:00
Brad Fitzpatrick
fae5e2894f am 6f67e7bf: am 2e383bc6: Merge "Making it possible to call SIP calls with special allowed chars."
* commit '6f67e7bf831147257e078dd72a22f2e43e009122':
  Making it possible to call SIP calls with special allowed chars.
2011-03-29 08:45:30 -07:00
Ramesh Sudini
3bbe33d703 DataConnectionTracker cleanup when disposed.
Change-Id: I4db442ae110531f33280ceb626fc260d392a1bd5
2011-03-28 11:00:26 -07:00
Wink Saville
09e4eea135 Cleanup DataConnectionTracker
Promote apn members from GsmDCT to DCT.
Change getState to have a apnType parameter
Move abstract methods to they are together.


Change-Id: I19bc5d07859c9398076ae32647d8c211d19817d1
2011-03-26 22:23:57 -07:00
Wink Saville
9eac2c077a Merge "Work around for operator not being correct." into honeycomb-LTE 2011-03-26 16:50:17 -07:00
Wink Saville
3420f85cc6 Merge "Add some debug to apn list creation routines." into honeycomb-LTE 2011-03-26 16:48:35 -07:00
Wink Saville
2a3aa2a32e Work around for operator not being correct.
This is a STOPSHIP work-around until we figure out why
getSIMOperatorNumeric is not returning valid values.
It has returned NULL, "00000", "310004", "311480" and
once a value "83????", I don't remember the exact value.

Change-Id: I4f1d16c853047b72dd987572d3d67dcc2cd697a2
2011-03-26 09:13:20 -07:00
Ramesh Sudini
fbe284b675 Telephony: Fix eHRPD Service State Mapping.
Change-Id: I415c11dc0e1817f7772160c1103105d6007ffdff
2011-03-26 08:40:32 -07:00
Wink Saville
c6c7ebd92c Add some debug to apn list creation routines.
Change-Id: Ic5055daefd50b6371f129d82313c533a04cd75b1
2011-03-26 08:04:30 -07:00