2063 Commits

Author SHA1 Message Date
Wink Saville
972244251a am 2783e1ce: Merge "Remove unused persist.radio.imsregrequired." into ics-factoryrom
* commit '2783e1ce7a9b2c82983223754228c06be6713a0f':
  Remove unused persist.radio.imsregrequired.
2011-09-26 10:27:16 -07:00
Wink Saville
9e2cc044fd Remove unused persist.radio.imsregrequired.
Change-Id: I49a2360260917f3e1034c1106ff139375fa1c9ed
2011-09-26 09:36:28 -07:00
David Brown
e45beeb749 Merge "Temp fix to the problem of incorrectly classifying Brazilian local numbers as emergency numbers." 2011-09-23 11:25:57 -07:00
Shaopeng Jia
c6027ee464 Temp fix to the problem of incorrectly classifying Brazilian local
numbers as emergency numbers.

Bug: 5247602
Change-Id: Ib1626ef25ced2e149c526601bfac72de39e3f1b9
2011-09-22 23:22:56 +02:00
Robert Greenwalt
5840639fd1 Fix apn bearer logic.
The original change said that if the RAT were X or Y we would only
accept APN's that explicitly called out X or Y.  This meant that
any device using X or Y would stop working until their APN db were
adjusted.

This change changes it to be if a particular APN calls out X or Y
it will only be considered if the current RAT matches.  If the APN
doesn't specify, it matches all RAT.

This allows just as tight a restriction, but the default is looser.

Change-Id: Ia5e92f13c5052e890bf169e0db9584302afb36f5
2011-09-22 11:49:01 -07:00
Wink Saville
94097b44b8 am 904fb9d7: Merge "Notify people of empty proxies too." into ics-factoryrom
* commit '904fb9d79cc72879e4c6767c219ec78feda8e62b':
  Notify people of empty proxies too.
2011-09-22 10:53:40 -07:00
Robert Greenwalt
0e09082559 Notify people of empty proxies too.
We were telling people when the proxy changed, except if it was changed to null.
bug:5263946

Change-Id: I83416dac8fe992168a8aafd5676f9faee4e484d0
2011-09-21 16:37:34 -07:00
Wink Saville
a71483c7be am c6939697: Merge "Remove isAnyActiveDataConnection and promote isDisconnected." into ics-factoryrom
* commit 'c69396973b8a496e298a7076842b0e34d193651e':
  Remove isAnyActiveDataConnection and promote isDisconnected.
2011-09-19 15:09:42 -07:00
Wink Saville
c69396973b Merge "Remove isAnyActiveDataConnection and promote isDisconnected." into ics-factoryrom 2011-09-19 15:07:42 -07:00
Wink Saville
3df8b23fd0 am f946c282: Merge "Add PROPERTY_IMS_REG_REQUIRED." into ics-factoryrom
* commit 'f946c282c2fbe851d6157ed34bbacabdff8f76ba':
  Add PROPERTY_IMS_REG_REQUIRED.
2011-09-19 15:02:05 -07:00
Wink Saville
d986c60907 Remove isAnyActiveDataConnection and promote isDisconnected.
As Yoonsung Nam pointed out in the bug using isDisconnected
is more precise here and this was the only place
isAnyActiveDataConnection was used. So I've removed it
and promoted isDisconnected to DataConnectionTracker.

It should also be noted that although the Framework should
be as graceful as possible, it is still a requirement that
the radio must be turned off/on anytime the Framework
issues the appropriate command.

Bug: 5306201
Change-Id: I95130451e11c51e43406b57eb538d01f8dde61be
2011-09-19 14:35:30 -07:00
Wink Saville
d34ed1660a Add PROPERTY_IMS_REG_REQUIRED.
Bug: 5337311
Change-Id: Ic5f310f485b49b29385bc1427a1f156484896569
2011-09-19 14:27:09 -07:00
David Brown
bb132eba71 Merge "Update code to use location aware isEmergencyNumber." 2011-09-19 12:26:14 -07:00
Wink Saville
ea0d54b44e Have all connections disconnected before turning off radio.
Bug: 5306201
Change-Id: I8a121e5ed951f286b6f3edc70c468e86ccedfbf0
2011-09-16 17:53:50 -07:00
Shaopeng Jia
6b7c3f8a1c Update code to use location aware isEmergencyNumber.
Bug: 5247602
Change-Id: Ieeda4a17464795b3591db754bc991759609f88c2
2011-09-16 20:28:39 +02:00
duckyoung.chai
80c32a37b6 [toro] Add telephonyManager API ( getMsisdnNumber() ) for IMS Module.
IMS Module need the MSISDN value for IMS registration.(VZW Requirement)

Change-Id: I8713b6c55788276246ee1c2f91eaf2d3ab8cc813
Signed-off-by: duckyoung.chai <duckyoung.chai@samsung.com>
2011-09-15 11:10:12 -07:00
Robert Greenwalt
11fed2b218 Merge "Add OTADM feature for Verizon requirement. - GsmDataConnectionTracker.java <in function createApnList> : modify parameter type for new ApnSetting. (carrierEnabled has changed to boolean from integer, BEARER has changed to integer from string). <in function createAllApnList> : modify telephony db query statement using carrierEnabled. (carrier_enabled: 1 enable apn, 0: disabled apn) <in function buildWaitingApns> : modify apn management code when current RAT (radio access technology) is LTE or EHRPD. add internal function named needToCheckApnBearer to check current RAT is LTE or EHRPD. - ApnSetting.java : add two member variable (carrierEnabled: apn enable/disable , bearer : Radio Access Technology) - Telephony.java : add two static string CARRIER_ENABLED & BEARER. - ApnSettingTest.java : add two assertEquals in function assertApnSettingEqual. add CARRIER_ENABLED & BEARER parameters." 2011-09-14 13:41:10 -07:00
sinikang
723facc20b Add OTADM feature for Verizon requirement.
- GsmDataConnectionTracker.java
  <in function createApnList>
  : modify parameter type for new ApnSetting.
    (carrierEnabled has changed to boolean from integer,
     BEARER has changed to integer from string).
  <in function createAllApnList>
  : modify telephony db query statement using carrierEnabled. (carrier_enabled: 1 enable apn, 0: disabled apn)
  <in function buildWaitingApns>
  : modify apn management code when current RAT (radio access technology) is LTE or EHRPD.
    add internal function named needToCheckApnBearer to check current RAT is LTE or EHRPD.
- ApnSetting.java
  : add two member variable (carrierEnabled: apn enable/disable , bearer : Radio Access Technology)
- Telephony.java
  : add two static string CARRIER_ENABLED & BEARER.
- ApnSettingTest.java
  : add two assertEquals in function assertApnSettingEqual.
    add CARRIER_ENABLED & BEARER parameters.

bug: 4991683
Change-Id: I9450c220009c3093b1e09e8ac9cd0faa0a975067
2011-09-14 08:27:43 -07:00
Kazuhiro Ondo
0042330e3b am 30928eb6: am b1a3f0ca: Fix no data issue after system server crash
* commit '30928eb60395ac7c02ac45fd00a0d781ce364856':
  Fix no data issue after system server crash
2011-09-13 14:25:23 -07:00
Attila Bodis
e112f1c91c Merge "Adding isEmergencyNumber which also takes in a defaultCountryIso." 2011-09-13 14:20:32 -07:00
Jake Hamby
5d39ec4a37 Add method to retrieve MSISDN for CDMA/LTE devices.
For CDMA/LTE devices, the MDN and MSISDN may be different.
Add a new method getMsisdn() to the Phone interface to return the
MSISDN. For GSM/UMTS, this will be the same as getLine1Number().
For CDMA/LTE, getLine1Number() will continue to return the MDN
and getMsisdn() will return the MSISDN.

Change-Id: Iba0ca24858992b21f63ae7ec0c27d2e90d4b0903
2011-09-13 11:58:08 -07:00
Shaopeng Jia
9683f990a2 Adding isEmergencyNumber which also takes in a defaultCountryIso.
Also update CallerInfo and CallerInfoAsyncQuery to use the new method.

Bug: 5247602
Change-Id: I2bbb0806ad2787d53b19bc1e9bdfb0ee8be26980
2011-09-13 16:10:08 +02:00
Kazuhiro Ondo
30928eb603 am b1a3f0ca: Fix no data issue after system server crash
* commit 'b1a3f0ca4b23b882fc1a5e83eaa412c0ed76696f':
  Fix no data issue after system server crash
2011-09-09 15:00:51 -07:00
Kazuhiro Ondo
b1a3f0ca4b Fix no data issue after system server crash
FW was checking "Radio Available" instead of "Radio On" when
broadcasting data availability. This was causing an issue in
a certain recovery case (system server restart/phone process
restart) where "Radio (modem) is available" but radio was
turned off.

This patch obsolete the use of mRadioAvailable attribute and
use RadioState from RIL directly to check if Radio is ON.

Bug:5077346
Change-Id: Ie7ac05e3d5e328e3d5303541ca41326754f309c1
2011-09-09 14:39:53 -07:00
Kazuhiro Ondo
52d51c42b6 am eb7763ef: DO NOT MERGE: Fix leak in SIM ready registrants
* commit 'eb7763efa52bad67ff828ad895ff172190e86035':
  DO NOT MERGE: Fix leak in SIM ready registrants
2011-09-09 13:55:13 -07:00
Kazuhiro Ondo
eb7763efa5 DO NOT MERGE: Fix leak in SIM ready registrants
SIM Ready registrants was keep growing after air plane mode
toggle or RIL recovery.

Bug: 5222722
Change-Id: Iac9fcb86f96f9e42440e641cd94736fed6f45813
2011-09-09 13:02:09 -07:00
Robert Greenwalt
a6d4248e21 Pass roaming info to ConnectivityService.
bug:5215657
Change-Id: I77024141a7bbaa47eae021009e16b283699be53e
2011-09-08 12:01:59 -07:00
Robert Greenwalt
9b2886e243 Create new isNetworkSupported API
Useful for checking if on a wifi-only device.
Similar to asking for NetworkInfo for a network type and checking for
null, though here the intent is explicit.

bug:5087537
Change-Id: Ia3ddd09b6b735b8b3ceb7a347891e015fd96b218
2011-08-31 16:53:12 -07:00
Jeff Sharkey
52d0f9882f More robust check around TelephonyManager init.
Only complain when Context radically changed.

Bug: 4676714
Change-Id: Ia183f9ba51056c857e634d901c618a73e45d2d05
2011-08-31 11:15:34 -07:00
Wink Saville
960ba9132c Merge "CDMALTE: Start reading SIM record on SIM_READY" 2011-08-30 16:05:04 -07:00
Jake Hamby
be1a0493a8 Merge "Use the local timezone for CDMA SMS timestamps." 2011-08-30 13:45:30 -07:00
Jake Hamby
4144a06025 Use the local timezone for CDMA SMS timestamps.
3GPP2 uses the local timezone for timestamps in SMS messages.
Use the local timezone instead of UTC when decoding bearer data.

Bug: 5123883
Change-Id: Iec25bcbb7862f0794ead80b6923c815b68bdd2a5
2011-08-29 16:28:27 -07:00
Wink Saville
03605fa832 Merge "Fix leak in SIM ready registrants" 2011-08-29 15:46:45 -07:00
Wink Saville
3ffb889746 Merge "Add timezone to the terminal response for provide local information command" 2011-08-26 16:53:39 -07:00
Kazuhiro Ondo
43c3204067 Fix leak in SIM ready registrants
SIM Ready registrants was keep growing after air plane mode
toggle or RIL recovery.

Bug: 5222722
Change-Id: Iac9fcb86f96f9e42440e641cd94736fed6f45813
2011-08-26 15:28:05 -07:00
Kazuhiro Ondo
ef5acbc0d6 CDMALTE: Start reading SIM record on SIM_READY
Clean up early workarounds placed for CDMA LTE mode.
Now SIM_READY is used to start reading out SIM record which is
the same as the baseline behavior.

Bug: 4506200
Change-Id: Ib30b1710b60110957f8eb6483f39dbec6153d4a9
2011-08-26 15:08:24 -07:00
Jake Hamby
463f221145 Add ISIM application support for LTE devices.
- Add methods to TelephonyManager to provide access to IMS records on
  the ISIM application of the UICC, as well as access to the ISIM
  AKA authentication algorithm.

- Add support for the new IMS methods to CDMALTEPhone, using the helper class
  ImsUiccRecords to load the IMS records from the ISIM. The same approach
  can be used to implement IMS support for UMTS/LTE devices.

- There is a new RIL request, RIL_REQUEST_ISIM_AUTHENTICATION, which is
  used to perform IMS AKA authentication using the algorithm on the ISIM
  application of the UICC. The challenge nonce and response are both encoded
  as Base64 strings.

Change-Id: I73367c7d9bc573d0d883d68adf09891de1319129
2011-08-26 12:33:11 -07:00
Wink Saville
d0b6ad9ec9 Merge "Allow 15 strings in RIL_REQUEST_VOICE_REGISTRATION_STATE response" 2011-08-26 10:33:15 -07:00
Naveen Kalla
f976cf25f9 Add timezone to the terminal response for provide local information command
If timezone is sent in the NITZ message it needs to be part of the
terminal response sent to the provide local information command for
Date and time Setting. This is as per TS 31.111 section 6.4.15/ETSI TS 102 223
and 3GPP spec 22.042.

Change-Id: I3516911223bd5655dbe8189bba307f0765c63fa1
2011-08-26 10:14:11 -07:00
yoonsung.nam
bcfa57ba52 Allow data during voice call if network type is LTE
Change-Id: Ibbf327ed709c8429232eb4e9088fe900a2e87980
Signed-off-by: yoonsung.nam <yoonsung.nam@samsung.com>
2011-08-25 16:24:25 -07:00
Naveen Kalla
dc69a6b146 Allow 15 strings in RIL_REQUEST_VOICE_REGISTRATION_STATE response
RIL interface contains 15 strings in response to
RIL_REQUEST_VOICE_REGISTRATION_STATE. CdmaServiceStateTracker
throws an exception if response contains more than 14 strings.
Fix needed to comply with RIL interface.

Bug: 5204605
Change-Id: I6f266eb38b2bc52610999cd92449b8dc58dd3274
2011-08-25 12:34:00 -07:00
Jeff Sharkey
8e28b7d782 Proactively disable data when over policy limit.
Add policy controls to NetworkStateTracker which are combined with
other user preference and internal flags to decide if data connection
should be established.  Better locking around enabled flags.

When data network would be over limit, proactively disable data on
that network.  Enable when policy is snoozed or when cycle resets.

Track and dismiss notifications from now-stale policies.

Bug: 4587023, 5178147
Change-Id: Ibfcc9f73cda7c369209af701b46eddd3d1943f2d
2011-08-23 18:45:44 -07:00
Wink Saville
9f1b94a14f Remove writing pin's to log.
Change-Id: Ib84397ac718ebcc3862c69fc7556e0403c2b3940
2011-08-19 11:17:54 -07:00
inshik
4eb45cc98b Add utility functions for pause and tonewait pause.
Add a function that converts a string with RFC3601 defintion
of pause and wait into android representation.

Change-Id: Id8a17c3a166422d62247acb227506549990ace12
2011-08-15 17:05:25 -07:00
Shaopeng Jia
e713576292 Renaming com.google.i18n.phonenumbers to com.android.i18n.phonenumbers
to avoid name collision.

Bug: 5157607
Change-Id: Ic397f371e381a71f17b0b70b955e89d08f7a9867
2011-08-12 13:25:41 +02:00
Sangcheol Lee
1d1435a1ed Don't check provisioning when trying setup data call.
1. SIM is not provisioned before activation.

Change-Id: I04b16d77aaf28bfb8e0c2d7edd937bd44677de73
Signed-off-by: Sangcheol Lee <goodsc.lee@samsung.com>
2011-08-09 15:37:29 -07:00
John Wang
cd62dfbc26 Enable concurrent voice and data for LTE.
bug:5017062
Change-Id: I2c701c74710ce0f718d28babea88fb93d3219564
2011-08-05 15:11:35 -07:00
Wink Saville
35a9c52791 am 5ad5c9e3: am d20f60c8: Merge "Support of LTE Only mode" into honeycomb-LTE
* commit '5ad5c9e3efd26155ae7b5d0f3e9e2094e1f65dfe':
  Support of LTE Only mode
2011-07-27 20:41:23 -07:00
Wink Saville
5ad5c9e3ef am d20f60c8: Merge "Support of LTE Only mode" into honeycomb-LTE
* commit 'd20f60c8a71ca0aa853bc433f74b32dcfc98f984':
  Support of LTE Only mode
2011-07-27 20:39:09 -07:00
Wink Saville
d20f60c8a7 Merge "Support of LTE Only mode" into honeycomb-LTE 2011-07-27 20:35:52 -07:00