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
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
70c3d1c23b
Merge "Add external dependency API." into honeycomb-LTE
2011-04-07 13:02:28 -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
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
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
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
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
11feacb348
Merge "Telephony: Cleanup of SIM handling in CdmaLteSST." into honeycomb-LTE
2011-03-31 13:16:41 -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
fc151b6eb4
Merge "Cleanup DataConnectionTracker" into honeycomb-LTE
2011-03-29 14:44:56 -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
Wink Saville
6b68779ab3
Fix NPE in CatService.encodeOptionalTags.
...
If cmdDet.typeOfCommand is bad fromInt returns null we now log the
error instead of causing a Null Pointer Exception.
Change-Id: Id6a0d295d988c2bdbd46a0c0dd6b20f5baf02b27
2011-03-23 15:47:25 -07:00
Wink Saville
a97f49c02b
Merge "Tweak RIL.java debug." into honeycomb-LTE
2011-03-22 16:05:22 -07:00
Wink Saville
5d612f1601
Merge "Remove unused onResetDone." into honeycomb-LTE
2011-03-22 15:30:41 -07:00
Robert Greenwalt
8b84377f7d
Remove unused onResetDone.
...
Refactor things a bit. Promoting GsmDataConnection's apn (ApnSetting) to DataConnection.
Use DataConnection's resetSynchronously rather than tampering with it from another thread.
bug:3486066
Change-Id: I2a7f7368f73c7d5c81e821976efafd56aca7aa69
2011-03-22 15:13:34 -07:00
Wink Saville
1d1a373f5c
Tweak RIL.java debug.
...
Changed the one use of DBG to RILJ_LOGD and make
RILJ_LOGV a STOPSHIP if true. I then use that to
output IMSI, IMEI and IMEISV to assist in initial
bring up of RIL's.
Change-Id: Ieb9d1120f76c89c130cbecb2992603fc6af71b96
2011-03-22 09:15:26 -07:00
Wink Saville
94191d4349
am 651f38d7: Merge "Change stopship to todo." into honeycomb-mr1
...
* commit '651f38d71788d6b1d50cb6c9810ba31f903407d9':
Change stopship to todo.
2011-03-17 18:00:55 -07:00
Wink Saville
e5d6e10a73
Change stopship to todo.
...
For MR1 LTE isn't supported so the various lte routines aren't used
and are not a stopship.
bug: 4126216
Change-Id: I2a5f86161b616b57c6fe4b9de85db2492914009a
2011-03-17 16:50:42 -07:00
Brad Fitzpatrick
b8c5fe004d
am a74887e8: am 56c4c442: Merge "Lazy initialization must be synchronized to avoid parallel instances cretation."
...
* commit 'a74887e87c720fd100f10b2e69a027c493036e20':
Lazy initialization must be synchronized to avoid parallel instances cretation.
2011-03-15 12:05:37 -07:00
Brad Fitzpatrick
36ca1d3a69
am 9ac9b285: am b98c8fca: Merge "Removing self-assignment statement."
...
* commit '9ac9b28576834b69561a48a4050e7ad027543bcd':
Removing self-assignment statement.
2011-03-15 12:05:33 -07:00
Brad Fitzpatrick
d927e27428
am b7d573e9: am 7972e382: Merge "Removing repetitive conditional; it simply does nothing except slowing down things."
...
* commit 'b7d573e901e07fc249df0bc531cf94c574107556':
Removing repetitive conditional; it simply does nothing except slowing down things.
2011-03-15 11:43:08 -07:00
Brad Fitzpatrick
6f80f395b7
am c86ea5e2: am 38c6e31c: Merge "Removing repetitive conditional; it simply does nothing except slowing down things."
...
* commit 'c86ea5e260a70f7c48890da702f86466d587904e':
Removing repetitive conditional; it simply does nothing except slowing down things.
2011-03-15 11:43:03 -07:00
Brad Fitzpatrick
a74887e87c
am 56c4c442: Merge "Lazy initialization must be synchronized to avoid parallel instances cretation."
...
* commit '56c4c442c0309aa91958dee6b6ed2d65db7ba17d':
Lazy initialization must be synchronized to avoid parallel instances cretation.
2011-03-15 11:37:32 -07:00
Brad Fitzpatrick
9ac9b28576
am b98c8fca: Merge "Removing self-assignment statement."
...
* commit 'b98c8fca954718cb61d6513e623a78f1b0bd0edb':
Removing self-assignment statement.
2011-03-15 11:37:29 -07:00
Brad Fitzpatrick
b7d573e901
am 7972e382: Merge "Removing repetitive conditional; it simply does nothing except slowing down things."
...
* commit '7972e382802348e7914c14507426af450aa7e30c':
Removing repetitive conditional; it simply does nothing except slowing down things.
2011-03-15 11:33:32 -07:00
Brad Fitzpatrick
c86ea5e260
am 38c6e31c: Merge "Removing repetitive conditional; it simply does nothing except slowing down things."
...
* commit '38c6e31c88dec226271e02fbfed675181ae938b7':
Removing repetitive conditional; it simply does nothing except slowing down things.
2011-03-15 11:33:28 -07:00
Brad Fitzpatrick
56c4c442c0
Merge "Lazy initialization must be synchronized to avoid parallel instances cretation."
2011-03-15 11:22:43 -07:00
Brad Fitzpatrick
b98c8fca95
Merge "Removing self-assignment statement."
2011-03-15 11:19:23 -07:00
Brad Fitzpatrick
7972e38280
Merge "Removing repetitive conditional; it simply does nothing except slowing down things."
2011-03-15 11:13:01 -07:00
Brad Fitzpatrick
38c6e31c88
Merge "Removing repetitive conditional; it simply does nothing except slowing down things."
2011-03-15 11:12:15 -07:00
Robert Greenwalt
eea577e0c4
Remove redundant network types.
...
ServiceStateTracker can use the ServiceState values.
bug:4083436
Change-Id: I5b5b72392d9d48adc55731c44417d622930c4bec
2011-03-15 10:44:01 -07:00
Ramesh Sudini
e62dee25e5
Do not merge: Telephony: Rename lte_on_cdma property.
...
Fix Issue: 3479211. Dont use Mot property in Android Framework.
Change-Id: I1c13af5d00bf8c246ee6ecbedd1d1977a75c7142
2011-03-14 13:44:30 -07:00
Ramesh Sudini
f57276154a
Do not merge: Telephony: Corrections to LTE and eHRPD constant values.
...
LTE and EHRPD values are not consistent with ril.h
Change-Id: I76d1ff408a37960873f537772637ff3ae3ac056f
2011-03-14 13:44:30 -07:00
Wink Saville
f90c260904
Do not merge: Add outputting "on" or "off" setRadioPower.
...
Change-Id: I0865f17e63f4b9867a8d33e7e147613010683a27
2011-03-14 13:44:30 -07:00
Wink Saville
124e28728b
Do not merge: Have createAllDataConnectionList create the RetryManager inside the loop.
...
Change-Id: I131c8323737b0b5122a5087c77d8c6102d74b138
2011-03-14 13:44:30 -07:00
Wink Saville
321b730a9d
Do not merge: Remove mRetryMgr and directly use DataConnection retry mgr.
...
DataConnection now wraps its retry manager instead of exporting it.
Change-Id: Ibda6a235430b8ec51d1518c2956de71f964e3f39
2011-03-14 13:44:30 -07:00