Remove deprecated tag from switchToSubscription API. Partially reverts the changes to switchToSubscription API with ag/16232869
Bug: 214055002
Test: manual, atest FrameworksTelephonyTests
Change-Id: I6a802ea0c85ff749b09745f629bc1a80f30ed3b9
Merged-In: I6a802ea0c85ff749b09745f629bc1a80f30ed3b9
PersistableBundle support is required to enable better handling of more
complex carrier configurations.
Bug: 223443016
Test: make, atest CarrierConfigManagerTest
Merged-In: Idb564cf44d7d321b95cccb18798992e718f30da4
Change-Id: I94f581acc4cc7a7de39958e598e845831f81aab9
CarrierPrivilegesListener has been replaced with
CarrierPrivilegesCallback. With all clients has been migrated, it is
time to remove the obsoleted APIs
Bug: 216549778
Test: atest CarrierPrivilegesTrackerTest CarrierServiceTest
Test: atest WifiCarrierInfoManagerTest TelephonyRegistryManagerTest
Test: atest TelephonySubscriptionTrackerTest
Change-Id: I89df21764d3b9945219d810d0dd9bfe3cf5fbea4
Merged-In: I89df21764d3b9945219d810d0dd9bfe3cf5fbea4
(cherry picked from commit 5a4bcc0a9c1f656bd87e2830e56dea37197fdd2b)
Instead of querying package manager every time which is
quite expensive, the new implementation will improve
the performance by query the cache in CarrierPrivilegesTracker.
Bug: 217442920
Test: atest CarrierPrivilegesTrackerTest
Change-Id: I29df8599bdfc84cab330fa7056a228997a4bac0f
Merged-In: I29df8599bdfc84cab330fa7056a228997a4bac0f
(cherry picked from commit 28b2ee8ec0314c1f77d92017de24c0d3df003aff)
Add new interface in CarrierPrivilegesCallback to notify the registrants
that carrier service for current user has changed.
Reshape the parameters of onCarrierPrivilegesChanged callback with
both Set instead of List/Array.
CarrierPrivilegesListener is deprecated. Once all clients have migrated
to CarrierPrivilegesCallback, it will be throughly cleaned up.
Bug: 216549778
Test: atest CarrierPrivilegesTrackerTest CarrierServiceTest
Test: atest WifiCarrierInfoManagerTest TelephonyRegistryManagerTest
Test: atest TelephonySubscriptionTrackerTest
Change-Id: I18e443d91f1db951f1461511821c0f5f673da3a3
Merged-In: I38d03e3921112c313f3c1d204ed04f6e1756ff39
(cherry picked from commit b66e3e3aa87395069833307716334ff577b778a7)
Bug: 205504646
Test: manual (builds, will not be functional until LPA implementation)
Change-Id: Ic289538f5df17c03b2f8da7f4966c583d4557586
Merged-in: Ic289538f5df17c03b2f8da7f4966c583d4557586
With a simple parcelable defines in aidl file, ITelephony can
unify all the ways on how to open/close ICC logical channels.
This leaves a stable ITelephony interface and extendable space
in request parcelable to introduce new features.
The request parcelable can also serve as the data wrapper when all
request info need to pass to the handler of PhoneInterfaceManager,
or out side of phone process (e.g. TelephonyRegistry) to resist
phone process crash.
Bug: 197658986
Test: atest IccOpenLogicalChannelRequestTest
Change-Id: I866ec481a8c801762ac1803343d11fce9e8b1e60
Merged-In: I15f920024d3ca3e630d16900e341ff41ee13d7d9
(cherry picked from commit 2ebfca0f618e835033c14bc2f9c7d3b9043a7e03)
Modified logic to retrieve phoneId based on the slot index and port index as well.
Test: build
Bug: 199559346
Change-Id: I98036645023bd7ba12475d4a06ce64287401471b
Merged-In: I98036645023bd7ba12475d4a06ce64287401471b
Re-Introduce synchronization locking for ImsFeature to handle
broadcast at the same time from multiple threads and syncronize only
mListener in ImsSmsImplBase
Test: atest CtsTelephonyTestCases:ImsCallingTest
Bug: 181342331
Merged-In: I5050eb2cbb15bc1245c91efb72e3d4a417f435e5
Change-Id: I5050eb2cbb15bc1245c91efb72e3d4a417f435e5
Allowed IMS service to request an IMS network
that supports VoPS by sending a network request
with IMS and MMTEL capability. When network reports
VoPS is not supported, the existing IMS network will
be torn down. This does not affect the network
request that only has IMS capability.
Also support delay IMS tear down until voice call ends.
This can be configured through carrier config.
Test: atest DataNetworkControllerTest
Fix: 219110278
Change-Id: I845029fb68ce013d252fa6ffd59c868c9157ef92
Merged-In: I845029fb68ce013d252fa6ffd59c868c9157ef92
Added merging two data profiles that have same APN name,
but APN types are mutually exlusive and other fields are
minor different.
Fix: 216203549
Test: atest DataProfileManagerTest
Change-Id: I6f398321cc972be0b5fb4c550f7a110049d896f6
Merged-In: I6f398321cc972be0b5fb4c550f7a110049d896f6
Added a new registrant for service state changed event.
Also added service state non-legacy mode initialization
support.
Fix: 217985293
Test: Manual
Change-Id: Ifd988943a3f6e22ec563417eea6f173c02a866e2
Merged-In: Ifd988943a3f6e22ec563417eea6f173c02a866e2
Added traffic descriptor based network capability support.
Allowed multiple network requests having same TD based
capability, but with different differentiators.
Fix: 214399881
Test: atest FrameworksTelephonyTests
Change-Id: Ibf47aec9f99cf7437c9e03e10f9db83714aca5de
Merged-In: Ibf47aec9f99cf7437c9e03e10f9db83714aca5de
1. Added workaround for changing immutable capabilities
until connectivity service supports it.
2. Fixed that logging tag suffix after transport changed.
3. Port VCN code from old data stack.
4. Fixed some cases that we need to tear down the underlying
networks, but also inform data network controller of
data setup fails, for example, no live network request
or VCN requested tear down before creating the agent.
5. Fixed the incorrect link status report.
6. Attach/Detach network requests after network capabilities
changed.
7. Support the legacy permanent fail cause carrier config.
Fix: 215901070
Test: atest DataNetworkControllerTest
Change-Id: Icd3b43cb897b09af3dc5a9bc90ac104457e34190
Bug: 196880723
Test: ATP apct/device_boot_health_check_extra
TMUS-Repeated test to unregistermmtel after registration.
Volte dials/disconnects, airplane mode on/off,
Sim removed, power on/off
Merged-In: I050d4affd403604bdae21ef3bc7f9ddf93ffa9e4
Change-Id: I16ebfe7edb13e950afd835d64691d740b11cbcdc
Some carriers requires user-added APNs to be used for initial
attach, but IA was automatically removed by the APN editor on
purpose. So the compromised solution was supporting the old
allowed IA APN types carrier config in the new data stack.
Fix: 216867081
Test: Manual
Change-Id: If3acbe92ed25d254c61947c4535e2bdc2613d7b7
Merged-In: If3acbe92ed25d254c61947c4535e2bdc2613d7b7
Moved the 5G+ PCO logic from NetworkTypeController
to DataNetworkController. Also forward the PCO data to carrier
signal agent.
Fix: 214728781
Test: atest DataNetworkControllerTest DataNetworkTest
Change-Id: I45e453b0cc497d69b85a77855d8c62b52b2e5441
Merged-In: I45e453b0cc497d69b85a77855d8c62b52b2e5441
Add a duration that the plans last and don't read to/write from disk
for plans. Make non-duration setSubscriptionPlans API deprecated.
Test: atest SubscriptionManagerTest, NetworkPolicyManagerServiceTest
Bug: 210696427
Change-Id: I93aece78eda324c333fbf9f1adbedcf46e4864f0
Merged-In: I93aece78eda324c333fbf9f1adbedcf46e4864f0
Add new interface in CarrierPrivilegesCallback to notify the registrants
that carrier service for current user has changed.
Reshape the parameters of onCarrierPrivilegesChanged callback with
both Set instead of List/Array.
CarrierPrivilegesListener is deprecated. Once all clients have migrated
to CarrierPrivilegesCallback, it will be throughly cleaned up.
This CL only cherry-picks the CarrierPrivilegesCallback interface and
provides stub implementation to remove the dependency of NetworkStack
modul which is aosp-first. The implementation will be cherry-pick later.
Bug: 216549778
Test: make
Merged-In: I195a99ec6508c7fe3398908bfca632d8446ab29c
Change-Id: I195a99ec6508c7fe3398908bfca632d8446ab29c
(cherry picked from commit b66e3e3aa87395069833307716334ff577b778a7)
Add annotation @RadioAccessNetwork for setupDataCall parameter.
Add comment to API documentation for start/cancelHandover.
Bug: 215240597
Test: build
Change-Id: Ibb4abfeea68d710815f59bce4c6edb2e832cc8bd