aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/android/internal/telephony/uicc/IccRecords.java
Commit message (Collapse)AuthorAgeFilesLines
* Telephony: Voice mail notification related changesAnju Mathapati2014-01-211-17/+4
| | | | | | | | | | | | * Separate voice mail notify from SIM/RUIM card * For GSM store voice mail count in phone memory irrespective of SIM write result. * Display voice mail count for GSM Change-Id: I368bfb98c8798ed1f43bcc330e6d97e8f95f0f54 CRs-Fixed: 579524
* Refactor IMSI and SubscriberId handling for CDMAPhone/CDMALTEPhoneVenkat Ram Prakash Kotni2013-12-111-10/+1
| | | | | | | | | | | | IccRecords CdmaServiceStateTracker does not need to set IMSI on an IccRecord. CDMAPhone When queried for the subscriber Id return the IMSI from CdmaServiceStateTracker or the card depending on whether the active subscription source is NV or RUIM respectively. Change-Id: Id613f2df91b94ae5d7613dfcef3e097cb817ff4e CRs-Fixed: 323977,323977,342146,505580
* Telephony: Call forwarding icon is shown after powerupSuchand Ghosh2013-10-311-0/+8
| | | | | | | | | | | | | If call forwarding was enabled, then the call forwarding icon should be shown after the phone has powered down and powered-up. Added a preference parameter to store the icon status, in case it is not updated correctly by the network operator. Change-Id: I06ae47c8decae64807de78461382ca746900a8dd CRs-Fixed: 275722 (cherry picked from commit e59de9c0944ccd8cc46dab1b03c95e965c670040) (cherry picked from commit 8989aaf096fb9141277ae5ab483abbb887f7f452)
* Telephony: Don't read records from card if not needed.Alan Wang2013-10-311-0/+14
| | | | | | | | | | | | | | Specifically handle the scenario where there is an RUIM card inserted but we are in NV mode. In this case, don't read records from the card. IccCardProxy tells the IccRecord that it will be requiring records from the card. RuimRecord waits for this indication before fetching records from the card Change-Id: Ifa95dda2958922901e887b386c55556f947a881d (cherry picked from commit 174cb8b06d0367b301f6dc76aa5b7b546ac630a7) (cherry picked from commit 61046da5e4c4ca12290b10a3d3c1c07592accd25) (cherry picked from commit 3d0c3e0280096081402502978f0e25ef0fdfd20a)
* Do not send Radio Power Off on SIM_RESETBanavathu, Srinivas Naik2013-10-311-9/+15
| | | | | | | | | | This change is needed as per GCF test spec Change-Id: I287eb9b5a0263109b2343a6d1397ee6641ff7a56 CRs-Fixed: 441924 (cherry picked from commit a452c2d7b482a365c8e0cdff3c364ea29ec86dae) (cherry picked from commit c13e350f4f4e52d4809508fd8f099c6ca3737d17) (cherry picked from commit b470d1315741774093ba51af5eec988f67afeb8f)
* Clean up Icc Refresh handling.Abhishek Adappa2013-10-311-1/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. When a SIM refresh is received of type INIT or RESET, don't immediately start re-fetching the records, because the app might not be ready. In this case, we could end up broadcasting that all records are loaded pre-maturely. On a refresh of the above type, the app will move out of the ready state and back into the PIN state, if PIN is enabled. Start reading the records only after the PIN has been verified and the app has moved to the READY state. 2. UiccController will listen for refresh and propagate it to the Card and the Apps. The App will set its state to UNKNOWN on receiving a refresh. UiccController will also request card status on receiving refresh to get the latest state. This avoids having to make assumptions on the ordering of the Unsols for Sim Refresh and card state changes. This also ensures that after an app state is marked UNKNOWN, it will move to READY, if it is truly ready. 3. Moved common implementation for refresh into IccRecords for better code reuse. 4. Side effect of #3 is RuimRecords will now reset AdnCache when refresh of type INIT is received. Change-Id: I58b1237a49d4f943a699d751a8680c25ce4394ad CRs-Fixed: 503646 (cherry picked from commit 6000bfc07122c07f7b8f075f272fdf1e384032e6) (cherry picked from commit 5a1abe073cb648a8772bcfa2d5fdee88070e4b8b) (cherry picked from commit 12a9a344eb49498b44ddb0e4f1c8126c6507b56e)
* Telephony: Update CF number in EF_CFIS.Wink Saville2013-09-181-1/+2
| | | | | | | | When call forwarding is enabled, only status is updated in EF_CFIS. CF number is not updated. Added support to update CF number as well. Bug: 10642929 Change-Id: Ia764b872b7837d71ffad206e37e9b261e4db7a83
* Merge commit '310b322d' into fix-merge-conflictWink Saville2013-03-261-0/+13
|\ | | | | | | | | | | | | * commit '310b322d': Telephony: Delay SIM IO until SIM_READY Change-Id: I50618a1fb06a7eb465f7a0d9b4b8d6fb53ad1339
| * Telephony: Delay SIM IO until SIM_READYAlex Yakavenka2013-03-261-0/+13
| | | | | | | | | | | | | | | | 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
* | Rename a couple variables in IccRecords.Wink Saville2013-03-251-10/+14
| | | | | | | | | | | | Also add getIccId for use by PhoneBase. Change-Id: I51eaf09bfc498f1f1edc3f697838978f56b7bd4e
* | Merge commit 'b21b57c0' into manualmergeRobert Greenwalt2013-03-151-0/+10
|\| | | | | | | | | | | | | Conflicts: src/java/com/android/internal/telephony/uicc/SIMRecords.java Change-Id: Ic998e70207851e7e00f56d6e8591e53834987358
| * get group identifier level1 (Gid1)Hyejin Kim2013-03-041-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | To recognize MVNO(Mobile Virtual Network Operator), need some filters, Service Provider Name(SPN), International Mobile Subscriber ID(IMSI), and Group Identifier Level1(Gid1). The GID1 elementary files on the SIM are specified in GSM 11.11 (ETS 300 977) To get Gid1, implement it. Bug: 8143480 Change-Id: I44f9d622240a73c42ea6418d2d55e1dae23f3b81
* | Clean up member variables.Wink Saville2013-02-231-62/+62
| | | | | | | | Change-Id: Ib60f350131ade626aca682407ea0b4377b16f6c6
* | Clean upWink Saville2013-02-221-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add @Overrides where needed. - Update javadoc comments - Remove extra semi-colons - Rename DataConnection.java to DataConnectionBase.java - Rename GsmDataConnection.java to DataConnection.java - Add defaults to switch statements - Remove/fix most "if (false)" statements. Fixed by using a CONSTANT - Fix hidden variables by hoisting to base class or renaming - Tweak some debug output Change-Id: If38de2fdeaacafbf40cdfd7f84dc5c52030ba2a3
* | am 48a768d6: am aa54f8e0: Merge "Telephony: Add uicc debug info to DebugService"Wink Saville2013-01-021-0/+53
|\| | | | | | | | | * commit '48a768d6cff6e13d138cabe7f19d3dc1bf46ec79': Telephony: Add uicc debug info to DebugService
| * Telephony: Add uicc debug info to DebugServiceAlex Yakavenka2012-12-281-0/+53
| | | | | | | | Change-Id: I03be52f97ea84808d608c48b4e6ffa2454e2a67c
* | Merge commit '7e4b734a' into fix-merge-conflictWink Saville2012-12-101-0/+32
|/ | | | | | | * commit '7e4b734a': Telephony: Move uicc classes into uicc package Change-Id: Iacc7f1805500bfe55299aaedbe0241ebba8e8b23
* Telephony: Move uicc classes into uicc packageAlex Yakavenka2012-12-101-0/+445
Reduce constructor visibility to package where possible Dependent Changes: I3b718b9aea1f21c7906c8243b4ca0db6af495a08 I80204a2f3dc57cac875abeab390bb9db7a636ff7 Ib9c19e8b157dc7ec74eb14baca5bd3b5caf08c47 Change-Id: Ib4f43374c041cb5eaf2e3883e5ea28b2eb2c9a69