Commit Graph

5294 Commits

Author SHA1 Message Date
Michele Berionne
19939bdbe0 Merge "Add APIs to get/set if usage of multiple SIMs is restricted." 2019-01-30 01:14:22 +00:00
Jordan Liu
9824ab022b Merge "Card ID APIs are public" am: bd4a4dc889 am: a039e692a4
am: 316dc44a91

Change-Id: Ibb4966a27a96f1e50b42f616556a4e843050557a
2019-01-29 15:42:07 -08:00
Jordan Liu
316dc44a91 Merge "Card ID APIs are public" am: bd4a4dc889
am: a039e692a4

Change-Id: I6041944772567794b79a355c9f77767ed61c0f76
2019-01-29 15:18:21 -08:00
Jordan Liu
bd4a4dc889 Merge "Card ID APIs are public" 2019-01-29 22:43:47 +00:00
Michele
398d5d9113 Add APIs to get/set if usage of multiple SIMs is restricted.
Add API that indicates if the usage of multiple SIMs at the same time is
allowed or restricted in order to support requirements from carriers for
dual SIM devices

Bug: 123537730
Test: Verified with test application.
Change-Id: I5e3e5ff41927e43ead4a30988630cf9125d5a048
2019-01-29 12:56:53 -08:00
Sooraj Sasindran
d42041fe96 Merge "Define more thresholds for opportunistic data" am: cf2e069962
am: c3bf9392ac

Change-Id: I44cd2e063fd5587ee7abf77e22acca7b08953a02
2019-01-29 12:21:17 -08:00
Sooraj Sasindran
cf2e069962 Merge "Define more thresholds for opportunistic data" 2019-01-29 19:43:26 +00:00
Xiangyu/Malcolm Chen
afe6ec4b27 Merge "Adding validationBeforeSwitchSupported in phoneCapability." 2019-01-29 19:29:31 +00:00
Jordan Liu
d6c684fff4 Card ID APIs are public
These were system API but we should expose them for apps with carrier
privileges.

Test: manual
Bug: 122974656
Change-Id: Ie60e4c580dfa9dd0d7d6fb6b94226661d0620dad
2019-01-29 10:55:35 -08:00
Chen Xu
0b409e8cc0 Merge "new API for IMS call fail cause" 2019-01-29 18:37:10 +00:00
Android Build Merger (Role)
478561d5f9 Merge "Merge "Merge "Add check for slot index value" am: d8148b6c8c am: e7d03a6ff1" into pi-dev-plus-aosp am: 894ee44b53" 2019-01-29 18:23:58 +00:00
Michele Berionne
d394138c00 Merge "Merge "Add check for slot index value" am: d8148b6c8c am: e7d03a6ff1" into pi-dev-plus-aosp
am: 894ee44b53

Change-Id: I9e90faa04a0da3bcbbbdbc7e96f322540434bc64
2019-01-29 10:23:17 -08:00
Sooraj Sasindran
b2177dce50 Merge "Define more thresholds for opportunistic data" 2019-01-29 18:19:18 +00:00
Michele Berionne
ef96c449ce Merge "Add check for slot index value" am: d8148b6c8c
am: e7d03a6ff1

Change-Id: I57c57b70484ec0c08bcd7b02e880fbe28e2cde9e
2019-01-29 09:45:09 -08:00
Michele Berionne
d8148b6c8c Merge "Add check for slot index value" 2019-01-29 17:25:17 +00:00
Pengquan Meng
59691cc266 Merge "new SystemAPI to getSimLocale" am: 5cf41e47fe
am: 1b607c875f

Change-Id: I2a6c1b9aaab034763f261d7464bd302ad5bbdd2d
2019-01-28 23:03:32 -08:00
Jack Yu
697a064562 Merge "Data profile refactoring" am: b551d0d6d3
am: daae1f5265

Change-Id: Ie04247ed0d8f6cb1139309a808ab2fb15ebcbade
2019-01-28 22:07:32 -08:00
Amit Mahajan
dc458b1aa2 Merge "Add Emergency Number Test Mode" am: 783400c390
am: 4c12798e56

Change-Id: I741e0a5899d9734bf35c50853cccb95211cb1d70
2019-01-28 21:58:47 -08:00
Jordan Liu
b9f55143bc Merge "CallQuality is set to empty instead of null" am: b3f282daa1 am: aee66949ef
am: baa788a7aa

Change-Id: Ic6c251059d763df6f79520a5cae259f4a44601cf
2019-01-28 21:55:14 -08:00
Jordan Liu
baa788a7aa Merge "CallQuality is set to empty instead of null" am: b3f282daa1
am: aee66949ef

Change-Id: Iee5f05e4cc0efc8c0abbe2c46c7ceedea164bbee
2019-01-28 21:28:03 -08:00
Amit Mahajan
c322894cb2 Merge "Add Emergency Uniform Resource Number (URN)" am: e01a358b5b
am: 888d87ac7a

Change-Id: I33be4bec015d71415456a9abbd69bc705556afa8
2019-01-28 21:07:57 -08:00
Sooraj Sasindran
428871cb04 Define more thresholds for opportunistic data
Define entry bandwidth threshold for opportunistic data
Define entry and hysteresis time for opportunistic data

Bug: 120847469
Test: make
Change-Id: Ie7c35e10aeaf791dba49d9f5e881d292068f81f3
Merged-In: Ie7c35e10aeaf791dba49d9f5e881d292068f81f3
2019-01-29 00:49:39 +00:00
Sooraj Sasindran
73710f8ca6 Define more thresholds for opportunistic data
Define entry bandwidth threshold for opportunistic data
Define entry and hysteresis time for opportunistic data

Bug: 120847469
Test: make
Change-Id: Ie7c35e10aeaf791dba49d9f5e881d292068f81f3
2019-01-28 16:45:36 -08:00
Pengquan Meng
5cf41e47fe Merge "new SystemAPI to getSimLocale" 2019-01-29 00:21:49 +00:00
chen xu
6ac5fc19e6 new API for IMS call fail cause
Bug: 119890559
Test: atest CtsTelephonyTestCases:PhoneStateListenerTest
Change-Id: Ia047b7ba2345ad0c8d998506026defc02eb80dc9
2019-01-28 13:37:12 -08:00
Jack Yu
b551d0d6d3 Merge "Data profile refactoring" 2019-01-28 21:29:27 +00:00
Michele
3590fa4d72 Add check for slot index value
Verify that slot index passed in setAllowedCarrier() and in
getAllowedCarrier() has a valid value or return error code.

Bug: 123097251
Test: compilation
Change-Id: I322ecd11c49301a7d5bf5edb75d32a72a9f813c3
2019-01-28 13:07:30 -08:00
Amit Mahajan
783400c390 Merge "Add Emergency Number Test Mode" 2019-01-28 20:51:25 +00:00
Jordan Liu
b3f282daa1 Merge "CallQuality is set to empty instead of null" 2019-01-28 19:16:06 +00:00
sqian
4fd607e32e Add Emergency Number Test Mode
Add EMERGENCY_NUMBER_SOURCE_TEST_MODE

This also does not allow to send the service categories from database when
dialing.

Bug: 122840137
Test: Manual; Treehugger
Merged-in: I4ea3539e3b814b71e03e956d4a857ec20141fa8c
Change-Id: I4ea3539e3b814b71e03e956d4a857ec20141fa8c
(cherry picked from commit cb4bd3a30f)
2019-01-28 10:58:45 -08:00
sqian
86e2209260 Add Emergency Uniform Resource Number (URN)
Test: Treehugger
Bug: 112657134
Change-Id: I87537f7123910e9843207428eb3167a90a15b6df
Merged-In: I87537f7123910e9843207428eb3167a90a15b6df
(cherry picked from commit 03bde886e5)
2019-01-28 18:37:47 +00:00
Jack Yu
7d675e5a44 Data profile refactoring
Data profile should use the public defined types
instead of the internal defined data types.

1. Using integer instead of string for protocol type.
2. Using TelephonyManager.NetworkTypeBitMask instead of
   the internal ServiceState.RIL_RADIO_TECHNOLOGY_XXX
   in data profile.

Test: Telephony sanity tests
Bug: 73659459
Merged-In: I04b910f8e349e8b7819ff058bf37ad06c3fd9adc
Change-Id: I04b910f8e349e8b7819ff058bf37ad06c3fd9adc
(cherry picked from commit af6b47af54)
2019-01-28 10:32:23 -08:00
Jack Yu
36d048c3ff Merge "Added a broadcast intent for clients to listen for country changes" 2019-01-28 18:28:23 +00:00
TreeHugger Robot
501ef01725 Merge "Data profile refactoring" 2019-01-28 18:08:56 +00:00
Hongming Jin
175e2f24a2 Merge "Add API in SmsManager to return sms messages for financial app." 2019-01-28 15:57:32 +00:00
Jeff Sharkey
8bcdea7182 Merge "Get CtsProviderTestCases building against API." 2019-01-27 03:03:48 +00:00
Jeff Sharkey
cb269aac7e Get CtsProviderTestCases building against API.
To help confirm that we're actually testing developer-visible
behaviors, we need to build against public APIs, since there have
been plenty of examples in this suite of "testing" hidden API
behaviors, which are then misleading to developers.

Bug: 120429729
Test: atest cts/tests/tests/provider/
Exempt-From-Owner-Approval: Trivial API annotations
Change-Id: I07fe33e54f611a6060217f0706fb99b809961f4d
2019-01-27 03:03:39 +00:00
Hongming Jin
08496b0e98 Add API in SmsManager to return sms messages for financial app.
Test: atest android.telephony.cts.SmsManagerTest
Bug: 111207447
Change-Id: I1571cb005f7c1374a9acbec27041bca291fa7153
2019-01-26 14:26:47 -08:00
Jack Yu
3d33698bf5 Added a broadcast intent for clients to listen for country changes
Added a broadcast intent ACTION_NETWORK_COUNTRY_CHANGED for clients
to listen for network country code changes. The same value can be
retrieved from TelephonyManager.getNetworkCountryIso().

Test: Manual + unit tests
Bug: 122900588
Change-Id: Ifec87dda7bae386118b7bc7523844342bd16c3ea
2019-01-25 23:16:14 -08:00
Jordan Liu
eae57b26e6 CallQuality is set to empty instead of null
Bug: 110107501
Test: manual
Change-Id: Ifb289c1c61d7cf16a7c6b60b181b94cf759f75d8
2019-01-25 16:10:55 -08:00
Hongming Jin
46edf1506d Add API to SmsManager to allow apps to authenticate user account through
sms without requesting sms permissions.

Bug: 111210542
Test: atest android.telephony.cts.SmsManagerTest
Change-Id: I9b176032d7b2bf578dd1a64745bf4a1e13008a7a
2019-01-25 15:24:29 -08:00
Brad Ebinger
0b1b7c2b76 Merge "Add new ImsException to better handle ImsService errors" 2019-01-25 21:02:02 +00:00
Pengquan Meng
690885cb6b Merge "A get method for NR status in ServiceState" am: c09b41cada
am: 145fc05417

Change-Id: I36d4378149959c7d4c04b0b90a070d8b6686f8a7
2019-01-24 17:03:41 -08:00
Pengquan Meng
c09b41cada Merge "A get method for NR status in ServiceState" 2019-01-25 00:40:48 +00:00
Jordan Liu
cd989d40c5 Merge "Fix NPE in parcel constructor" am: 23a6598fe4 am: 12b8ba1667
am: 94b6f9771a

Change-Id: I4ca46815212716392ce1128bd6da432f0d3984af
2019-01-24 15:45:08 -08:00
Jordan Liu
94b6f9771a Merge "Fix NPE in parcel constructor" am: 23a6598fe4
am: 12b8ba1667

Change-Id: I7be389cacc368dd60506cbf0824350ac4247a016
2019-01-24 15:28:50 -08:00
Jordan Liu
23a6598fe4 Merge "Fix NPE in parcel constructor" 2019-01-24 22:50:43 +00:00
Brad Ebinger
b2c88d1480 Add new ImsException to better handle ImsService errors
The ImsService can crash unexpectantly or not be available
for certain device configurations. Define a checked exception
ImsException to handle these cases instead of using
RuntimeExceptions.

Bug: 122480210
Test: atest FrameworksTelephonyTests
Change-Id: Ie3221d56a235c0e037d71e197f4972df31faa09b
2019-01-24 22:28:06 +00:00
Pengquan Meng
123cd32a6f A get method for NR status in ServiceState
Bug: 111453000
Bug: 123099654
Test: build
Merged-In: I07749ff00fc9d53796208ca78721b498ed4c16fd
Change-Id: I07749ff00fc9d53796208ca78721b498ed4c16fd
2019-01-24 13:45:54 -08:00
TreeHugger Robot
147cfc3a9c Merge "Update EuiccManager APIs used for eSIM activation flow" 2019-01-24 21:35:47 +00:00