Remove the unused UCE APIs because some of the old UCE APIs are replaced by the new added APIs.
Bug: 182536503
Test: atest ImsServiceTest RcsUceAdapterTest
Change-Id: I40a45e1c858c5fab3b46f2888b9215b5687a64fd
* changes:
[Telephony] Use TelephonyCallback instead of PhoneStateListener part1
[PhoneStateListener] Redesign PhoneStateListener: Use TelephonyCallback
To avoid the IDE does not have the warn if developers implement callback:
1. Revert PhoneStateListener to Android 11 version.
2. New TelephonyCallback
3. Deprecate the old PhoneStateListener.onXx() callbacks
Bug: 167684594
Test: make and PhoneStateListenerTest and TelephonyCallbackTest
Change-Id: I0fdd7fc3c3d67310197862c84d02f30164ec80d1
Merged-In: I0fdd7fc3c3d67310197862c84d02f30164ec80d1
Add the RCS APIs and keep the original APIs.
The original APIs will be removed when the applications call the new APIs.
1) document the ImsException on the API requestAvailability
2) Use Collection instead of List for the contacts
3) Use Instant object to represent the timestamp information
Bug: 180126217
Test: atest ImsServiceTest RcsUceAdapterTest
Merged-In: I56a54cd07e8f785d7db8094b9b8a0191d6e28282
Change-Id: I56a54cd07e8f785d7db8094b9b8a0191d6e28282
* Since AOSP is in control of when IWlan allocates and releases the
pdu session id, it doesn't need to react to start handover and
cancel handover.
* CellularDataService can still use these methods since it is in
AOSP.
Bug: 177607048
Test: make
Merged-In: I9e65ad178a843e92a59e5e4f7debd4d7b77a3edb
Change-Id: I9e65ad178a843e92a59e5e4f7debd4d7b77a3edb
Add getViaBranchParameter and getCallId parameter to SipMessage
API in order to allow the SipDelegate to quickly route SipMessages
without requiring the app to peak into the headers.
Bug: 181591815
Test: atest CtsTelephonyTestCases
Change-Id: Iac94f73335ac5caa634b31c10a675aaf91c13af7
Create TrafficDescriptor class
Create new APN ENTERPRISE
Update setupDataCall and DataCallResponse to take TrafficDescriptor and
matchAllRuleAllowed
Move ApnTypes from Annotation to ApnSetting
Bug: 179312227
Test: atest FrameworksTelephonyTests
Change-Id: I7433976bfe25bcb2af85ffb9338959cbcc9f42f3
Merged-In: I7433976bfe25bcb2af85ffb9338959cbcc9f42f3
In order to increase stability, move *ImplBase listeners to warning for
now until we can find the source of the error.
Fixes: 179217608
Test: manual; kill phone process
Merged-In: If1813ed6c82b778018d61691018604b6891ff34e
Change-Id: If1813ed6c82b778018d61691018604b6891ff34e
Expose broadcasts for communicating certain changes in state between
Telephony and carrier apps.
Implement a backward-compatibility layer to support carrier apps
targeting <=R that are listening to the old hidden broadcasts.
Fixes: 173050428
Test: atest CarrierSignalTest CarrierSignalAgentTest
Change-Id: I15d032ee1e31d9be847c2f084161f8555c8172c1
Merged-In: I15d032ee1e31d9be847c2f084161f8555c8172c1
Expose these string representations of APN types as SystemApi, and add
utility methods to convert between these and their integer equivalents.
Fixes: 173133122
Test: atest ApnSettingTest TelephonyRegistryTest
Change-Id: I8095ebc4f766be52042eec1c8ee043bf2e2dabfb
Merged-In: I8095ebc4f766be52042eec1c8ee043bf2e2dabfb
getNrState() was exposed. However, it doesn't actually get the NR
state in most cases and it is a mixture of a couple different
concepts. This API does not provide the correct 5G NR state, so
revert it from API surface and also the related change.
Bug: 171183530
Test: make update-api ; m
Change-Id: I651ed14500be5af45dd896ae5da1da36ad249a26
Define a new ACCESS_RCS_USER_CAPABILITY_EXCHANGE permission and move from MODIFY_PHONE_STATE to ACCESS_RCS_USER_CAPABILITY_EXCHANGE permission for associated APIs.
Bug: 174861641
Bug: 154764486
Test: atest -c CtsTelephonyTestCases:android.telephony.ims.cts.RcsUceAdapterTest
Merged-In: I863f2e6e1afffce5e8ea103790cf368c59734029
Merged-In: I978161a230ce23e17d3b16cc92c3e82ea1cbb407
Change-Id: I3b524158b81dc4437812e7b57fb3adcd17c02c71
A missing asterisk in the javadoc causes the hidden API leak into current.txt
Bug: 180395362
Test: make update-api && make; // and double check manually
Change-Id: If86208136fb7402b132c62fa2caad4df3366e8d9
* Made the HAL version available to radio interface capabilities
* With version 1.6 of the Radio HAL, a new function was added to enforce
the user network types preference (setAllowedNetworkTypeBitmap).
Depending on the version implemented by the modem the
setPreferredNetworkType and setAllowedNetworkTypes TelephonyManager API
methods may use this new HAL method or rely on the previous method
(setPreferredNetworkType). This new capability enum value can be used by
TelephonyManager consumers to know which HAL function is effectively
backing up their calls.
Bug: 163168917
Test: checked logs, created RadioConfigCapabilitiesResponseTest
Merged-In: Ie31d32a08b10b8c125f27832e81a3e65b6d8767a
Change-Id: I92c2d019ad594e6604503c57a52c3c2cf8660f56
1. Instead of using the hardcoded order, read the order
from configuration. This also allows carriers to specify
the allowed types of APN can be used for initial attach.
2. Removed the preferred APN logic. The preferred APN is
specifically for the default APN after a successful data
setup. It's not related to initial attach.
Fix: 169657628
Test: Manual
Merged-In: I9fbf4f270726cba1281770db88fec7c1bb62e6db
Change-Id: I9fbf4f270726cba1281770db88fec7c1bb62e6db
(cherry picked from commit 0bebba7378)