Commit Graph

7535 Commits

Author SHA1 Message Date
Grace Jia
bae97dc91e Merge "Support API to toggle IMS on and off." 2020-01-24 18:36:40 +00:00
Treehugger Robot
c0e02ab436 Merge "[Telephony Mainline] Expose APIs in SubscriptionManager" 2020-01-24 18:31:32 +00:00
Treehugger Robot
95bf445317 Merge "Remove annotations from MmTelFeature.MmTelCapabilities.toString" 2020-01-24 08:11:32 +00:00
Grace Jia
6bde5e6f7a Support API to toggle IMS on and off.
Bug: 141929672
Test: atest CtsTelephonyTestCases:TelephonyManagerTest
Change-Id: Icac337d99b578d2667657c07ab5bd13fd3e17590
2020-01-24 01:43:41 +00:00
Peter Wang
78af57db36 [Telephony Mainline] Expose APIs in SubscriptionManager
Bug: 146362772
Fix: 146362772
Test: Build, TelephonyProviderTest
Merged-In: Icaff3117cab45e6458931a600fa8d63821e0fe13
Change-Id: Icaff3117cab45e6458931a600fa8d63821e0fe13
2020-01-23 13:03:37 -08:00
Sarah Chin
92e0799d58 Merge "Add support to pass password in Call barring" 2020-01-23 01:58:20 +00:00
Josh Hou
1c1461c6a2 Merge "Return the correct roaming status when check isNetworkRoaming()" 2020-01-22 23:41:48 +00:00
Treehugger Robot
0ab00030a2 Merge "Ims: Add support for Adhoc Conference calls" 2020-01-22 21:16:19 +00:00
Brad Ebinger
d2ee60f378 Merge "Expose intent broadcasted when IMS registration for WFC fails" 2020-01-22 18:19:54 +00:00
Treehugger Robot
ca45896352 Merge "New system API to create SMS PDU and expose copyMessageToIcc()" 2020-01-22 16:57:44 +00:00
Treehugger Robot
e27d58f0cd Merge "Cleanup code and documentation for SMS EF records" 2020-01-22 16:56:33 +00:00
Brad Ebinger
be1c2969a8 Expose intent broadcasted when IMS registration for WFC fails
Expose ImsManager.ACTION_WFC_IMS_REGISTRATION_ERROR for WFC IMS
registration failure cases.

Fixes: 147835819
Test: atest CtsTelephonyTestCases:ImsServiceTest
Change-Id: If3e175f560845388e6de4e57047564cef349f6b1
2020-01-22 08:53:09 -08:00
Tyler Gunn
48f7f07d52 Merge "Expose ImsConfig constants as part of API." 2020-01-22 06:50:17 +00:00
Suresh Koleti
ec1da29510 Add support to pass password in Call barring
- Adding password support for call barring over IMS

Test: Manual
Bug: 112248618
Change-Id: Ibdf159fbeb8eb5d80846db711fbff8979887733b
2020-01-22 10:52:51 +05:30
Tyler Gunn
30eee35a57 Expose ImsConfig constants as part of API.
Moving the config keys in ImsConfig to ProvisioningManager and defining
appropriate allowed values for all.  Old values are now deprecated.

Bug: 147732815
Test: Created and ran new CTS test to verify get/set of the new parameter
values.
Change-Id: Ifa7e1b6bcd21b4dfac541c258e1c53ee1515fa3d
2020-01-22 04:22:37 +00:00
Ravi Paluri
80aa2140e3 Ims: Add support for Adhoc Conference calls
Add support for Adhoc Conference calls

Test: Manual
Bug: 62151032
Change-Id: Id50d235595d2133f867848ffdebdfe11e2f1c896
2020-01-22 03:22:58 +00:00
Brad Ebinger
8af28b9965 Merge "Add NetworkType alternatives to IMS APIs" 2020-01-22 02:34:31 +00:00
Shi Lu
2ac8306365 Merge "Support exposing getNetworkSelectionMode" 2020-01-22 02:34:05 +00:00
Hall Liu
7790a36021 Merge "Clean up usage of CountryDetector in PhoneNumberUtils" 2020-01-22 00:52:40 +00:00
Hall Liu
b49a3affb1 Clean up usage of CountryDetector in PhoneNumberUtils
PhoneNumberUtils calls CountryDetector methods to ascertain whether a
number is an emergency number in the current country, but recent
emergency number detection changes have made the country an unused
parameter. Remove calls to CountryDetector to satisfy mainline
requirements wrt hidden APIs.

Fixes: 148087591
Test: atest PhoneNumberUtilsTest
Change-Id: Ib6ef6348cb1c50e89e24f4f67de6ce76d87550cd
2020-01-21 15:34:02 -08:00
shilu
2647d29e26 Support exposing getNetworkSelectionMode
Bug: 148018766
Fix: 147568892
Test: make && make offline-sdk-docs
Change-Id: I68d3de4beb500eaf0b462848ba18265a2702d191
2020-01-21 15:02:04 -08:00
Brad Ebinger
1efc2aa560 Add NetworkType alternatives to IMS APIs
Some IMS APIs were using ServiceState instead of
TelephonyManager.NETWORK_TYPE_* constants.

This CL cleans this API surface up.

Bug: 147726372
Test: atest CtsTelephonyTestCases; atest FrameworksTelephonyTests
Merged-In: Ic00b83f2d0d8950855d43edc49ad24ce577943af
Change-Id: Ic00b83f2d0d8950855d43edc49ad24ce577943af
2020-01-21 22:48:19 +00:00
Treehugger Robot
e50c61c8ba Merge "Remove Obsolete Comment" 2020-01-21 19:52:55 +00:00
Jiyong Park
04701fe9f4 Remove annotations from MmTelFeature.MmTelCapabilities.toString
Object.toString() is a public API. Marking a method overriding it as
@SystemApi or @TestApi doesn't make the method a system API or a test
API. In fact, it breaks CtsSystemApiAnnotationTestCases which ensures
that a Java symbol with @SystemApi annotation is in the API signature
text.

Removing the unnecessary annotation to fix the test. Note that the API
signature file is not changed with this.

Bug: 147812912
Test: atest CtsSystemApiAnnotationTestCases
Change-Id: I47c07f072f5cffc64a8867f27889745065f73fd1
2020-01-21 22:20:12 +09:00
Shi Lu
09a87d3f9f Merge "Publish ImsMmtelManager API for better debugging" 2020-01-20 16:56:37 +00:00
Josh Hou
8f67f121b7 Return the correct roaming status when check isNetworkRoaming()
Bug: 148009135
Test: Verify WFC is registered successfully during roaming
Change-Id: I3b70846848b9b12381f65222db623064b7b57254
2020-01-20 23:16:51 +08:00
Hall Liu
d982f6c3bb Merge changes from topic "phone-constants-telecom"
* changes:
  Move PhoneConstants constants to TelecomManager
  Using PhoneTypes in TelephonyManager
2020-01-17 22:44:25 +00:00
shilu
61c965388f Publish ImsMmtelManager API for better debugging
Bug: 141928367

Test: manaual
Change-Id: I71fbc5c49f966b349d52db2d7befda6ad71e888f
2020-01-17 14:40:13 -08:00
Treehugger Robot
8804a86b87 Merge "Expose proprietary extras Bundle in ImsCallProfile" 2020-01-17 21:15:34 +00:00
Treehugger Robot
feaed68912 Merge "Add UCE Call Composer + enriched calling tags" 2020-01-17 19:10:12 +00:00
Treehugger Robot
ba0576ee28 Merge "Properly catch ServiceSpecificException if IMS isn't available" 2020-01-17 17:52:39 +00:00
Brad Ebinger
d57ff4a221 Expose proprietary extras Bundle in ImsCallProfile
Fixes: 147726367
Test: atest CtsTelephonyTestCases:ImsCallProfileTest
Change-Id: I5a2aee142b77c86f00967fc1092c219d0d164a39
2020-01-17 09:18:38 -08:00
Brad Ebinger
40cae1c0c9 Merge "Expose ImsFeature#getFeatureState as @SystemApi" 2020-01-17 03:34:05 +00:00
Daniel Bright
c8fb6e0efe Using PhoneTypes in TelephonyManager
Bug: 147465477
Test: TelecomUnitTests
Change-Id: Idd0794a1b2b91e4635f63a35e468f3fe0bbe7990
2020-01-16 17:29:55 -08:00
Sarah Chin
ad189b5e60 Merge "Add NR to ServiceState#isLte and rename to isPsOnlyTech" 2020-01-17 00:48:13 +00:00
Brad Ebinger
b114707641 Merge "[Telephony Mainline] Removed IPackageManager reference" 2020-01-17 00:33:04 +00:00
Shi Lu
3ae8d12fe6 Merge "Exposing NetworkRegistrationInfo for PS service" 2020-01-17 00:08:05 +00:00
Hall Liu
87cf4b146e Merge "Add call barring constants to ImsUtImplBase" 2020-01-16 23:35:40 +00:00
Brad Ebinger
cb73930b29 Properly catch ServiceSpecificException if IMS isn't available
Fixes: 147815387
Test: boot device and ensure UCE registers correctly.
Merged-In: I4033659acb0031e2383ebcff55c1bb0798041abd
Change-Id: I4033659acb0031e2383ebcff55c1bb0798041abd
2020-01-16 23:15:12 +00:00
Sarah Chin
29e0ec7ef1 Add NR to ServiceState#isLte and rename to isPsOnlyTech
Test: atest ServiceStateTest
Bug: 129670729
Change-Id: Id058d90bc6c4f35c85bc719740bee41865390eb7
Merged-In: Id058d90bc6c4f35c85bc719740bee41865390eb7
2020-01-16 22:18:28 +00:00
Sarah Chin
15720f61d9 Merge "Expose TelephonyManager constants as SystemApi" 2020-01-16 22:17:32 +00:00
Sarah Chin
9681a661ae Merge "Expose MMS constants" 2020-01-16 22:17:13 +00:00
Mingming Cai
aa5b09f6ad Merge "Add mTimeStamp to SignalStrength" 2020-01-16 21:56:51 +00:00
Nathan Harold
e9f4fe3c02 Merge "Make SignalStrength constructor system APIs" 2020-01-16 21:03:51 +00:00
Peter Wang
5cbbbe3b1b [Telephony Mainline] Removed IPackageManager reference
Bug: 140908357
Test: Build
Merged-In: I53d7d98b9689c1b4f764c24fc17bb488adcf96b5
Change-Id: I53d7d98b9689c1b4f764c24fc17bb488adcf96b5
2020-01-16 20:58:29 +00:00
Sarah Chin
58c5b00293 Expose MMS constants
Unhide CarrierConfigManager#KEY_MMS_CLOSE_CONNECTION_BOOL
Move constants from SmsManager to MmsService

Test: m MmsServiceRoboTests && atest MmsServiceRoboTests
Bug: 147447171
Change-Id: I68f33b862f0607aa45d767e40c1bf24625dfd093
2020-01-16 20:27:41 +00:00
Mingming Cai
f1a62940c7 Add mTimeStamp to SignalStrength
Add mTimestamp since boot in nanoseconds to SignalStrength.
Add a public API getTimestampNanos() in Signal Strength.
Add a public API getTimestampNanos() in CellInfo.
Deprecate public API getTimeStamp() in CellInfo.

Bug: 147157937
Test: atest  SignalStrengthTest (unit and CTS)
Change-Id: I478284a983bb3b5e33b7e0e50362a3aeddbc8545
2020-01-16 11:06:33 -08:00
Sooraj Sasindran
f48c0fd4bf Make SignalStrength constructor system APIs
Make SignalStrength constructor system APIs so that
it can be accessed by TelephonyRegistry

Bug: 140908357
Test: make
Merged-In: I80693b0f1b1f9de1a8c93ce8a23a816346afb634
Change-Id: I80693b0f1b1f9de1a8c93ce8a23a816346afb634
(cherry picked from commit 89e4e0c1e9)
2020-01-16 11:02:27 -08:00
shilu
6cd90e2c78 Exposing NetworkRegistrationInfo for PS service
This patch exposes WWAN and WLAN registration status
information so that callers can understand:
-Roaming status
-Searching status
-Available services, such as emergency and voice calling

Bug: 123099466
Fixes: 21208250
Test: make && make offline-sdk-docs
Change-Id: I1421b638f1835962de8e4ba18bdf75615d37ebe5
2020-01-16 10:30:44 -08:00
Hall Liu
eb7a2ad408 Add call barring constants to ImsUtImplBase
Add call barring constants to ImsUtImplBase in order to expose them in
the system API surface.

Fixes: 147733594
Bug: 146834818
Test: build
Change-Id: Ieb701625b1ecf858d67648f5bb4c87f3e87c1f73
2020-01-16 10:25:59 -08:00