Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9bf66e1e authored by Nathan Harold's avatar Nathan Harold
Browse files

Expose PreciseDataConnectionState to Public API

1) Use PreciseDataConnectionState in TelephonyRegistry

This is a preparatory CL that is part of cleanup and
removal of a number of unused paramters. This piece
pre-emptively uses PreciseDataConnectionState to
pipe through the apn (name) and the LinkProperties,
which are both part of PreciseDataConnectionState.

2) Send PreciseDataConnectionState to TelephonyRegistry

Build and send PreciseDataConnectionState from Phone
to TelephonyRegistry, which contains all the parameters
that are needed.

3) Update UnitTests for PreciseDataConnectionState

Update unit tests to ensure that DC fail invokes
the correct callback on TelephonyRegistryManager.

4) Test That TelephonyRegistry Caches APN States

Add a test that verifies TelephonyRegistry is tracking
the PreciseDataConnectionState for each APN.

Bug: 143187065
Test: atest TelephonyRegistryTest
Merged-In: I8445808a0cc7a28092004d46ff15d79b661df0b8
Merged-In: I824c3f223441df1260d1a9ba4276ec8de55f7f7c
Change-Id: I8445808a0cc7a28092004d46ff15d79b661df0b8
(cherry picked from commit 3d245131)
(cherry picked from commit cc8526a5)
parent 0450cee4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment