Sanket Padawe
ea4713d6e5
Changing usage of carrier name field of SubInfoRecord
...
Bug: 19476304
Change-Id: Ia16465584cf31858bbf1ae36cfdbf21184de10d7
2015-02-24 13:15:15 -08:00
Shishir Agrawal
64ce5f8fab
GpsLocationProvider: Read data enabled status from TelephonyManager.
...
Bug: 18814559
Change-Id: I0333050d2a5b8d484466e1b1914dcfb9965398c9
2015-02-10 19:20:16 -08:00
Sanket Padawe
1acdd4b1f4
Suppress phone number from logcat.
...
Bug: 19251204
Change-Id: I042bc3c0a89967eeae547b059f06cf05de005b25
2015-02-05 11:45:27 -08:00
Legler Wu
85973dcf8c
[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
2015-01-29 19:02:55 -08:00
Sanket Padawe
5df10e1842
Merge "Suppress logging to avoid showing phone no." into lmp-mr1-dev
2015-01-29 21:44:05 +00:00
Sanket Padawe
14d21344d2
Suppress logging to avoid showing phone no.
...
Bug: 19193581
Change-Id: I6ee17a2eab9d0ed84c931d6395a5aeb148177f95
2015-01-29 11:21:34 -08:00
Stuart Scott
f4e5236061
Merge "Change getDeviceId to take phoneId." into lmp-mr1-dev
2015-01-29 01:55:47 +00:00
Stuart Scott
d456ec4be1
Change getDeviceId to take phoneId.
...
bug:18827144
Change-Id: I32196f842504e63f4ddd45401e83e73afae81ad5
2015-01-28 13:06:12 -08:00
xinhe
6620b4273e
Sprint: MMS cannot be sent in the UK
...
This is due to Sprint network at UK is actually GSM/UMTS. Thus we need GSM phone with CSIM to provide Nai too.
Bug:18241756
Change-Id: Icec10c88834151f5e35e38db93af36d7f40890fd
2015-01-28 10:40:27 -08:00
Sanket Padawe
201cc00947
Fixed a crash in TelephonyManager while calling getDeviceID()
...
Bug: 19056848
Change-Id: Ie241b25be212910a177c3ee5b620d646cfdd482f
2015-01-20 14:40:14 -08:00
Sanket Padawe
d2dd69ae8d
Merge "Modify getDeviceId() to get device id independent of Subscription." into lmp-mr1-dev
2015-01-17 22:15:56 +00:00
Stuart Scott
400a3f6df2
Unhide getDataRoaming, Messenger uses it to decide to download MMS or not.
...
bug:19015551
Change-Id: Ibcad6424695a97bd9ae123010bdf740449d09327
2015-01-14 12:12:02 -08:00
Sanket Padawe
0b7f5e81ba
Modify getDeviceId() to get device id independent of Subscription.
...
+ Add getDeviceId() in ITelephony to find device id independent of
subscription.
Bug: 18780202
Change-Id: I21cc38418eb7f4f1b300c6372e1dc7548385c112
2015-01-14 09:49:58 -08:00
Junda Liu
6e41019633
Merge "Rename setGlobalPreferredNetworkType to setPreferredNetworkTypeToGlobal per API council." into lmp-mr1-dev
2015-01-14 00:06:19 +00:00
Stuart Scott
e3b0449b0f
Merge "Update javadoc and hide getNameSource and getDataRoaming." into lmp-mr1-dev
2015-01-13 22:43:14 +00:00
Junda Liu
3fb3abd10a
Rename setGlobalPreferredNetworkType to setPreferredNetworkTypeToGlobal per API council.
...
Bug: b/18983535
Change-Id: I937b7ce38615e07f653d3ee02d734edfcfea3897
2015-01-13 14:11:11 -08:00
Stuart Scott
4abdd07949
Update javadoc and hide getNameSource and getDataRoaming.
...
Note SubscriptionInfo was not public in 21 and 22 hasn't been released yet.
bug:18983672
Change-Id: I9e8684eea2462fb655846d0719158d54007fabc5
2015-01-13 12:31:04 -08:00
Wink Saville
071743f0cb
Rename reg/unreg OnSubscriptionsChangedListener.
...
To addOnSubscriptionsChangedListener and
removeOnSubscriptionsChangedListener.
Bug: 18984103
Change-Id: I6636905093812af89c1c3702840e44c8c5ea891f
2015-01-13 08:36:24 -08:00
Libin.Tang@motorola.com
0303be4a8a
IMS: add the api to get IMS registration information.
...
Bug: 18668325
Change-Id: Ie694c7f1cc12a573cbef2815199ae6c91cf8088e
2014-12-22 19:35:18 +00:00
Wink Saville
b5f1e878d1
Fix build breakage.
...
I rebased a change and didn't compile, my mistake.
Change-Id: Iad7fc609b08d53aa7b8b96af609e3ff9a4f0e889
2014-12-19 11:02:01 -08:00
Wink Saville
f73c2d1f0b
Update mapping between RAF and Network Type.
...
bug:18754476
Change-Id: I5bdb8df192610b831a418ae810fe4f3b96c30f77
2014-12-19 10:08:15 -08:00
Wink Saville
63c79ce4bf
Merge "Update mapping between RAF and Network Type." into lmp-mr1-dev
2014-12-19 17:58:52 +00:00
Amit Mahajan
e69b5d68c2
Merge "Change to write (create) setting+subid if it does not already exist when it is queried for the first time." into lmp-mr1-dev
2014-12-17 23:58:11 +00:00
Amit Mahajan
2a65688d40
Change to write (create) setting+subid if it does not already exist
...
when it is queried for the first time.
Bug: 18791109
Change-Id: Ib9dae9401a18f1ec0eb0477486c7c7e4cb0364b0
2014-12-17 15:42:56 -08:00
Raph Levien
50e9228493
Preserve leading "+" in phone numbers
...
The normalizeNumber method in PhoneNumberUtils preserves a leading "+"
but only if it's the first character in the string. Thus it gets
dropped if there is leading punctuation such as "(". This patch
preserves the leading "+" as long as it would be the first character
in the normalized phone number.
Bug: 18418335
Change-Id: Ifcb1d3dd6c2943c729f570e7f3c90d1da9ee8b4b
2014-12-15 15:46:17 -08:00
Stuart Scott
482b4246c2
Update mapping between RAF and Network Type.
...
bug:18754476
Change-Id: Ibca856fe10bc4a7dc620ab7936a70d1f0427fe56
2014-12-15 14:11:44 -08:00
Amit Mahajan
d060b50b33
Merge "Change to treat slotId 0 emergency numbers as default." into lmp-mr1-dev
2014-12-15 19:06:48 +00:00
Amit Mahajan
d9835f0c16
Change to treat slotId 0 emergency numbers as default.
...
Emergency numbers are slot specific. This change is to read emergency
numbers for slotId 0 if slotId is unknown/invalid.
Bug: 18656027
Change-Id: Ibaeb720955f6abc421b84d3cb32eb812b6c55a34
2014-12-15 10:38:27 -08:00
Wink Saville
a54bf65833
Change tests against INVALID_SUBSCRIPTION_ID to use isValidSubscriptionId.
...
Rename isValidSubId to isValidSubscriptionId.
Bug: 18668873
Change-Id: Ie709a62bbb74e0a767daeb9e3fb3aecd4c45df44
2014-12-11 13:37:50 -08:00
Shishir Agrawal
951dcdd940
Merge "Adding a new hidden carrier API to mark GSM/CDMA networks as roaming/non-roaming." into lmp-mr1-dev
2014-12-10 23:19:16 +00:00
Wink Saville
eb4de87683
Merge "Update API and documentation for invalid subscriptions id's" into lmp-mr1-dev
2014-12-10 17:56:58 +00:00
Shishir Agrawal
5fb1118d8c
Adding a new hidden carrier API to mark GSM/CDMA networks as roaming/non-roaming.
...
The calls allow us to specify MCC/MNCs (for GSM) and SIDs for CDMA that should
not be considered as roaming for the current ICCID.
Bug: 13288143
Change-Id: Iae97b02f3eb9954fedf1b005c9ecd2aa09138505
2014-12-09 10:37:16 -08:00
Wink Saville
15b29ac7fa
Merge "Add subId as parameter for get/setDataEnabled." into lmp-mr1-dev
2014-12-09 17:52:27 +00:00
Wink Saville
98513d7bd4
Update API and documentation for invalid subscriptions id's
...
Bug: 18668873
Change-Id: I3ee987b77fef856e97ea09898c695147cb87a517
2014-12-08 12:44:16 -08:00
Jeff Sharkey
3256601f5e
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
2014-12-08 08:42:59 -08:00
Ihab Awad
0855e7aea2
Add Text-to-Speech annotations for phone number displays (1/3)
...
Bug: 17321294
Change-Id: Id7e48e683694e2f9ea2a7dd7fa7d69acc727489d
2014-12-05 15:27:08 -08:00
Stuart Scott
997ddc8e3e
Add mapping between RAT and Network Mode
...
bug:18416275
bug:18415493
Change-Id: I0b29ec953ec9eb29248a22d582013127ee0fea41
2014-12-05 20:28:14 +00:00
Wink Saville
36ffb0494d
Add subId as parameter for get/setDataEnabled.
...
Bug: 18279333
Change-Id: I2496a2fd92b154e5e6981cbf6b5b5939cda59122
2014-12-05 11:10:30 -08:00
Wink Saville
82611e6d9c
Merge "Add getSimStateForSubscriber and additional SIM_STATE_XXXX values" into lmp-mr1-dev
2014-12-03 23:32:46 +00:00
Robert Greenwalt
647b437d07
Merge "Separate voice/data roaming state and type" into lmp-mr1-dev
2014-12-03 22:18:24 +00:00
Wink Saville
47920fac33
Add getSimStateForSubscriber and additional SIM_STATE_XXXX values
...
Bug: 18364932
Change-Id: I836b751a443635efcfb9987bb3b91f55c4dff9d6
2014-12-02 17:08:14 -08:00
Stuart Scott
4e779ecd56
Merge "Subscription Info density-dependent text size and localized SIM slot index" into lmp-mr1-dev
2014-12-02 21:04:54 +00:00
Jing Zhao
e6edb161a7
Separate voice/data roaming state and type
...
It is possible for voice and data to register on different networks so
that the roaming state for them could be different. Provide separated
APIs to handle voice and data roaming.
Also, add the configuration of CDMA international roaming indicators.
Bug: 17318123
Change-Id: Iede9132cbf94bc9971702bd9232374585edd5cd0
2014-12-02 12:33:06 -08:00
Junda Liu
ef6178a99c
Merge "Add hasMatchedTetherApnSetting to telmgr API." into lmp-mr1-dev
2014-12-02 18:18:24 +00:00
Shishir Agrawal
0201a6f6f1
TelephonyManager.setLine1NumberForDisplay should return a boolean.
...
The call can fail and should return the success status of the call.
Bug: 18571337
Change-Id: I5f4a0bd65c807a018d2f2df9e39cf9125252257f
2014-12-01 11:48:53 -08:00
Stuart Scott
7151cde3ca
Subscription Info density-dependent text size and localized SIM slot index
...
Change-Id: I49fed470ea82c91ff7d77df2c3447b17a203a38d
2014-12-01 11:14:53 -08:00
Amit Mahajan
5ed82c8ca0
Change to use DATA_ROAMING setting correctly with subId.
...
Bug: 18466745
Change-Id: Ib2d7979d164ca3cf32c6619340fae1dc578ca686
2014-11-25 16:29:10 -08:00
Amit Mahajan
3749541a20
Merge "Adding helper functions to retrieve settings that are stored per subId." into lmp-mr1-dev
2014-11-25 20:39:09 +00:00
Amit Mahajan
421a53900d
Adding helper functions to retrieve settings that are stored per subId.
...
Bug: 18392680
Change-Id: I360bc19c4501020afd9dfa1cfb7e66ce2fad9536
2014-11-24 15:57:41 -08:00
Wink Saville
d09c4cad65
Additional changes to SubscriptionManager API as per API council.
...
bug: 17575308
Change-Id: Idd98aa46c15a9219ccf28091c62602ac8bf16c62
2014-11-22 10:08:16 -08:00