Add keys for values that are expected by carriers when requesting keys
Bug: 182425585
Test: manual
Change-Id: I03487dca483cd91ddcafe9487f211eb3069caf5f
Merged-In: I03487dca483cd91ddcafe9487f211eb3069caf5f
In order to prevent a sea of random crashes as part
of migrating to throwing behavior for callback APIs that
hit null ITelephony and null IOns objects, this change
re-introduces backwards-compatible behavior for APIs that
are being "upgraded" to throwing behavior.
Bug: 182185642
Test: atest CtsTelephonyTestCases
Change-Id: I492ba6a79e74350986afbd6ab5cc5e7b05b8cd35
There are currently a couple silent failure for
APIs that are defined as asynchronous.
-If the remote binder object is null then in some cases
the response is dropped. It's important that the response
be triggered on a thread other than the calling one due
to the oddball possibility of non-reentrant locking.
-If the remote dies while awaiting a response, the RemoteException
is generally dropped, and because the API is asynchronous there is
no way for the caller to know, leaving a dangling async request.
This CL ensures that remote exceptions due to process death invoke
the asynchronous callbacks, delivering an error message using the
BackgroundThread to ensure that the calls are received on a thread
other than the original caller's.
Bug: 182185642
Test: atest CtsTelephonyTestCases
Change-Id: I5121734194f07c53f94fb6585da3c90e3e2c4bf7
If the registrant process is neither phone nor system,
the location info (e.g. physical cell id) will be redacted
before sending the PhysicalChannelConfig change to registrant.
Bug: 182605476
Test: atest com.android.internal.telephony.TelephonyRegistryTest
Change-Id: I05015d06f3f7301bdebfc22d1a9b32fd8bbbfe69
1. Remove the executor from the constructor of the class RcsCapabilityExchangeImplBase
2. Rename the API name from removeCapabilityExchangeImpl to destroyCapabilityExchangeImpl
Bug: 180616706
Test: atest RcsUceAdapterTest ImsServiceTest
Change-Id: I9c11e384992345886d9c4a744dd4d734884a303f
Keep ServiceState#getDataRegState hide. Apps can get the same
info from telephony provider without loation permission.
Bug: 182601774
Test: atest com.android.phone.ServiceStateProviderTest
Change-Id: I1ba72a5b767761d2f7bd1b52459a0c9d101061a2
1. Expose OPTIONS APIs in the RcsContactUceCapability.
2. Update the feature tags type from List to Set.
Bug: 181175307
Test: atest RcsUceAdapterTest ImsServiceTest RcsContactUceCapabilityTest
Merged-In: Id4499d7f9f6eb2b572902d76129f9ad388354d9f
Change-Id: Id4499d7f9f6eb2b572902d76129f9ad388354d9f
Add the link capacity estimate system API.
Remove the system API of getCarrierBandwidth() and CarrierBandwidth as
they are replaced by the new LCE system API in PhoneStateListener.
Bug: 180434672
Bug: 176814680
Test: manual test of the new LCE system API in LinkBandwidthEstimator
Test: atest -c PhoneStateListenerTest
Merged-In: I5899acf02006a164e31f9b82aeaa7974dd6d2869
Change-Id: I5899acf02006a164e31f9b82aeaa7974dd6d2869
There is no definitive API to determine whether a device supports mobile
data; this API fills the gap.
Bug: 146206136
Test: m
Change-Id: I5daa302063ee4e9c27dd9ba1a09d65af80ed9d99
Some carriers don't allow downgraded RTT calls to be upgraded to VT or
vice versa. Add carrier config keys to capture this behavior.
Bug: 175659924
Test: NA
Change-Id: I03916e1fab9abe58733c06f351b6846ddc29f337
Allow REQUEST_NOT_SUPPORTED for nr dual connectivity configuration
and query
Bug: 181648176
Test: CTS with presubmit
Change-Id: Ib10dcc083d9aae7b905aa008dff05d2975865c71