Introduce set/clearSignalStrengthUpdateRequest in TelephonyManager
and ITelephony to support customized signal request from applications.
Bug: 164432835
Test: atest android.telephony.cts.TelephonyManagerTest
Change-Id: I749376872915a91b9514884547140eaf969dba0e
Privileged apps can send the request through TelephonyManager APIs
(in following CL) to monitor signal strength change with interested
RAN/SignalMeausrementType/Thresholds.
Bug: 164432835
Test: atest com.android.internal.telephony.SignalStrengthUpdateRequestTest
Change-Id: Ifba384108b6627e4b808be34e6d828c93e8df995
1. Implement new API:
#getUpLinkFrequency
#getDownLinkFrequency
#getBand
#getChannelNumberUplink
#getChannelNumberDownlink
#getCellBandwidthUplink
2. Have mapping tables for converting frequency range
if getFrequencyRangeGroupFromXXXBand is unknown.
NR-ARFCN, E-UTRA, UTRA and Geran
3. Get the frequency from the band
#getFrequencyRangeGroupFromXXXBand
Bug: 162300897
Test: manual
Change-Id: I44101653659d2b5d593a2b06be6567e0d0ef433f
Merged-In: I44101653659d2b5d593a2b06be6567e0d0ef433f
Expose the fields and methods for application to specify
the customized signal update request.
Bug: 164432835
Test: atest com.android.internal.telephony.SignalThresholdInfoTest
Change-Id: I879efb2e6b4366e96059973cf4264e4192c1cf29
The interface CapabilityExchangeEventListener is exposed.
However the API "onRemoteCapabilityRequest" is hidden and it will cause it cannot be implemented.
Remove this api for now and add it back when the api is ready to exposed.
Bug: 177451691
Test: atest CtsSystemApiSignatureTestCases:android.signature.cts.api.system.SignatureTest#testSignature
Change-Id: I9ac1b8a5654fe16b9ae862d6e65aec9319cb6be5
Introduce RAN to better associate it with thresholds. Later CL
should be able to further simplify APIs which ask for both RAN and
SignalThresholdInfo.
Validate threshold values during constructing.
Deliberately hide all the public fields and methods, so the following
CL will only need to expose designed properties. Make it easy
for API review.
Bug: 164432835
Test: atest com.android.internal.telephony.SignalThresholdInfoTest
Change-Id: Ib0600c43b90ab0231b29f989976cb090f4b37bf8
In cases where the framework/ImsService is not available,
locally extract the transaction ID from the SipMessage in order
to call the appropriate error method back to the caller.
Bug: 173828358
Test: atest FrameworksTelephonyTests:SipMessageParsingUtilsTest
Change-Id: I4ff5ed9ad4492e817c4a687e90d3a294e5514d8b
The RCS publishing device's capabilities APIs are exposed to be the SystemAPI and add the CTS for these APIs.
bug: 174187744
Test: atest -c CtsTelephonyTestCases:android.telephony.ims.cts.ImsServiceTest
Change-Id: I731dbe64614b91efa0002ffccb638b4a10f7c5f4
* Added wiring for the apn unthrottled indication
* Added method to QNS that is notified when there is a change to
the way an APN is throttled.
Test: Ran telephony tests
Test: Booted up device
Test: Checked for log message in
NetworkAvailabilityProvider#onReportApnThrottleStatusChanged
Bug: 167434852
Bug: 174850845
Merged-In: Ia4dd3036f583a97e42b6054019005df1b33dc33c
Change-Id: Ia4dd3036f583a97e42b6054019005df1b33dc33c
* Add callSessionIntiating which occurs in between the session
starting and the call session progressing.
Bug: 161218980
Test: FrameworksTelephonyTests
Change-Id: I745af44f83915b92e0cfa57b4edf4f11ca575f5d
This reverts commit f7dc3f6788.
Reason for revert: b/176163590, continual fatal exceptions in telephony on reboot
Bug: 176163590
Test: Local revert and the fatal exceptions go away
Change-Id: If7cbe3e5b8764f0ee72985830880157f64d71101
ConnectivityService is going to become mainline and can not
access hidden APIs. Telephony and Settings were both accessing
the hidden API ConnectivityManager#getMobileProvisioningUrl.
Moving #getMobileProvisioningUrl method into telephony means
that there is one less access to a hidden API within the
overall framework since the connectivity stack never needed
this value. Thus, add getMobileProvisioningUrl() to telephony
surface to replace the one in connectivity stack.
Bug: 175177794
Test: atest FrameworksTelephonyTests
Change-Id: Icff8bf39b168b28f972b6737e4e7be8fc86b3dee