Added null check for local and remote port range.
Bug: 213523984
Bug: 213139361
Test: atest QosBearerSessionTest
Merged-In: I749f369c0daa5c840a77d37828f65e42262d85f5
Change-Id: I749f369c0daa5c840a77d37828f65e42262d85f5
ImsServiceEntitlement.* configs and their default values
were added in S at
commit e600a8e4e8.
Somehow the default values are missing now. Add back.
Bug: 210485357
Change-Id: I98d943394ed308956c5271b8efaa5094d15dc8ca
We normally use the combined emergency number list from the emergency
number lists of both sims when placing emergency calls, with the provision
that the routing may be unspecified if a dialed number is an emergency
number on one sim but not the other.
This config allows a carrier to mandate that calls are only treated as
an emergency call on their network based on their own emergency number
list.
Test: TBD
Bug: 203947159
Change-Id: Id5cd4123f1bb7bdd85e564fc6997dfbc50652a5f
Fixes a regression that was introduced in aosp/1312940.
There is a critical section in requestNetworkScan after the scanId
has been generated and before the ScanInfo is added to the cache.
If during this time a callback fires on a separate thread, it will
not yet find the ScanInfo record, and due to strict checking, this
causes a RuntimeException. This CL re-expands the synchronized block
to cover the critical section, and clarifies a little bounds checking.
Note: this change is not ideal. This means that all callbacks for all
scans will be blocked while a request for a new scan is being made,
which was the motivation behind the change that introduced this
regression. But, a narrow performance hit is better than a crash, and
it's not worth the complexity of a bigger fix.
Bug: 200634560
Test: compilation
Merged-In: I4670da109256170121ceb6d8fbad0efda310335f
Change-Id: I4670da109256170121ceb6d8fbad0efda310335f
- Added a telephony provider entry for storing the user's settings.
- Added new vonr_enabled_bool config to determine whether
VoNR should be enabled for carrier
Bug: 202150953
Test: manual
Change-Id: Ie56a7de3fdb978353af77bafb55b0e37c22b58a4
Merged-In: Ie56a7de3fdb978353af77bafb55b0e37c22b58a4
1. Added minimum bandwidth support. 5G+ icon is only
shown when the aggregated bandwidth is above the threshold.
2. Allowed carrier to disable 5G+ while roaming.
Bug: 198831438
Bug: 201455505
Test: atest NetworkTypeControllerTest
Change-Id: I1f40de5ee559a6d703806e74d305267bde295dcc
SignalStrengthUpdateRequest
Support different SignalMeasurementType with same type of RAN
is valid user case. For example, client may be interested to
measure both RSRP and RSRQ for EUTRAN.
Throw IAE if the SignalThresholdInfo collection is empty. This
is behavior specified in the public interface.
Bug: 198318496
Test: atest SignalStrengthUpdateRequestTest
Merged-In: I87ea5e356189f61fc58dff80456aff35ea2a8e55
Change-Id: I87ea5e356189f61fc58dff80456aff35ea2a8e55
(cherry picked from commit 924964767c)
The timeout in call forwarding is only valid for CF_REASON_NO_REPLY
reason, so only check if reason is CF_REASON_NO_REPLY
Bug: 194112447
Test: enable/disable call forwarding
Change-Id: I290d5fa64f0a32ddcaf1f16c51b99f52e8e38913
Bug: 191878731
Bug: 186688084
Test: Will test locally once partner device and infrastructure is ready.
Change-Id: I7c866741dd86c3d675ea7c4dfe50d0992ab145f1
Merged-In: I7c866741dd86c3d675ea7c4dfe50d0992ab145f1
If the phone process crashes, have the ImsService detect this
condition and destroy all SipDelegates. This allows the AM
app to properly recover when telephony comes back up
Bug: 195148134
Test: manually crash phone process and then send RCS message
Test: atest FrameworksTelephonyTests:SipTransportImplBaseTest
Change-Id: I7866273d801df4d2b20e58f5d5ad50fd0ac4303d
Some Carriers define the 5G icon's Idle state in ENDC LTE is no
internet data connection. The config's description is not clear,
so adding more information.
Bug: 193848289
Test: build pass
Change-Id: Ie6e8dcd98743746bac1be78c653fb27f214777f9
The binder identity does get cleared when goes from client process
into phone process. When it comes back from phone to client, the
binder identity should also be cleared.
Bug: 193923945
Test: atest android.telephony.cts.TelephonyManagerTest
Test: atest ImsServiceTest RcsFeatureControllerTest ImsMmTelManagerTest
Merged-In: I34225e32111879e155c9f7865f0045430d171467
Change-Id: I34225e32111879e155c9f7865f0045430d171467
(cherry picked from commit c18002c465)
Introduce the KEY_SUPPORT_SS_OVER_CDMA_BOOL carrier config, which
allows Supplementary Services to be changed via carrier USSD codes.
This is disabled by default because the current USSD codes are not
configurable per carrier, so it can not be widely enabled.
Bug: 191057045
Test: manual, configuration changes
Change-Id: I3aeb1793c0df4f52764fef5fd09db47efe841dc2
We were not catching ServiceSpecificExceptions that were thrown,
causing unclear exceptions. Instead, return the default value when
the ImsService is unavailable.
Bug: 192930411
Test: atest CtsTelephonyTestCases
Change-Id: I3d50b19047bc287ce6200e75bb59cf98bf8bfef0
This configuration allows the framework to use user data
communication to detect RRC state.
Bug: 191321871
Test: build pass and no phone crash.
atest NetworkTypeControllerTest (pass)
Change-Id: Ieffabd25a74faf2038b2e08e956fa16c9efdd3ca
Set the default value of the list subscribe to false because there are not many carriers support the list subscription
Bug: 190683278
Test: atest RcsUceAdapterTest
Change-Id: I146637fda050a74f593c1b221364c18a03d2da5e
- Hold ACCESS_FINE_LOCATION: full service state
- Hold ACCESS_COARSE_LOCATION: set cellIdentity is null
- No local permission: set cellIdentity, mOperatorAlphaLong, mOperatorAlphaShort
and mOperatorNumeric are null
Bug: 165014401
Test: make
Change-Id: I9ada08a530d9b8bc8483edfad783ff3b7434faa3
When get the RcsContactPresenceTuple from the RcsContactUceCapability, it should check whether the servier ID is null or not
Bug: 191836903
Test: atest RcsContactUceCapabilityTest
Change-Id: I987c6f1fbcabfe64688f1d71210c83b6c4d8d9e0
The default counter was hardcoded as 3. Made this counter
configurable through carrier config. For infinite retry
the counter could be configured as 2147483647 (i.e. INT_MAX)
Test: atest RetryManagerTest
Fix: 190482957
Change-Id: I1bac995ea208bac9bd9e1b61432135dc4385d036
Added a mechanism for underlying data service to report
service temporarily unavailable. In this case, frameworks
uses the configured retry timer to retry establishing data
connection again.
Fix: 184122463
Test: atest DataConnectionTest
Change-Id: I57705b720b6438d8f9f0076f83decc1c17782f6b