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
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
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
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
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
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)
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
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