7 years agoTurn auto attach on/off when we attach/detach.
Wink Saville [Wed, 12 Dec 2012 22:44:17 +0000]
Turn auto attach on/off when we attach/detach.

Some network operators will detach after a timeout period, isDataAllowed()
will not allow a data connection because mAutoAttachOnCreation is false
and gprsState is not STATE_IN_SERVICE.  This change toggles
mAutoAttachOnCreation based on attach/detach events and data will be
allowed if gprsState == STATE_IN_SERVICE or mAutoAttachOnCreation.

Bug: 7491805
Change-Id: If41c2514ebdb9cd2fba88eef692f2c7160c04b0f

7 years agoSet audio mode after accepting the call
Alex Yakavenka [Sat, 8 Dec 2012 18:20:47 +0000]
Set audio mode after accepting the call

Set the audio mode to incall immediately after accepting the call and not wait
till call is reported as ACTIVE by RIL. This is done to speed up time taken for audio
to set up the voice path

Bug: 7612431
Change-Id: I8008edc64928016ab94aa6d770de248b5d85dc93

7 years agosimcard: With Kazakh Beeline SIM card, there isn't STK menu
jangeon.kim [Wed, 28 Nov 2012 04:52:11 +0000]
simcard: With Kazakh Beeline SIM card, there isn't STK menu

IccFileHandler.java is modified to fix an erroneous EF_IMG file path
information. The other is CommandParamsFactory.java file, which is modified
to ignore the result of reading EF_IMG file.

This Beeline SIM card returned an error status word when the mobile device
accessed the EF_IMG file in this SIM card.
(I think this Beeline SIM card does not support EF_IMG file.)
As a result, This error result stoped processing the setup menu proactive
command, and there was no STK menu.

So, I modified the CommandParamsFactory.java file to ignore the result of
EF_IMG file read operation.
After applying this modification,  The STK menu was successfully displayed.
(This issue was resolved by these modified files.)

I think there will be no critical problem even if the EF_IMG(Icon image) file
is ignored.

Bug: 7585989

Change-Id: I16e3c077779811e3d4c46cd6e003771f3e1efde2

7 years agoAssume LTE location info is base 10 but allow 16 or 8.
Wink Saville [Mon, 3 Dec 2012 23:08:45 +0000]
Assume LTE location info is base 10 but allow 16 or 8.

Previously it was base 16 but somewhere along the line it changed
to base 10. The code is now changed to use the decode method which
assumes base 10 but also accepts base 16 (prefix 0x, 0X, #) or
base 8 (prefix 0).

Bug:  7651566
Change-Id: Icae05dcbee9c1092fce2f594a1e179bbd3e1426a

7 years agoRaise threshold for detecting excessive SMS usage.
Jake Hamby [Thu, 29 Nov 2012 22:43:07 +0000]
Raise threshold for detecting excessive SMS usage.

Raise threshold for detecting excessive SMS usage so that the user
is warned when an app tries to send 30 or more messages in 1 minute,
rather than 30 messages in 30 minutes. This will be much less likely
to trigger for legitimate SMS usage, while still protecting against
buggy or malicious SMS apps that try to send SMS's continuously.

Bug: 7212322
Change-Id: I97078f96fdb8584cdb3ccc830000de9a534044c0

7 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Wed, 7 Nov 2012 18:19:58 +0000]
Reconcile with jb-mr1-release - do not merge

Change-Id: Ic0cad6c664001b47eee72ed7bb3034626bfeae76

7 years agomerge in jb-mr1-release history after reset to jb-mr1-dev rel-roth-mp-3-partner rel-roth-ota-1-partner daily-2013.07.26.0_rel-roth-mp-3-partner daily-2013.07.26.1_rel-roth-mp-3-partner daily-2013.07.29.0_rel-roth-mp-3-partner daily-2013.07.29.1_rel-roth-mp-3-partner daily-2013.07.29.2_rel-roth-mp-3-partner daily-2013.07.31.1_rel-roth-ota-1-partner daily-2013.09.09.0_rel-roth-ota-1-partner
The Android Automerger [Wed, 7 Nov 2012 02:04:06 +0000]
merge in jb-mr1-release history after reset to jb-mr1-dev

7 years agoam 2bc7f2e1: Use proper check for spn for operator name display
Anju Mathapati [Tue, 6 Nov 2012 23:20:41 +0000]
am 2bc7f2e1: Use proper check for spn for operator name display

* commit '2bc7f2e1da139e183519af01f50940327ca9765e':
  Use proper check for spn for operator name display

7 years agoUse proper check for spn for operator name display
Anju Mathapati [Tue, 6 Nov 2012 15:50:39 +0000]
Use proper check for spn for operator name display

Change null check to null or empty string check.

bug:7389730
Change-Id: I593429b8668b49978ad38b28062b8b2031464813

7 years agoReconcile with jb-mr1-factory-release jb-mr1-release - do not merge
The Android Open Source Project [Tue, 6 Nov 2012 20:17:26 +0000]
Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge

Change-Id: I178d3a86d8c71bca722ca5bfda136462b820c85e

7 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Tue, 30 Oct 2012 15:52:45 +0000]
merge in jb-mr1-release history after reset to jb-mr1-dev

7 years agoTelephony: Distinguish GSM vs ETWS bc by message id
Rika Brooks [Mon, 6 Feb 2012 17:39:43 +0000]
Telephony: Distinguish GSM vs ETWS bc by message id

Per 3GPP TS 24.012 3.1 GSM CB can be less than 88 byes.
Fix to distinguish GSM vs ETWS broadcast format by checking message id field
rather than length of pdu.

Bug: 7417676
Change-Id: I6aeedcd531a89ded7901db33d89ed45baaabbaa7

7 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Sat, 27 Oct 2012 01:17:44 +0000]
merge in jb-mr1-release history after reset to jb-mr1-dev

7 years agoAllowing to change the poll state even if only PS is avairable on the network.
Junichi Monma [Fri, 26 Oct 2012 01:22:01 +0000]
Allowing to change the poll state even if only PS is avairable on the network.

There are some MVNO operators are shipping the data only SIM. It isn't
connectable with CS, but wroks for PS. If the poll is not shown on the
system bar when network registration returns STATE_OUT_OF_SERVICE for
CS, user doesn't notice whether or not they can use PS. In addition,
PS might works while CS restriction.

Bug: 3339315
Change-Id: I6c2b508a181afed6dc9356b99ad9ef09f8c7ea4f

7 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Tue, 23 Oct 2012 23:47:09 +0000]
merge in jb-mr1-release history after reset to jb-mr1-dev

7 years agoValidate call forwarding indicator status from SIM.
Wink Saville [Tue, 23 Oct 2012 19:30:35 +0000]
Validate call forwarding indicator status from SIM.

The expected value for the MSP is 1 to 4, if not ignore.

Bug: 7387797
Change-Id: Ib35700c927fcc06eb5fb533097cb25a0de13db77

7 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Wed, 17 Oct 2012 23:07:14 +0000]
merge in jb-mr1-release history after reset to jb-mr1-dev

7 years agoWhen retrying disassociate an ApnContext from a DC only when failed or idle.
Wink Saville [Tue, 16 Oct 2012 03:45:39 +0000]
When retrying disassociate an ApnContext from a DC only when failed or idle.

Disassociating, is setting an ApnContext DataConnection to null. When its
null the DataConnectionTracker will not find the DataConnection when the
next RIL_UNSOL_DATA_CALL_LIST_CHANGED arrives and it sends a notification
that the connection has been disconnected. When the notification is
received by the ConnectivityService it will reset the connection and now
there will truly be no connection.

Typically, when the DataConnectionTracker sees that the default connection
is been removed, it will automatically retry the connection. But this won't
happen in this case, because there was no error to cause the retry.

Bug: 6884995
Bug: 7343098
Change-Id: Ia36316151bc5ae9a0ef9b48b1841816198862127

7 years agoRetry connections that are in SCANNING.
Robert Greenwalt [Tue, 16 Oct 2012 00:16:10 +0000]
Retry connections that are in SCANNING.

Old code would retry all connections except those in the SCANNING state
when we reattach to the network.  We're seeing this from people coming out
of subways as well as emerging from their house.

bug:7353277
Change-Id: Ic1fdd745f52ef33dd94b1d85b0dcc57a00c04d62

7 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Wed, 17 Oct 2012 00:30:46 +0000]
merge in jb-mr1-release history after reset to jb-mr1-dev

7 years agoWhen retrying disassociate an ApnContext from a DC only when failed or idle.
Wink Saville [Tue, 16 Oct 2012 03:45:39 +0000]
When retrying disassociate an ApnContext from a DC only when failed or idle.

Disassociating, is setting an ApnContext DataConnection to null. When its
null the DataConnectionTracker will not find the DataConnection when the
next RIL_UNSOL_DATA_CALL_LIST_CHANGED arrives and it sends a notification
that the connection has been disconnected. When the notification is
received by the ConnectivityService it will reset the connection and now
there will truly be no connection.

Typically, when the DataConnectionTracker sees that the default connection
is been removed, it will automatically retry the connection. But this won't
happen in this case, because there was no error to cause the retry.

Bug: 6884995
Bug: 7343098
Change-Id: Ia36316151bc5ae9a0ef9b48b1841816198862127

7 years agomerge in jb-mr1-factory-release history after reset to jb-mr1-dev
The Android Automerger [Mon, 15 Oct 2012 19:30:58 +0000]
merge in jb-mr1-factory-release history after reset to jb-mr1-dev

7 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Sat, 13 Oct 2012 10:50:11 +0000]
merge in jb-mr1-release history after reset to jb-mr1-dev

7 years agoHandle no IccRecords in updateSpnDisplay differently.
Wink Saville [Fri, 12 Oct 2012 23:57:04 +0000]
Handle no IccRecords in updateSpnDisplay differently.

Rather than doing nothing in GsmServiceStateTracker#updateSpnDisplay
if mIccRecords is null, use a rule of 0 and an empty spn. And then keep the
remaining logic the same.

This allows "Emergency Only Calls" to be displayed in the lock and
notification screens if there is no SIM card.

Bug: 7276760
Change-Id: I0f969c8f5cad204e80c63d2e1a8e896cb7f4c02a

7 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Wed, 10 Oct 2012 13:59:29 +0000]
merge in jb-mr1-release history after reset to jb-mr1-dev

7 years agoRevert "Revert "Act on no-prefered-apn-on-connect config option.""
Baligh Uddin [Wed, 10 Oct 2012 02:13:11 +0000]
Revert "Revert "Act on no-prefered-apn-on-connect config option.""

Revert the revert - change is good.

This reverts commit 859e774e4309c24efafb157a894c2f94f8c544f2

Change-Id: Icb71779f30f5fe1ee7ed73c88e547507cbc0c31f

7 years agoRevert "Act on no-prefered-apn-on-connect config option."
Baligh Uddin [Wed, 10 Oct 2012 00:53:13 +0000]
Revert "Act on no-prefered-apn-on-connect config option."

breaking jb-mr1-release

This reverts commit 3ff47ff70406e6973226ac966d157a97fa8e9279

Change-Id: I897cc6eecaa0b4a3d248abda0431cd70742ad2df

7 years agoRevert "Act on no-prefered-apn-on-connect config option."
Baligh Uddin [Wed, 10 Oct 2012 00:53:13 +0000]
Revert "Act on no-prefered-apn-on-connect config option."

breaking jb-mr1-release

This reverts commit 3ff47ff70406e6973226ac966d157a97fa8e9279

Change-Id: I897cc6eecaa0b4a3d248abda0431cd70742ad2df

7 years agoAct on no-prefered-apn-on-connect config option.
Robert Greenwalt [Mon, 8 Oct 2012 19:31:28 +0000]
Act on no-prefered-apn-on-connect config option.

bug:7306353
Change-Id: Icf1c21cc8997821a7d50d114c8985728d9bdb02e

7 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Tue, 9 Oct 2012 23:07:22 +0000]
merge in jb-mr1-release history after reset to jb-mr1-dev

7 years agoAct on no-prefered-apn-on-connect config option.
Robert Greenwalt [Mon, 8 Oct 2012 19:31:28 +0000]
Act on no-prefered-apn-on-connect config option.

bug:7306353
Change-Id: Icf1c21cc8997821a7d50d114c8985728d9bdb02e

7 years agoMerge "Fake sim status changed appropriately" into jb-mr1-dev
Wink Saville [Sun, 7 Oct 2012 05:51:14 +0000]
Merge "Fake sim status changed appropriately" into jb-mr1-dev

7 years agoFake sim status changed appropriately
Wink Saville [Sat, 6 Oct 2012 21:14:48 +0000]
Fake sim status changed appropriately

On a VZW GN if we always do ENTER_SIM_PIN the GET_SIM_STATUS comes so
quickly that it causes the SIMRecords to return an operator.numeric of
666666 instead of 311480. To fix this we only fake sim status changed
when an error occurs on the CHANGE/ENTER SIM_PIN/PIN2. Also, faking on
RIL_REQUEST_SET_FACILITY_LOCK on errors so on a VZW GN we automatically
go to the main lock screen when the PUK is needed,

Finally, on VZN GN RIL_REQUEST_ENTER_SIM_PUK we need to always fake
RIL_RESPONSE_UNSOL_SIM_STATUS_CHANGED, otherwise we won't automatically
leave the main lock screen when we enter the correct PUK. I also do this
for RIL_REQUEST_ENTER_SIM_PUK2 for consistency.

Bug: 7255789
Change-Id: I712cc5020970317922f0c3d686c621a6abcd552c

7 years agoMerge "Change the dir used for the sms policy." into jb-mr1-dev
Robert Greenwalt [Thu, 4 Oct 2012 21:29:31 +0000]
Merge "Change the dir used for the sms policy." into jb-mr1-dev

7 years agoChange the dir used for the sms policy.
Robert Greenwalt [Thu, 4 Oct 2012 20:08:57 +0000]
Change the dir used for the sms policy.

The dir being used didn't exist (at least on mako) so changed to /data/misc/sms
which is used for other sms-y purposes (sms short code data) and exists.

bug:7287473
Change-Id: Idd952fabc2ee40c5d25db2da79c03ad302defa72

7 years agoFix 7255789
Wink Saville [Thu, 4 Oct 2012 16:47:06 +0000]
Fix 7255789

Two problems were identified, first in IccCardProxy needs to assume a
the current app type is 3GPP because some rils are not managing the
sim status properly and return the csim as PINSTATE_UNKNOWN if the device
is gets PUK locked because the PIN was entered incorrectly 3 times. This
is fixed with the changes IccCardProxy.java and Phone.java.

The second problem is that some rils are not sending a
RIL_UNSOL_RESPONSE_SIM_STATUS_CHANGED when the PIN or PUK are changed.
This causes some devices to NOT automatically go to the lock screen
when a PUK is required. This is fixed by the change to RIL.java.

Bug: 7255789
Change-Id: I969585edf416e6b11f52470ee69d19f781bf29ca

7 years agoMerge "Fix bug in subsequent premium-sms detections." into jb-mr1-dev
Robert Greenwalt [Wed, 3 Oct 2012 16:18:18 +0000]
Merge "Fix bug in subsequent premium-sms detections." into jb-mr1-dev

7 years agoMerge "Fix issue #7274813: A few sticky broadcasts aren't being sent to all users...
Dianne Hackborn [Tue, 2 Oct 2012 23:51:30 +0000]
Merge "Fix issue #7274813: A few sticky broadcasts aren't being sent to all users" into jb-mr1-dev

7 years agoFix bug in subsequent premium-sms detections.
Robert Greenwalt [Tue, 2 Oct 2012 23:41:11 +0000]
Fix bug in subsequent premium-sms detections.

bug:fix_7273572
Change-Id: Ia51989fb417f5394b9a86d0dd8109671b2ee73ab

7 years agoFix issue #7274813: A few sticky broadcasts aren't being sent to all users
Dianne Hackborn [Tue, 2 Oct 2012 23:24:17 +0000]
Fix issue #7274813: A few sticky broadcasts aren't being sent to all users

Change-Id: Ief63aa4be067618b2431c2c0fcd1d6820a348715

7 years agoMerge "fallback to res-based premium-sms detection info" into jb-mr1-dev
Robert Greenwalt [Tue, 2 Oct 2012 22:51:12 +0000]
Merge "fallback to res-based premium-sms detection info" into jb-mr1-dev

7 years agoMigrate telephony settings to Global.
Jeff Sharkey [Mon, 1 Oct 2012 20:53:20 +0000]
Migrate telephony settings to Global.

Bug: 7231764
Change-Id: I2e1c23ed930bb9499c8bca53ac68c38da85085b5

7 years agofallback to res-based premium-sms detection info
Robert Greenwalt [Mon, 1 Oct 2012 00:19:24 +0000]
fallback to res-based premium-sms detection info

If a device doesn't yet have or will never have the gservices-based
updatable premium-sms data, we should have a reasonable fallback.
Prepopulate with an xml resource.

bug:7254595
Change-Id: I065832bfffb46faba35054a7cdf05000ed14eb4a

7 years agoMerge "Fix the premium-SMS UI." into jb-mr1-dev
Robert Greenwalt [Sat, 29 Sep 2012 00:00:31 +0000]
Merge "Fix the premium-SMS UI." into jb-mr1-dev

7 years agoUse a gservices provided file for premium-sms data
Robert Greenwalt [Tue, 25 Sep 2012 21:24:26 +0000]
Use a gservices provided file for premium-sms data

Allows simple full-file replacement of the data rather than trying to send
country specific data to different devices.
bug:7221402

Change-Id: Ibdac97b39b66e01e62c845fb9c6732fafd99f1c9

7 years agoMerge "Update references to migrated global settings." into jb-mr1-dev
Jeff Brown [Wed, 26 Sep 2012 00:02:42 +0000]
Merge "Update references to migrated global settings." into jb-mr1-dev

7 years agoUpdate references to migrated global settings.
Jeff Brown [Tue, 25 Sep 2012 21:56:55 +0000]
Update references to migrated global settings.

Bug: 7231172
Change-Id: Id18cce843899452bd171d5eeff99b48ca65dfb1e

7 years agoFix the premium-SMS UI.
Robert Greenwalt [Tue, 25 Sep 2012 18:50:40 +0000]
Fix the premium-SMS UI.

Add instructions to undo permanent selections.
bug:7205024

Change-Id: I970e41019c66ef77ed62c9cd017571e308744380

7 years agoTelephony: Fix npe when making a call after ejecting card (DO NOT MERGE)
Wink Saville [Tue, 25 Sep 2012 21:06:22 +0000]
Telephony: Fix npe when making a call after ejecting card (DO NOT MERGE)

This is already in AOSP and Master, back porting to JB-MR1.

Bug: 6983013
Change-Id: Ibda258e632ecff79f22eebe093df0061ed4cdf4d

7 years agoMerge "Handle mmi dialing number ending with #." into jb-mr1-dev
John Wang [Tue, 25 Sep 2012 00:01:58 +0000]
Merge "Handle mmi dialing number ending with #." into jb-mr1-dev

7 years agoHandle mmi dialing number ending with #.
John Wang [Mon, 24 Sep 2012 23:30:54 +0000]
Handle mmi dialing number ending with #.

According to TS 22.030 6.5.2 "Structure of the MMI", the dialing
number should not ending with #. But it is okay to have # in the
middle of dialing number.

bug:6410387
Change-Id: I1838d7012a132f27a3a879e1d34a9c3b04844def

7 years agoMerge "Make updateSpnDisplay cover out various scenarios." into jb-mr1-dev
John Wang [Mon, 24 Sep 2012 23:06:19 +0000]
Merge "Make updateSpnDisplay cover out various scenarios." into jb-mr1-dev

7 years agoMake updateSpnDisplay cover out various scenarios.
John Wang [Mon, 24 Sep 2012 17:13:00 +0000]
Make updateSpnDisplay cover out various scenarios.

Set showPlmn and plmn to correct values in emergency mode,
out of service, and airplane mode.

bug:7134445
Change-Id: Ic95e352dbfad3c6e2b62119ce288ce69dc83b856

7 years agoAdd gservices-controllable rules policy.
Robert Greenwalt [Sat, 22 Sep 2012 00:27:56 +0000]
Add gservices-controllable rules policy.

Allows using SIM country, network country or the most restrictive of both.
bug:7205426

Change-Id: I4f7ec6ef884d8cc3665fe60290c167740f17d9e7

7 years agoFix string in sms_short_code confirm dialog.
Robert Greenwalt [Thu, 20 Sep 2012 20:52:57 +0000]
Fix string in sms_short_code confirm dialog.

Typo used the wrong string giving "allow, allow" options after toggling
the remember-my-choice checkbox.

bug:7198380
Change-Id: Ia9bf3da44a1153838c618bd8c6b722235629e853

7 years agoam ed6a91f6: am 7b5e41b5: am 54cadb79: Merge "Telephony: Fix npe in IccPhoneBookInter...
Wink Saville [Thu, 20 Sep 2012 05:02:27 +0000]
am ed6a91f6: am 7b5e41b5: am 54cadb79: Merge "Telephony: Fix npe in IccPhoneBookInterfaceManager"

* commit 'ed6a91f6b4fb5e33406034f13d21897de70b506b':
  Telephony: Fix npe in IccPhoneBookInterfaceManager

7 years agoam 7b5e41b5: am 54cadb79: Merge "Telephony: Fix npe in IccPhoneBookInterfaceManager"
Wink Saville [Thu, 20 Sep 2012 00:24:52 +0000]
am 7b5e41b5: am 54cadb79: Merge "Telephony: Fix npe in IccPhoneBookInterfaceManager"

* commit '7b5e41b5aca925ef476bf670a1f65f1cb51bac83':
  Telephony: Fix npe in IccPhoneBookInterfaceManager

7 years agoam 54cadb79: Merge "Telephony: Fix npe in IccPhoneBookInterfaceManager"
Wink Saville [Thu, 20 Sep 2012 00:23:50 +0000]
am 54cadb79: Merge "Telephony: Fix npe in IccPhoneBookInterfaceManager"

* commit '54cadb79d3d2ef5be670d2fbd6e566f0a5f7f428':
  Telephony: Fix npe in IccPhoneBookInterfaceManager

7 years agoMerge "Telephony: Fix npe in IccPhoneBookInterfaceManager"
Wink Saville [Wed, 19 Sep 2012 23:32:48 +0000]
Merge "Telephony: Fix npe in IccPhoneBookInterfaceManager"

7 years agoTelephony: Fix npe in IccPhoneBookInterfaceManager
Alex Yakavenka [Wed, 19 Sep 2012 22:22:35 +0000]
Telephony: Fix npe in IccPhoneBookInterfaceManager

Create new interface to get current uicc app type from
phone and use that

Bug: 7167839
Change-Id: I4787985593918c660a254c9826734cf9c963bff0

7 years agoam 38953327: am 5d9a7e45: am f667af23: Merge "Telephony: Add null pointer checks...
Wink Saville [Mon, 17 Sep 2012 22:23:05 +0000]
am 38953327: am 5d9a7e45: am f667af23: Merge "Telephony: Add null pointer checks in UiccCardApplicaton.update"

* commit '38953327bdab42c3975528ed416a6af0d4273a7f':
  Telephony: Add null pointer checks in UiccCardApplicaton.update

7 years agoam 5d9a7e45: am f667af23: Merge "Telephony: Add null pointer checks in UiccCardApplic...
Wink Saville [Mon, 17 Sep 2012 22:21:14 +0000]
am 5d9a7e45: am f667af23: Merge "Telephony: Add null pointer checks in UiccCardApplicaton.update"

* commit '5d9a7e454c5c71ef15527f06278b18996d0cc191':
  Telephony: Add null pointer checks in UiccCardApplicaton.update

7 years agoam f667af23: Merge "Telephony: Add null pointer checks in UiccCardApplicaton.update"
Wink Saville [Mon, 17 Sep 2012 22:19:21 +0000]
am f667af23: Merge "Telephony: Add null pointer checks in UiccCardApplicaton.update"

* commit 'f667af23e53602cf0b7f1400ea0b7564764bf5ca':
  Telephony: Add null pointer checks in UiccCardApplicaton.update

7 years agoMerge "Telephony: Add null pointer checks in UiccCardApplicaton.update"
Wink Saville [Mon, 17 Sep 2012 22:07:24 +0000]
Merge "Telephony: Add null pointer checks in UiccCardApplicaton.update"

7 years agoTelephony: Add null pointer checks in UiccCardApplicaton.update
Alex Yakavenka [Mon, 17 Sep 2012 21:18:35 +0000]
Telephony: Add null pointer checks in UiccCardApplicaton.update

Bug: 7174617
Change-Id: Iad5ef2352ea5e6ef4ede87214036ef27cc6a95ef

7 years agoAdd support for per-package policy for sending premium SMS.
Jake Hamby [Thu, 6 Sep 2012 19:18:26 +0000]
Add support for per-package policy for sending premium SMS.

The default behavior for sending a message to a premium SMS
short code (or suspected premium SMS number) is to ask the user for
confirmation. Enable the user to set a default policy ("remember this
choice" checkbox) to always/never allow the app to send SMS to
premium short codes in the future. The policy can be changed by
the Settings app in the app info screen.

Bug: 5513975
Change-Id: I82731bbc6631ac79b1b5d1d9b1f96c7100ab20cf

7 years agoMerge "Use the same logic in isDataPossible as GSM." into jb-mr1-dev
Robert Greenwalt [Fri, 14 Sep 2012 17:16:11 +0000]
Merge "Use the same logic in isDataPossible as GSM." into jb-mr1-dev

7 years agoam f5082fd1: am 38a7ed0d: am 4a844050: Merge "Telephony: Request for sim_status even...
Wink Saville [Fri, 14 Sep 2012 00:59:24 +0000]
am f5082fd1: am 38a7ed0d: am 4a844050: Merge "Telephony: Request for sim_status even if there is no UNSL_SIM_STATUS_CHANGED"

* commit 'f5082fd198921c62a17ce10f9fb503af944949a9':
  Telephony: Request for sim_status even if there is no UNSL_SIM_STATUS_CHANGED

7 years agoam 38a7ed0d: am 4a844050: Merge "Telephony: Request for sim_status even if there...
Wink Saville [Fri, 14 Sep 2012 00:58:29 +0000]
am 38a7ed0d: am 4a844050: Merge "Telephony: Request for sim_status even if there is no UNSL_SIM_STATUS_CHANGED"

* commit '38a7ed0d3d355373ae7709e8292c636e48882124':
  Telephony: Request for sim_status even if there is no UNSL_SIM_STATUS_CHANGED

7 years agoam 4a844050: Merge "Telephony: Request for sim_status even if there is no UNSL_SIM_ST...
Wink Saville [Fri, 14 Sep 2012 00:56:57 +0000]
am 4a844050: Merge "Telephony: Request for sim_status even if there is no UNSL_SIM_STATUS_CHANGED"

* commit '4a8440506c9e31a3d65ba64664af3b2ad18b2fa1':
  Telephony: Request for sim_status even if there is no UNSL_SIM_STATUS_CHANGED

7 years agoMerge "Telephony: Request for sim_status even if there is no UNSL_SIM_STATUS_CHANGED"
Wink Saville [Thu, 13 Sep 2012 23:55:53 +0000]
Merge "Telephony: Request for sim_status even if there is no UNSL_SIM_STATUS_CHANGED"

7 years agoTelephony: Request for sim_status even if there is no UNSL_SIM_STATUS_CHANGED
Alex Yakavenka [Thu, 13 Sep 2012 23:08:35 +0000]
Telephony: Request for sim_status even if there is no UNSL_SIM_STATUS_CHANGED

Some radios/rils lose initial UNSOL_SIM_STATUS_CHANGED indication
(because Telephony wasn't connected to rild when the event happened).
Query for sim_status on power_on.

Bug: 7116148
Change-Id: I448f1b939837a61b7b060068ea1062947a5f6138

7 years agoMerge "Add event logging for SMS" into jb-mr1-dev
Geremy Condra [Thu, 13 Sep 2012 22:58:26 +0000]
Merge "Add event logging for SMS" into jb-mr1-dev

7 years agoAdd event logging for SMS
Geremy Condra [Sat, 8 Sep 2012 01:30:43 +0000]
Add event logging for SMS

This allows us to gather metrics about unwanted SMS use on
dogfood devices.

Change-Id: I00820b12219dde918d6d7adee3ccf03c576424c9

7 years agoam 29b5d8e4: resolved conflicts for merge of f5cbd762 to jb-dev-plus-aosp
John Wang [Thu, 13 Sep 2012 19:07:13 +0000]
am 29b5d8e4: resolved conflicts for merge of f5cbd762 to jb-dev-plus-aosp

* commit '29b5d8e48cd4c6563d49cb227b5a9e03c5791d0b':
  resolved conflicts for merge of f5cbd762 to jb-dev-plus-aosp

7 years agoUse the same logic in isDataPossible as GSM.
Robert Greenwalt [Thu, 13 Sep 2012 19:06:56 +0000]
Use the same logic in isDataPossible as GSM.

Could not reproduce the problem, but this does seem like a potential problem.
bug:5870919

Change-Id: Iabee1ef20b56ec00dae8acbce32a876d51125a66

7 years agoresolved conflicts for merge of f5cbd762 to jb-dev-plus-aosp
John Wang [Thu, 13 Sep 2012 19:00:29 +0000]
resolved conflicts for merge of f5cbd762 to jb-dev-plus-aosp

Change-Id: I2ee98d03fb1e6e3f5c2325d59d54621fa97eb6ff

7 years agoUse Settings.Global instead of Settings.Secure in a few places.
Wink Saville [Thu, 13 Sep 2012 01:44:14 +0000]
Use Settings.Global instead of Settings.Secure in a few places.

There are more but the PDP_WATCHDOG_POLL_INTERVAL_MS is causing
excessive logging so changing it and others in the DCT as well as
in GsmSST.

The uses in PhoneFactory, SmsUsageMonitor, PhoneBase,
CdmaLteServiceStateTracker, CdmaSubscriptionSourceManager and
CdmaServiceStateTracker need to be looked at also, will fix
those next.

Change-Id: I8c29e7ce5ad6aecc824d3c0d71fa6cfca0eac777

7 years agoam f8a1f90c: am 511d4b68: am 713a658e: Merge "Telephony: Log parameters for facility...
Wink Saville [Sat, 8 Sep 2012 05:11:11 +0000]
am f8a1f90c: am 511d4b68: am 713a658e: Merge "Telephony: Log parameters for facility lock operations."

* commit 'f8a1f90c98b7252ca8fdc9df9166c6d62eb16e68':
  Telephony: Log parameters for facility lock operations.

7 years agoam 511d4b68: am 713a658e: Merge "Telephony: Log parameters for facility lock operations."
Wink Saville [Sat, 8 Sep 2012 05:09:05 +0000]
am 511d4b68: am 713a658e: Merge "Telephony: Log parameters for facility lock operations."

* commit '511d4b684ccaa6a2b572c331e4bc5c76a919e4a7':
  Telephony: Log parameters for facility lock operations.

7 years agoam 713a658e: Merge "Telephony: Log parameters for facility lock operations."
Wink Saville [Sat, 8 Sep 2012 05:07:40 +0000]
am 713a658e: Merge "Telephony: Log parameters for facility lock operations."

* commit '713a658e9d60a94c96b98d94424a61c708525c04':
  Telephony: Log parameters for facility lock operations.

7 years agoMerge "Telephony: Log parameters for facility lock operations."
Wink Saville [Sat, 8 Sep 2012 04:49:43 +0000]
Merge "Telephony: Log parameters for facility lock operations."

7 years agoTelephony: Log parameters for facility lock operations.
Abhishek Adappa [Wed, 29 Aug 2012 16:55:36 +0000]
Telephony: Log parameters for facility lock operations.

Change-Id: Ib834928ffd76a0f0e4fa0552cc27a09ccb4cd987

7 years agoMerge commit '599f207f' into fix-merge-conflict
Wink Saville [Sat, 8 Sep 2012 03:02:41 +0000]
Merge commit '599f207f' into fix-merge-conflict

* commit '599f207f':
  Telephony: Remove CdmaLteUicc objects

Change-Id: I5d63ea7edbcb1e7fe4010bcb3e5c9d6c961827d6

7 years agoam db1b0c54: am 1d40e34c: Merge "Telephony: Remove CdmaLteUicc objects"
Wink Saville [Sat, 8 Sep 2012 00:53:38 +0000]
am db1b0c54: am 1d40e34c: Merge "Telephony: Remove CdmaLteUicc objects"

* commit 'db1b0c54ffa990afeac24cc54d8b1992f1aa3a85':
  Telephony: Remove CdmaLteUicc objects

7 years agoam 1d40e34c: Merge "Telephony: Remove CdmaLteUicc objects"
Wink Saville [Sat, 8 Sep 2012 00:52:32 +0000]
am 1d40e34c: Merge "Telephony: Remove CdmaLteUicc objects"

* commit '1d40e34c74e2874114855db681aafba5676ae25c':
  Telephony: Remove CdmaLteUicc objects

7 years agoMerge "Telephony: Remove CdmaLteUicc objects"
Wink Saville [Sat, 8 Sep 2012 00:36:28 +0000]
Merge "Telephony: Remove CdmaLteUicc objects"

7 years agoFix build
Tom Taylor [Fri, 7 Sep 2012 23:23:45 +0000]
Fix build

Added a new column to mms.

Change-Id: I0ebe6c0b9e736cc90ed8392872dae2da8ec730ce

7 years agoTelephony: Remove CdmaLteUicc objects
Alex Yakavenka [Tue, 10 Jul 2012 07:48:53 +0000]
Telephony: Remove CdmaLteUicc objects

-Pass IccCard object to GsmMmiCode
-Create IccCardProxy
-Make IccCard an interface and pass instance of IccCardProxy to
 external applications (PhoneApp). IccCardProxy will use internal
 UiccCard to map Icc requests to current active application on
 UiccCard to maintain backwards compatibility for external
 applications
-Add documentation to UiccController

The primary advantage of UiccController is that we can work with
multiple uicc applications at the same time. And that is a
requirement for modes like Cdma/Lte. The existing code supports
Cdma/Lte only partially and with guessing on modem side. However,
some things modem can guess, while others - it can't.

For instance, when a user tries to edit the fdn list the current
code will pass ef_id for fdn (0x6F3B). But the modem will have no
clue which fdn list the user wants to edit (csim or usim, both
have path 7FFF), and it's impossible for modem to guess correctly
all the time. All the modem can do is try to be consistent and
hope another device is doing same things. Imagine you bring your
card from another Cdma/Lte device to your new Cdma/Lte device:
if this modem uses different fdn file, it won't work as all
existing entries won't be there.

Another example is when the modem's guess is wrong for files like
csim/ef_li (7FFF 6F3A) versus usim/ef_adn (7FFF 6F3A). They have
same ef_ids so Android really should pass aid of the app it wants
to access. Without aids there is no way modem can know for sure
which file Android wants to read! However, in the current code
even Android doesn't know which aid it wants to read file from
since CdmaLteRecords has only 1 aid.

All of these problems cause more and more hacks, both in the modem
and in Android side. UiccController cleans up current code and
provides framework to work with multiple Uicc applications at the
same time.

Change-Id: I60216887b14140bdf833a8ed579ba16cad932bdc

7 years agoam 3d5e9bd1: am 8566fabf: am e9260aec: Merge "Omitting Big Endian caused corrupt...
Wink Saville [Thu, 6 Sep 2012 16:15:51 +0000]
am 3d5e9bd1: am 8566fabf: am e9260aec: Merge "Omitting Big Endian caused corrupt characters"

* commit '3d5e9bd1a4ea294ebb85e87ef5a8aed687ba9ade':
  Omitting Big Endian caused corrupt characters

7 years agoam 8566fabf: am e9260aec: Merge "Omitting Big Endian caused corrupt characters"
Wink Saville [Thu, 6 Sep 2012 16:13:34 +0000]
am 8566fabf: am e9260aec: Merge "Omitting Big Endian caused corrupt characters"

* commit '8566fabf80997b1effde2fdaad3ff06223a5f326':
  Omitting Big Endian caused corrupt characters

7 years agoam e9260aec: Merge "Omitting Big Endian caused corrupt characters"
Wink Saville [Thu, 6 Sep 2012 16:10:57 +0000]
am e9260aec: Merge "Omitting Big Endian caused corrupt characters"

* commit 'e9260aec3d196e9c9b94962289f177ae39283eb4':
  Omitting Big Endian caused corrupt characters

7 years agoMerge "Omitting Big Endian caused corrupt characters"
Wink Saville [Thu, 6 Sep 2012 09:09:12 +0000]
Merge "Omitting Big Endian caused corrupt characters"

7 years agoOmitting Big Endian caused corrupt characters
Pierre Fröjd [Wed, 18 Jul 2012 13:35:17 +0000]
Omitting Big Endian caused corrupt characters

When sending a terminal reponse to SIM containing unicode
characters, big endian must be explicitly stated to
avoid corrupt characters.

Change-Id: Iac4dcadfd860b5de15ad2a65c4ccdf3fae9292d4

7 years agoam b66683d8: am 5af6cdd6: am 7ac8d802: Merge "Telephony: Fixed problem with short...
Wink Saville [Wed, 5 Sep 2012 20:19:39 +0000]
am b66683d8: am 5af6cdd6: am 7ac8d802: Merge "Telephony: Fixed problem with short operator name"

* commit 'b66683d899c3e58f84d8369ced23e3c4f6e5fd99':
  Telephony: Fixed problem with short operator name

7 years agoam 5af6cdd6: am 7ac8d802: Merge "Telephony: Fixed problem with short operator name"
Wink Saville [Wed, 5 Sep 2012 20:17:57 +0000]
am 5af6cdd6: am 7ac8d802: Merge "Telephony: Fixed problem with short operator name"

* commit '5af6cdd62a9c88371ef5defafa7fd49780cf8ef3':
  Telephony: Fixed problem with short operator name

7 years agoam 7ac8d802: Merge "Telephony: Fixed problem with short operator name"
Wink Saville [Wed, 5 Sep 2012 20:15:00 +0000]
am 7ac8d802: Merge "Telephony: Fixed problem with short operator name"

* commit '7ac8d8026b997141d106762574478eb9daaf3f38':
  Telephony: Fixed problem with short operator name

7 years agoMerge "Telephony: Fixed problem with short operator name"
Wink Saville [Wed, 5 Sep 2012 19:18:24 +0000]
Merge "Telephony: Fixed problem with short operator name"

7 years agoam ad10642b: am 380be4a4: am 6fe2a8a4: Merge "Handle the case when TP-PI reserved...
Wink Saville [Wed, 5 Sep 2012 19:16:00 +0000]
am ad10642b: am 380be4a4: am 6fe2a8a4: Merge "Handle the case when TP-PI reserved bits are set"

* commit 'ad10642b1f79079148211dade13dce276f9dd93f':
  Handle the case when TP-PI reserved bits are set

7 years agoam 380be4a4: am 6fe2a8a4: Merge "Handle the case when TP-PI reserved bits are set"
Wink Saville [Wed, 5 Sep 2012 19:12:45 +0000]
am 380be4a4: am 6fe2a8a4: Merge "Handle the case when TP-PI reserved bits are set"

* commit '380be4a4fa0290f4b86309b22778839fab8c1b5e':
  Handle the case when TP-PI reserved bits are set