Move optional ran parameter to end
Make system -> public API
Test: atest FrameworksTelephonyTests
Bug: 150127236
Change-Id: I140477b2778158646dbbcb0d2a32033c61bb97e4
NetworkClass isn't especially useful because the APIs for
getting and setting preferred networks have been converted
to bitmasks of individual RATs.
Removing this because it's causing confusion about the proper
structure of the API surface. There are < 100k total usages with
the vast majority (60% or more) coming from two apps.
Because NetworkClass is used in RadioAccessFamily for a sort of
comparison function, rewrite that function, porting and updating
logic from TelephonyConnectionService to that compare() method.
Bug: 128572818
Test: atest RadioAccessFamilyTest
Merged-In: I1f279fadd8c543b845fce0f13dc62c1480757692
Change-Id: I1f279fadd8c543b845fce0f13dc62c1480757692
(cherry picked from commit d44b4efa33)
To support conversion of the preferred network types
back to the network "class" types (really the RANs),
this change adds bitmaps for 2G, 3G, and 4G bitmaps
as well as for differentiating between 3gpp and 3gpp2
RATs.
Bug: 128572818
Test: manual
Merged-In: I25f41ad48eb4dc74c2cace80ccec4e1e954443f9
Change-Id: I25f41ad48eb4dc74c2cace80ccec4e1e954443f9
(cherry picked from commit febfb82bc8)
1) Rethrow the remoteException instead of returning empty string
for CarrierConfigManager#getDefaultCarrierServicePackageName()
2) Flip documentation to use “valid” instead of “invalid” for
ModemActivityInfo.isValid()
Bug: 147804136
Test: Treehugger; Cts
Change-Id: I595837dfb24a09c68e33a732aa24b5b25ff28ac0
To be consistent with other APIs, based on API council's feedback.
Bug: 148179539
Test: build
Change-Id: I1d4a2bf7dfc01842f583e02517986a8bf043bfde
Merged-In: I1d4a2bf7dfc01842f583e02517986a8bf043bfde
Add a new carrier config to control whether the incoming call number
should be formatted to national number for Japan.
Test: manual - Checked that incoming call number is converted to
national format
Bug: 143239889
Change-Id: I46e24589fea405f231d81736fec67803ce070c7b
Adding @throws tags for EmergencyNumber APIs so that callers are aware
that they can throw.
Test: Build; docs only change.
Bug: 134100020
Change-Id: Ib26c93355a0c43744787f0eacf5c6c2e50a12474
As we are not shipping Telephony mainline and it's TBD whether
TelephonyRegistry will be part of mainline or not, we change
createLocationInfoSanitizedCopy from @SystemApi back to @hide.
Bug: 148179832
Test: build
Change-Id: I65dea196ab80aec96b6b35edcc0059cefc2f1b43
Provided a way for carrier to notify their users
about missed incoming call via special SMS.
Bug: 144068181
Test: MissedIncomingCallSmsFilterTest
Merged-In: Iacf1ce5b2a79761536e2b31a0ea5644622b4913c
Change-Id: Iacf1ce5b2a79761536e2b31a0ea5644622b4913c
This method was made into a SystemApi for R since
Telephony was going mainline. The Telephony team
has a more robust solution as other similar APIs were
needed. Since we are not going mainline, it makes
the most sense to wait for full solution.
Bug: 148165897
Bug: 146654731
Test: make \ flash
Change-Id: I5b38694acf3887e4f3ea2ab725b57fe4be9d5626