History log of /frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c6bab7d4ba474a0f414b76be4e655c9ed9103f2d 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
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
7188f946521d64ea21121939d2a4c279f33fe910 02-Feb-2010 Wink Saville <wink@google.com> Cleanup comments, see bug 2401350.

Change-Id: Ieaeeba44b235038ad9b75a57b37658738532df3f
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
02722fbd77fa22f60ed3778b806b1e8f176b88c1 22-Dec-2009 Wink Saville <wink@google.com> Convert DataConnection to an HSM and rename PdpConnection to GsmDataConnection.

Change-Id: Ia834022d04e65c42d671f63b2fec46804fe8a562
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
16fbdbfb01fffd249e4445dcfb9f19108481687c 03-Dec-2009 Wink Saville <wink@google.com> am a7493240: am 2f9d8dbe: Merge change I749d6801 into eclair-mr2

Merge commit 'a7493240ab97013458b2dbe16fcd27fb6e85c0af'

* commit 'a7493240ab97013458b2dbe16fcd27fb6e85c0af':
Telephony: Fix exception if PROPERTY_OPERATOR_NUMERIC is not set
144fdfec240a56890657d2248a22bdda9f22470c 03-Dec-2009 Wink Saville <wink@google.com> Telephony: Fix exception if PROPERTY_OPERATOR_NUMERIC is not set
and minor fixes.

Fix the following
- When PROPERTY_OPERATOR_NUMERIC is not set, the value is "" when CDMAPhone
is initialized. The constructor tries to extract MCC and MNC from this
property and results in a StringIndexOutOfBounds exception. Check for empty
OperatorNumeric string before trying to extract MCC and MNC
- Handle RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING response gracefully.

Change-Id: I749d6801bb4794d56e8fd672dec69dfea2b5c756
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
7cfee29baff65203f14f8ac7fb717813ca42cf13 06-Nov-2009 Wink Saville <wink@google.com> am 47601c74: am e14861ea: am 09263e1b: Merge change Id0267cc0 into eclair

Merge commit '47601c74f1302f70716c81714373687358ce8d8b'

* commit '47601c74f1302f70716c81714373687358ce8d8b':
Add needsOtaServiceProvisioning and used to not allow
e14861eaa7e01e28e1f5a8dc9c10924400ac2cb7 06-Nov-2009 Wink Saville <wink@google.com> am 09263e1b: Merge change Id0267cc0 into eclair

Merge commit '09263e1bc0f8f783b24b92643d4ccda87966d01f' into eclair-mr2

* commit '09263e1bc0f8f783b24b92643d4ccda87966d01f':
Add needsOtaServiceProvisioning and used to not allow
684b802dd9ec9e145220855d2380a3a9cd39a033 04-Nov-2009 Wink Saville <wink@google.com> Add needsOtaServiceProvisioning and used to not allow
data calls until the device is provisioned.

Bug: 2221241
Change-Id: Id0267cc02fdf31e14e66e5acd2ca5cbdc504f507
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
e0f01c8ac95d63bd21034cb76bb41009ebe66004 22-Oct-2009 Robert Greenwalt <robdroid@android.com> am 2fe12102: am 98a7c454: Merge change I66ff8af6 into eclair-mr2

Merge commit '2fe121025cd8f24a3652728effe86188a9d4b5fa'

* commit '2fe121025cd8f24a3652728effe86188a9d4b5fa':
Move calc of EriIconIndex/Mode to whenever basis changes
cc5c1ad53ce4541f17842daba29e7ccba221c079 16-Oct-2009 Robert Greenwalt <robdroid@android.com> Move calc of EriIconIndex/Mode to whenever basis changes

We need this info in the ServiceState, but rather than calcing it every time
a ServiceState is requested, we can update the values whenever the constituents
change.

bug: 2182568
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
6a19d0e13951b52fc1aadcd048f646d9dbd94f97 21-Oct-2009 Tammo Spalink <tammo@google.com> am 60be8485: am 8785c064: Merge change Ie5df08ef into eclair-mr2

Merge commit '60be84855435c2f354833a98e1bf6154cc45078c'

* commit '60be84855435c2f354833a98e1bf6154cc45078c':
Let PLUS occur once anywhere in dial-str network portion.
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
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
1215c57ed878ce7a5745b6c31bf6e5a24b20b42d 13-Oct-2009 David Krause <david.krause@motorola.com> am a614b948: Merge branch \'eclair-plus-aosp\' of ssh://android-git.corp.google.com:29418/platform/frameworks/base into eclair-mr2-plus-aosp

Merge commit 'a614b948e18189adfe8e2553754db574ecb3fd7a'

* commit 'a614b948e18189adfe8e2553754db574ecb3fd7a':
Make PhoneStateListeners not call TelephonyManager
Setting WebCore cache limit depending on the memory class.
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
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
82583b8312403ed734c30b161750d40c26086ee2 02-Oct-2009 Elliott Hughes <enh@google.com> Remove last vestiges of adb networking support.

Bug: 1122968
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.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
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
7a043b351b43e963605afef6ab76a52ae3a9270e 25-Aug-2009 Tammo Spalink <tammo@google.com> Make Phone.updateServiceLocation acquire a one-shot wake lock.

Phone.updateServiceLocation() is the internal routine triggered by
external calls to CellLocation.requestLocationUpdate().

addresses bug http://b/issue?id=1724246

Change-Id: Id3d5cab1a77df12d3e94373a58ae94688a8630c6
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
1c1ffa0cab8b56274970736d7f3b8c00c01c3d2b 01-Sep-2009 Robert Greenwalt <robdroid@android.com> Promote MccTable to telephony and use it for both gsm/cdma

This adds timezone/locale/wifi-regulator-channels initialization to cdma (gsm already had it).

bug: 2071211
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
9b62851c3fbcd7fb61ead7583dcae33e411232d0 01-Sep-2009 Libin Tang <Libin.Tang@motorola.com> Exit Emergency Callback Mode if phone process crashes/restarts

If the phone process crashes while the phone is in ECM, there
is currently no way to get out of ECM without rebooting the
phone. This change forces the phone out of ECM if the phone
process restarts.

Change-Id: Ie4eb103fdc151ca20aa0b29dec43e60ad819e5b7
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
aace799b9c5ca15bfddbe66b0c69c1ccc30a99a1 25-Aug-2009 Libin Tang <Libin.Tang@motorola.com> Fix the issue that dialing *86 during call, the dialing voicemail screen is not shown.

The change fixes the issue that dialing *86 during the call, the dialing voicemail
screen is not shown, instead it shows feature code screen.

For CDMA, when flash is sent to the network, there is no response from the
network to indicate if the feature code is completed or not. This is different
from MMI code in GSM network. So it's confusing to show any UI to indicate MMI
(feature code) for CDMA.

The change is to remove the feature code handling in CDMAPone, and handle the
feature code dialing the same way as the 3 way call dialing. Basically, when
feature code is dialed, the dialing screen will be shown.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
a3659232ba9f7f3ba87ff036d17e08a46cf1be62 28-Aug-2009 Wink Saville <wink@google.com> Fix bug 2040024 phone rings only once sometimes.

The phone only rang once on rings that did't loop. In the GSM phones
the vendor ril sends a RIL_UNSOL_CALL_RING event to cause the phone
to properly play non-looping ring tones. To reproduce select a non-looping
ring tone such as "Digital Phone" and call it from another phone, the
phone will only ring once.

Three solutions were discussed:

*) Have all ring tones loop; rejected because to more space would be taken
by the silence.

*) Require all vendor RIL's to send RIL_UNSOL_CALL_RING; rejected because
it is inefficient to send a notification from the bottom of the stack.

*) Modify the PhoneApp or the audio layer; rejected because it would be
to big of change.

*) Modify the framework; this is the solution accepted.

The framework was modified to use two now properties to control the
call ring notification.

ro.telephony.multiple_call_ring: a boolean that if true the vendor ril
is assumed to send multiple RIL_UNSOL_CALL_RING messages. If false
only one is assumed and the framework will generate additional events.
(The default if absent is true).

ro.telephony.call_ring_delay: the delay in milli-seconds between
the generated events. (default if absent is 3000)

To minimize code duplication this change does some reorganization
of the PhoneBase class hierarchy and PhoneBase becomes a handler
and implements a default handleMessage method handles events associated
with call ring notification. This handler is overridden by derived
classes, CDMAPhone and GSMPhone which will pass unknown events
to PhoneBase.handleMessage and thus handle call notification for any
derived class.

Change-Id: I5b147b2b69b647d9987052f16ada41c9b66e4bf1
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
1cef22890d10417977397a5dccf34956858d0803 20-Aug-2009 Guo-Bin Zhang <Guo-binZhang@motorola.com> Disable data call in emergency call

Same change as 79ef673d56e2599932b8b7f13695d23b4df54d09 rebased
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
95a1d1a89e383dab893750638c2393dec54833ff 18-Aug-2009 Wink Saville <wink@google.com> E911 call fix in ECM

Based on the VZW requirement, phone should be still in ECM mode in 2nd emergency call.
but in the current phone call, if a 2nd emergency call is originated, ECM mode will exit.

For fixing this problem, the coding design is as below:
1. In framework, canceling the first ECM timer immediately upon the origination of the
2nd E911 call, and restarting a new timer when the 2nd E911 ends.
2. Framework needs to syncronize the timer with phone app by sending notification to phone app to
inform timer is canceled or re-started, since phone app needs to show how much ECM time left
on the status bar.
3. In phone app's emergency callback mode service, the timer in this service will be canceled
when it receives the timer cancel notification from framework; the timer will be restarted
once it receives timer restart notification from framework.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
25a5d3db3ff06b9952395832308bc3b48913c4ee 14-Aug-2009 Robert Greenwalt <robdroid@android.com> Fix CDMA to startup/shutdown based on apn en/disab

Fixes MMS during wifi.
Also fixes CDMA for ConnectivityManager change.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
5221dfdec95a75b0c608b4e0c9ead0623e2eaab4 08-Aug-2009 Wink Saville <wink@google.com> Revert "Disable data call in emergency call"

Temporary rollback of this change, for now the radio can prevent data traffic,
but that's not the desired long-term solution.

This reverts commit 79ef673d56e2599932b8b7f13695d23b4df54d09.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
9e652dcc213b96087ccadc730b1e6b1891cd02ae 06-Aug-2009 Jinghui Guo <w001091@motorola.com> Touch activation screen shown up fix

During the time of OTA activation screen startup, the app needs
to get MIN by calling getCdmaMin(). The issue in current code is that
OTA app calls getCdmaMin() before framework gets MIN data from lower
layer.

To fix this issue, framework will be providing the following new APIs
to applications for checking if MIN data is ready:
1. isMinInfoReady():
Check if mMin variable in getCdmaMin() has been assigned a non-null value.
2. registerForSubscriptionInfoReady():
Apps uses this API to register for notification.
3. unregisterForSubscriptionInfoReady():
This API is used by apps to unregister notification.

Framework will be sending out the notification in the following situations:
1. when mMin is assigned a non-null MIN value;
2. When app calls register API and MIN is ready.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
33777d2096c6877ab925db562067ac7272076399 04-Aug-2009 Libin Tang <Libin.Tang@motorola.com> Fix the issue of datacall not being reinitiated after exiting
Emergency Callback Mode.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
d903014c1f42884531372f18a754e5d6ff7366a7 27-Jul-2009 Libin Tang <Libin.Tang@motorola.com> Fix crash while dialing "*228;1"
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
79ef673d56e2599932b8b7f13695d23b4df54d09 25-Jul-2009 Jinghui Guo <w001091@motorola.com> Disable data call in emergency call
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
a1fd1efb52294360d09a4a4f5b6daabafd3c6603 27-Jul-2009 repo sync <dxn738@motorola.com> Voicemail number setting is throwing exception
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
c6d6b687af385d2a4e5f5210a9111d7b1acc233c 24-Jul-2009 Wink Saville <wink@google.com> Add method in Phone interface to check whether data is enabled.

This adds isDataConnectivityEnabled to allow test methods to query the
data connectivity state.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
142eefc67b661a63f95dd2b92cf622e7b57fcb4b 17-Jul-2009 Wink Saville <wink@google.com> Implement IMSI function for CDMA phones

Includes support to get the MCC and MNC from system properties, since
they are known to be unreliable from the network.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
e4a84af11d94e90f8d0a376582e0c91cdfc1c4fe 01-Jul-2009 Ling Li <Ling.Li@motorola.com> Implement the carrier specified OTASP numbers

It defines a new system property for carrier defined OTASP number.
It also includes the change to check the dial string against the OTASP
number.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
1c42769339d8fe98ecb2698c64e7dc6672e3d59d 13-Jul-2009 Jaikumar Ganesh <jaikumar@google.com> Rename registerPhoneStateChange to registerPreciseCallStateChange

As registerPhoneStateChange was actually notifying CallStateChange,
rename appropriately.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
019581bf6055eb69ee7e4cb844dafe2b6c23597e 07-Jul-2009 Cheng Yang <a17673@motorola.com> Update name getCdmaMIN to getCdmaMin

1. update name getCdmaMIN to getCdmaMin
2. update DEFAULT_ECM_EXIT_TIMER_VALUE from 30000 to 300000
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
5b93050d484e602f5e716f60a33e7e4dc4619e0b 13-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am f6c96839: Merge change 6850 into donut

Merge commit 'f6c968395f9c78552763e8f2994a57cf5c6bc0c0'

* commit 'f6c968395f9c78552763e8f2994a57cf5c6bc0c0':
Extra parameters for sendBurstDtmf.
dafa22a3ef9328c72319aeec605f6a6d20e46080 11-Jul-2009 jsh <jsh@google.com> Extra parameters for sendBurstDtmf.

ON length and OFF length.
Also, define PROFILEs for use with SETUP_DATA_CALL.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
daccacb865947c00f277f1823333e2fbf91e652a 10-Jul-2009 Wink Saville <wink@google.com> Change 107 and 146 from partner repo.

These were combined to save testing time.

cpr107:
Enhance the MDN change during OTA

1. Remove the OTA MDN change code in RuimRecords.java and move
to CdmaServiceStateTracker.java
2. Reduce the frequent function GET-CDMASubscription. Move the
Get_CDMASubscription from pollstate() to EVENT_NV_READY handler.
The CDMA Subscriber MDN/MIN is only changed by OTA programming.
Only need fecth the subscriber information when power on and OTA
completed.
3. Add new variable for PRL version in cdma subscription

cpr146:
SMS-to-Email fix for extracting e-mail address
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
ce099c3226b33b43e0dd5d1f24347b14a2223ee1 01-Jun-2009 David Krause <david.krause@motorola.com> frameworks/base: CDMA voicemail support
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
2563a3ac05dd3cf8a07203ae682c243f2e793137 09-Jun-2009 Wink Saville <wink@google.com> Cleanup whitespace.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
22ccaf5321cf9d2df57cf0d686d1abcd74acb193 07-Jun-2009 Wink Saville <wink@google.com> Motorola changes from 090602 through 090605

The changes from 090602 update frameworks/base to support 3way calling
and call waiting.

The changes from 090603 completed the CdmaInformationRecords class
but the original changes submitted has been simplified, toString added
and a bug fixed where the notifications where not being handled properly.

The changes from 090605 added Prl Version, apn fixes.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
90cb947c22f05f8ac68ceff1d74af15bf38268c6 13-May-2009 Tammo Spalink <tammo@google.com> cdma getNeighboringCids to fail with an exception
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
f315238a2b07c7e84f6ade800e504f520d262e66 01-Jun-2009 Wink Saville <wink@google.com> TODO's from Teleca with modifications from wink.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
dda5391d5079537e275c9f4ed2637a1484d0e4e8 29-May-2009 Wink Saville <wink@google.com> Motorola additions for CDMA support without CdmaSuppConnTracker

There are corresponding changes to hardware/ril and packages/apps/Phone
that are required to go with these changes.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.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.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
e9b06d754af03faf27012fbed1e7559ec1ba7c79 19-May-2009 Wink Saville <wink@google.com> Teleca 2b changes
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
44038aa032ffd876f3c9b20a84db9d189f77e18e 14-Apr-2009 Wink Saville <wink@google.com> Fix crash when mSST is null and change default to GSM.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
d6c5d527d3fa73dafc6e7cd36e4d6922b6d31845 07-Apr-2009 Wink Saville <> AI 144705: Teleca patch from 03/27/2009, fixes some CDMA issues.

Automated import of CL 144705
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java
767a662ecde33c3979bf02b793d392aca0403162 02-Apr-2009 Wink Saville <> AI 144185: Integrate cdma into the main code base.

Automated import of CL 144185
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/CDMAPhone.java