• Home
  • History
  • Annotate
  • only in /frameworks/base/telephony/java/android/telephony/
History log of /frameworks/base/telephony/java/android/telephony/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8a06969d5be623d4efd3bdf2c3ecddcde557eca7 24-Sep-2012 Wink Saville <wink@google.com> Merge "Refactor Cell Location public API." into jb-mr1-dev
c6e4917adda19beb780386bcc26b652748b8ab13 21-Sep-2012 Wink Saville <wink@google.com> Refactor Cell Location public API.

Bug: 7189651
Change-Id: I173412095a5f7ae6116ee65b5315782f1c0c7688
ellIdentity.java
ellIdentityCdma.java
ellIdentityGsm.java
ellIdentityLte.java
ellInfo.java
ellInfoCdma.java
ellInfoGsm.java
ellInfoLte.java
ellSignalStrength.java
ellSignalStrengthCdma.java
ellSignalStrengthGsm.java
ellSignalStrengthLte.java
a12a7b3d3d8fc8678411295df4d001447b33a994 20-Sep-2012 Wink Saville <wink@google.com> Suppress location information for non-active users.

Specifically, don't allow call backs for LISTEN_CELL_LOCATION and
LISTEN_CELL_INFO.

Bug: 7087342
Change-Id: Ida7f60b5bde3f28264dcb454b38fcfb1f1616d11
elephonyManager.java
82e6ee62b2be3c716c215e4ba72c8a12c58620fb 28-Aug-2012 Wink Saville <wink@google.com> Unhide some CellSignalStrength methods.

When submitting originally I'd missed unhiding these methods.

Change-Id: I627a5ea0c8c29b6ddfe5b1c49f9c0789d5e86456
ellSignalStrength.java
ellSignalStrengthCdma.java
ellSignalStrengthGsm.java
ellSignalStrengthLte.java
2900a3fae6e3da65522ffc16673ab1757352afbb 14-Aug-2012 Wink Saville <wink@google.com> Fix build.

I tried to get these into the merge conflict resolution,
but didn't succeed.

Change-Id: Id474415869182da438c09f7a75ee54c098fbc81e
ellSignalStrengthLte.java
ignalStrength.java
c1e68d133cb587be4f77a0a7f3affd42b2408412 14-Aug-2012 Wink Saville <wink@google.com> Merge commit 'e0df2c4f' into fix-merge-conflict

* commit 'e0df2c4f':
Telephony: Signal Strength cleanup & LTE support

Change-Id: I655fcc0cf430820a50a8751ac132c73f7d8e0c6f
e0df2c4f5df793236707f573b5318ce43630c848 13-Aug-2012 Wink Saville <wink@google.com> am eca64977: Merge "Telephony: Signal Strength cleanup & LTE support"

* commit 'eca64977041c5df0c987bdae56006ebbe86de677':
Telephony: Signal Strength cleanup & LTE support
a44b137648c44cc29a8ce43f44a7934ff8045135 10-Jul-2012 Uma Maheswari Ramalingam <umam@codeaurora.org> Telephony: Signal Strength cleanup & LTE support

Make signal strength parsing common for all modes

Add Support to calculate LTE
level for UI signal bar display

Update the lowest of Evdo/ CDMA dbm value
in phone status instead of using only CDMA dbm

Change-Id: I41bce658c536dc30558224c8ca76d6d70afb78ee
ignalStrength.java
9742553603af071b5087df3e352e2ad4ac1d382f 02-Aug-2012 Wink Saville <wink@google.com> Merge "Unhide the new location API's" into jb-mr1-dev
432139b5c3bcbb3762fb7de1717e816d2b7c90f0 28-Jul-2012 Robert Greenwalt <rgreenwalt@google.com> Reduce log spam.

Turn off DBG in SignalStrength.java

Change-Id: Ida1bded2551272956115aef5f3eda0f2a8cf3aed
ignalStrength.java
3caf66d2ea63c75039daf43af30d3727e5ce6b58 26-Jul-2012 Wink Saville <wink@google.com> Unhide the new location API's

Change-Id: I41cc89998b8bd1e6686ea30475ab8905a133e312
ellIdentity.java
ellIdentityCdma.java
ellIdentityGsm.java
ellIdentityLte.java
ellInfo.java
ellInfoCdma.java
ellInfoGsm.java
ellInfoLte.java
ellSignalStrength.java
ellSignalStrengthCdma.java
ellSignalStrengthGsm.java
ellSignalStrengthLte.java
honeStateListener.java
elephonyManager.java
6f65b6ee71f566a8c35374f95a280f65b4c08d07 26-Jul-2012 Jake Hamby <jhamby@google.com> am 0c8a7768: am 893d93d2: Implement CMAS service category program results.

* commit '0c8a7768e04513f5175add42c7be6240a703ff73':
Implement CMAS service category program results.
b208a24cf521401912cfce16fce550a995cf1250 25-Jul-2012 Wink Saville <wink@google.com> Revise and update CellInfo API's

Change-Id: I25a46076a244f50edb9da65816b3717e00820b34
dmaCellIdentity.java
ellIdentity.java
ellIdentityCdma.java
ellIdentityGsm.java
ellIdentityLte.java
ellInfo.java
ellInfoCdma.java
ellInfoGsm.java
ellInfoLte.java
ellSignalStrength.java
ellSignalStrengthCdma.java
ellSignalStrengthGsm.java
ellSignalStrengthLte.java
smCellIdentity.java
teCellIdentity.java
honeStateListener.java
ignalStrength.java
elephonyManager.java
893d93d2076ccbb4d8c9d37bf6ffe14e4847a470 25-Jul-2012 Jake Hamby <jhamby@google.com> Implement CMAS service category program results.

Correctly handle CDMA Service Category Program Data requests,
and send the SCPT response to the message center. Parcel SCPD
operations as an ArrayList instead of an array (current version
will throw ClassCastException when the array is cast).

Bug: 6853691
Change-Id: I949ea68891c78306059248832e59a593ab606e11
dma/CdmaSmsCbProgramData.java
dma/CdmaSmsCbProgramResults.java
33034b13cae1429d526722374bd39be3f9605ae4 10-Jul-2012 Wink Saville <wink@google.com> Create telephony-common and mms-common - DO NOT MERGE

These have been created to reduce the size and complexity
of frameworks/base.

mms-common was created by moving all of
frameworks/base/core/java/com/google/android/mms
to:
frameworks/opt/mms

telephony-common was created by moving some of
frameworks/base/telephony
to:
frameworks/opt/telephony

Change-Id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad
ellBroadcastMessage.java
ellLocation.java
honeStateListener.java
msCbCmasInfo.java
msCbEtwsInfo.java
msCbLocation.java
msCbMessage.java
msManager.java
msMessage.java
elephonyManager.java
sm/SmsManager.java
sm/SmsMessage.java
a639b311e93ad14d9ee5c2b2c215ed2d86c32d2a 10-Jul-2012 Wink Saville <wink@google.com> Create telephony-common and mms-common

These have been created to reduce the size and complexity
of frameworks/base.

mms-common was created by moving all of
frameworks/base/core/java/com/google/android/mms
to:
frameworks/opt/mms

telephony-common was created by moving some of
frameworks/base/telephony
to:
frameworks/opt/telephony

Change-Id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad
ellBroadcastMessage.java
ellLocation.java
honeStateListener.java
msCbCmasInfo.java
msCbEtwsInfo.java
msCbLocation.java
msCbMessage.java
msManager.java
msMessage.java
elephonyManager.java
sm/SmsManager.java
sm/SmsMessage.java
e0f8b91e049b51770329c43e38aa88ccbb957104 12-Jun-2012 Wink Saville <wink@google.com> am 4853f944: am 3fe79dfd: Merge "Adds utility method to convert 0.25 secs to decimal degrees"

* commit '4853f944ac4befba42219f6db8ed02b44a3e0d2b':
Adds utility method to convert 0.25 secs to decimal degrees
f75e3e01f6e574a411fa936e070a7a9f2f606da7 12-Jun-2012 Wink Saville <wink@google.com> am c07055c4: am bc69f97c: Merge "Adds documentation to CdmaCellLocation get lat/long methods"

* commit 'c07055c4a6e92a6c82e193c5b87b35d97418a73b':
Adds documentation to CdmaCellLocation get lat/long methods
3fe79dfdf4ca63535ec9e586ebed553a862061ea 12-Jun-2012 Wink Saville <wink@google.com> Merge "Adds utility method to convert 0.25 secs to decimal degrees"
bc69f97c663ec37aabf8ac4192752ecba0e00200 12-Jun-2012 Wink Saville <wink@google.com> Merge "Adds documentation to CdmaCellLocation get lat/long methods"
e69ec2253cd2e151a6a98e87d1bbf5d5cfa05bed 09-May-2012 Daisuke Miyakawa <dmiyakawa@google.com> Remove STOPSHIP part of the logging in telephony

We still need the log itself to trap the exceptional case.

Bug: 6201805
Change-Id: I62d12f6a1ed41817ee12c0f5c7fc4aa0a967a60f
honeNumberUtils.java
67662767d98c42c34519767956aebe9d90f31c3a 13-Jan-2012 Sean Barbeau <sjbarbeau@gmail.com> Adds utility method to convert 0.25 secs to decimal degrees

This patch adds a utility method that converts latitude and longitude
in quarter seconds units to decimal degrees units. The Telephony API
returns CDMA base station latitude and longitude in quarter seconds
due to a 3GPP telecom standard, while the Android Location API, and
the vast majority of application-level code, uses decimal degrees.

For example, to measure the distance from the user's current location
to the base station using the Location API Location.distanceBetween()
method (http://goo.gl/YjO8O), the base station lat and long would need
to be converted to decimal degrees first.

Since most application developers will likely never use lat/long information
in quarter seconds units, and instead will need this information in decimal
degrees, this utility method will frequently be used by anyone querying
base station location data from CdmaCellLocation.

Sample values to test conversion:

0.25 seconds: lat = 399491, long = -1189145
is equivalent to
decimal degrees: lat = 27.742430555555554, long = -82.57951388888888

Change-Id: If03e741f5035a37519f50d4fb2fb3e3eef2505da
Signed-off-by: Sean Barbeau <sjbarbeau@gmail.com>
dma/CdmaCellLocation.java
0205537536431204b11459e9d2d2eccf3924c6cd 24-Apr-2012 Daisuke Miyakawa <dmiyakawa@google.com> Add debug log for 5914560 and 6383850

This won't be shown in usual condition since in most cases the method
will just use the block just above the logging and return true/false
there. On the other hand this might be useful if the case is truely
exceptional and thus this path is really used.

Bug: 5914560
Bug: 6383850
Change-Id: I2242f93a9b905b5a39d997aa30d9fd6f5bfbdf49
honeNumberUtils.java
c3296ffdfc70c6778b6ae760b812b4e53e335f97 18-Apr-2012 Jake Hamby <jhamby@google.com> Add ContentProvider for apps to read received SMS cell broadcasts.

The CellBroadcastReceiver app will allow apps with the new permission
"android.permission.READ_CELL_BROADCASTS" to read previously received
cell broadcast messages from a new ContentProvider database at URI
"content://cellbroadcasts". This will enable third parties to provide
additional information to users in the event of emergencies without
delaying or interfering with the initial system alert dialog to warn
the user when the alert is received.

Includes a new android.telephony.CellBroadcastMessage class which
can be instantiated from the Cursor retrieved from the ContentProvider.
This was previously a part of the CellBroadcastReceiver app, but can now
be used by third party apps with read permission on the ContentProvider.

Change-Id: I2c31f62b63c050c7946de2d81c28a5f4dc6f00b0
ellBroadcastMessage.java
f80310d3c56387091ccd4111b698c09f76b8c53d 13-Jan-2012 jshin <jgsin@samsung.com> Added API to replace unicoded digits to ascii numbers

Users can enter arabic phone number or click arabic phone number
to send MMS. Works for generic Unicode digits (full-width, etc.).

bug:5615791
Change-Id: Ieec8c5c6c3736ee2b4ac8ddf17f8c41b2001460e

Signed-off-by: Jake Hamby <jhamby@google.com>
honeNumberUtils.java
e333c82da35119cfa25109328c3db98fa84f965e 13-Jan-2012 Jake Hamby <jhamby@google.com> Convert Arabic phone numbers to ASCII when sending SMS.

Modify PhoneNumberUtils to automatically convert non-ASCII digits,
such as Arabic-Indic numbers, CJK full-width digits, etc., to ASCII
in normalizeNumber(), extractNetworkPortion(), and stripSeparators().

This enables the SMS application to support sending SMS's to phone
numbers written with Arabic, or other non-ASCII digits. The number will
be converted to ASCII digits and formatted for the user according to the
country formatting rules.

Bug: 5615791
Change-Id: I42039285db5795b1dda22e4251f54af302e27f13

Signed-off-by: Jake Hamby <jhamby@google.com>
honeNumberUtils.java
2119ade6d737345d58145e773f5877c199a3e20d 06-Apr-2012 John Wang <johnwang@google.com> Merge "Enhance Cell Location Api."
8fc27e8b87bd1def854a03d84009143b315d4176 05-Apr-2012 Jeff Sharkey <jsharkey@android.com> Support metered Wi-Fi NetworkPolicy.

Add networkId field to NetworkIdentity to identify Wi-Fi networks by
SSID. Add support for policies without usage cycles.

Only apply mobile policies when SIM state is ready, which is cleaner
than just checking for airplane mode. Also avoids creating no-op
default policies when subscriberId is null.

Bug: 3001465, 3291052
Change-Id: I1f8aaa49a5db306df022c402ea7f3f5d4bc0cfc7
elephonyManager.java
963db55d59a170f4b17ff907c96615a19ef6fe17 31-Mar-2012 John Wang <johnwang@google.com> Enhance Cell Location Api.

To boost accurary and enhance capability of cell location api,
two new APIs, TelephonyManager.getAllCellInfo() and
TelephonyManager.listen(LISTEN_CELL_INFO), are added. Two new
Class, CellInfo and CellIdentity, are created.

This API change returns all information of one cell locaiton
at the same time. It also provides additional LTE and timestamp information.

Change-Id: I4d0f813107e625ec4ac88c8d980ffd171aa5fc30
dmaCellIdentity.java
ellIdentity.java
ellInfo.aidl
ellInfo.java
smCellIdentity.java
teCellIdentity.java
eighboringCellInfo.aidl
honeStateListener.java
erviceState.aidl
ignalStrength.aidl
elephonyManager.java
3e3c3f80a90b156ff500076f8655647dfb317acf 06-Feb-2012 Jake Hamby <jhamby@google.com> Add support for CMAS warning notifications over CDMA.

Refactor SMS Cell Broadcast support to enable receiving CMAS warning
notifications over CDMA. The CellBroadcastReceiver app must also be
updated with the corresponding change. All cell broadcasts are now
delivered as a Parcelable SmsCbMessage object in the "message" extra
of the SMS_CB_RECEIVED_ACTION or SMS_EMERGENCY_CB_RECEIVED_ACTION,
instead of as a GSM/UMTS "pdu" byte array.

Existing functionality for ETWS and CMAS alerts over GSM/UMTS continues
to be supported using the new radio-technology independent SmsCbMessage
and related objects. Test cases are added to verify that valid and
invalid broadcast data is handled appropriately.

Unit testing discovered a bug in the BitwiseOutputStream utility class
used by the added test cases. When the BitwiseOutputStream object must be
expanded (in the private possExpand() method), the mEnd field is not
updated to the new array size. This causes a new array to be allocated
on every new write, and for all data beyond the original array allocation
to be replaced with zeroes. Fixed by adding a line to possExpand() to
update mEnd. Added a test case to BitwiseStreamsTest to verify the fix.
Besides the test cases, BitwiseOutputStream is only used by BearerData in
two places, both of which allocate a sufficient initial buffer. So the
bug in BitwiseOutputStream is not critical to fix for normal operation,
but should be fixed so that the test cases using it function correctly.

Bug: 5856308
Change-Id: I201ecbf11607fd200aaae3cbb32561efabf65672
msCbCmasInfo.java
msCbConstants.java
msCbEtwsInfo.java
msCbLocation.java
msCbMessage.java
dma/CdmaSmsCbProgramData.java
26a92257b43e8941e1505a5f9df42b00f23a87ee 05-Mar-2012 Todor Kalaydjiev <todor@google.com> Support auto-complete in PhoneNumberFormattingTextWatcher. Also, simplify logic.
Previously, the assumption was that only a deletion or an insertion can happen
at a time; but with auto-complete, a deletion and insertion happen at the same time.

Needed for bug 5992672 in the Messaging app and is nice to have in the platform.

Change-Id: I2d80cecc486e7a1ceeaeb34866bcd834074f5ead
honeNumberFormattingTextWatcher.java
efba344b5a7b20e400daf5f41b2fbd688337f789 29-Feb-2012 Jake Hamby <jhamby@google.com> Revert "Add support for CMAS warning notifications over CDMA." I'll submit again when the app change is ready.

This reverts commit 0c49f03a0429b5c0c4a619256f7bca86a4997ae8
msCbCmasInfo.java
msCbConstants.java
msCbEtwsInfo.java
msCbLocation.java
msCbMessage.java
dma/CdmaSmsCbProgramData.java
0c49f03a0429b5c0c4a619256f7bca86a4997ae8 06-Feb-2012 Jake Hamby <jhamby@google.com> Add support for CMAS warning notifications over CDMA.

Refactor SMS Cell Broadcast support to enable receiving CMAS warning
notifications over CDMA. The CellBroadcastReceiver app must also be
updated with the corresponding change. All cell broadcasts are now
delivered as a Parcelable SmsCbMessage object in the "message" extra
of the SMS_CB_RECEIVED_ACTION or SMS_EMERGENCY_CB_RECEIVED_ACTION,
instead of as a GSM/UMTS "pdu" byte array.

Existing functionality for ETWS and CMAS alerts over GSM/UMTS continues
to be supported using the new radio-technology independent SmsCbMessage
and related objects. Test cases are added to verify that valid and
invalid broadcast data is handled appropriately.

Unit testing discovered a bug in the BitwiseOutputStream utility class
used by the added test cases. When the BitwiseOutputStream object must be
expanded (in the private possExpand() method), the mEnd field is not
updated to the new array size. This causes a new array to be allocated
on every new write, and for all data beyond the original array allocation
to be replaced with zeroes. Fixed by adding a line to possExpand() to
update mEnd. Added a test case to BitwiseStreamsTest to verify the fix.
Besides the test cases, BitwiseOutputStream is only used by BearerData in
two places, both of which allocate a sufficient initial buffer. So the
bug in BitwiseOutputStream is not critical to fix for normal operation,
but should be fixed so that the test cases using it function correctly.

Bug: 5856308
Change-Id: Ie3e6af747976ce9b8a3e71e76fec71709cf86545
msCbCmasInfo.java
msCbConstants.java
msCbEtwsInfo.java
msCbLocation.java
msCbMessage.java
dma/CdmaSmsCbProgramData.java
d13f9aa8b1d59f4d8baf21960f18f5f7dc75dad7 25-Feb-2012 Mathias Agopian <mathias@google.com> attempt to fix IMSFramework crash

Change-Id: Iad6dd85afe8f37c1e443c116162d75f116c24316
erviceState.java
6513daef5e34082d9670c4149252703d40f8d937 25-Feb-2012 Robert Greenwalt <rgreenwalt@google.com> Merge "Seperate RIL constants from the framework."
1434d7b855108cb14c210b26cabb7bdb15f31887 17-Feb-2012 Robert Greenwalt <rgreenwalt@google.com> Seperate RIL constants from the framework.

We have two sets of constants for network type. One used by the RIL can't
be changed without big pains with OEM/Radio vendors. The other has been published
as part of the framework and can't be easily changed either.

Separate the two so it's clear where one should be used versus the other.

bug:5717664
Change-Id: Ibf21f9165662e75557c7254fc9ad9a4870ba4af9
erviceState.java
510db8feb611a924d235b9b8a1d55ebbd36e9022 15-Feb-2012 Daisuke Miyakawa <dmiyakawa@google.com> Introduce convertAndStrip()

Phone app will use this for actual phone calling, coping with
IccProvider, etc.

Add unit tests for the method, and stripSeparators() which is missing

Bug: 5546664
Change-Id: I49b996abe7a44f7db4301b62f667189281fc40e9
honeNumberUtils.java
75400e775e7f291720aa43fbe6bf2b4ab41265b1 14-Feb-2012 Makoto Onuki <omakoto@google.com> Merge "Fix the 3-parameter formatNumber to correctly handle IDDs."
17cbdd39ea0319ca2d50ab6ee4b5733312417ec6 07-Feb-2012 John Wang <johnwang@google.com> am 7e6295b3: am 9ad528d5: am 48ac0f14: Merge "Don\'t use SNR in the invalid check." into ics-mr1

* commit '7e6295b32310afddccf5fb030d4c475ed3678e0f':
Don't use SNR in the invalid check.
7c70cefcae2d6a096112d746ae72f515898a3f45 06-Feb-2012 John Wang <johnwang@google.com> Don't use SNR in the invalid check.

Since some RILs use -1 instead of INVALID_SNR as invalid vlue for
LTE SNR, SignalStrength will not use LTE SNR to check if LTE valid.

bug:5970403
Change-Id: Ia948e076f8f5878e081e87680076b187857879c8
ignalStrength.java
26cd243601fc05c5ed39c2d1e3ab203a8eb97c25 02-Feb-2012 Shaopeng Jia <shaopengjia@google.com> Fix the 3-parameter formatNumber to correctly handle IDDs.

Also added more unittests.

Bug: 5726454

Change-Id: I7fd96b47e7b0c34b66a2fe698308342e125ec0f3
honeNumberUtils.java
7f8ab4b786321d8f298e7b4084b099b561481397 31-Jan-2012 Justin Ho <justinho@google.com> am 66146c4f: am 792d83c5: Merge "Use LTE SNR and RSRP to set signal level bar." into ics-mr1

* commit '66146c4f5b3930f7f5f08b845fb30f2bc24f8c3d':
Use LTE SNR and RSRP to set signal level bar.
5e39519396918f9e2312d1c355a9b6889851d887 31-Jan-2012 John Wang <johnwang@google.com> Use LTE SNR and RSRP to set signal level bar.

The LTE signal strength level is the smaller one
between lte rsrp level and lte snr level if both
rsrp and snr are valid.

The lte snr mapping are

Four bars: SNR >= 45
Three bars: 10 <= SNR < 45
Two bars: -30 <= SNR < 10
One bars: SNR < -30
No bars: No Service

The invalid value of lte snr is changed to INVALID_SNR
from -1, since -1 is a valid value of lte snr.

bug:5640958
Change-Id: If26aaba0c7fcc0fee3db488b5adfa02922f06715
ignalStrength.java
7a41c7013d0ed319fcb4384cc4b5cf26b22d3580 30-Jan-2012 John Wang <johnwang@google.com> am 136704a8: am b069833e: Merge "Adjust the LTE signal bar mapping." into ics-mr1

* commit '136704a803ed7dd419a452315d1c0fe4885ce441':
Adjust the LTE signal bar mapping.
2c911b24163c9bcb50bc548c828b7fc2f6ef8bce 27-Jan-2012 John Wang <johnwang@google.com> Adjust the LTE signal bar mapping.

The new mapping are

Four bars: RSRP >= -95dBm
Three bars: -105 dBm <= RSRP < -95 dBm
Two bars: -115 dBm <= RSRP < -105 dBm
One bars: RSRP < -115 dBm
No bars: No Service

bug:5640958
Change-Id: I9efabaeac33b624ea0a58a4d3760169dff6544f6
ignalStrength.java
9a18320ef4c9019807423ea05d350a005e136bcc 13-Jan-2012 Sean Barbeau <sjbarbeau@gmail.com> Adds documentation to CdmaCellLocation get lat/long methods

Adds better documentation to the getBaseStationLatitude() and
getBaseStationLongitude() methods to indicate the units for latitude
and longitude in CdmaCellLocation. Unlike the Android Location API
methods, latitude and longitude in CdmaCellLocation are not in decimal
degrees but instead in 0.25 seconds due to a more obscure 3GPP standard
underlying the Telephony API. The current Javadocs on the Android
developer page (http://goo.gl/hvWo6) do not indicate the units for
latitude and longitude in CdmaCellLocation, making it very difficult
for developers to interpret the output of these methods, especially
since 0.25 seconds is not a commonly used unit for latitude and longitude
in application-level code. This patch adds clear documentation to
these methods so developers can clearly understand the units for
latitude and longitude without having to dig through the Android
platform source code.

Change-Id: I259bfe3b68e3999804877821680fb99a22937651
Signed-off-by: Sean Barbeau <sjbarbeau@gmail.com>
dma/CdmaCellLocation.java
1f7b23dda211f419f0a140b871de44339c4a10c7 12-Jan-2012 John Wang <johnwang@google.com> am 70205788: am 6ad68ba9: Adjust the mapping of LTE signal bars.

* commit '70205788fa39968b8331085597e3d3b61e271fbe':
Adjust the mapping of LTE signal bars.
6ad68ba9d99d48cc5c189dc7e32e577f56ce51fd 11-Jan-2012 John Wang <johnwang@google.com> Adjust the mapping of LTE signal bars.

bug:5640958
Change-Id: I91efc5a81b505aae59dac9b1d69314efaffda6b6
ignalStrength.java
fc2cbe9b46ab17a401dc50f8e0dbb677ed012299 30-Dec-2011 Naveen Kalla <nkalla@quicinc.com> Separate SIM states from Radio states

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
erviceState.java
ab971d3c26346cfd94a37e40591318bf3b3ae4fd 20-Nov-2011 Shaopeng Jia <shaopengjia@google.com> Add support for country specific emergency number handling.

Bug: 5247602, 5615428
Change-Id: I1bdfbc987f45e0f2ebbe68adaab215395c83ca35
honeNumberUtils.java
158f116eb7fdc23a12d6822d34a549f33605bc8c 17-Nov-2011 David Brown <dab@google.com> Fix a crash caused by SIP addresses containing "%40" instead of "@"

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
honeNumberUtils.java
277b13e091aa81ddaf4ac40b9cf4073d997ea4fb 17-Nov-2011 David Brown <dab@google.com> SIP addresses containing "911" shouldn't be considered emergency calls

This change updates isEmergencyNumberInternal() to always return false if
you pass in a SIP address, since the concept of "emergency numbers" is
only meaningful for calls placed over the cell network.

Previously we *did* try to compare SIP addresses against the list of known
emergency numbers, which caused bad behavior with SIP addresses that even
contained "911"/"112"/etc as a substring (since we were filtering out
non-dialable characters before doing the comparison!)

TESTED:

- Before this change, calls to "abc911def@example.com" or
"911abcdef@example.com" were incorrectly detected as emergency
numbers, and fail.

- After this change, SIP addresses like "abc911def@example.com" and
"911abcdef@example.com" work fine.

- Also, confirmed that this change doesn't break the restriction that
3rd party apps shouldn't be able to make emergency calls.

Specifically, I fired off ACTION_CALL intents (using the CallDialTest
activity) for a bunch of numbers *similar* to emergency numbers, and
confirmed that none of them actually resulted in an emergency call
being placed.
The specific ACTION_CALL intents I tested were:
"911" ==> Didn't place the call; brought up dialer instead
"tel:911" ==> Didn't place the call; brought up dialer instead
"911@foo" ==> Tried to start a SIP call (which failed)
"911%40foo" ==> Tried to start a SIP call (which failed)
"tel:911@foo" ==> Tried to start a SIP call (which failed)
"tel:911%40foo" ==> Tried to start a SIP call (which failed)
"911@example.com" ==> Tried to start a SIP call (which failed)
"sip:911" ==> Didn't place the call; brought up dialer instead
"sip:911@foo" ==> Tried to start a SIP call (which failed)
"sip:911%40foo" ==> Tried to start a SIP call (which failed)

Bug: 5515452
Change-Id: I6f9f8690b08564c53c7a76f480654477b475d94d
honeNumberUtils.java
8f4f814beb03400e9143b7c88307b2fd68abd77c 16-Nov-2011 Robert Greenwalt <rgreenwalt@google.com> Fix TelephonyManager to grab the best context

It may not be called from an app so the app context may not exist.
Check and grab the best one.
Also remove the log that nobody paid attention to if the constructor
is called again from the same process. One context seems to be as
useful as another.

bug:5572369
bug:5622514
Change-Id: Iad23b30c7c8fe5b8d1f81a1e060eaf0cd0e3019d
elephonyManager.java
59882fb8e0ba7c47b780d62c9a9c46b63d779677 09-Nov-2011 David Brown <dab@google.com> Merge "Add "potential" variants for PhoneNumberUtils.isEmergencyNumber()" into ics-mr0
1a811695f9ae2ac806a64fd3b6c440c83262dc52 08-Nov-2011 David Brown <dab@google.com> Add "potential" variants for PhoneNumberUtils.isEmergencyNumber()

The phone app needs a way to distinguish between (a) numbers that are
definitely emergency numbers, and (b) numbers that *might* result in an
emergency call being dialed, but aren't specifically emergency numbers
themselves.

(The phone app needs this distinction in order to enforce the restriction
that 3rd party apps should not be allowed to make emergency calls using
the ACTION_CALL intent, while still making sure that the in-call UI only
displays the "emergency call" state for numbers that are *definitely*
emergency numbers. See bug 5493790 for the full details;)

So this change adds a full set of "isPotentialEmergencyNumber()" methods
to go along with the "isEmergencyNumber()" methods we've had all along.
The "potential" variants behave identically to the original methods,
*except* that they ultimately use number.startsWith() rather than
number.equals() when comparing against the list of emergency numbers.

TESTED:

- Unit test 'PhoneNumberUtilsTest#testIsEmergencyNumber' passes.
(The PhoneNumberUtilsTest class doesn't pass in its entirety, but it was
broken before this change also.)

- Also see the commit description of change
Ib949fea3c0ce6b341a90e617a03ba3f22c69018b for the exact tests I ran
against the phone app.

This change should be submitted along with
Change-Id: Ib949fea3c0ce6b341a90e617a03ba3f22c69018b
in apps/Phone (but this change must go in first to avoid breaking the
build.)

Bug: 5493790
Change-Id: Ic528cfcc555734cdaf4ca8a18a50199771ba49b1
honeNumberUtils.java
141da403c0ad2d06b8f55e737ddf5d9e2b64c536 02-Nov-2011 bi4004.lee <bi4004.lee@samsung.com> Fix exception when sending multi-page SMS with Turkish characters.

- Precondition: config_sms_enabled_single_shift_tables is configured as
1 (Turkish) in frameworks/base/core/res/res/values/config.xml

- Cause: There is no consideration for National Language Shift Tables in
SmsMessage::fragmentText function.

- Solution: The header length is calculated properly according to
National Language Shift Table

- modified to add test cases and fix calculation bug (jhamby@google.com)

Bug: 5553544
Change-Id: I9eaefbbd6b3d75f8c41cbf9d0cb03a701cfa1cb3
msMessage.java
b7945cae5ad0feaad09378d0db77f2b3105e5235 22-Sep-2011 Jake Hamby <jhamby@google.com> Enable support for multiple SMSDispatchers in CDMALTEPhone.

Refactor framework to support multiple SMSDispatcher objects on
dual-mode devices that require support for both 3GPP and 3GPP2
format SMS messages. Each dispatcher registers to receive events for
the appropriate message format.

Note: All applications which handle incoming SMS messages by processing the
SMS_RECEIVED_ACTION broadcast intent MUST pass the "format" extra from the intent
into the new createPdu() method in android.telephony.SmsMessage that takes an
extra format parameter. This is required in order to correctly decode the PDU on
devices which require support for both 3GPP and 3GPP2 formats at the same time,
such as CDMA/LTE devices and GSM/CDMA world phones.

- moved code to manage device storage events from SMSDispatcher to a
new class, SmsStorageMonitor, which is shared among all dispatchers.

- moved code to monitor per-application outgoing SMS usage from
SMSDispatcher.SmsCounter to a new class, SmsUsageMonitor, which
is shared among all dispatchers.

- fixed a bug that prevented CDMALTEPhone from setting the MCC/MNC
operator numeric value in the telephony provider from the UICC,
as GSMPhone does, when the SIM records have loaded.

Change-Id: I2789ac07b6ca2948138bca7f75481f9b31514f20
msManager.java
msMessage.java
sm/SmsMessage.java
2613e0064b4a43b7de4205d5a6aaae64416972ed 26-Sep-2011 Flavio Lerda <flerda@google.com> Do not format numbers starting with hash or star.

If the user asks to format a number that starts with either a hash or a
star symbol, do not further format the phone number since we are not
actually able to parse such a number correctly and current this results
in the star or hash being dropped.

Bug: 5362177
Change-Id: Iff8d317c087d0ca07f2b107459ce8c47882ef367
honeNumberUtils.java
c6027ee46486bcc6e0df457c5678eb697d6ed321 22-Sep-2011 Shaopeng Jia <shaopengjia@google.com> Temp fix to the problem of incorrectly classifying Brazilian local
numbers as emergency numbers.

Bug: 5247602
Change-Id: Ib1626ef25ced2e149c526601bfac72de39e3f1b9
honeNumberUtils.java
6b7c3f8a1cd8b638defc28a3249746e99b8039ae 14-Sep-2011 Shaopeng Jia <shaopengjia@google.com> Update code to use location aware isEmergencyNumber.

Bug: 5247602
Change-Id: Ieeda4a17464795b3591db754bc991759609f88c2
honeNumberUtils.java
80c32a37b63ceff885199e22a8505ac557c86d35 15-Sep-2011 duckyoung.chai <duckyoung.chai@samsung.com> [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>
elephonyManager.java
9683f990a282776ac8a588a9d5e1a73b61f43dcf 07-Sep-2011 Shaopeng Jia <shaopengjia@google.com> Adding isEmergencyNumber which also takes in a defaultCountryIso.

Also update CallerInfo and CallerInfoAsyncQuery to use the new method.

Bug: 5247602
Change-Id: I2bbb0806ad2787d53b19bc1e9bdfb0ee8be26980
honeNumberUtils.java
52d0f9882fc8f33d1aef1d0e79f15733daf4ebe2 31-Aug-2011 Jeff Sharkey <jsharkey@android.com> More robust check around TelephonyManager init.

Only complain when Context radically changed.

Bug: 4676714
Change-Id: Ia183f9ba51056c857e634d901c618a73e45d2d05
elephonyManager.java
463f22114587344c96460179069a08d7381fbfd6 22-Jul-2011 Jake Hamby <jhamby@google.com> 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
elephonyManager.java
4eb45cc98bdcee575cc21f5ad5754cde57197a81 12-Aug-2011 inshik <inshik.shin@samsung.com> 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
honeNumberUtils.java
e713576292fc72086de47066981b86ad2f27ab0f 12-Aug-2011 Shaopeng Jia <shaopengjia@google.com> Renaming com.google.i18n.phonenumbers to com.android.i18n.phonenumbers
to avoid name collision.

Bug: 5157607
Change-Id: Ic397f371e381a71f17b0b70b955e89d08f7a9867
honeNumberFormattingTextWatcher.java
honeNumberUtils.java
de4c26fa1a5adf3efa8995cbf69e45aa10111b8f 17-Jul-2011 Dianne Hackborn <hackbod@google.com> Fix a couple static leaks.

Change-Id: If2564dc822fbcb3bb3baf270ad2b3c29c78bf421
elephonyManager.java
23b444a2e4e808262c22fa5254db9861eb961879 01-Jul-2011 David Brown <dab@google.com> Merge "Remove explicit toUpperCase after CountryDetector is fixed to return uppercase region code."
de89a4645822996e8d751d16c27f9e584f993076 01-Jul-2011 Robert Greenwalt <rgreenwalt@google.com> am 672c468c: am a2267451: Don\'t ever report a null ServiceState

* commit '672c468c453ea0b5195f42150d6772ac33d1f7e3':
Don't ever report a null ServiceState
bc2e82d45432f7bd546d0fcc57e1ad1816ade9a3 01-Jul-2011 Shaopeng Jia <shaopengjia@google.com> Remove explicit toUpperCase after CountryDetector is fixed to return
uppercase region code.

Change-Id: I111d5792b67eb0e16a7278a731097f305cb9a059
honeNumberFormattingTextWatcher.java
672c468c453ea0b5195f42150d6772ac33d1f7e3 30-Jun-2011 Robert Greenwalt <rgreenwalt@google.com> am a2267451: Don\'t ever report a null ServiceState

* commit 'a2267451ddf91cc330f4c283e86811e38328915b':
Don't ever report a null ServiceState
a2267451ddf91cc330f4c283e86811e38328915b 30-Jun-2011 Robert Greenwalt <rgreenwalt@google.com> Don't ever report a null ServiceState

Report out of service if we don't know any better. Sometimes when switching radios
we were finding nulls reported - it crashed some code and highlighted this problem.
If we don't have a service state we're certainly out of service, so this isn't a lie.

bug:4553701
Change-Id: I094798a5f9f39f45c0ba30179aaa8f88f9b3e405
erviceState.java
f9ab96f9d3d97e65537e487d1c05c69df2313618 17-Jun-2011 John Wang <johnwang@google.com> Revert "Do not merge. Return null id for Non-phone device."

This reverts commit cea03df201dc6659654234bc5fbfebf1b6a06e42

Change-Id: I68470e729d9304f1c27473a71334e1b0de99ff01
elephonyManager.java
5b0b167f7fd74d8e238508badb0af2cd6038d522 24-Jun-2011 Shaopeng Jia <shaopengjia@google.com> Uppercase region code so that AsYouTypeFormatter works correctly.

Change-Id: Iaf46ec5241a1a8984753bd6d8f9f842884efaa15
honeNumberFormattingTextWatcher.java
e21217af6480c45212517a68b2b6e583c4dc27c9 17-Jun-2011 John Wang <johnwang@google.com> am c6b32054: am c826f92e: Merge "Revert "Do not merge. Return null id for Non-phone device."" into honeycomb-mr2

* commit 'c6b32054c67901b0627ad99e4bd8b15c5cc2fb90':
Revert "Do not merge. Return null id for Non-phone device."
c6b32054c67901b0627ad99e4bd8b15c5cc2fb90 17-Jun-2011 John Wang <johnwang@google.com> am c826f92e: Merge "Revert "Do not merge. Return null id for Non-phone device."" into honeycomb-mr2

* commit 'c826f92e6f90f4157afd4ed69c6907ff768a0d6b':
Revert "Do not merge. Return null id for Non-phone device."
fe9aa2706ff9e5059d5e2737d751122fb5d692b9 17-Jun-2011 John Wang <johnwang@google.com> Revert "Do not merge. Return null id for Non-phone device."

This reverts commit cea03df201dc6659654234bc5fbfebf1b6a06e42
elephonyManager.java
0cf353e0527983fcb239d3896cf8084c309cecec 09-Jun-2011 Jake Hamby <jhamby@google.com> am 22165bb5: am ae62b7b0: resolved conflicts for merge of 66040bbb to gingerbread-plus-aosp

* commit '22165bb54af1cd3cb636c1d65da7c643d854c385':
Fixes for SMS Cell Broadcast support.
3fa5f373467054c673c5fd6296adba4c6de41520 09-Jun-2011 John Wang <johnwang@google.com> am 229d3a0c: am fc94d45f: Merge "Make getDeviceId return null for Non-phone device." into honeycomb-LTE

* commit '229d3a0cbce70db82003705abf6844deec136d20':
Make getDeviceId return null for Non-phone device.
d4f1bacca50a74a74a02bf6a242bb22c495e4034 09-Jun-2011 Jake Hamby <jhamby@google.com> resolved conflicts for merge of 7ca13deb to master

Change-Id: If34814d6c70cf63eca9bd816845389f6785518ae
cea03df201dc6659654234bc5fbfebf1b6a06e42 08-Jun-2011 John Wang <johnwang@google.com> Do not merge. Return null id for Non-phone device.

For non-phone device, i.e. tablet doesn't have voice capability,

getDeviceId returns null while getPhoneType returns PHONE_TYPE_NONE.

This behavior is suggested by developer scheme

http://android-developers.blogspot.com/2011/03/identifying-app-installations.html

and enforced by CTS testGetDeviceId.

bug:4464907
Change-Id: Iaa3832b7323a50deccd438cb884c8e776a7a9640
elephonyManager.java
8a02401129e5805025d3a39e552a2840e73fb8cf 08-Jun-2011 Robert Greenwalt <rgreenwalt@google.com> resolved conflicts for merge of e139167c to master

Change-Id: Ic4d8aae7dd457457d9cc8ba081b273e425729f86
d2a458750e5a3d490af09cecb5c28370baf0a913 29-May-2011 Jeff Sharkey <jsharkey@android.com> Map network identity using ConnectivityService.

Instead of deriving network identity based on raw subsystem broadcasts,
listen for updates from ConnectivityService. Added atomic view of all
active NetworkState, and build map from "iface" to NetworkIdentity set
for stats tracking.

To avoid exposing internal complexity, INetworkStatsService calls use
general templates. Added TelephonyManager mapping to classify network
types using broad labels like "3G" or "4G", used to drive templates.

Cleaned up Objects and Preconditions.

Change-Id: I1d4c1403f0503bc3635a59bb378841ba42239a91
elephonyManager.java
22165bb54af1cd3cb636c1d65da7c643d854c385 08-Jun-2011 Jake Hamby <jhamby@google.com> am ae62b7b0: resolved conflicts for merge of 66040bbb to gingerbread-plus-aosp

* commit 'ae62b7b0bca9c46dea30ee81a7aada3e7576638b':
Fixes for SMS Cell Broadcast support.
ae62b7b0bca9c46dea30ee81a7aada3e7576638b 08-Jun-2011 Jake Hamby <jhamby@google.com> resolved conflicts for merge of 66040bbb to gingerbread-plus-aosp

Change-Id: Id13750bc01c977ab06accf8ceabc95fe5dee703a
229d3a0cbce70db82003705abf6844deec136d20 08-Jun-2011 John Wang <johnwang@google.com> am fc94d45f: Merge "Make getDeviceId return null for Non-phone device." into honeycomb-LTE

* commit 'fc94d45fc209dbcfdf7f57e0c04c581e1e51988b':
Make getDeviceId return null for Non-phone device.
fc94d45fc209dbcfdf7f57e0c04c581e1e51988b 08-Jun-2011 John Wang <johnwang@google.com> Merge "Make getDeviceId return null for Non-phone device." into honeycomb-LTE
e19736f0520689747b9e703a40b5f574bd9a7fce 08-Jun-2011 John Wang <johnwang@google.com> Make getDeviceId return null for Non-phone device.

For non-phone device, i.e. tablet doesn't have voice capability,

getDeviceId returns null while getPhoneType returns PHONE_TYPE_NONE.

This behavior is suggested by developer scheme

http://android-developers.blogspot.com/2011/03/identifying-app-installations.html

and enforced by CTS testGetDeviceId.

bug:4464907
Change-Id: Iaa3832b7323a50deccd438cb884c8e776a7a9640
elephonyManager.java
7d259626d009a45195ec341646ce06658b842e40 08-Jun-2011 Jake Hamby <jhamby@google.com> resolved conflicts for merge of 0cb17a52 to honeycomb-plus-aosp

Change-Id: I784e6d1946fa708f63becece070c7090cec6f1e2
e139167c9109aee203f5fbbdeeab656994d9c9ac 07-Jun-2011 Robert Greenwalt <rgreenwalt@google.com> am 5df69fad: resolved conflicts for merge of 8de47a2f to honeycomb-LTE

* commit '5df69fad6e5021d2862bff0553a510f8d6729fbd':
Reveal some network constants.
5df69fad6e5021d2862bff0553a510f8d6729fbd 07-Jun-2011 Robert Greenwalt <rgreenwalt@google.com> resolved conflicts for merge of 8de47a2f to honeycomb-LTE

Change-Id: I8193235a4c7e574635e17b2eb05bb5420a3c6749
66040bbb087b04c4bbac8429f91bbff1029e1440 03-Jun-2011 Jake Hamby <jhamby@google.com> Fixes for SMS Cell Broadcast support.

Add support for ETWS primary notification messages.
Add method for easy concatenation of GSM multi-part broadcasts.
Add test cases for SmsCbHeader, SmsCbMessage and IntRangeManager.

Change-Id: Ifc646a011e79ad6c7eace9afcf84b1216eb42b7a
msCbConstants.java
msCbMessage.java
0cb17a52ee278e6fd1575a086dac155e11574287 07-Jun-2011 Jake Hamby <jhamby@google.com> resolved conflicts for merge of ab79ee4a to gingerbread-plus-aosp

Change-Id: Ib885176060f65ef3286a24c7b9cae1a673666275
59242cf65ec775ccb6cb3639df4eab6af09f3108 06-Jun-2011 Jean-Baptiste Queru <jbq@google.com> am 54ab72e1: am 038e8f99: Merge "Adding support for parsing of SMS-CB pdus in UMTS format."

* commit '54ab72e1c389905adb074bd7c799a33b4f513679':
Adding support for parsing of SMS-CB pdus in UMTS format.
3699c3d7c8a450cc39fd1c3db23b64208bd43353 03-Jun-2011 Wink Saville <wink@google.com> am 5b4e2440: Merge "Refactor ServiceStateTracker handling of radio technology." into honeycomb-LTE

* commit '5b4e24400a4f1a6c67efd08ab2cda3389f78144e':
Refactor ServiceStateTracker handling of radio technology.
db09b5db60fa05ba65662faa86422b9ec69493a1 03-Jun-2011 Wink Saville <wink@google.com> Refactor ServiceStateTracker handling of radio technology.

Also add a little more debugging.

Change-Id: I832872c876b290a3e83a79068059a21894472a1d
erviceState.java
147510145f7b619f86a71065f2d62f444aee7f3d 03-Jun-2011 Wink Saville <wink@google.com> am 2e543dc1: Merge "CdmaLte: Use SPN from SIM card if SIM card is presend" into honeycomb-LTE

* commit '2e543dc188c3c2e8f8a785e403c95b7e22fa6262':
CdmaLte: Use SPN from SIM card if SIM card is presend
c91c7f92c9d2da557d4187fa24519f1dc1f1e2ec 02-Jun-2011 Kazuhiro Ondo <kazuhiro.ondo@motorola.com> CdmaLte: Use SPN from SIM card if SIM card is presend

Change-Id: Ib766216ed5ec2522942e87d548d0af27c0553cec
erviceState.java
ab79ee4adcbc6eb9fb9c509766753f65d3857739 27-Apr-2011 Jake Hamby <jhamby@google.com> Enable full support for SMS Cell Broadcast.

Implement full support for SMS Cell Broadcast (3GPP TS 23.041).
Includes support for ETWS and CMAS emergency message types.
Includes GSM and UMTS support (CDMA will be added later).

Note: the change to GsmAlphabet.java is only necessary if the
SMS national languages support patch has been applied. If that
change has not been applied, then the changes to GsmAlphabet.java
in this patch set can safely be ignored.

Change-Id: Ia0362c53695b8ef9a0982f558f1cffa912def34b
msCbConstants.java
msCbMessage.java
msManager.java
97ab2d4f86ee9c2b661a00688e934fc7030df22e 27-May-2011 Robert Greenwalt <rgreenwalt@google.com> Reveal some network constants.

Since we've already decided to inc the sdk version we should try to get these in too.

bug:4500218
Change-Id: I6dcb401bf30f1b06f02be0a93681a190d7ee5775
elephonyManager.java
038e8f99845e171c0d9d606f5697e36b1b684d01 25-May-2011 Jean-Baptiste Queru <jbq@google.com> Merge "Adding support for parsing of SMS-CB pdus in UMTS format."
74af525e400bb9da80082b1bd6beea3ea0e5a7de 13-May-2011 Wink Saville <wink@google.com> am 55ab1ac2: Merge "Add getLteOnCdamMode." into honeycomb-LTE

* commit '55ab1ac27f0e5ba6169e38b9ced197a9ff588f2b':
Add getLteOnCdamMode.
5e9270bfd566c32a60dfeb34435a158eb4ceb9a9 12-May-2011 Wink Saville <wink@google.com> Add getLteOnCdamMode.

Change-Id: Iebf027f956d543d7a69cad64aaba47900937a785
elephonyManager.java
ee60f3fb1b4e61ac8027293a658ba710e36d36b6 11-May-2011 Jake Hamby <jhamby@google.com> resolved conflicts for merge of 18cc814c to honeycomb-plus-aosp

Change-Id: I2b569ada3baec2dc486296623063bc2b504c5e96
ba54feb094fdf0eb2201eae5751104a144a2a31d 10-May-2011 Wink Saville <wink@google.com> am 45364dc4: Merge "Telephony: Signal Strength Changes." into honeycomb-LTE

* commit '45364dc4bfe3e6118ad61f1d38489fe63418699a':
Telephony: Signal Strength Changes.
5d7b9271b3f8a5f27c789a2b673e4bfd532b280c 09-May-2011 Ramesh Sudini <ramesh.sudini@motorola.com> Telephony: Signal Strength Changes.

Change-Id: Ia406d21d860533e699a90d15130edcbc705ec645
ignalStrength.java
18cc814c94edb188b73a92f0d34878d9dc054ff6 05-May-2011 Jake Hamby <jhamby@google.com> am 4d53cb02: Merge "Enable support for SMS national language shift tables." into gingerbread

* commit '4d53cb02168fe35104d7e644dd9b3efd8ca4c91b':
Enable support for SMS national language shift tables.
737b5c58c9094e5759bd4162f23f73be2b71faaf 30-Apr-2011 Conley Owens <cco3@android.com> am 520dd927: am 9355a24a: Merge "Fixing wrong Japanese phone formatter."

* commit '520dd927cbe02ae52add1f90e282750582a9e95e':
Fixing wrong Japanese phone formatter.
b49a73dfc4c9817bba1f227e9330555acdf9b56f 16-Mar-2011 Jake Hamby <jhamby@google.com> 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
msMessage.java
sm/SmsMessage.java
94191d43491a38305ca17456a9b806e58fbda99d 18-Mar-2011 Wink Saville <wink@google.com> am 651f38d7: Merge "Change stopship to todo." into honeycomb-mr1

* commit '651f38d71788d6b1d50cb6c9810ba31f903407d9':
Change stopship to todo.
e5d6e10a73cc93676cd8a6b70cda1b78fd0a99b6 18-Mar-2011 Wink Saville <wink@google.com> 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
ignalStrength.java
f57276154aaa587524374db8e0d7228383611bf3 08-Mar-2011 Ramesh Sudini <ramesh.sudini@motorola.com> Do not merge: Telephony: Corrections to LTE and eHRPD constant values.

LTE and EHRPD values are not consistent with ril.h

Change-Id: I76d1ff408a37960873f537772637ff3ae3ac056f
erviceState.java
9d7d62801ddb206d2ea96d74864a9edfe54d2eee 12-Mar-2011 Wink Saville <wink@google.com> Do not merge: Revert the revert of "LTE Changes for Telephony including Multiple PDN support and IPV6 support"

This reverts commit eca208fae6d1b6ae9c8c0e42eee092e86dbddbb7
and is the first of the LTE commits in master being back ported
to the LTE branch.

Change-Id: I17d4a1b779ed74bc7dfb409d2c1a30f60fdb27c7
erviceState.java
77359e7af334a9c976e8d597ede59c74cd45dac5 26-Feb-2011 Keiji Ariyama <keiji_ariyama@c-lis.co.jp> Fixing wrong Japanese phone formatter.

http://code.google.com/p/android/issues/detail?id=15383

Adding rules that Japanese number start with 050 and 060.

Change-Id: Id324d7ecfb18b348230a3903b356647045700d80
apanesePhoneNumberFormatter.java
eca208fae6d1b6ae9c8c0e42eee092e86dbddbb7 03-Mar-2011 Wink Saville <wink@google.com> DO NOT MERGE: Revert "LTE Changes for Telephony including Multiple PDN support and IPV6 support"

This reverts commit 2b8bcfe5b74e1a34d136f4ff46e3c94397f38f82.

Change-Id: Ifc4e9aaccb54e065a36380710694cd6e4d347636
erviceState.java
2b8bcfe5b74e1a34d136f4ff46e3c94397f38f82 25-Feb-2011 Wink Saville <wink@google.com> LTE Changes for Telephony including Multiple PDN support and IPV6 support

Added init for CDMAPhone.java

Change-Id: I2392b5ad3382ee1993537b8477ef00dd036c6fe9
erviceState.java
5284090631e638b916d9a453212e9dc802656a67 18-Feb-2011 Wink Saville <wink@google.com> Changes for ril.h version 6.

Change-Id: Iacd9d362c4836546ac277cf3571227d426a721aa
ignalStrength.java
5e9bf7a908f1249bae911382e94a0c8d81664097 03-Feb-2011 Robert Greenwalt <rgreenwalt@google.com> Merge "Add new network type for HSPA+."
9e4ba121dc5168398bb29badfa2b35a57b1077a1 02-Feb-2011 Robert Greenwalt <rgreenwalt@google.com> Add new network type for HSPA+.

Change-Id: Ia949a02e5cb66bc9f7d4d5e7e771e592231c729b
elephonyManager.java
1938e314e34fb11ec5398716dfe9704cea66e31e 02-Feb-2011 Wink Saville <wink@google.com> Have SmsMessage use getCurrentPhoneType

Although our first tablet doesn't support SMS messages there are testing
scenarios where they can be used. To preserve proper behavior now that
getPhoneType can return PHONE_TYPE_NONE use getCurrentPhoneType.

bug: 3198435
Change-Id: I48ef294f563351c66971b4e89e6dcb3326b0ae92
msMessage.java
sm/SmsMessage.java
6e2884817d7f51257fbf5195f3a47e3cfa3b5d98 02-Feb-2011 Robert Greenwalt <rgreenwalt@google.com> Use a cached context when possible.

It's always possible after services have been registered, so it's just early
in the process that's a problem. Lie correctly in those early cases and fix this
in MR1.

bug:3415254
Change-Id: I95811d1efd676fde01f66b742393d3aa4623482f
elephonyManager.java
9d72be33181f1bd1386017ce0b0ce17d8ce1cb66 02-Feb-2011 Wink Saville <wink@google.com> Add TelephonyManager.getCurrentPhoneType

The new method getCurrentPhoneType has the old behavior of getPhoneType
and does not check for voice capable. This allows code to assume
the old behavior.

bug: 3198435
Change-Id: I0542838ceca2f757cceb6cd7f795e95fe886523e
ellLocation.java
elephonyManager.java
9b9e6778dd9a0f04eb22e4fdd83d7d0d56b6b1a9 01-Feb-2011 Wink Saville <wink@google.com> Have getPhoneType return PHONE_TYPE_NONE for non-voice capable devices.

bug: 3198435
Change-Id: I1a19863c106a9394dbc941f396400e31dca95b92
elephonyManager.java
7ea919c44b05daf99c045d09eb3edafb96019da7 29-Jan-2011 Jean-Baptiste Queru <jbq@google.com> Merge 6b739dc7 from gingerbread

Change-Id: If94889da67977aff7daa1e201c10cd51b7e2fff8
aa3866e6fa2d0c0e026b78cf43dccce67a2021e5 29-Jan-2011 Robert Greenwalt <rgreenwalt@google.com> am 6b739dc7: Merge "Add some network types that OEM\'s are asking for." into gingerbread

* commit '6b739dc7292452227cdd8abd90658f4db8f0ce70':
Add some network types that OEM's are asking for.
e12aec941dfc93b76b5efb9bc9f30d2ba3469434 28-Jan-2011 Robert Greenwalt <rgreenwalt@google.com> Add some network types that OEM's are asking for.

Adding them hidden so that if OEM's are rolling their own at least they can
use the same values. Will mark them unhidden in a future sdk release.

bug:3395729
Change-Id: I90eabe036a96e1aa7c8cac49ca51efd9b1776a0c
elephonyManager.java
4f95b1250fb4d58b525311d0c6f267284ca85e8d 25-Nov-2010 Henrik Hall <henrik.hall@sonyericsson.com> Adding support for parsing of SMS-CB pdus in UMTS format.

This enables RIL to dispatch pdus in both GSM or UMTS format.
The RAT that was used will be transparent to clients.

Change-Id: I57c53ec79496d274e18b3fee196551af97c0857d
msCbMessage.java
c049f9ad5b4f5bc32f368646e624aef7707b7252 10-Dec-2010 John Wang <johnwang@google.com> Block SMS service for non-sms-capable device.

If device doesn't support sms service, SMSDispatcher
will ignore incoming SMS in dispatching messge and return
ERROR_NO_SERVICE in sending sms messgae.

bug: 3250029
bug: 3038102
Change-Id: Ic72a9192aa128c43cf31da04907620bc680656c6
elephonyManager.java
488a0d5ece8d68a2a49117e698ecaa6de4faf6b9 09-Dec-2010 John Wang <johnwang@google.com> Merge "Add iDEN to getNetworkTypeName."
1234ce117adc6fef495688ed8032c43e77445f90 07-Dec-2010 Nick Kralevich <nnk@google.com> Modify emergency number detection

It's possible for an application to dial an emergency
number by appending extra digits to the phone number.

For example, one could dial "9111" instead of "911",
and a strict .equals wouldn't detect this as an emergency
number.

Replace .equals() with .startsWith()

Change-Id: I87f34fc2b9bbee2c4fa6be511bcc3b955559e0a9
honeNumberUtils.java
4d76f364226cf049bfc850a339ea2cf63e3ae3e7 04-Dec-2010 John Wang <johnwang@google.com> Add iDEN to getNetworkTypeName.

For bug 2667143.

Integrated Digital Enhanced Network (iDEN) is a mobile telecommunications

technology which provides its users the benefits of a trunked radio and

a cellular telephone.

Change-Id: I4a1f5dbdd22a2c4ce5252688053ec4a47805d6b9
elephonyManager.java
8503144665894f1b5008f540e0cf36c948c763ef 23-Nov-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of 8484e57f to master

Change-Id: I6a8cc70250fd2be9a1e9a728940a1e9f5721a653
8484e57f3006dd3aa925792e6414387c233c1a8d 23-Nov-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of e4ae7fc3 to gingerbread-plus-aosp

Change-Id: I2e0a0ed622bc4c32d79936b30ebbf9068b3bdee8
95bc625e294e14a651321b5172f31406cdebbefb 19-Nov-2010 Henrik Hall <henrik.hall@sonyericsson.com> Enabling cell broadcast (SMS-CB) support in the platform.

Adding a simple API enabling applications to control SMS-CB reception.
Implementing parsing, assembly and dispatching of SMS-CB messages over GSM.

Change-Id: Iee841605a45a3af60c7602af175056afb03a38da
msCbMessage.java
msManager.java
e613adcc555731aab2a0684d709da3d0df97a9e5 17-Nov-2010 Wink Saville <wink@google.com> Cleanup some debug output.

Change-Id: Iac39e7ffb1f7409647ce112f9347c42d2909846a
erviceState.java
8e7e0a9fd5c377294bfe2e09fca9b7551871f3c2 09-Nov-2010 Robert Greenwalt <rgreenwalt@google.com> Fix data state change callbacks

Initial state should be unknown or we miss the first connected change.
Don't send a disconnected msg when changing network types.
Filter out redundent disconnects.
Add some logging.

bug:3060742
Change-Id: Idc797c1276b7417337a91ed60b12b1bf392d57c0
elephonyManager.java
962a990a45a2a9f9c3002064e71f9c2fed86acf1 02-Nov-2010 Robert Greenwalt <rgreenwalt@google.com> Add some network/phone type constants.

Support for LTE (and SIP-based voice) and the stepping-stone eHPRD.

bug:3125398
Change-Id: Ied3d96fa09d9c758a82a2fd1817f55db711d1a4f
eighboringCellInfo.java
elephonyManager.java
fd2d01302781af91d77557a99874111a4fee8365 28-Oct-2010 Wink Saville <wink@google.com> Add PhoneStateListener.onOtaspChanged.

Bug: 3102320
Change-Id: I46e8d33a4ed80e5e074e92135653d57598d4c865
honeStateListener.java
a23935ab334b2dec47735608383608ca3093b4b2 12-Oct-2010 David Brown <dab@google.com> am bd6d5098: am d07833f5: Don\'t manually create CallerInfo objects from SipPhone

Merge commit 'bd6d5098a7995429713ae0ae43b3f666f7b9aed3'

* commit 'bd6d5098a7995429713ae0ae43b3f666f7b9aed3':
Don't manually create CallerInfo objects from SipPhone
bd6d5098a7995429713ae0ae43b3f666f7b9aed3 11-Oct-2010 David Brown <dab@google.com> am d07833f5: Don\'t manually create CallerInfo objects from SipPhone

Merge commit 'd07833f54b6e8e361b666ae16efa15fdf60159de' into gingerbread-plus-aosp

* commit 'd07833f54b6e8e361b666ae16efa15fdf60159de':
Don't manually create CallerInfo objects from SipPhone
d07833f54b6e8e361b666ae16efa15fdf60159de 08-Oct-2010 David Brown <dab@google.com> Don't manually create CallerInfo objects from SipPhone

Currently the SipPhone class manually creates a CallerInfo object, and
populates it with very basic info from the SIP address, when making an
outgoing call.

But this is no longer needed, now that we do caller-id lookup properly for
SIP addresses (based on real data from the contacts database -- see
bug 3004127 and change https://android-git.corp.google.com/g/70555).
And in fact the presence of this initial CallerInfo object actually
*disabled* contacts lookup for outgoing calls (bug 3072731).

This change removes all that CallerInfo-related stuff from SipPhone.

(Thus SipPhone is now consistent with the other phone objects, like
GSMPhone and CDMAPhone, in that it doesn't muck with CallerInfo data at
all, but instead lets the phone app do it.)

Also, update isUriNumber() to handle "%40" in case the passed-in string is
URI-escaped. (Nobody depends on that now, but it may be needed in the
future, and it's certainly safe to say that "%40" will never be found in a
legal PSTN number.)

TESTED:
- Outgoing SIP call:
- In-call UI shows correct contact info
- After the call, Call Log shows correct contact info

- Incoming SIP call:
- In-call UI shows correct contact info
- After the call, Call Log shows correct contact info

- PSTN calls:
- correct contact info everywhere

Bug: 3072731

Change-Id: I51434e4e5ad66d2e8ff51fc220001fb74485f0f5
honeNumberUtils.java
19c5df745229374748f38c76a222ec8ce1d08e81 15-Sep-2010 jsh <jsh@google.com> am b30f2188: am 17fe229f: Merge "Unhide GsmCellLocation.getPsc()." into gingerbread

Merge commit 'b30f21882080bd4c0d7c3b25878151dd19ac3f94'

* commit 'b30f21882080bd4c0d7c3b25878151dd19ac3f94':
Unhide GsmCellLocation.getPsc().
b30f21882080bd4c0d7c3b25878151dd19ac3f94 15-Sep-2010 jsh <jsh@google.com> am 17fe229f: Merge "Unhide GsmCellLocation.getPsc()." into gingerbread

Merge commit '17fe229fe8b5c43fe1fbd0511d6e4f1565a957d4' into gingerbread-plus-aosp

* commit '17fe229fe8b5c43fe1fbd0511d6e4f1565a957d4':
Unhide GsmCellLocation.getPsc().
2ec0e6fe1e5382d93cb28c97d24c7b0a0387c8ee 09-Sep-2010 jsh <jsh@google.com> Unhide GsmCellLocation.getPsc().

bug: 2465036
Change-Id: If071c4e0f1f3484c010ec908b02800361cbf8a86
sm/GsmCellLocation.java
b55df4471ed55a0e91dee79304f3b1209ffa4b35 05-Aug-2010 Sang-il, Lee <gendoh@google.com> Support MBCS characters in contacts and SMS messages that are stored in SIM cards.

Change-Id: I0438c5748a47512fc2a0e4b89ac85e30e3f5c6de
msMessage.java
7e0598d066e58ad9cadbd2c654a42563e56adbab 08-Sep-2010 Chung-yih Wang <cywang@google.com> am 4f24aed2: am 66907078: Merge "Fix the dialing from contact for internet address." into gingerbread

Merge commit '4f24aed2a13d9ba89e2402894353176e19571e6e'

* commit '4f24aed2a13d9ba89e2402894353176e19571e6e':
Fix the dialing from contact for internet address.
4f24aed2a13d9ba89e2402894353176e19571e6e 08-Sep-2010 Chung-yih Wang <cywang@google.com> am 66907078: Merge "Fix the dialing from contact for internet address." into gingerbread

Merge commit '669070787cc10377c2e5c3fa187babc728d96245' into gingerbread-plus-aosp

* commit '669070787cc10377c2e5c3fa187babc728d96245':
Fix the dialing from contact for internet address.
6f0f870f16003adc60e0c5f37c86b2d5e7895940 08-Sep-2010 Chung-yih Wang <cywang@google.com> Fix the dialing from contact for internet address.

the bug is http://b/issue?id=2982290

+Log outbound proxy address if exists for debugging.
honeNumberUtils.java
2a4e96067d074ef78aeafea13469a85690346b60 25-Aug-2010 Bai Tao <michaelbai@google.com> Added new method to format the phone number when neccessary.

Change-Id: I90fb38c1d36dc1ccf7eaa3b4cc34cd29f5151493
honeNumberUtils.java
b422ca809c92e3136bdf1f3820c4d59c61bc8e57 24-Aug-2010 Wink Saville <wink@google.com> am d9034879: am b2cc86da: am 3158cf68: Change CDMAPhone.getDeviceId to return MEID or ESN.

Merge commit 'd90348796829f3d3a443e73ea3b3f2f9e79071c2'

* commit 'd90348796829f3d3a443e73ea3b3f2f9e79071c2':
Change CDMAPhone.getDeviceId to return MEID or ESN.
d90348796829f3d3a443e73ea3b3f2f9e79071c2 21-Aug-2010 Wink Saville <wink@google.com> am b2cc86da: am 3158cf68: Change CDMAPhone.getDeviceId to return MEID or ESN.

Merge commit 'b2cc86da29452769ff6210f1dfef4b51aac1d75e' into gingerbread-plus-aosp

* commit 'b2cc86da29452769ff6210f1dfef4b51aac1d75e':
Change CDMAPhone.getDeviceId to return MEID or ESN.
b2cc86da29452769ff6210f1dfef4b51aac1d75e 21-Aug-2010 Wink Saville <wink@google.com> am 3158cf68: Change CDMAPhone.getDeviceId to return MEID or ESN.

Merge commit '3158cf689f4994ec53c3b727f9b6ad7751a5551b' into gingerbread

* commit '3158cf689f4994ec53c3b727f9b6ad7751a5551b':
Change CDMAPhone.getDeviceId to return MEID or ESN.
3158cf689f4994ec53c3b727f9b6ad7751a5551b 21-Aug-2010 Wink Saville <wink@google.com> Change CDMAPhone.getDeviceId to return MEID or ESN.

This allows devices with only ESN's to work.

bug: 2938223
Change-Id: I33939151c59f598b939e73d98f1178669d6ceb75
elephonyManager.java
ae3efa53a9bd52c6eddde2a8e4bb1ae4d86a9c21 18-Aug-2010 David Brown <dab@google.com> Move the "voice_capable" resource into the framework.

There's currently a config.xml param in the phone app saying whether the
current device is "voice capable", which is used to determine (among other
things) whether the OTASP call should run in interactive mode.

But both Contacts and Settings are about to need this flag too, so it
really belongs in the framework instead. As of this change it's now
"com.android.internal.R.bool.voice_capable".

Also add a corresponding TelephonyManager call so that unbundled and 3rd
party apps can access it too.

Change-Id: Ie9a8803295bf97eb32154291aac8fce1e21c7b25
elephonyManager.java
a774f5817b5a24f5ccbb15c97fc4d5038310245b 16-Aug-2010 Jake Hamby <jhamby@google.com> resolved conflicts for merge of 31202b1a to master

Change-Id: Ia8ae32c5ebcd13843ed9cc82c80bf551b38e586f
31202b1a40e7daccf69e284492494f9ff739f324 14-Aug-2010 Jake Hamby <jhamby@google.com> am 3f442ece: Merge "Fix character count bug and Javadoc typos in SMS (with test cases)" into gingerbread

Merge commit '3f442ece257d416b48f7803a4cc263f0215faa0d' into gingerbread-plus-aosp

* commit '3f442ece257d416b48f7803a4cc263f0215faa0d':
Fix character count bug and Javadoc typos in SMS (with test cases)
17f616823a562ceb3a008f91e05d43bc56d37cae 13-Aug-2010 Jake Hamby <jhamby@google.com> Fix character count bug and Javadoc typos in SMS (with test cases)

Fix a character count bug I discovered while working on related SMS
bugs. Includes a new set of test cases to verify the fix for the
buggy calculateLength() methods ("runtest frameworks-telephony").

You can also verify that the counter works properly in the Mms app
by typing characters until the boundary is crossed where an
additional message part is required. The counter should count down
to 0 characters remaining before increasing the message count.

Change-Id: I4de68b82dfc53dcae094865798f2c0235a355d43
sm/SmsMessage.java
3e4b7c332fcdeb3adf359b5fcf8cba08c474c9c0 13-Aug-2010 Dmitri Plotnikov <dplotnikov@google.com> Keep the '+' when normalizing the phone number

Change-Id: I24731735ed18dbc92a643a0d99d35a1b58be40c8
honeNumberUtils.java
c178b95c1fbd4644a088ca9739d173d5bf69939c 13-Aug-2010 John Wang <johnwang@google.com> am 2835391c: am 686a9505: Merge "Update switch call and accept call." into gingerbread

Merge commit '2835391c1709a2b655940200dab0fc74ef08512d'

* commit '2835391c1709a2b655940200dab0fc74ef08512d':
Update switch call and accept call.
2835391c1709a2b655940200dab0fc74ef08512d 13-Aug-2010 John Wang <johnwang@google.com> am 686a9505: Merge "Update switch call and accept call." into gingerbread

Merge commit '686a95055896c221c62fe7f4c3dda137809df91e' into gingerbread-plus-aosp

* commit '686a95055896c221c62fe7f4c3dda137809df91e':
Update switch call and accept call.
c159c84699d4b739a14cdfb22c5807f419e1754f 11-Aug-2010 John Wang <johnwang@google.com> Update switch call and accept call.

Change-Id: Ifdd1af77e3eca08f6c931605ecfb275835b78709
honeNumberUtils.java
0b4e3ad356c6e4f2f4152d02de7a4dc395825bba 04-Aug-2010 jsh <jsh@google.com> am 82cadee3: Merge "Add support for PSC of serving cell." into gingerbread

Merge commit '82cadee3ca830315c617dfdbf3a8eef207c58436' into gingerbread-plus-aosp

* commit '82cadee3ca830315c617dfdbf3a8eef207c58436':
Add support for PSC of serving cell.
05a5a88a171721705685d1ae3dcfe82780907210 24-Jun-2010 jsh <jsh@google.com> Add support for PSC of serving cell.

Bug: 2465036
sm/GsmCellLocation.java
ae2036a8f9365cec0f343f2668424e8e964a971c 02-Aug-2010 Wink Saville <wink@google.com> am 7472c219: am 1540a7ea: am c69f5be0: Add PhoneSubInfo.getCompleteVoiceMailNumber.

Merge commit '7472c219a13e3f9f74d9a4adf1478e9c4f9248a2'

* commit '7472c219a13e3f9f74d9a4adf1478e9c4f9248a2':
Add PhoneSubInfo.getCompleteVoiceMailNumber.
7472c219a13e3f9f74d9a4adf1478e9c4f9248a2 02-Aug-2010 Wink Saville <wink@google.com> am 1540a7ea: am c69f5be0: Add PhoneSubInfo.getCompleteVoiceMailNumber.

Merge commit '1540a7ea1afcb772b5fcf90f635153f6489eb8ed' into gingerbread-plus-aosp

* commit '1540a7ea1afcb772b5fcf90f635153f6489eb8ed':
Add PhoneSubInfo.getCompleteVoiceMailNumber.
1540a7ea1afcb772b5fcf90f635153f6489eb8ed 02-Aug-2010 Wink Saville <wink@google.com> am c69f5be0: Add PhoneSubInfo.getCompleteVoiceMailNumber.

Merge commit 'c69f5be0ed3529564e5db6874de52775c2c99007' into gingerbread

* commit 'c69f5be0ed3529564e5db6874de52775c2c99007':
Add PhoneSubInfo.getCompleteVoiceMailNumber.
c69f5be0ed3529564e5db6874de52775c2c99007 02-Aug-2010 Wink Saville <wink@google.com> Add PhoneSubInfo.getCompleteVoiceMailNumber.

PhoneSubInfo.getVoiceMailNumber now returns only the network
portion of the voicemail number. Use the new method
PhoneSubInfo.getCompleteVoiceMailNumber to get the netowrk
portion and the post dial portion.

Bug: 2881483
Change-Id: I7637d4fa0ffa046b4eebc4d599719bb668c940b5
honeNumberUtils.java
elephonyManager.java
aae052324fb1d3add554158974c5a6ee609739b3 29-Jul-2010 Dmitri Plotnikov <dplotnikov@google.com> Merge "Throws IllegalArgumentException if the country code is null."
1e80299bd4761df8328be15476ca88f2d1f9b1d8 29-Jul-2010 Bai Tao <michaelbai@google.com> Throws IllegalArgumentException if the country code is null.

Also removed unnecessary Locale check

Change-Id: I547713372900f1ea71e2215c0023a0981b6aca94
honeNumberFormattingTextWatcher.java
fae6ec9e9673e96085fdbde69866a41b5491fa0d 28-Jul-2010 Bai Tao <michaelbai@google.com> Added country based formatNumber methods

a. Format the number to E164.
b. Format the number based on country convention.
c. Normailize the number.

Change-Id: I39d59b99aa1a5136371dd20c74d9d9c8ec855369
honeNumberUtils.java
295d45bef4cf35bdf128a6d4dcc3df869a70b522 24-Jun-2010 jsh <jsh@google.com> Add support for PSC of serving cell.

Bug: 2465036
Change-Id: Id4bc0a60463510d5fd89113af7815360e09d2125
sm/GsmCellLocation.java
1b1f0bc1f8725901a34d05cf741ed3d91b1b8cbd 16-Jul-2010 The Android Open Source Project <initial-contribution@android.com> am 4248d588: merge from open-source master

Merge commit '4248d5887bf9d7d65b649a9ca0c7ba623135eed5'

* commit '4248d5887bf9d7d65b649a9ca0c7ba623135eed5':
Makes PhoneNumberUtils support international numbers after a CLIR command.
adff0ad3cdae6c9bf043ab40fb0f40a54d5151ac 08-Apr-2010 Babis Triantafyllou <babis.triantafyllou.x@sonyericsson.com> Makes PhoneNumberUtils support international numbers after a CLIR command.

Makes PhoneNumberUtils.java support numbers in international
format (starting with ‘+’ character) after a CLIR command.

Previously a plus character would always be removed unless it
occupied the first position of the number string. In this case,
when the number is preceded by #31# (CLIR), the plus character
will be removed as well.

This is an error, prohibiting a type approval of the phone.

This change will detect the plus character after the CLIR command
and will insert it at the right position.

Change-Id: Ib220aee7b3eda30cde960db8c7470523dc5fd313
honeNumberUtils.java
5ddd127d5a38d80c0d8087d1770f41f61f84f048 12-Jun-2010 Dianne Hackborn <hackbod@google.com> Implement ListFragment and Fragment context menus.

Also fix the docs build.

Change-Id: I96f24cc03e6debd897171e503957284b140a9f27
honeNumberFormattingTextWatcher.java
4dc643eb6749afe5211198c920e739475590f92c 13-Jun-2010 Wink Saville <wink@google.com> Fix some javadoc link/see's to fix the build for the sdk-win_sdk target.

Change-Id: I243c19d3d7f1ed2decbd6bfc7ecbe6ce2b582fc2
honeNumberFormattingTextWatcher.java
ef4fd8e12e1928b1e9cdc03378bb1185d9e05cbe 07-Jun-2010 Bai Tao <michaelbai@google.com> Reimplement the PhoneNumberFormattingTextWatcher

a. Built the external/libphonenumberutil into the ext.jar. The file size increased 50K, the phone number meta file is 90K before the compression.
b. Used the external/libphonenumberutil to format the phone number for about 200 countries.
c. Beside the phone number formatting, the external/libphonenumberutil will also be used for phonenumber match and international dialing.

Change-Id: Ie5165dc60d66e1eddab7134725a8d1d1c826434a
honeNumberFormattingTextWatcher.java
02648a4b8422733ed401f07edf8e426318bb2f8d 18-May-2010 Robert Greenwalt <robdroid@android.com> Clean up APN notifications.

Add APNType info to notifications so you can tell what's happening. Now, even if a new APN
shares a connection with an already-connected-to- apn type, the new type will get all
the connecting and connected messages on connect and disconnecting/disconnected on disconnect
even though the shared connection remains connected.

Cleaning out the hacks MobileDataStateTracker needed to deal with the old situation.
bug:2226092

Change-Id: Iddd7421d6b91cda7c8405f9c3d5404ac04ef8e42
honeStateListener.java
d994dcbd816d5431dfaa59de7457e28bdfc8f523 08-Jun-2010 The Android Open Source Project <initial-contribution@android.com> am cefdedc3: merge from froyo-plus-aosp
7ad843d66d3ebb9250f00e836f0e8e9502d7287b 08-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I56de40bad4be52a06300bfc310e16d27b2fb14df
47633f86279bc1854660d95a0b02bfa5ff14ad04 08-Feb-2010 Lars Dunemark <lars.dunemark@sonyericsson.com> Removes dashes when locale and number is not NANP or Japan

Removes all dashes if locale isn't NANP or Japan and the number
don't have there country code.

Use case: If adding a number starting with 1nnnnnn and then
trying to add a country code before (ex +46) we will first
trigger NANP formatting with +1-nnn-nnn so when we get
+41-nnn-nnn we will still have the old NANP formatting.
This number should be shown as +461nnnnnn.

Change-Id: I5cab830350d785a58367eba79e268d9e8ee16aac
honeNumberUtils.java
cae1bfd26629a83cf8646c4606ff6cf19fd1937d 19-May-2010 The Android Open Source Project <initial-contribution@android.com> am 634e9a12: am 54525412: am 3aecdb9d: merge from open-source master
3aecdb9d7e92b1a91860600feefb5c0062b652cf 18-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Ib711450566694550d9cb9ba01c25599010d2e5e4
e25863c9093d3f60a1f6feab1d17d38946a8d020 18-May-2010 Jean-Baptiste Queru <jbq@google.com> fix build

Change-Id: I86ee569ec81e6c690f7697237be7d94307014142
erviceState.java
390de220248d05ccb9dc10a197700ad3c1595937 11-May-2010 Jake Hamby <jhamby@google.com> Fix some typos and other cosmetic cleanups in telephony framework.

- Fix typos in Javadoc and comments.
- Fix Javadoc @link references to other classes/methods.
- Rename MISSING_UKNOWN_APN to MISSING_UNKNOWN_APN in DataConnection.
- Remove unused (and misspelled) RETRYIES_* consts in RetryManager.

Change-Id: I3b44ac8320d6c1e4c350be600c7ef266aaf735e4
erviceState.java
sm/SmsManager.java
a4bb6410403d7cc4e5cac82243ad2cc3fc1d3c60 13-May-2010 The Android Open Source Project <initial-contribution@android.com> am 1331ded8: am e28776bb: am b1110149: merge from open-source master
b1110149cccc3b99e59ead34ca46e5ac026f6db9 13-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I88a580162b34a80d1e3e7987b7a301c253afa0e8
381b55863efcd65ed43d66924beae550c18d8930 13-May-2010 The Android Open Source Project <initial-contribution@android.com> am 7cd6ca9b: am d6e24ca2: am 4adacd23: merge from open-source master
4adacd23d4c91569b16fe50419f1a91f68d805bd 12-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: If6730b50627b2231bd345e594d8d30a37557849e
24d9c149c831f9793002af67f9e5436e415dfbea 12-May-2010 The Android Open Source Project <initial-contribution@android.com> am fc97669a: am 72a6af1a: am 7d952644: merge from open-source master
7d9526445c8631f347c7bf7d944e5bb1dc35b0b5 12-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Ib5ea9745c2b652d64646e3e28c12e63815321ff9
ce2a97aeb82d3f34a63472720ee9d53e53c248c2 24-Feb-2010 Samuel Holmberg <samuel.holmberg@sonyericsson.com> Preserve '+' in phone numbers imported from SIM.

Contacts with phonenumbers beginning with '+' lose the '+' in the
phonebook when imported from SIM.

This was only noticable on ADN-records with unknown NPI-values which
isn't very usual.

Change-Id: I181249759ae3d4181dd3cf627c7a588394b80419
honeNumberUtils.java
0a5174a6e947d5cbeb8846a1273a90b6de065cbf 21-Apr-2010 Naveen Kalla <nkalla@codeaurora.org> Add support for EVDO Rev B

Change-Id: I8588e8b342c51f4b79bced8ef8fe60d57f07aefa
erviceState.java
elephonyManager.java
18573e9281d6e5621fa1663dac29b558291913d7 29-Mar-2010 Naveen Kalla <nkalla@codeaurora.org> Support to display message when operation is blocked due to FDN being enabled

The terminal disallows USSD, SMS, Voice Call and Supplementary services
operations for numbers not in the Fixed Dialing Number (FDN) list when the
FDN service is enabled. FDN_CHECK_FAILURE error is sent from the RIL and the
message needs to be displayed to indicate the failure.

Change-Id: I49bd63f69a3f0201125b17cd16db2e8fcf93ddc3
msManager.java
108817f3d85f80ddeb8db0ced75502520449a550 06-May-2010 The Android Open Source Project <initial-contribution@android.com> am 8b270a7a: am 579e08e6: am f7896449: merge from open-source master
f78964490d8098387d51444c87bf520ad3f674e2 06-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Ia9e1f4e049f5870386ea29ddb6e3ef028ea918da
bcd573229e5ec6d59bb7931a84a2baa86e0d200a 24-Apr-2010 Jake Hamby <jhamby@google.com> Fix some more typos, remove unused imports, and remove unnecessary cast.

More minor code cleanups in the telephony framework.

Change-Id: I27abe11e02fc6fea12885eea4fe275240a546332
honeNumberUtils.java
145ff609de3206b585819ef974fab20cdc2d9f5e 16-Apr-2010 Jake Hamby <jhamby@google.com> Spelling corrections and other minor cosmetic cleanups.

- Fixed a bunch of typos in comments (plus a few variable names)
- Removed unused import lines from telephony classes
- Added @Override attribute to overriding methods
- Made SmsMessage.PduParser inner class private & deleted unused constructor
- Added type specifiers to declarations of ArrayList and HashMap
- SimulatedCommands.getRegistrationState() had an ArrayIndexOutOfBoundsException
trying to write to index 14 of a 14-element array. I removed the
out-of-bounds assignment.

Change-Id: I054b5156aa64ab6639028d5b45a7e688b2deee08
honeNumberUtils.java
msManager.java
msMessage.java
c6dd77d04a94b7fa0659a099e5b85b70f5f2ea9f 08-Apr-2010 Naveen Kalla <nkalla@codeaurora.org> telephony: Fix CID when CID is unknown

Unknown CID is indicated as 0xFFFFFFFF by ril. When telephony receives that
value, set CID to UNKNOWN.
eighboringCellInfo.java
56c2d2ff27536a1d8edf0037cd41ff3ea3272fd9 07-Apr-2010 John Wang <johnwang@google.com> Add emergencyOnly indicator in ServiceState.

For bug 2536842 to show signal strength in Emergency mode.

The STATE_EMERGENCY_ONLY of ServiceState is not in-use.

So add a hide interface to indicate Emergency mode.

Change-Id: I19398ac5e73a722dcaaf744347f961d1fa7513ac
erviceState.java
633dfb6da6d70cb369797b42df4bf046fdb3a07f 19-Mar-2010 Jake Hamby <jhamby@google.com> Fix some typos and logging of calls to CDMA methods.

Fixed some comment typos and cleaned up logging of unexpected calls to
CDMA-specific methods on a non-CDMA device.

Change-Id: Ia6e5fba765122cbf3186fd9fecca7a3931a76dcc
msMessage.java
elephonyManager.java
8214deb542392f48b6c3fdc377fdf976c0b17a32 12-Mar-2010 jsh <jsh@google.com> Add definitions for WiMAX and iDen network types.

b/2509185

Change-Id: Icf07ce857874e200712218713edbdbb47e646297
elephonyManager.java
15a4d2ffd04dc6c70f2cd17dae12ac6bc14c69ab 12-Mar-2010 Kenny Root <kroot@google.com> Add correct copyright headers to multiple files

Format for the list of changes shows the origin commit reference followed
by the file name.

33931-p9 awt/org/apache/harmony/awt/gl/font/AndroidGlyphVector.java
33931-p9 awt/org/apache/harmony/awt/gl/image/PngDecoderJava.java
133776-p9 core/java/android/app/IntentService.java
127013-p9 core/java/android/appwidget/AppWidgetHost.java
27863-p9 core/java/android/bluetooth/BluetoothAudioGateway.java
60765-p9 core/java/android/content/SyncResult.java
43920-p9 core/java/android/content/pm/ActivityInfo.java
43920-p9 core/java/android/content/pm/ApplicationInfo.java
43920-p9 core/java/android/content/pm/InstrumentationInfo.java
43920-p9 core/java/android/content/pm/PackageInfo.java
44103-p9 core/java/android/content/pm/PackageItemInfo.java
68960-p9 core/java/android/content/pm/PackageStats.java
43920-p9 core/java/android/content/pm/ResolveInfo.java
43920-p9 core/java/android/content/pm/ServiceInfo.java
60641-p9 core/java/android/content/res/Configuration.java
60734-p9 core/java/android/content/res/TypedArray.java
137672-p9 core/java/android/inputmethodservice/ExtractButton.java
123112-p9 core/java/android/inputmethodservice/ExtractEditText.java
119291-p9 core/java/android/inputmethodservice/IInputMethodSessionWrapper.java
112946-p9 core/java/android/inputmethodservice/IInputMethodWrapper.java
115078-p9 core/java/android/os/BatteryStats.java
124790-p9 core/java/android/text/style/UpdateAppearance.java
45083-p9 core/java/android/view/RawInputEvent.java
101491-p9 core/java/android/view/inputmethod/EditorInfo.java
114701-p9 core/java/android/view/inputmethod/ExtractedText.java
123112-p9 core/java/android/view/inputmethod/ExtractedTextRequest.java
119291-p9 core/java/com/android/internal/os/HandlerCaller.java
129279-p9 core/java/com/android/internal/os/PkgUsageStats.java
114701-p9 core/java/com/android/internal/view/IInputConnectionWrapper.java
114701-p9 core/java/com/android/internal/view/InputConnectionWrapper.java
84364-p9 opengl/java/android/opengl/EGLLogWrapper.java
11355-p9 opengl/tools/glgen/src/CFunc.java
11355-p9 opengl/tools/glgen/src/CType.java
11355-p9 opengl/tools/glgen/src/CodeEmitter.java
11355-p9 opengl/tools/glgen/src/GenerateGL.java
11355-p9 opengl/tools/glgen/src/JFunc.java
11355-p9 opengl/tools/glgen/src/JType.java
11355-p9 opengl/tools/glgen/src/JniCodeEmitter.java
11355-p9 opengl/tools/glgen/src/ParameterChecker.java
57236-p9 services/java/com/android/server/status/AnimatedImageView.java
66754-p9 services/java/com/android/server/status/CloseDragHandle.java
57188-p9 services/java/com/android/server/status/DateView.java
46928-p9 services/java/com/android/server/status/ExpandedView.java
70590-p9 services/java/com/android/server/status/FixedSizeDrawable.java
45968-p9 services/java/com/android/server/status/IconData.java
57470-p9 services/java/com/android/server/status/IconMerger.java
82719-p9 services/java/com/android/server/status/LatestItemView.java
45968-p9 services/java/com/android/server/status/NotificationData.java
66754-p9 services/java/com/android/server/status/NotificationLinearLayout.java
57458-p9 services/java/com/android/server/status/NotificationViewList.java
45968-p9 services/java/com/android/server/status/StatusBarException.java
45968-p9 services/java/com/android/server/status/StatusBarIcon.java
46130-p9 services/java/com/android/server/status/StatusBarNotification.java
45968-p9 services/java/com/android/server/status/StatusBarView.java
46199-p9 services/java/com/android/server/status/Ticker.java
62286-p9 services/java/com/android/server/status/TickerView.java
57188-p9 services/java/com/android/server/status/TrackingView.java
86041-p9 telephony/java/android/telephony/PhoneStateListener.java
87020-p9 telephony/java/com/android/internal/telephony/TelephonyIntents.java
136269-p9 telephony/java/com/android/internal/telephony/gsm/SpnOverride.java
34409-p9 tests/FrameworkTest/src/com/android/frameworktest/FrameworkTestApplication.java
55717-p9 tests/FrameworkTest/src/com/android/frameworktest/performance/InvalidateCycle.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/AutoCompleteTextViewActivityLandscape.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/AutoCompleteTextViewActivityPortrait.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityNonScrollablePanScan.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityNonScrollableResize.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityScrollablePanScan.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityScrollableResize.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/BottomEditTextActivityPanScan.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/BottomEditTextActivityResize.java
127341-p9 tests/ImfTest/src/com/android/imftest/samples/ButtonActivity.java
129347-p9 tests/ImfTest/src/com/android/imftest/samples/DialogActivity.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/EditTextActivityDialog.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityNoScrollPanScan.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityScrollPanScan.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityScrollResize.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/OneEditTextActivityNotSelected.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/OneEditTextActivitySelected.java
25959-p9 tests/framework-tests/src/android/test/FrameworkTests.java
46162-p9 tests/framework-tests/src/com/android/internal/http/multipart/MultipartTest.java
77101-p9 tools/layoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
9788976b1465ce982b5ae7c741345edd0ecd9322 core/java/android/accounts/AuthenticatorDescription.java
53332883543868fb83e111a07306368b7772b340 core/java/android/app/UiModeManager.java
93e7e22ec91dbc641d10ca6d70423e1357a95bba core/java/android/app/FullBackupAgent.java
328c0e7986aa6bb7752ec6de3da9c999920bb55f core/java/android/content/CursorEntityIterator.java
307da1a46b4c9b711bafe8fbaaa6b98e8868c18e core/java/android/content/SyncQueue.java
307da1a46b4c9b711bafe8fbaaa6b98e8868c18e core/java/android/content/SyncOperation.java
eb034652c2037a47ebfd99779e8383bb8bb528af core/java/android/content/pm/LabeledIntent.java
49237345d83e62fdb9eb8d50b13ad086636a04fa core/java/android/content/pm/FeatureInfo.java
a2b6c3775ed6b8924232d6a01bae4a19740a15f8 core/java/android/content/pm/PackageInfoLite.java
3ecd5f437580e49d80beecd29489d5fb1f7a7db0 core/java/android/content/pm/RegisteredServicesCacheListener.java
5ebbb4a6b3e16f711735ae0615b9a9ea64faad38 core/java/android/content/pm/XmlSerializerAndParser.java
c4516a7b62de525e3d6d5e76851bdfaf12c11f05 core/java/android/database/sqlite/SQLiteTransactionListener.java
9bbc21a773cbdfbef2876a75c32bda5839647751 core/java/com/android/internal/backup/LocalTransport.java
21f1bd17b2dfe361acbb28453b3f3b1a110932fa core/java/com/android/internal/content/PackageMonitor.java
4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3 core/java/com/android/internal/view/BaseSurfaceHolder.java
4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3 core/java/com/android/internal/view/BaseIWindow.java
e540833fdff4d58e37c9ba859388e24e2945ed45 core/java/com/android/internal/os/SamplingProfilerIntegration.java
192ab903887bbb8e7c7b6da5c581573850e30f46 core/tests/coretests/src/android/widget/expandablelistview/PositionTesterContextMenuListener.java
1619367ab823150fa8856d419abe02ceb75886f1 media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaProfileReader.java
27f8002e591b5c579f75b2580183b5d1c4219cd4 opengl/tools/glgen/stubs/gles11/glGetString.java
560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glGetProgramInfoLog.java
560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glGetShaderInfoLog.java
560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glShaderSource.java
1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/GenerateGLES.java
1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/Jsr239CodeEmitter.java
1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/GLESCodeEmitter.java
69e21f5f6e0d04539cd92848ea009dd615d88c2c opengl/tests/gldual/src/com/android/gldual/TriangleRenderer.java
c028be4f3b8c7476b46859f66c3f33d528adf181 packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java
7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerMeasurement.java
7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerTestActivity.java
7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerTestRunner.java
df8a3f31d871db25e952972c2eb346a71186e9e3 tests/BrowserTestPlugin/src/com/android/testplugin/TestPlugin.java
cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/ActivityManagerPermissionTests.java
cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/ServiceManagerPermissionTests.java
cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java

Copyright header moved to top in following file:

core/tests/coretests/src/android/widget/ListViewTest.java

Change-Id: I3c3198be5a0ba36e18679ed834170432bf0b8418
honeStateListener.java
41a46718b3deec95661e149b3acea2a9e54016be 10-Mar-2010 John Wang <johnwang@google.com> Make getCellLocation return null if not available.

For bug 2422284.

Check the cell location and return null if the location is not available.

Change-Id: Ie9a331b906a8253c9a9596365af8705dc03823ce
ellLocation.java
elephonyManager.java
dma/CdmaCellLocation.java
sm/GsmCellLocation.java
0bd36175fbdf4f1506c5dcf93b43f3559837e207 04-Mar-2010 John Wang <johnwang@google.com> Add r-w property of emergency number list.

Currently, the emergency calls are put into an readonly property ro.ril.ecclist.

It is possible that ecclist has to be changed before and after SIM pin lock.

And ecclist can also be changed after network broadcasts the local emgergency numbers.

So add r-w property ril.ecclist to make emergency number list changable, while still

check r-o property to make old RIL work.
honeNumberUtils.java
7ae17760462e4c16ef0ea4289612c5950258d5da 17-Feb-2010 Kenny Root <kroot@google.com> Correct use of logical AND

A bitwise AND was use when a logical AND was meant to be used.

Change-Id: I4e5529ff9fce1e6397d7cd9483268766fc92dcf5
honeNumberUtils.java
9384b145e625b3bb6ff8b829ddb1466e16a78f49 11-Feb-2010 Mark Vandevoorde <mtv@google.com> Map base station lat-lng of "0","0" to undefined.

Also introduce a public constant for the invalid lat/lng value.

Change-Id: Ifaa1e563bfa94c06dfbba51157b9160055442682
dma/CdmaCellLocation.java
sm/GsmCellLocation.java
1e5710ce6fb76013a96473564d7a8a06db5e54cb 16-Dec-2009 Scott Main <smain@google.com> am 73536dda: am d92cc9a4: Merge change I33eb64c0 into eclair

Merge commit '73536dda20594e4b5e83396d705127a823bfa362'

* commit '73536dda20594e4b5e83396d705127a823bfa362':
docs: add 2.1 platform notes, win usb driver notes
b149ee883502af8ae71757f9098c8e98c8548d25 15-Dec-2009 Scott Main <smain@google.com> docs: add 2.1 platform notes, win usb driver notes
and fix some javadocs for PhonestateListener
honeStateListener.java
7d2fd6501595137e91ad042cd550decd2f8040fc 02-Dec-2009 Wink Saville <wink@google.com> am cc6ff2bc: Cleanup @hide and @deprecated directives.

Merge commit 'cc6ff2bc6011294367d9a8c644f811449e952eb7' into eclair-mr2

* commit 'cc6ff2bc6011294367d9a8c644f811449e952eb7':
Cleanup @hide and @deprecated directives.
cc6ff2bc6011294367d9a8c644f811449e952eb7 02-Dec-2009 Wink Saville <wink@google.com> Cleanup @hide and @deprecated directives.

Bug: 2294396
Change-Id: Icb34706a203fb34e52c67b904328e91a7803d4fc
eighboringCellInfo.java
honeStateListener.java
ignalStrength.java
d95a02c2a652ffe35dcc0336a3e35d91b1027d54 27-Oct-2009 Daisuke Miyakawa <dmiyakawa@google.com> Fix test breakage in Zaku. Modification to PhoneNumberUtils included.

Also add method String formatNumber(String source, int defaultFormattingType) with @hide tag.

Internal Issue number: 2217362
honeNumberUtils.java
45db67f2e89341412613ea6b162dd0ad36f091c6 23-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I808651dc into eclair-mr2

* changes:
bug #2180646: make comparing "404-04" and "40404" return true in PhoneNumberUtils.compare().
fd7b4f1d12779a0363e98a37e7f5a7ccacba5ee8 23-Oct-2009 Wei Huang <weih@google.com> bug #2180646: make comparing "404-04" and "40404" return true in PhoneNumberUtils.compare().

- when comparing two numbers whose dialable char length is less than the MIN_MATCH (7), treat them as equal if the dialable portion of the numbers match.
- update unit test.
honeNumberUtils.java
171ad63488fedbf0176b3d8cef5502007399b4dd 23-Oct-2009 Tom Taylor <tomtaylor@google.com> am 6c618c68: Merge change Ie7105dae into eclair

Merge commit '6c618c68f251e42210f7c2f45d69498352da87e0' into eclair-mr2

* commit '6c618c68f251e42210f7c2f45d69498352da87e0':
Handle bad SIM message
72fac6778119e42f39e00f5b7e36b7500893f45c 22-Oct-2009 Tom Taylor <tomtaylor@google.com> Handle bad SIM message

When trying to view the saved sms messages on my SIM, I ran into a null ref.
With this fix, we don't try and wrap a null message, but just skip it.
This is part one of three fixes for BC-triaged bug 2205782.

Change-Id: Ie7105dae7e3134b98681deabcc14f5db555902f3
msManager.java
msMessage.java
6183a3ed5b72902a8e4a441b4d9e99630cb42ee3 22-Oct-2009 Naveen Kalla <nkalla@quicinc.com> am 076cb23a: Merge change I13dd02fc into eclair

Merge commit '076cb23a024f256817b5dc22830c3f9a9e0a44a7' into eclair-mr2

* commit '076cb23a024f256817b5dc22830c3f9a9e0a44a7':
telephony/cdma: Fix Erroneous Roaming Indicators and Latitude-Longitude parsing
d393184ac595ab5490c77305a27fd049badf9a5d 12-Oct-2009 Naveen Kalla <nkalla@quicinc.com> telephony/cdma: Fix Erroneous Roaming Indicators and Latitude-Longitude parsing

When Android Telephony receives response to GET_REGISTRATION_STATE
message from RIL it may contain few fields set to NULL. Due to a parsing
exception encountered while parsing that field, the remaining fields will
not be parsed even if they are valid data. Ignore all fields that are NULL
while letting it parse non-NULL data.

For Latitude and Longitude, the values should not be hexadecimal. They
shall be parsed as decimal values as specified in the 3GPP2 C.S0005-A
specification. Invalid value is changed from -1 to Integer.MAX_VALUE.

Bug: 2201613
Change-Id: I13dd02fcfa2ae7fcb6f21c4b94b830786bd7270c
dma/CdmaCellLocation.java
9e534153264138cfee383c626db92b934fafc1af 19-Oct-2009 Tammo Spalink <tammo@google.com> Let PLUS occur once anywhere in dial-str network portion.

Create a new extractNetworkPortion() function, since the old one is
public, that does effectively the same thing but is more flexible as
just mentioned.

Addresses issue:
http://buganizer/issue?id=2013998

Change-Id: Ie5df08ef9c871881e8728a44abf0385908000823
honeNumberUtils.java
98e0b146b80670b52805b4b210ef5582dad6bb68 09-Oct-2009 Robert Greenwalt <robdroid@android.com> Make PhoneStateListeners not call TelephonyManager

Since the StatusBarPolicy is run in the System Process and shouldn't therefore call into
the Telephony process we decided to make sure all the needed info was passed along with the
original notifications.

bug: 2173053
honeStateListener.java
erviceState.java
99510681e9f1c76f82719e724990f744cfdbcefd 01-Oct-2009 John Wang <johnwang@google.com> Unhide constant DATA_ACTIVITY_DORMANT.
elephonyManager.java
29e4a3c566f435c32f0b95e4ac8e8b33cac6faba 01-Oct-2009 Dianne Hackborn <hackbod@google.com> Update from API review.

Change-Id: I16b1c566f91167aac9615ac59dd297a154c828ea
eighboringCellInfo.java
db1f4993989bb03cae2f3e008d4db3e49577aa73 29-Sep-2009 Evan Millar <emillar@google.com> Add PhoneNumberUtils.compare() method that uses a resource to determine strictness.

Change-Id: I49fbfc683f7089f052671b567ad3e19203a568f0
honeNumberUtils.java
fb2b04b7bc505f5e600e360a9de6f63e16c21bf9 25-Sep-2009 John Wang <johnwang@google.com> Unhide NETWORK_TYPE_XXX.

Make NETWORK_TYPE_HSDPA etc. unhide in TelephonyManager.
elephonyManager.java
9c118c80fd0a5416051f2a49f515301f2cf3fd6f 12-Sep-2009 johnwang <johnwang@google.com> Update CID in NeighboringCellInfo

NeighboringCellInfo works in GSM and UMTS network.

In GSM network, the locaiton value is the combination of LAC and CID.

In UMTS network, the locaiton value is PSC code.

NeighboringCellInfo should access and store those two values seperately.

It involves the change of Public API.

1. Add new API getRadioType(), getLac(), and getPsc() to get location info in GSM and UMTS.

2. Deprecate setCid() and NeighboringCellInfo(int cid) because cid is set by interpreting network type.
eighboringCellInfo.java
elephonyManager.java
694bd8bf733aee372705e00d13964a20e5b16209 24-Sep-2009 Peng Zhu <w46254@motorola.com> Add null check at isEmergencyNumber().

Change-Id: I7eca1ba1ce42e02c7506a7d969e4865778bb49cc
honeNumberUtils.java
3cc97f8dbc22eff56f17f30e1633084af507eff4 21-Sep-2009 Tammo Spalink <tammo@google.com> Add Phone.getPhoneType() operation.

This routine returns integer values defined in the Phone interface,
derived from RILConstants values. Direct references to the
RILConstants are replaced by references to these new ones for
consistency.

API CHANGE:
unhide TelephonyManager.PHONE_TYPE_CDMA

Addresses issue:
http://buganizer/issue?id=1905415

Change-Id: Icfec6d457231b098c031677a66770b5e57be4a44
ellLocation.java
elephonyManager.java
02b5948a4375dba5d287a59ba023eaf1e02b45dc 21-Sep-2009 Wei Huang <weih@google.com> make PhoneNumberUtils.compareLoosely use MIN_MATCH of 7 instead of 5.

Change-Id: Id4a08c3834b727e253ab189293d5715ffbbe8f35
honeNumberUtils.java
9a24bc563f28d8489c7178b93ff05f02e8b8a893 19-Sep-2009 Daisuke Miyakawa <dmiyakawa@google.com> Implement compareStrictly() using phone_number_compare() written in C.

As per several discussions, we stick to the default behavior now.
In stead, we provide compareStrictly() as a hidden method, so that some
internal components are able to use the method if needed.

Since these are static methods, they cannot refer to the configuration files,
whose values can be obtained only via Resources object.

Please make callers' side if you want to use strict version of compare().

Internal issue number: 1892808
honeNumberUtils.java
1b90def3c683afaea528a0ee705b14df6ce2e2c7 17-Sep-2009 Mike Lockwood <lockwood@android.com> telephony: Add CdmaCellLocation class to the public API.

Its twin sister GsmCellLocation is public, so this really should be in the SDK too.

Change-Id: If6f5899047546a7398f1e4191c67acf15555c21b
Signed-off-by: Mike Lockwood <lockwood@android.com>
dma/CdmaCellLocation.java
60d45f0f0320801a16db2ad038453c098e98966c 16-Sep-2009 Nicolas Catania <niko@google.com> Added a field to track if the call is to a voicemail instance.

Refactored common code between CallerInfo and CallerInfoAsyncQuery that deal
with voicemail number comparison.

In CallerInfo.java added a new field mIsVoiceMail to indicate this is a
voicemail call.
Added a new method to convert the CallerInfo into a VM instance.
Added a new method to generate a debug string from an instance.

PhoneNumberUtils has a new method "isVoiceMailNumber" to check if a number
is a VM one. I left the method as hidden. Previously any security exception
failure was cached in a static variable. I removed that and
privilege the optmistic scenario. I am not sure if the security exception
is only for the 'regular' telephony layer and if it applies if a 3rd party
VM app is installed (e.g googlevoice), hence i removed the cashing to make
sure we can pick up new voicemail providers when installed/enabled/disabled.

Bug:2112640
honeNumberUtils.java
5f1f26a7ffb3e1130108bc670960cb5368038a1b 11-Sep-2009 johnwang <johnwang@google.com> Fix NPE in TelephonyManager.

It is for bug 1971628 but affects almost every API function in TelephonyManager. When phone is not ready (for example, after crash and restart) the getSubscriberInfo and getITelephony returns null and causes NPE.
elephonyManager.java
e40f66ffc11cfc7e1bbe3e4c2ae1cf6dbc24cc17 03-Sep-2009 Wink Saville <wink@google.com> Allow hasIccCard to be useable by any processes.

This is accomplished by adding hasIccCard to ITelephony and do
the implemenation in PhoneInterfaceManager.java. Then change
TelephonyManager to use getITelephony().hasIccCard().

Change-Id: I26970fdf92a058502b8156a4f52c14e213217fc6
elephonyManager.java
65d62c774e42d8bf9a55ef50e153ffc9e277ef37 02-Sep-2009 Wink Saville <wink@google.com> Add hasIccCard to IccCard and TelephonyManager.

Expose the presence/absence of IccCards in the system.
This is needed to fix bug 2033811 which needs to show
some SIM menus in the Mms app and Contact apps only if
there is a SIM and on CDMA there is no sims yet.

The current implementation assumes CDMA never has an
IccCard this is true at the moment but needs to change.

Change-Id: I4167368e364623ea68e9b2778556e6d730b1e715
elephonyManager.java
1f952a178db86559ff4bab79c4a9b5fae18096bf 25-Aug-2009 Tammo Spalink <tammo@google.com> Move SMS pdu creation fully into the central Phone process.

Previously pdu creation was haphazardly done sometimes by the app and
sometimes centrally by the phone process -- specifically the phone
process did creation for multipart texts. This change gets rid of the
previous IPC interface for sending raw pdus to SMSDispatch in the
phone process, and instead makes everything work like multipart
messages worked before, namely the structured data is passed and pdu
encoding done centrally.

The motivation for this was the need to ensure that CDMA message id
numbers were strictly monotonic, including across reboots, which
necessitated central state in the form of a system property, which
could in turn only be modified by the phone process.

Hence, this (in part) addresses issue: http://buganizer/issue?id=2075760

Change-Id: I94ca207b6e657c465e8472534704db8646ee277c
msManager.java
msMessage.java
95434bfaee62161ce02012c6424f0c0c8fffccb5 28-Aug-2009 Tammo Spalink <tammo@google.com> Allow fragmentText to be called for singleton CDMA messages.

Corrects for previous partner changes, addressing issue:

http://buganizer/issue?id=2063332

Change-Id: I49e564d81c5db3e92a6bad973f21a02a7302875d
msMessage.java
51b2b33219a0e97ed1e5ea75dabe4113a38871b9 21-Aug-2009 Yong Liu <yong.liu@motorola.com> MO SMS fail after sending 100 messages

After sending 100 messages, SMSDispatcher always displays dialog to user to
confirm the sending. If the user sends messages too fast then there will be more
than one dialogs waiting for the response, but SMSDisptcher can only handle one.
msManager.java
4a51c20ce607c74914f90fd897f04080121ac13b 22-Aug-2009 Dianne Hackborn <hackbod@google.com> I am getting tired of the java doc warnings, so fix them.

Change-Id: I2205eebae419eaf4a0992c9f5b7cd807eb843fe1
honeStateListener.java
sm/SmsMessage.java
7b0cdc8890a849283d31a15126e73edce3bdf3a6 22-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 22362 into eclair

* changes:
Fix +NANP issue and cleanup plus code conversion.
ebe66345e7099ca6fc95e8aa4d31a5b5cbbd6224 14-Aug-2009 Li Zhe <jqc837@motorola.com> Framework changes to support HSDPA/HSUPA/HSPA
HSDPA: High-Speed Downlink Packet Access
HSUPA: High-Speend Uplink Packet Access
HSPA: High-Speed Packet Access

Add support for HSDPA/HSUPA/HSPA:
1) extend TelephonyManager.NETWORK_TYPE for HSDPA/HSUPA/HSPA
2) extend ServiceState.RADIO_TECHNOLOGY for HSDPA/HSUPA/HSPA
3) set radioTechnology into ServiceState in GsmServiceStateTracker
4) change the implementation of TelephonyManager.getNetworkType to
solve the competition timing issue between the time of setting
system property and the time of receiving notification through
PhoneStateListener
4.1) add a getNetworkType interface in ITelephony.aidl
5) add icons resources for HSDPA/HSUPA/HSPA
6) make use of HSDPA/HSUPA/HSPA icons in StatusBarPolicy
erviceState.java
elephonyManager.java
7850cdde66705152b859aafda875833acdda9653 18-Aug-2009 Libin Tang <Libin.Tang@motorola.com> Fix +NANP issue and cleanup plus code conversion.

This patch includes the plus code conversion clean up.
1. change the plus code conversion based on the current and default
number systems retrieved from MCC.
2. for format such as +NANP, replace the '+' with the current IDP (011).
3. comments changes.
honeNumberUtils.java
18e7b98c1c7e3cf340e39e93be67b777e7036cc4 04-Aug-2009 Tang@Motorola.com <Tang@Motorola.com> Fix the issue of incorrect conversion of the plus sign in a dial string.

The issue is that the plus sign in a dial string is always converted
to the IDP (International Dial Prefix).

This fix implements a plus sign conversion mechanism based on the default
telephone numbering system that the phone is activated and the current telephone
number system that the phone is camped on. Currently, we only support the cases
where the default and current telephone numbering system are NANP.
honeNumberUtils.java
f28ca902ad07ca3cf9c2f2e5d2d20dd58c0f13e5 09-Aug-2009 Jeff Sharkey <jsharkey@android.com> Update getNumberFromIntent() to read from both providers.

This method is used by the Phone app to decode ACTION_CALL
Intents, resolving to a real phone number. Because the
columns are changing with the new provider, I added logic
to query using the correct columns for the authority of the
requested Uri.
honeNumberUtils.java
d1cb1d22af0775a7c030822e04db1c9ecad9beab 06-Aug-2009 jsh <jsh@google.com> Bubble up SMS send fail error code to the app.

Framework portion of the fix for http://b/1978375:
We'll pass up the error code returned by the RIL on send failure.
msManager.java
ab752276ee9838fe05b3fedb18075120c72cfb54 31-Jul-2009 Jaikumar Ganesh <jaikumar@google.com> am 0da3bdb4: Fix public API caused due to CDMA changes.

Merge commit '0da3bdb476086db02a1076780676b21e239c79d6'

* commit '0da3bdb476086db02a1076780676b21e239c79d6':
Fix public API caused due to CDMA changes.
0da3bdb476086db02a1076780676b21e239c79d6 28-Jul-2009 Jaikumar Ganesh <jaikumar@google.com> Fix public API caused due to CDMA changes.
msManager.java
msMessage.java
sm/SmsManager.java
98ad09880b148d69f4202ad40872d1cdfc1e491e 30-Jul-2009 Wink Saville <wink@google.com> am b307c894: Fix bug 1994955 where PHONE_TYPE_CDMA was 0 and it should be 2 and added RILConstants.NO_PHONE.

Merge commit 'b307c8945d4bf8d843445f3cc6d727f4e43d90f0'

* commit 'b307c8945d4bf8d843445f3cc6d727f4e43d90f0':
Fix bug 1994955 where PHONE_TYPE_CDMA was 0 and it should be 2 and added RILConstants.NO_PHONE.
b307c8945d4bf8d843445f3cc6d727f4e43d90f0 29-Jul-2009 Wink Saville <wink@google.com> Fix bug 1994955 where PHONE_TYPE_CDMA was 0 and it should be 2 and added RILConstants.NO_PHONE.

This bug originally reported that PHONE_TYPE_CDMA needed to be 2 because
it was public. But as far as I can tell it has never been public and it
is still marked @hide so is not public now. There is a bug in that
PHONE_TYPE_NONE and PHONE_TYPE_CDMA were both 0. But this doesn't
appear to have been a problem because PHONE_TYPE_NONE doesn't looked to be
used anywhere except in TelephonyManagerTest.
elephonyManager.java
6e4cb2a0017c86cf7fbda2640fa81e10e99a406c 28-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am ecbbecf6: Merge change 8620 into donut

Merge commit 'ecbbecf6c535e7f3e1d072d43766a95aa18ee464'

* commit 'ecbbecf6c535e7f3e1d072d43766a95aa18ee464':
Fix swapped gsm/cdma function dispatch, and 7bit text fragmentation.
5e5b8c45dbb87be5468821ed298747ab065d73a6 27-Jul-2009 Tammo Spalink <tammo@google.com> Fix swapped gsm/cdma function dispatch, and 7bit text fragmentation.
msMessage.java
35eea54a405cfeb88e48fed4bfa59687351c49a0 14-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 6935 into donut

* changes:
DO NOT MERGE: backporting from master:
45becf90a80833dd4b98ef90b93708c6ea0c325a 13-Jul-2009 jsh <jsh@google.com> am aa459370: Update javadoc for TelephonyManager.getNetwork* for CDMA.

Merge commit 'aa4593706e4586fb4dfa6bd00d49c6f6159cbe0f'

* commit 'aa4593706e4586fb4dfa6bd00d49c6f6159cbe0f':
Update javadoc for TelephonyManager.getNetwork* for CDMA.
2872e30684cf837e330c8fa3bb8b2a2b73d44ddb 07-Jul-2009 Mike Lockwood <lockwood@android.com> DO NOT MERGE: backporting from master:

CDMA: Add Network ID and System ID to CdmaCellLocation.

Signed-off-by: Mike Lockwood <lockwood@android.com>
dma/CdmaCellLocation.java
aa4593706e4586fb4dfa6bd00d49c6f6159cbe0f 13-Jul-2009 jsh <jsh@google.com> Update javadoc for TelephonyManager.getNetwork* for CDMA.

These are unreliable for CDMA, so note it in the javadoc. Also update
for the corresponding TelephonyProperties.
elephonyManager.java
a4d2fb5ef6bb5dfb6e26ac6a139de389984db5d3 07-Jul-2009 Mike Lockwood <lockwood@android.com> CDMA: Add Network ID and System ID to CdmaCellLocation.

Signed-off-by: Mike Lockwood <lockwood@android.com>
dma/CdmaCellLocation.java
4a79a017a18391116abf66f5f31410d580d2ec94 02-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am daa5a215: Merge change 5810 into donut

Merge commit 'daa5a21562cb4b1fda21400bc638be4d6b7f5825'

* commit 'daa5a21562cb4b1fda21400bc638be4d6b7f5825':
Fix bug 1930055 of NullPointerException.
4a301cb49527dfe941a8f6ac3c65a14ee42e01d1 01-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 8aadf7ae: Merge change 5359 into donut

Merge commit '8aadf7ae278961926de5452a46863503303735cf'

* commit '8aadf7ae278961926de5452a46863503303735cf':
fix potential string index problems in PhoneNumberUtils.numberToCalledPartyBCDHelper
daa5a21562cb4b1fda21400bc638be4d6b7f5825 01-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 5810 into donut

* changes:
Fix bug 1930055 of NullPointerException.
107821369b7af3b739a0b5617fb34ff19f7ca9b5 30-Jun-2009 John Wang <johnwang@google.com> Fix bug 1930055 of NullPointerException.

The NullPointerException in getCallState is caused by the restarting of phone process. getITelephony() was not ready to be used at that moment.

modified: java/android/telephony/TelephonyManager.java
elephonyManager.java
3a08cec99e104f74f28ba2463f00c8d4e6d1967e 25-Jun-2009 Tammo Spalink <tammo@google.com> fix potential string index problems in PhoneNumberUtils.numberToCalledPartyBCDHelper

addresses http://buganizer/issue?id=1489784
honeNumberUtils.java
e92b1e7633188e9e72a237f84266d390bb4b87ed 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am d48388ab: Merge change 5344 into donut

Merge commit 'd48388ab8239d2b0f4b8a9a4189fe9eeddddedca'

* commit 'd48388ab8239d2b0f4b8a9a4189fe9eeddddedca':
frameworks/base: CDMA voicemail support
ce099c3226b33b43e0dd5d1f24347b14a2223ee1 01-Jun-2009 David Krause <david.krause@motorola.com> frameworks/base: CDMA voicemail support
elephonyManager.java
6ff97edef79fda447143e51cc527fc3fb816f310 18-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 8696d703: Merge change 3874 into donut

Merge commit '8696d7030af6f0d58859f1027c423143b67f9fb4'

* commit '8696d7030af6f0d58859f1027c423143b67f9fb4':
for cdma concatenated (long) messages, replace ascii7bit with gsm7bit encoding
fc78f358cb1d1cee99758bcd6ef998a122ef27c9 11-Jun-2009 Tammo Spalink <tammo@google.com> for cdma concatenated (long) messages, replace ascii7bit with gsm7bit encoding
msManager.java
msMessage.java
97857f8618fb9ee49345414895bcbe3e1452a155 11-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 0b774530: Merge change 3015 into donut

Merge commit '0b77453076a22569f24318d194b378b68f11a63e'

* commit '0b77453076a22569f24318d194b378b68f11a63e':
make sms calculateLength radio-independent
a94945d3a1cf23caf33759eb1de84195d3fcb37b 03-Jun-2009 Tammo Spalink <tammo@google.com> make sms calculateLength radio-independent
msMessage.java
dfe482c9b5b16fca375b30c47185fc415c71d4e8 10-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am ce8436f5: Merge change 3593 into donut

Merge commit 'ce8436f52e7f2c80f94e43d80d28cc962b7ff83b'

* commit 'ce8436f52e7f2c80f94e43d80d28cc962b7ff83b':
Cleanup whitespace.
2563a3ac05dd3cf8a07203ae682c243f2e793137 09-Jun-2009 Wink Saville <wink@google.com> Cleanup whitespace.
apanesePhoneNumberFormatter.java
eighboringCellInfo.aidl
eighboringCellInfo.java
ackage.html
19db02b94504c84c8301f5ae076a4af7ac185a88 02-Jun-2009 Tammo Spalink <tammo@google.com> am 641bb3d8: expose (but still hide) sms user data headers

Merge commit '641bb3d8dfd72f57356d39ef00256d6077c9e235'

* commit '641bb3d8dfd72f57356d39ef00256d6077c9e235':
expose (but still hide) sms user data headers
641bb3d8dfd72f57356d39ef00256d6077c9e235 27-May-2009 Tammo Spalink <tammo@google.com> expose (but still hide) sms user data headers

addresses bug http://b/issue?id=1751571
msMessage.java
8e19b7c0e4c578703a1df0f8346b22b9e7c8a0f7 29-May-2009 Android (Google) Code Review <android-gerrit@google.com> am a3d28bd5: Merge change 520 into donut

Merge commit 'a3d28bd5c278f750c70f2b87fce23df221cd4a01'

* commit 'a3d28bd5c278f750c70f2b87fce23df221cd4a01':
Enforce permissions for PhoneStateListener events.
45515659438964ec47f4feac247f0e9dce587c86 24-Apr-2009 Jaikumar Ganesh <jaikumar@google.com> Enforce permissions for PhoneStateListener events.

PhoneStateListener events like LISTEN_CALL_STATE_CHANGED,
have privacy information like phone numbers and hence,
need to be protected with a permission. The permission
READ_PHONE_STATE is used for this purpose. Use the permission
trick to ensure backward compatability.
honeStateListener.java
5214376d2b1ce082765f766be1c7d56b50df74a7 27-May-2009 Ficus Kirkpatrick <ficus@android.com> Stop the NANP number formatter from putting dashes in shortcodes.

This changes the result of PhoneNumberUtils.formatNumber("46645") from
"466-45" to "46645".
honeNumberUtils.java
5bc21aa0671d83e406b46e0431816dea8d9ca5cb 20-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 1127 into donut

* changes:
SmsHeader rewrite, in preparation for migration to public API.
64c499113a758cf80cddfd4d0183f944a1a6645a 05-May-2009 Tammo Spalink <tammo@google.com> SmsHeader rewrite, in preparation for migration to public API.

See http://b/issue?id=1751571

Changes the semantics of SmsHeader from containing only opaque data
to exposing occurs-once frequently-used fields together with a list
of opaque fields. Also changes the coding to and from byte array to
be symmetrical, whereas previous encoding had an extra length field.

Cdma SmsMessage -- cleanup of code paths along with adjustments to
match the new header semantics, which should address at least some
of the issues with concatenated messages. See http://b/issue?id=1809759
msMessage.java
sm/SmsMessage.java
9bfbfbd40df381817c0c685b177a2a1d666e101d 15-May-2009 Jaikumar Ganesh <jaikumar@google.com> Add a method to get the PhoneType in CellLocation.

CellLocation uses TelephonyManager to get the PhoneType.
TelephonyManager uses the system property to get the phoneType,
if the ITelephony interface is not up.
ellLocation.java
elephonyManager.java
ac61f6bc2b24f7ab03cdb0089c67c4034ea8549c 19-May-2009 Mike Lockwood <lockwood@android.com> Telephony: Allow getCellLocation() if client has permission ACCESS_FINE_LOCATION

ACCESS_FINE_LOCATION should imply ACCESS_COARSE_LOCATION, so either of these
permissions should be sufficient to allow TelephonyManager.getCellLocation().

Signed-off-by: Mike Lockwood <lockwood@android.com>
elephonyManager.java
e9b06d754af03faf27012fbed1e7559ec1ba7c79 19-May-2009 Wink Saville <wink@google.com> Teleca 2b changes
ellLocation.java
honeStateListener.java
erviceState.java
ignalStrength.aidl
ignalStrength.java
elephonyManager.java
f8a7ceaef2e7d5cd530c9426bde91b6fa9a40b75 11-Apr-2009 Andy Stadler <> AI 145778: Manual merge changes 145382-145384 from cupcake.

Automated import of CL 145778
elephonyManager.java
b9db7c9f5a8924361ae2f439509e19993d82b884 05-Apr-2009 Mike Lockwood <> AI 144593: Fix GSM cell location updates.
BUG=1761611

Automated import of CL 144593
ellLocation.java
767a662ecde33c3979bf02b793d392aca0403162 02-Apr-2009 Wink Saville <> AI 144185: Integrate cdma into the main code base.

Automated import of CL 144185
ellLocation.java
honeNumberFormattingTextWatcher.java
honeStateListener.java
erviceState.aidl
erviceState.java
msManager.java
msMessage.java
elephonyManager.java
dma/CdmaCellLocation.java
dma/package.html
sm/GsmCellLocation.java
sm/SmsManager.java
sm/SmsMessage.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ellLocation.java
apanesePhoneNumberFormatter.java
eighboringCellInfo.aidl
eighboringCellInfo.java
honeNumberFormattingTextWatcher.java
honeNumberUtils.java
honeStateListener.java
erviceState.aidl
erviceState.java
elephonyManager.java
sm/GsmCellLocation.java
sm/SmsManager.java
sm/SmsMessage.java
sm/package.html
ackage.html
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ellLocation.java
apanesePhoneNumberFormatter.java
eighboringCellInfo.aidl
eighboringCellInfo.java
honeNumberFormattingTextWatcher.java
honeNumberUtils.java
honeStateListener.java
erviceState.aidl
erviceState.java
elephonyManager.java
sm/GsmCellLocation.java
sm/SmsManager.java
sm/SmsMessage.java
sm/package.html
ackage.html
076357b8567458d4b6dfdcf839ef751634cd2bfb 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
sm/SmsMessage.java
3dec7d563a2f3e1eb967ce2054a00b6620e3558c 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
sm/SmsMessage.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
elephonyManager.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
apanesePhoneNumberFormatter.java
eighboringCellInfo.aidl
eighboringCellInfo.java
honeNumberUtils.java
elephonyManager.java
sm/SmsManager.java
sm/SmsMessage.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
ellLocation.java
honeNumberFormattingTextWatcher.java
honeNumberUtils.java
honeStateListener.java
erviceState.aidl
erviceState.java
elephonyManager.java
sm/GsmCellLocation.java
sm/SmsManager.java
sm/SmsMessage.java
sm/package.html
ackage.html