History log of /frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1bf6ec2f868041ba4c3d4c88d3ac482bfd4c52b9 24-May-2016 fionaxu <fionaxu@google.com> cold sim clean up

- add a new field: provisioningNotificationEnabled from NetworkMisc. set
to false if we want to hide "sign in" notification and placed
carrier-specific notification instead. it is set on connect, once set,
it is carrier-app's responsibility to post new UI to users
- rework on the interaction between carrier app and framework
- code cleanup
- unit test support

Bug: 28567303
Change-Id: Ic84db7ffbb920d15344717f104496d3cb82e1a85
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
b5592dc9f4c2b97b00c24d801b90339d1d622ec3 08-Apr-2016 fionaxu <fionaxu@google.com> Cold Sim issue fix

Bug: 25203607
Change-Id: Ibde6a483477cb7c94f75b656d5e41748b13b23b2
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
e1da5a3964f9d5487011ae73082053d172cf5dec 07-Mar-2016 Sandeep Gutta <sangutta@codeaurora.org> Handle mnc 00 while retrieving the Resources based on subid

Since mnc 00 is represented as undefined it needs to be replaced
with MNC_ZERO 0xffff for retrieving proper resources.

bug:28219719
Change-Id: I7e1630c2f5c31959306d862b10e7987bb449ea9f
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
7ea3e8bf8954343d7b243b6a23bcb8339921f3c8 25-Jan-2016 Shishir Agrawal <shishir@google.com> Unhiding MSIM APIs.

1. Unhide MSIM APIs in TelephonyManager that already have non-MSIM equivalent
APIs public.
2. Make MSIM API naming consistent (overloaded, no suffix).
3. Unhide APIs in SubscriptionManager that are necessary for MSIM.

Bug: 26772894
Change-Id: Ibebab7379ea79c8e4812bbd190342827048e30e2
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
ca1bdcfd70e4e415aa89256c9af283f545a4654c 19-Jan-2016 Amit Mahajan <amitmahajan@google.com> Revert "Added constructor with looper param for OnSubscriptionsChangedListener"

This reverts commit 831e401c055391745691a58d0c87c48b49139f50.

Not needed now since tests create HandlerThread

BUG=25691379
Change-Id: Ic0ac3e3ef3c717fd31acb5fc8d6d81cc9995a2f7
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
831e401c055391745691a58d0c87c48b49139f50 13-Jan-2016 Amit Mahajan <amitmahajan@google.com> Added constructor with looper param for OnSubscriptionsChangedListener

This is needed for tests as subclasses may need to specify which
looper to use.

Bug: 25691379
Change-Id: Ia6eb2d34c439b420ef81622e3c8ff50a0290da22
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
d2cf0ce9c17cd37a12827882b3a10512d2904103 30-Dec-2015 Jack Yu <jackyu@google.com> Reduced the radio log

Reduced the radio log by moving some to VDBG or merging few lines
into one.

bug: 25956251
Change-Id: I290d894e95c9fdd664db35fd0cee3536c37dbd20
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
6714030083b1d8ec5b2df6dfef08034d0d30c2fe 10-Dec-2015 Jack Yu <jackyu@google.com> merge from master

Change-Id: Ic03669db3f4595336a7dbc13ffc77d055d11acf9
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
dc49309cefed9519611b183ae2c616e6f0110738 14-Jul-2015 Sanket Padawe <sanketpadawe@google.com> Add new API for handling DB query per subId.

+ Add new API for handling DB query and Resources object per subscription.
+ Add constants for column name of DB storing subscription info.
+ Add a common settings file for multi-tab

Bug: 22360525
Change-Id: Icf6d35bdbe31618e2a95df450aee12b99d3aea7a
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
278b8f950948435fb08db0a12313e2ea704fa637 01-Jul-2015 Robert Greenwalt <rgreenwalt@google.com> Add/Fix Permission check on SubscriptionManager.

Things that are modifing should check the modify permission.

bug: 19259681
Change-Id: I27c7501d6777deec902b9cd47e194eadef391869
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
330dcac0cb9412b7a856a99ce3ea94d2ebba330a 18-Jun-2015 Sanket Padawe <sanketpadawe@google.com> SubscriptionManager: Fix NPE in getSimStateForSlotIdx

bug: 21915589
Change-Id: If703baff6408a0d7ba7c8b02bfd2427b64cda963
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
9387f1dfe3788661e883672b36edabf11a96de51 27-May-2015 Amit Mahajan <amitmahajan@google.com> Changing getSimState to use slot idx instead of sub id.

Bug: 20736251
Change-Id: I43ec6450358f833f878ed4eee993ea79d5220c65
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
28964eb236cee7e593cf46ff6bcd61cd0d4c54f6 06-Jun-2015 Sanket Padawe <sanketpadawe@google.com> Suppress default logging in SubscriptionManager.

Bug: 20465753
Change-Id: Ieeb493be7b32382c6adf1cf0664cf3e96cedace7
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
b6f9da0b7f26b50163461a767cafcd8014328742 01-May-2015 Prerepa Viswanadham <dham@google.com> Merge commit '17455a3' into master_merge
21301f6016ce50594f6cd9c66581ee9a08b57be9 19-Apr-2015 Svet Ganov <svetoslavganov@google.com> Add OP_READ_PHONE_STATE app op continued - framework

Change-Id: If1c2783ad9ea2aa773e5416e09a3cfd1817ef73f
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
16a16899505ec0a9ede5b76650bfb8817b3227c7 16-Apr-2015 Svet Ganov <svetoslavganov@google.com> Add OP_READ_PHONE_STATE app op - framework

The READ_PHONE_STATE permission protects PII information and
is in the Phone group. This change is adding the corrseponding
app op for gating access to the API guarded by READ_POHNE state
which will be used instead as an access control for legacy apps.

Change-Id: I2ff895a5a0e529f26ec0ad706266a30d829268ba
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
0ced792cd69ff4e78b3ea84e6b38c1f1fddce82e 10-Dec-2014 Shishir Agrawal <shishir@google.com> Fail SmsManager requests if SubId is not active.

If subId is not active, expected subIds can be assigned to the messages being
processed due to SmsManager calls. The change will fail any SmsManager calls
if SubId is not active.

Bug: 18629526
Change-Id: I8da1b1e2c477f32dcbaff417fc4e14ba2a225414
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac 28-Feb-2015 John Spurlock <jspurlock@google.com> Remove unused imports in frameworks/base.

Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
85973dcf8cd7d7a964ba746875a0c572685d1807 29-Jan-2015 Legler Wu <legler.wu@mediatek.com> [DS] Correct the access method for telephony system property

Revise the method to access telephony system property.
Add several PROPERTY_XXX_XXX_MSIM for MSIM type system properties. If
caller use the old one, it will be dispatched to new one and get by
default phone id.
Ex. PROPERTY_ICC_OPERATOR_NUMERIC

Bug: 18675498
Change-Id: I008a7390fefbbcd9f6569f059d48eedf1da28de0
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
400a3f6df20b92e639f20956301a36beb67b511b 14-Jan-2015 Stuart Scott <stuartscott@google.com> Unhide getDataRoaming, Messenger uses it to decide to download MMS or not.

bug:19015551
Change-Id: Ibcad6424695a97bd9ae123010bdf740449d09327
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
071743f0cbbfab36150db6ec945452579d02e8dd 13-Jan-2015 Wink Saville <wink@google.com> Rename reg/unreg OnSubscriptionsChangedListener.

To addOnSubscriptionsChangedListener and
removeOnSubscriptionsChangedListener.

Bug: 18984103
Change-Id: I6636905093812af89c1c3702840e44c8c5ea891f
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
a54bf6583380cf328b9858d942b4c387c6163f0f 11-Dec-2014 Wink Saville <wink@google.com> Change tests against INVALID_SUBSCRIPTION_ID to use isValidSubscriptionId.

Rename isValidSubId to isValidSubscriptionId.

Bug: 18668873
Change-Id: Ie709a62bbb74e0a767daeb9e3fb3aecd4c45df44
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
98513d7bd44fe9ce14733c8162544c2114f8f21b 08-Dec-2014 Wink Saville <wink@google.com> Update API and documentation for invalid subscriptions id's

Bug: 18668873
Change-Id: I3ee987b77fef856e97ea09898c695147cb87a517
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
3256601f5e4d94713f59e97b9d4912875c1bdcaf 03-Dec-2014 Jeff Sharkey <jsharkey@android.com> Offer to "merge" subscribers for data usage.

There are some cases where multiple subscriber identities (IMSI)
should be treated as "merged together" from a data usage
perspective. This is done by extending the template used for
matching purposes to support multiple subscribers.

Then, when we query historical usage or set network policies, we
normalize the matching template to merge to any other identities
that should be included. When normalizing, the "lowest" identity
is always used for equality and storage purposes, which allows
identities to come and go over time.

This change also fixes data usage recording for multi-SIM devices
by passing along the concrete subscriber identity for each network
interface. Also correctly create default policies for multi-SIM
devices. This change also drops setPolicyDataEnable() until it can
be wired up to the right underlying NetworkAgent. (This means we
still bring up the network, and then rely on iptables rules to block
traffic when over the limit, instead of proactively disabling the
connection.)

Bug: 18012787
Change-Id: If6acf32009fdfea2b836f5aff8e2f3e5e0248b4a
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
47920fac33efb7ce4bf33a5691e4af1b67ab6019 03-Dec-2014 Wink Saville <wink@google.com> Add getSimStateForSubscriber and additional SIM_STATE_XXXX values

Bug: 18364932
Change-Id: I836b751a443635efcfb9987bb3b91f55c4dff9d6
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
d09c4cad65c708f2c4810d24295456708a2000d2 22-Nov-2014 Wink Saville <wink@google.com> Additional changes to SubscriptionManager API as per API council.

bug: 17575308
Change-Id: Idd98aa46c15a9219ccf28091c62602ac8bf16c62
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
2d1ee982276f5dbd0e035778b731b48e4ef34515 20-Nov-2014 Wink Saville <wink@google.com> Revert "Additional changes to SubscriptionManager API as per API council."

This reverts commit baf21da1e17ef358632c078128d381b3be218a08.

Change-Id: I73cbdfadf07ca3cf20b042781b62aafcc72b17d6
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
baf21da1e17ef358632c078128d381b3be218a08 20-Nov-2014 Wink Saville <wink@google.com> Additional changes to SubscriptionManager API as per API council.

bug: 17575308
Change-Id: I7773965094510999bfce8fc6b2b31ba6ce496653
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
a374c3d03b28f135cdfba2cadf6fe6f03ac010bd 11-Nov-2014 Wink Saville <wink@google.com> Update SubscriptionManager API as per API council.

bug: 17575308
Change-Id: Ib39a60e4f75981a466e9d606ec627756efad018d
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
ab45ec177a787fee046f6a9c4d1098d529aff7bb 28-Oct-2014 Stuart Scott <stuartscott@google.com> SubInfoRecord provides a tinted icon with the initial embossed.

bug: 17575308
Change-Id: I895975dfe8d1c4db8381ef9322bd72c8fcb3e22c
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
e1013f964dc4eeb28521ed860005e1e21907b0ff 07-Nov-2014 Sanket Padawe <sanketpadawe@google.com> API changes to add carrier name to subinforecord

API changes required to add carrier name of sim as a member of subinforecord.

Change-Id: I08a7f53dc012967005f7b5abd1fbc08f2947da67
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
95fc99b33418f228aa0390032ad466814d33b164 30-Oct-2014 Stuart Scott <stuartscott@google.com> Clean up public API of SubInfoRecord.

bug: 17575308
Change-Id: I047ce11fb7835d500652b7ef340a30c052e96b21
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
d95198eb36d483749f1a782e5f61a1684dcf0df2 28-Oct-2014 Sanket Padawe <sanketpadawe@google.com> Remove checks to support new sim color selection.

Remove checks to support new sim color selection in multi-sim settings UI.

Change-Id: I26da0a79f5b1edf829fc5d46af2c0c23962226b8
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
63f03dd94c43c22f2c77306059b5748e5e1e0e3c 23-Oct-2014 Wink Saville <wink@google.com> Change subId to int from long

Change-Id: Idae6335e63e7b1e4e714bc17e71b1a4705e38474
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
8eab2b6bdffc3a5934796d074f541f1020b26f30 23-Sep-2014 Wink Saville <wink@google.com> Add SM isUsableSubIdValue

Change-Id: Ib1381116545688de52bde111acf827b2e07c5621
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
2222d9bc9ec9a594a8ffc64414ab92f7fdc55c7a 12-Sep-2014 Anthony Lee <anthonylee@google.com> am 12c83b93: Merge "isValidSlotId() and isValidPhoneId() updated to handle negatives." into lmp-dev

* commit '12c83b93b13a7e6d37b385c1270c29d8a959bc78':
isValidSlotId() and isValidPhoneId() updated to handle negatives.
b78890c159f9f06617712261e6c9f284841f2357 11-Sep-2014 Anthony Lee <anthonylee@google.com> isValidSlotId() and isValidPhoneId() updated to handle negatives.

The old version of the code wanted to just check to make sure
that the slot/phone id is greater than INVALID_SLOT_ID or
INVALID_PHONE_ID that are both currently defined to be -1000. The
changes are made for 2 reasons. First, INVALID_SLOT_ID and/or
INVALID_PHONE_ID might not always be defined to be a negative value
so there is a big assumption. Secondly, anything greater than
-1000 allows other negative values to be considered valid ids.

Bug: 17243556
Change-Id: I2bbfcc2cfd2d7c4772dfb9c50af2dc88c0f315e2
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
f2090b88b72d89825b9bf9c6ddbf5ae8a7f3116b 06-Sep-2014 Wink Saville <wink@google.com> Unhide SubscriptionManager and SubInfoRecord

Change-Id: I1e6efb4442f0400d404d725c7db5020a26c00f98
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
bc0272754df7a2fb71bf709a2a8a7c852ee69e5c 08-Sep-2014 Wink Saville <wink@google.com> Change suffix UsingSubId to ForSubscriber.

Bug: 17255752
Change-Id: Ifd522888b5aaae111f642d1e35bd1bb939e539d4
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
905bb54108d380555dbec1c9961a675740fe6e96 05-Sep-2014 Wink Saville <wink@google.com> More cleanup prior to unhiding

Adding comments and rename publci SubInfoRecord instance variables

Change-Id: I25a56d779c63a3f483d7a43c5c123404bf489fa3
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
7a96207e2ba549843e9fcbbc7f2fde7ed96ada84 04-Sep-2014 Tom Taylor <tomtaylor@google.com> Add mcc/mnc to SubInfoRecord

Bug 17157686

Change-Id: I47d19dea73f038a8d748f95dd33452da62ebf26b
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
f5bca080a231e45e1694651c012c74ba52436635 04-Sep-2014 Wink Saville <wink@google.com> Hide SubscriptionManager using individual @hide on fields and methods.

Doing this so the unhide for API Council will just be unhiding a few
fields/methods.

Change-Id: Iebc995c1aebe1f17a6552c28f771be7584bf0acb
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
8a38a203a9754be85e12484adff69f7577fa4fad 03-Sep-2014 Wink Saville <wink@google.com> Rename getActivatedXxx to getActiveXxx

Change-Id: Iba6d2805a69d3385c93b7ed3c6267b5b8b252a28
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
c650e0b12a656060de767d91d99f6b33e51c6ab2 03-Sep-2014 Wink Saville <wink@google.com> Prepare to make SubscriptionManager public.

Sync SubscriptionManager and its dependentes between lmp-dev
and lmp-sprout-dev.

In SubscriptionManager and SubscriptionController:
-Rename getActivatedSubInfoList to getActiveSubInfoList.
-Remove context as a parameter
-Cleanup

Change-Id: Ie06ced3e7ff5a3d06b3b47892fed22b4bb8972c7
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
eeacf9374748a5f7fc96a1beaf18c353d473d752 18-Jun-2014 Wink Saville <wink@google.com> Empty triangle displayed for radio signal but calls & data work

TelephonyRegistry: when default sub id is requested set isLegacyApp to
true so when ACTION_DEFAULT_SUBSCRIPTION_CHANGED is received the
TelephonyRegistry.Record.subId will be updated.

SubInfoRecord: Add SubInfoRecord toString for easier debugging

SubscriptionManager: Add putPHoneIdAndSubIdExtra(intent, phoneId, subId)
as this allows explicit setup of phoneId and subId and does not rely on
a phone's subId being set.

Bug: 15669560
Change-Id: I645ddb35b964b08dcb46f881c9d02b932d128950
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java
fb40dd4d00bd3361b2535bc866e6c21eadc52558 13-Jun-2014 Wink Saville <wink@google.com> Merge kwd to master

Add initial IMS and MSIM support from klp-wireless-dev-mirror

Change-Id: Idb607c0aa32f80fe4fe1539aedea7a221e9e7f04
/frameworks/base/telephony/java/android/telephony/SubscriptionManager.java