6 years agoSet initial attach apn for LTE network
Sungmin Choi [Fri, 26 Apr 2013 21:56:15 +0000]
Set initial attach apn for LTE network

When mobile register LTE network, APN provided by operators is needed.
If mobile does not have apn information, it could not register LTE network.
To deliver APN information which is used during LTE attach to modem chipset,
setLteAttachProfile() and RIL_REQUEST_SET_LTE_ATTACH_PROFILE command is added.

When Telephony DB is loaded or Telephony DB is changed, follow steps.
1. If preferred default ApnContext exists, this is delivered to modem chipset.
2. If preferred default ApnContext is null, find other ApnContext which can
   handle default type.
3. If other ApnContext which can handle default type does not exist, any other
   ApnContext delivered to modem chipset.

Then modem register LTE network with APN information delivered from AP.

Bug: 8733613

Change-Id: If84c62cddccf96a531dae0527ed1a6592ae76201
Signed-off-by: Seonju Oh <seonju.oh@lge.com>
Signed-off-by: Hyejin Kim <hyejin.kim@lge.com>
Signed-off-by: Sungmin Choi <sungmin.choi@lge.com>

6 years agoMerge "Retry even on permanent failures."
Wink Saville [Tue, 21 May 2013 16:05:14 +0000]
Merge "Retry even on permanent failures."

6 years agoRetry even on permanent failures.
Wink Saville [Tue, 21 May 2013 13:31:27 +0000]
Retry even on permanent failures.

The contract with ConnectivityService is that we should continue
to try to connect as long as we're ready. With this change we continue
but length the delay if there were permanent failures.

Change-Id: I83acfd2b07740d3650756aa20dad67b3c53e40d6

6 years agoam aba24c0e: am 6613a961: resolved conflicts for merge of d678053c to stage-aosp...
Robert Greenwalt [Tue, 21 May 2013 01:21:48 +0000]
am aba24c0e: am 6613a961: resolved conflicts for merge of d678053c to stage-aosp-master

* commit 'aba24c0e411839115840ae35caa52cd72fdf98ae':
  Using a single counter for outstanding requests.

6 years agoam 6613a961: resolved conflicts for merge of d678053c to stage-aosp-master
Robert Greenwalt [Tue, 21 May 2013 01:18:57 +0000]
am 6613a961: resolved conflicts for merge of d678053c to stage-aosp-master

* commit '6613a961473a72c218ec505e384dad6b19049aa0':
  Using a single counter for outstanding requests.

6 years agoresolved conflicts for merge of d678053c to stage-aosp-master
Robert Greenwalt [Tue, 21 May 2013 01:13:07 +0000]
resolved conflicts for merge of d678053c to stage-aosp-master

Change-Id: I17029e11f1a17d1446a06f716ab40b5a7f723258

6 years agoRemap NONE to UNKNOWN on GENERIC_FAILURES for SETUP_DATA_CALL.
Wink Saville [Mon, 20 May 2013 04:17:12 +0000]
Remap NONE to UNKNOWN on GENERIC_FAILURES for SETUP_DATA_CALL.

Bug: 9040003
Change-Id: I49340b88fe8cfe2c7895c7950e7b9ba0f947b145
(cherry picked from commit 912a45a1c0740a33938ec9c081d9f5baa984d376)

6 years agoam 748ec9f1: am 74672e8e: Fix setup of retry filters.
Wink Saville [Mon, 20 May 2013 16:57:22 +0000]
am 748ec9f1: am 74672e8e: Fix setup of retry filters.

* commit '748ec9f1d8fdefb122216e1ff6368072c0ddf736':
  Fix setup of retry filters.

6 years agoam 74672e8e: Fix setup of retry filters.
Wink Saville [Mon, 20 May 2013 16:55:57 +0000]
am 74672e8e: Fix setup of retry filters.

* commit '74672e8ee972f12406b72551261b4cc7e0651933':
  Fix setup of retry filters.

6 years agoMerge "Using a single counter for outstanding requests."
Robert Greenwalt [Mon, 20 May 2013 15:19:24 +0000]
Merge "Using a single counter for outstanding requests."

6 years agoUsing a single counter for outstanding requests.
Robert Greenwalt [Wed, 9 Jan 2013 23:13:47 +0000]
Using a single counter for outstanding requests.

Change-Id: Ie99239fbe02f4ee1528c0dc6e1a1750cad404b2c

6 years agoFix setup of retry filters.
Wink Saville [Sat, 18 May 2013 13:47:10 +0000]
Fix setup of retry filters.

There were multiple registered filters for INTENT_RESTART_TRYSETUP_ALARM
this caused a retry not to fire and contributing to not recovering from
a RAT change error in identified by Samsung in post #22 of 8849653.

Bug: 8849653
Change-Id: I9c5cdb740d87a05dd69d72f8bc5596230b75d6f2

6 years agoam 14c47d88: am 9bce8bee: Merge "Fix a typo bug."
Wink Saville [Wed, 15 May 2013 18:07:16 +0000]
am 14c47d88: am 9bce8bee: Merge "Fix a typo bug."

* commit '14c47d88b23fc035bed3d8625065a9157e470c36':
  Fix a typo bug.

6 years agoam 9bce8bee: Merge "Fix a typo bug."
Wink Saville [Wed, 15 May 2013 18:04:47 +0000]
am 9bce8bee: Merge "Fix a typo bug."

* commit '9bce8beeeb2d55ba7f4bec67b1a174e16bdd3b53':
  Fix a typo bug.

6 years agoMerge "Fix a typo bug."
Wink Saville [Wed, 15 May 2013 17:02:51 +0000]
Merge "Fix a typo bug."

6 years agoFix a typo bug.
Gao Rong [Wed, 15 May 2013 05:29:16 +0000]
Fix a typo bug.

Card state log should be correctly dispalyed as cdma_id instead of cmda_id.

6 years agoam daffa125: am 24286939: Do a disconnect if ApnContext is ready but retrying or...
Wink Saville [Tue, 14 May 2013 18:55:26 +0000]
am daffa125: am 24286939: Do a disconnect if ApnContext is ready but retrying or failed.

* commit 'daffa12593f4fc2fe3cb8ab527ad2e836229e414':
  Do a disconnect if ApnContext is ready but retrying or failed.

6 years agoam 24286939: Do a disconnect if ApnContext is ready but retrying or failed.
Wink Saville [Tue, 14 May 2013 18:51:54 +0000]
am 24286939: Do a disconnect if ApnContext is ready but retrying or failed.

* commit '2428693913ae731d4ace3414429f5e91af24ea36':
  Do a disconnect if ApnContext is ready but retrying or failed.

6 years agoDo a disconnect if ApnContext is ready but retrying or failed.
Wink Saville [Tue, 14 May 2013 18:09:20 +0000]
Do a disconnect if ApnContext is ready but retrying or failed.

This change allows enabling of a ready ApnContext to reconnect if the
ApnContext is IDLE, FAILED or RETRYING. Without this change toggling
wifi or otherwise enabling the connection would not cause the connection
to be retried. Instead, toggling airplane mode would be required.

Bug: 8849653
Change-Id: I83f44dbfd412f4b0122a2108e22f36db94c59d18

6 years agoMerge commit '08c0ce75' into fix-merge-conflict
Wink Saville [Fri, 10 May 2013 22:57:10 +0000]
Merge commit '08c0ce75' into fix-merge-conflict

* commit '08c0ce75':
  Send notifyDataConnection on changes to data connection.

Conflicts:
src/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java

Change-Id: I0513bea92137b27d1c070c45f231c1391c503b88

6 years agoam a0f04ae3: Send notifyDataConnection on changes to data connection.
Wink Saville [Fri, 10 May 2013 21:45:45 +0000]
am a0f04ae3: Send notifyDataConnection on changes to data connection.

* commit 'a0f04ae3f07c686ddbc4d83edf0f1b7d8d1b4a0a':
  Send notifyDataConnection on changes to data connection.

6 years agoSend notifyDataConnection on changes to data connection.
Wink Saville [Fri, 10 May 2013 19:01:58 +0000]
Send notifyDataConnection on changes to data connection.

Previously notification was sent only when voice radio technology
changed, but it needs to be when data RAT changed. Also send it with
there is a data registration changes.

Bug: 8786016
Change-Id: I5a53e13821efde4ebd3dbe5f062e7729f321497b

6 years agoam 2fb61f2c: am f9c0a042: Merge "4373 & 4374 part of Severe Alerts"
Jake Hamby [Wed, 8 May 2013 22:05:02 +0000]
am 2fb61f2c: am f9c0a042: Merge "4373 & 4374 part of Severe Alerts"

* commit '2fb61f2cc25e78c9705ce5131561859382d124fb':
  4373 & 4374 part of Severe Alerts

6 years agoam f9c0a042: Merge "4373 & 4374 part of Severe Alerts"
Jake Hamby [Wed, 8 May 2013 20:33:51 +0000]
am f9c0a042: Merge "4373 & 4374 part of Severe Alerts"

* commit 'f9c0a042694635033704e0170d6bbc8214bd78e4':
  4373 & 4374 part of Severe Alerts

6 years agoMerge "Log the correct radio states for GSM_RAT_SWITCHED."
Jake Hamby [Tue, 7 May 2013 23:04:46 +0000]
Merge "Log the correct radio states for GSM_RAT_SWITCHED."

6 years agoMerge "4373 & 4374 part of Severe Alerts"
Jake Hamby [Tue, 7 May 2013 22:47:32 +0000]
Merge "4373 & 4374 part of Severe Alerts"

6 years ago4373 & 4374 part of Severe Alerts
Anju Mathapati [Mon, 29 Apr 2013 17:37:29 +0000]
4373 & 4374 part of Severe Alerts

As per specification change 23.041 V9.6.0,
4373 & 4374 have been moved from Extreme
Alerts to Severe Alerts.

Bug: 8847901
Change-Id: I98f443dfc799da259d942f62ce66006058e5ffb1

6 years agoam 6d336fec: am 9a480819: On EVENT_CONNECT in DcRetryingState do not go inactive.
Wink Saville [Mon, 6 May 2013 20:56:00 +0000]
am 6d336fec: am 9a480819: On EVENT_CONNECT in DcRetryingState do not go inactive.

* commit '6d336feccb3f412c6623c90be2144f19838eee44':
  On EVENT_CONNECT in DcRetryingState do not go inactive.

6 years agoam 9a480819: On EVENT_CONNECT in DcRetryingState do not go inactive.
Wink Saville [Mon, 6 May 2013 18:11:16 +0000]
am 9a480819: On EVENT_CONNECT in DcRetryingState do not go inactive.

* commit '9a480819c79acf31f328d254b1bb9fe6cfac2c34':
  On EVENT_CONNECT in DcRetryingState do not go inactive.

6 years agoOn EVENT_CONNECT in DcRetryingState do not go inactive.
Wink Saville [Fri, 3 May 2013 17:33:01 +0000]
On EVENT_CONNECT in DcRetryingState do not go inactive.

Going to DcInactiveState from DcRetryingState on EVENT_CONNECT causes
us to forget we are retrying the original connection and if this is
a different connection we can disconnect completely when we shouldn't.

For example, when we're retrying the default connection and we get a
request to connect to supl or mms which are short lived connections
we'll become completely disconnected.

Bug: 8770139
Change-Id: Id271bc7f88d12e6d9fe9451b09f9c9412e6959f4

6 years agoLog the correct radio states for GSM_RAT_SWITCHED.
Jake Hamby [Thu, 2 May 2013 00:37:24 +0000]
Log the correct radio states for GSM_RAT_SWITCHED.

In GsmServiceStateTracker.pollStateDone(), we were recording the
incorrect radio states when logging GSM_RAT_SWITCHED. Specifically,
we were using the new voice radio technology for "network_from" and
STATE_OUT_OF_SERVICE for "network_to".

To avoid confusion when analyzing logs from different devices,
add a new event log tag, GSM_RAT_SWITCHED_NEW, to use for logging
the correct radio states, and add comments to indicate that
GSM_RAT_SWITCHED should be considered obsolete.

Bug: 8781951
Change-Id: I858d3f5044d7fb2560a4e21b8a5b4b14b4689a61

6 years agoam f6f1abbe: am 0f94d3ae: Add synchronized to toString.
Wink Saville [Tue, 30 Apr 2013 23:49:58 +0000]
am f6f1abbe: am 0f94d3ae: Add synchronized to toString.

* commit 'f6f1abbe04cf92da5412d20f194e5a023c61f42d':
  Add synchronized to toString.

6 years agoam 0f94d3ae: Add synchronized to toString.
Wink Saville [Tue, 30 Apr 2013 23:42:50 +0000]
am 0f94d3ae: Add synchronized to toString.

* commit '0f94d3aebcf0daf154bf0876164844d09067f904':
  Add synchronized to toString.

6 years agoAdd synchronized to toString.
Wink Saville [Tue, 30 Apr 2013 02:09:27 +0000]
Add synchronized to toString.

If toString is called at the same time removeWaitingApn we can
get a ConncurrentModificationException.

Bug: 8727610
Change-Id: I95c2181a1a5abc1a28a9e4eb337b674e49847103

6 years agoam 26830d76: am 815af95f: Support WiFi only device at runtime.
Wink Saville [Wed, 24 Apr 2013 17:45:12 +0000]
am 26830d76: am 815af95f: Support WiFi only device at runtime.

* commit '26830d76df08a9830decdb758845ba67f5bac044':
  Support WiFi only device at runtime.

6 years agoam 815af95f: Support WiFi only device at runtime.
Wink Saville [Wed, 24 Apr 2013 16:44:50 +0000]
am 815af95f: Support WiFi only device at runtime.

* commit '815af95fb1568fd7b1ab8e6a610189821de99c81':
  Support WiFi only device at runtime.

6 years agoMerge "Refactor inbound (MT) SMS handling into new handler classes."
Jake Hamby [Wed, 24 Apr 2013 00:24:58 +0000]
Merge "Refactor inbound (MT) SMS handling into new handler classes."

6 years agoSupport WiFi only device at runtime.
Wink Saville [Tue, 23 Apr 2013 21:29:30 +0000]
Support WiFi only device at runtime.

Now that ConnectivityService determines if TYPE_MOBILE is supported at
runtime don't need the special code in RIL.java.

Bug: 8562845
Change-Id: I34de5c6accc718b199c13815537de1debfe3dc91

6 years agoam 6b101639: am 30961e36: Merge "On data only devices use data registration state...
Wink Saville [Tue, 23 Apr 2013 18:23:46 +0000]
am 6b101639: am 30961e36: Merge "On data only devices use data registration state." into jb-mr2-dev

* commit '6b101639870202d3e387d8edc0fc1a50d6c23266':
  On data only devices use data registration state.

6 years agoam 30961e36: Merge "On data only devices use data registration state." into jb-mr2-dev
Wink Saville [Tue, 23 Apr 2013 10:50:48 +0000]
am 30961e36: Merge "On data only devices use data registration state." into jb-mr2-dev

* commit '30961e36e424641b8cd0496888112d3ac748e306':
  On data only devices use data registration state.

6 years agoRefactor inbound (MT) SMS handling into new handler classes.
Jake Hamby [Mon, 18 Mar 2013 19:22:16 +0000]
Refactor inbound (MT) SMS handling into new handler classes.

Moved all MT SMS handling to separate StateMachine classes, which
save all incoming PDUs in the SmsProvider "raw" table, previously
used only for storing PDUs of concatenated messages. Then we ACK the
message, before starting the ordered broadcast as usual. If a receiver
of the broadcast sets the status to failure, we ignore it, but in the
future we could provide a mechanism to redeliver the broadcast.

New classes are (without com.android.internal.telephony prefix):
 - CellBroadcastHandler
 - InboundSmsHandler
 - InboundSmsTracker
 - SmsBroadcastUndelivered
 - WakeLockStateMachine
 - cdma.CdmaInboundSmsHandler
 - cdma.CdmaServiceCategoryProgramHandler
 - gsm.GsmCellBroadcastHandler
 - gsm.GsmInboundSmsHandler

This fixes a bug in the SMS dispatcher. Previously we delivered
incoming SM's as ordered broadcasts and then sent an acknowledgment
to the SMSC after the broadcast completed. It was possible for the
ordered broadcast to take over 20 seconds to complete, causing SMS
retransmissions because we didn't ACK quickly enough. Also, a
broadcast receiver could set the result code to failure (the AOSP
MMS app never does this), causing us to negatively acknowledge the
SMS, potentially leading to many retries and a backlog on the SMSC.

The reason for saving all PDUs in the raw table before ACKing is so
InboundSmsHandler can handle the failure case of a device crash or
power failure in between ACKing the message and the delivery of the
ordered broadcast to receivers. This is handled when the Phone class
starts, creating a new thread to run SmsBroadcastUndelivered.
This Runnable scans the raw table once, finding all complete
PDUs and sending IncomingSmsTrackers to the state machine to
broadcast them again to receivers. In the worst case, a message might
be added twice to the MMS inbox, but it won't be lost.

However, due to the current MMS app implementation, which immediately
acknowledges the ordered broadcast before starting a new Service to
process the message, there is a very short window of time when a
message could potentially be lost, if the MMS app or device crashed
after the ordered broadcast returns and the message is deleted from
the raw table, but before the MMS service has added the message to
its own tables. To fix this will probably require API changes.

Another improvement from this change: SmsBroadcastUndelivered also
deletes PDUs for incomplete multipart messages that are older than
30 days. We've never garbage collected this table in the past, so
it's possible for a phone to accumulate a number of old PDUs in the
raw table if not all components arrived successfully.

The wake lock handling is also improved in this version, as we now
acquire a wakelock when the state machine leaves the Idle state,
releasing it 3 seconds after returning to the idle state, instead
of the previous 5-second timeout. If a new SMS arrives while a
broadcast is being delivered, we add it to the raw table and ACK the
new PDU immediately, then send the InboundSmsTracker as a message to
handle when the previous broadcast completes.

In order to keep track of whether a PDU is in 3GPP or 3GPP2 format,
the destination port column of the raw table is extended with three
flags: 3GPP format, 3GPP2 format, and no destination port present.
Because the destination port is a 16-bit value in both 3GPP and
3GPP2, the upper bits of the destination port can be used for flags.
This saves us from having to modify the SMS provider to update the
DB version and to add extra columns to keep track of these flags.

Bug: 7099232
Change-Id: Ibbc01ccb83320f4b6112fe3dd31355eb6f570b67

6 years agoMerge "On data only devices use data registration state." into jb-mr2-dev
Wink Saville [Mon, 22 Apr 2013 20:39:01 +0000]
Merge "On data only devices use data registration state." into jb-mr2-dev

6 years agoOn data only devices use data registration state.
Wink Saville [Fri, 19 Apr 2013 22:07:52 +0000]
On data only devices use data registration state.

Some operators may report that the voice registration state is
not in service on a data only device. So use the Data registration
state for data only devices.

Bug: 8213254
Change-Id: Ieb6eef65fa5afb3d2c1a39b32a5bc5825ccc7f1c

6 years agoam fd23eac7: am e17fb5a1: Load call forwarding flag from EF_CFF_CPHS when EF_CFIS...
Jake Hamby [Thu, 18 Apr 2013 22:13:46 +0000]
am fd23eac7: am e17fb5a1: Load call forwarding flag from EF_CFF_CPHS when EF_CFIS is missing.

* commit 'fd23eac7aafed4fba96deb62cc0816b2c12d2bf3':
  Load call forwarding flag from EF_CFF_CPHS when EF_CFIS is missing.

6 years agoam e17fb5a1: Load call forwarding flag from EF_CFF_CPHS when EF_CFIS is missing.
Jake Hamby [Thu, 18 Apr 2013 22:10:15 +0000]
am e17fb5a1: Load call forwarding flag from EF_CFF_CPHS when EF_CFIS is missing.

* commit 'e17fb5a149610484b4bcda31cde04abfd4e5d4ec':
  Load call forwarding flag from EF_CFF_CPHS when EF_CFIS is missing.

6 years agoLoad call forwarding flag from EF_CFF_CPHS when EF_CFIS is missing.
Jake Hamby [Thu, 18 Apr 2013 21:39:46 +0000]
Load call forwarding flag from EF_CFF_CPHS when EF_CFIS is missing.

After loading EF_CFF_CPHS, use it to set mCallForwardingEnabled flag
if EF_CFIS record is missing or invalid.

Also fixes a few typos and updates an incorrect Javadoc comment.

Bug: 8554894
Change-Id: I3dfe3c915ad15b65781cd4e4d65cfa5c71a46ad6

6 years agoam 3b9a6509: am 66c86c83: Merge "Default CellInfoListRate to off, Integer.MAX_VALUE...
Wink Saville [Thu, 18 Apr 2013 17:13:46 +0000]
am 3b9a6509: am 66c86c83: Merge "Default CellInfoListRate to off, Integer.MAX_VALUE." into jb-mr2-dev

* commit '3b9a650912f5032754502085c3ee5a7e6f64f5a8':
  Default CellInfoListRate to off, Integer.MAX_VALUE.

6 years agoam 66c86c83: Merge "Default CellInfoListRate to off, Integer.MAX_VALUE." into jb...
Wink Saville [Thu, 18 Apr 2013 17:10:31 +0000]
am 66c86c83: Merge "Default CellInfoListRate to off, Integer.MAX_VALUE." into jb-mr2-dev

* commit '66c86c834e26d143f5b0b822ba12a37948ef0528':
  Default CellInfoListRate to off, Integer.MAX_VALUE.

6 years agoMerge "Default CellInfoListRate to off, Integer.MAX_VALUE." into jb-mr2-dev
Wink Saville [Thu, 18 Apr 2013 17:06:41 +0000]
Merge "Default CellInfoListRate to off, Integer.MAX_VALUE." into jb-mr2-dev

6 years agoDefault CellInfoListRate to off, Integer.MAX_VALUE.
Wink Saville [Wed, 17 Apr 2013 19:49:29 +0000]
Default CellInfoListRate to off, Integer.MAX_VALUE.

For now be sure CellInfoListRate is off.

Bug: 8621996
Change-Id: I513a67d4b46b72f03e0c3360abcc0ad5222c1c13

6 years agoam 5bbf966d: am d34aceac: Enable CMAS alert tone and alert dialog for AMBER alerts.
Jake Hamby [Wed, 17 Apr 2013 18:21:21 +0000]
am 5bbf966d: am d34aceac: Enable CMAS alert tone and alert dialog for AMBER alerts.

* commit '5bbf966da6a941af0f8f3e99f3ba9ae36bced3b9':
  Enable CMAS alert tone and alert dialog for AMBER alerts.

6 years agoam d34aceac: Enable CMAS alert tone and alert dialog for AMBER alerts.
Jake Hamby [Wed, 17 Apr 2013 18:18:16 +0000]
am d34aceac: Enable CMAS alert tone and alert dialog for AMBER alerts.

* commit 'd34aceac4d82e00972663d0d97274428f0465dec':
  Enable CMAS alert tone and alert dialog for AMBER alerts.

6 years agoEnable CMAS alert tone and alert dialog for AMBER alerts.
Jake Hamby [Tue, 16 Apr 2013 18:51:36 +0000]
Enable CMAS alert tone and alert dialog for AMBER alerts.

The CMAS UI did not play the CMAS alert tone for AMBER alerts,
showing them as a regular notification instead. Carrier requirements
state that the CMAS alert tone should play for all CMAS alerts.
Remove the AMBER alert exception from
CellBroadcastMessage.isEmergencyAlertMessage().

Bug: 7417676
Change-Id: If24f6b4ebd4633f671beebbe7784b6cc012c358a

6 years agoam 7cf770f7: am 5fce53ac: (-s ours) Merge "Telephony: Return \'null\' as per Telephon...
Wink Saville [Thu, 11 Apr 2013 21:58:04 +0000]
am 7cf770f7: am 5fce53ac: (-s ours) Merge "Telephony: Return \'null\' as per TelephonyManager need"

* commit '7cf770f72e7538d5da11d0fc7e8dbfc5655e61ec':
  Telephony: Return 'null' as per TelephonyManager need

6 years agoam 5fce53ac: (-s ours) Merge "Telephony: Return \'null\' as per TelephonyManager...
Wink Saville [Thu, 11 Apr 2013 19:24:48 +0000]
am 5fce53ac: (-s ours) Merge "Telephony: Return \'null\' as per TelephonyManager need"

* commit '5fce53ac6610d7b301cb70a6433307b822c41c30':
  Telephony: Return 'null' as per TelephonyManager need

6 years agoam a1965147: am 151274cf: Merge "Fix some frameworks-telephony test compile errors...
Jake Hamby [Thu, 11 Apr 2013 18:19:41 +0000]
am a1965147: am 151274cf: Merge "Fix some frameworks-telephony test compile errors." into jb-mr2-dev

* commit 'a19651474756577931768df2b88578fde14d9487':
  Fix some frameworks-telephony test compile errors.

6 years agoam 151274cf: Merge "Fix some frameworks-telephony test compile errors." into jb-mr2-dev
Jake Hamby [Thu, 11 Apr 2013 18:16:33 +0000]
am 151274cf: Merge "Fix some frameworks-telephony test compile errors." into jb-mr2-dev

* commit '151274cffffb518748a291504dd26fc8d816bd50':
  Fix some frameworks-telephony test compile errors.

6 years agoMerge "Fix some frameworks-telephony test compile errors." into jb-mr2-dev
Jake Hamby [Thu, 11 Apr 2013 18:13:54 +0000]
Merge "Fix some frameworks-telephony test compile errors." into jb-mr2-dev

6 years agoMerge "Telephony: Return 'null' as per TelephonyManager need"
Wink Saville [Thu, 11 Apr 2013 17:26:55 +0000]
Merge "Telephony: Return 'null' as per TelephonyManager need"

6 years agoam f43d1a5d: am 3c6bdec2: Telephony: Return \'null\' as per TelephonyManager...
Ajay Nambi [Thu, 11 Apr 2013 00:05:20 +0000]
am f43d1a5d: am 3c6bdec2:     Telephony: Return \'null\' as per TelephonyManager need

* commit 'f43d1a5d56f36fadc5e8cbb7270c128030fda731':
  Telephony: Return 'null' as per TelephonyManager need

6 years agoam 3c6bdec2: Telephony: Return \'null\' as per TelephonyManager need
Ajay Nambi [Thu, 11 Apr 2013 00:01:21 +0000]
am 3c6bdec2:     Telephony: Return \'null\' as per TelephonyManager need

* commit '3c6bdec23af42aba1168303cdefc20525b0ec1d0':
  Telephony: Return 'null' as per TelephonyManager need

6 years ago Telephony: Return 'null' as per TelephonyManager need
Ajay Nambi [Wed, 10 Apr 2013 23:48:47 +0000]
Telephony: Return 'null' as per TelephonyManager need

    Return 'null' instead of "" (empty string) when Line1AlphaTag,
    IccSerialNumber and Msisdn are unavailable.

    Bug: 8449375
    Change-Id: I5d8052922363f4b3b900bcdea490afe22fedce4f

Change-Id: Iaa77764af8f2c12c11c990c6c23152ba1dac84cb

6 years agoFix some frameworks-telephony test compile errors.
Jake Hamby [Wed, 10 Apr 2013 22:45:10 +0000]
Fix some frameworks-telephony test compile errors.

Fix some frameworks-telephony test case compile errors due to
package name change for ApnSetting and additional methods added
to BaseCommands.

Change-Id: I72a9caabd6b7d09e9d0f1e39ab7bd24fa0e60594

6 years agoam 1eb16e1c: am 94354e82: Merge "Add FW support for CellInfo RIL commands." into...
Wink Saville [Tue, 9 Apr 2013 22:58:39 +0000]
am 1eb16e1c: am 94354e82: Merge "Add FW support for CellInfo RIL commands." into jb-mr2-dev

* commit '1eb16e1ce7e5dc59d04815397e7e434bb9311953':
  Add FW support for CellInfo RIL commands.

6 years agoam 94354e82: Merge "Add FW support for CellInfo RIL commands." into jb-mr2-dev
Wink Saville [Tue, 9 Apr 2013 22:53:59 +0000]
am 94354e82: Merge "Add FW support for CellInfo RIL commands." into jb-mr2-dev

* commit '94354e82d1e0cc5fa21dec803d089dd066689174':
  Add FW support for CellInfo RIL commands.

6 years agoMerge "Add FW support for CellInfo RIL commands." into jb-mr2-dev
Wink Saville [Tue, 9 Apr 2013 22:50:11 +0000]
Merge "Add FW support for CellInfo RIL commands." into jb-mr2-dev

6 years agoam 8206c65c: am c76db118: Merge "Telephony: Send complete path for EF-IMG(4F20) for...
Wink Saville [Tue, 9 Apr 2013 21:25:27 +0000]
am 8206c65c: am c76db118: Merge "Telephony: Send complete path for EF-IMG(4F20) for RUIM cards."

* commit '8206c65c656e6cfa3d84ed3759a2b14f95506711':
  Telephony: Send complete path for EF-IMG(4F20) for RUIM cards.

6 years agoam 80768659: Telephony: Send complete path for EF-IMG(4F20) for RUIM cards.
Shriram Ganesh [Tue, 9 Apr 2013 21:25:21 +0000]
am 80768659: Telephony: Send complete path for EF-IMG(4F20) for RUIM cards.

* commit '807686598ce4da5d1cb05eaaad4c71f867fe2131':
  Telephony: Send complete path for EF-IMG(4F20) for RUIM cards.

6 years agoam c76db118: Merge "Telephony: Send complete path for EF-IMG(4F20) for RUIM cards."
Wink Saville [Tue, 9 Apr 2013 19:29:57 +0000]
am c76db118: Merge "Telephony: Send complete path for EF-IMG(4F20) for RUIM cards."

* commit 'c76db118626ef47a8deee6fbd9c20dff1473d896':
  Telephony: Send complete path for EF-IMG(4F20) for RUIM cards.

6 years agoTelephony: Send complete path for EF-IMG(4F20) for RUIM cards.
Shriram Ganesh [Sun, 22 Jul 2012 19:11:01 +0000]
Telephony: Send complete path for EF-IMG(4F20) for RUIM cards.

When retrieving the EF_IMG from an RUIM the icon load fails
because the path to the EF is incorrectly specified as "img"

Bug: 8443193
Change-Id: I76f981d5334274b34e2e1a752fd0a550458e4e86

6 years agoMerge "Telephony: Send complete path for EF-IMG(4F20) for RUIM cards."
Wink Saville [Tue, 9 Apr 2013 18:40:15 +0000]
Merge "Telephony: Send complete path for EF-IMG(4F20) for RUIM cards."

6 years agoAdd FW support for CellInfo RIL commands.
Wink Saville [Tue, 9 Apr 2013 18:00:27 +0000]
Add FW support for CellInfo RIL commands.

Bug: 8235566
Change-Id: I7ad7dabc4b6c38bfba4461b08e6e30d0eb9efea1

6 years agoam e3366ce3: Fix SignalStrength response.
Wink Saville [Mon, 8 Apr 2013 20:33:25 +0000]
am e3366ce3: Fix SignalStrength response.

* commit 'e3366ce305cf679bed0270db09938567d0e4d6d2':
  Fix SignalStrength response.

6 years agoFix SignalStrength response.
Wink Saville [Mon, 8 Apr 2013 18:42:08 +0000]
Fix SignalStrength response.

Use the new SignalStrength constructor with gsmFlag.

Also, remove code in responseStrings which would cause
it to return an empty array if RILJ_LOGV was true.

Bug: 8561333
Change-Id: Ie6eb3b0335e8d7ea114ec70b3fb72e917094632e

6 years agoam f50b1bea: Merge "IccCardApplicatonStatus should not throw exceptions." into jb...
Wink Saville [Wed, 3 Apr 2013 19:40:34 +0000]
am f50b1bea: Merge "IccCardApplicatonStatus should not throw exceptions." into jb-mr2-dev

* commit 'f50b1bea2553ccd7b528f225bb7edc1504959db7':
  IccCardApplicatonStatus should not throw exceptions.

6 years agoMerge "IccCardApplicatonStatus should not throw exceptions." into jb-mr2-dev
Wink Saville [Wed, 3 Apr 2013 17:57:14 +0000]
Merge "IccCardApplicatonStatus should not throw exceptions." into jb-mr2-dev

6 years agoIccCardApplicatonStatus should not throw exceptions.
Wink Saville [Wed, 3 Apr 2013 00:09:02 +0000]
IccCardApplicatonStatus should not throw exceptions.

Change from throwing exception to logging an error and mapping
to an XXXX_UKNOWN value.

Bug: 7449696
Change-Id: Iebed1c7893d120fb02821017643ee070d634bb19

6 years agoam 6651da75: Merge "make new API to retrieve group identifier level1" into jb-mr2-dev
Robert Greenwalt [Tue, 2 Apr 2013 19:25:39 +0000]
am 6651da75: Merge "make new API to retrieve group identifier level1" into jb-mr2-dev

* commit '6651da75a59ee54f154b2a82c76392a3385108bb':
  make new API to retrieve group identifier level1

6 years agoMerge "make new API to retrieve group identifier level1" into jb-mr2-dev
Robert Greenwalt [Tue, 2 Apr 2013 19:18:36 +0000]
Merge "make new API to retrieve group identifier level1" into jb-mr2-dev

7 years agoam 4750c8c1: Fix TODO in ApnContext#setDataConnectionAc.
Wink Saville [Fri, 29 Mar 2013 21:36:05 +0000]
am 4750c8c1: Fix TODO in ApnContext#setDataConnectionAc.

* commit '4750c8c11836338b024e159f04f0cbd13c7444b9':
  Fix TODO in ApnContext#setDataConnectionAc.

7 years agoam 1f8e6cac: Merge "Add fix and add some debugging." into jb-mr2-dev
Wink Saville [Fri, 29 Mar 2013 21:35:24 +0000]
am 1f8e6cac: Merge "Add fix and add some debugging." into jb-mr2-dev

* commit '1f8e6cacec886736414f3b7d750ad1fa973ab20d':
  Add fix and add some debugging.

7 years agoam c6bbea82: Map DcConstants.RETRYING to PhoneConstants.State.DISCONNECTED.
Wink Saville [Fri, 29 Mar 2013 21:35:22 +0000]
am c6bbea82: Map DcConstants.RETRYING to PhoneConstants.State.DISCONNECTED.

* commit 'c6bbea82bf74ebb492508199b6f3e172b7ce860a':
  Map DcConstants.RETRYING to PhoneConstants.State.DISCONNECTED.

7 years agoFix TODO in ApnContext#setDataConnectionAc.
Wink Saville [Fri, 29 Mar 2013 18:32:57 +0000]
Fix TODO in ApnContext#setDataConnectionAc.

Callers that really need to tearDown should call it directly
rather than as a side effect of setDataConnectionAc. The fixes
a "DcActiveState ERROR no such apnContext=" message caused by
an unnecssary tearDown when disconnecting.

Change-Id: I11321d098444659d99dec97b59041cefebb3285e

7 years agoMerge "Add fix and add some debugging." into jb-mr2-dev
Wink Saville [Fri, 29 Mar 2013 18:02:11 +0000]
Merge "Add fix and add some debugging." into jb-mr2-dev

7 years agoAdd fix and add some debugging.
Wink Saville [Thu, 28 Mar 2013 22:28:07 +0000]
Add fix and add some debugging.

Bug: 8492574
Change-Id: I9cb1ab4ec3efb8186a4dd83736781835e1847720

7 years agoMap DcConstants.RETRYING to PhoneConstants.State.DISCONNECTED.
Wink Saville [Thu, 28 Mar 2013 22:24:45 +0000]
Map DcConstants.RETRYING to PhoneConstants.State.DISCONNECTED.

Previously RETRYING was mapped to CONNECTING this means that
ConnectivityService will not remove the route and a subsequent
change in IP addresses won't work because an old route has not
been removed.

By mapping to DISCONNECTED ConnectivityService will remove the
route. Another alternative would be to add PhoneConstants.State.RETRYING
but this is a simpler change so we'll try it first.

Bug: 8486114
Change-Id: I1c9946a1e441feda83f13730e835445624a87218

7 years agoam 1f2a2323: Use new mechanism to get messenger to StateTracker
Robert Greenwalt [Thu, 28 Mar 2013 16:50:51 +0000]
am 1f2a2323: Use new mechanism to get messenger to StateTracker

* commit '1f2a2323572b2f3ab18234726cc1b048c670fbab':
  Use new mechanism to get messenger to StateTracker

7 years agoUse new mechanism to get messenger to StateTracker
Robert Greenwalt [Thu, 21 Mar 2013 00:10:33 +0000]
Use new mechanism to get messenger to StateTracker

bug:8445208
Change-Id: Ice7dfb0b50c9481d359aed14a51372878185171c

7 years agoam f16c95f5: Merge commit \'903be2fc\' into fix-merge-conflict
Alex Yakavenka [Wed, 27 Mar 2013 20:04:52 +0000]
am f16c95f5: Merge commit \'903be2fc\' into fix-merge-conflict

* commit 'f16c95f5e7e34e7e3a51a012d172902365a3682e':
  Telephony: Null check for adncache before search/update.

7 years agoMerge commit '903be2fc' into fix-merge-conflict
Alex Yakavenka [Wed, 27 Mar 2013 19:52:47 +0000]
Merge commit '903be2fc' into fix-merge-conflict

* commit '903be2fc':
  Telephony: Null check for adncache before search/update.

Change-Id: I1e498b4783e6c3381c14309019420142f3b8b15d

7 years agomake new API to retrieve group identifier level1
Sungmin Choi [Thu, 21 Mar 2013 06:41:09 +0000]
make new API to retrieve group identifier level1

For mvno, user can add or edit mvno data field. To pre-provide
the mvno data of the edited apn when the user selects one of
the mvno types, need to support IMSI, SPN, and GID1 data.
To support GID1, make API to retrieve group identifier level1.

bug:6445254
Change-Id: I1bc280054cc7cd37e78a279866cefd62872a19fb

7 years agoam ead6ee84: Merge "Telephony: Null check for adncache before search/update."
Wink Saville [Wed, 27 Mar 2013 17:03:30 +0000]
am ead6ee84: Merge "Telephony: Null check for adncache before search/update."

* commit 'ead6ee84aa6275062b64a05dafd14a0c17da8ea3':
  Telephony: Null check for adncache before search/update.

7 years agoMerge "Telephony: Null check for adncache before search/update."
Wink Saville [Wed, 27 Mar 2013 16:57:15 +0000]
Merge "Telephony: Null check for adncache before search/update."

7 years agoam f8768537: Merge "Allow 0.0.0.0 and :: as default gateways" into jb-mr2-dev
Lorenzo Colitti [Wed, 27 Mar 2013 00:18:05 +0000]
am f8768537: Merge "Allow 0.0.0.0 and :: as default gateways" into jb-mr2-dev

* commit 'f8768537438ef0517f6b11f449f9cabbea2f99ba':
  Allow 0.0.0.0 and :: as default gateways

7 years agoMerge "Allow 0.0.0.0 and :: as default gateways" into jb-mr2-dev
Lorenzo Colitti [Wed, 27 Mar 2013 00:14:50 +0000]
Merge "Allow 0.0.0.0 and :: as default gateways" into jb-mr2-dev

7 years agoam 652fe674: Merge commit \'310b322d\' into fix-merge-conflict
Wink Saville [Tue, 26 Mar 2013 23:54:48 +0000]
am 652fe674: Merge commit \'310b322d\' into fix-merge-conflict

* commit '652fe674a597e221274a3746118f15cf40c7dbb9':
  Telephony: Delay SIM IO until SIM_READY

7 years agoMerge commit '310b322d' into fix-merge-conflict
Wink Saville [Tue, 26 Mar 2013 23:43:44 +0000]
Merge commit '310b322d' into fix-merge-conflict

* commit '310b322d':
  Telephony: Delay SIM IO until SIM_READY

Change-Id: I50618a1fb06a7eb465f7a0d9b4b8d6fb53ad1339

7 years agoam f57fcc91: Merge "Telephony: Delay SIM IO until SIM_READY"
Wink Saville [Tue, 26 Mar 2013 22:07:01 +0000]
am f57fcc91: Merge "Telephony: Delay SIM IO until SIM_READY"

* commit 'f57fcc91426dfa4c3efe2f8ee64a6a39bf708a97':
  Telephony: Delay SIM IO until SIM_READY

7 years agoMerge "Telephony: Delay SIM IO until SIM_READY"
Wink Saville [Tue, 26 Mar 2013 21:55:07 +0000]
Merge "Telephony: Delay SIM IO until SIM_READY"

7 years agoTelephony: Delay SIM IO until SIM_READY
Alex Yakavenka [Thu, 21 Mar 2013 17:56:08 +0000]
Telephony: Delay SIM IO until SIM_READY

When SIM_REFRESH with SIM_INIT is received we need to
reread EFs but only if and when app is ready.

Bug: 8445450
Change-Id: I066a1e6547cfdcba91230f5fbfa8050864327c5d