Add NETWORK_CLASS_5_G to TelephonyManager
Add NR to ServiceState
Bug: 135421985
Test: atest FrameworksTelephonyTests
Change-Id: Iaed46354400c7a1ce410eebc246892d7edf448dc
Add a call to Context#unbindService in close() in the three MBMS session
classes so that we don't get a service binding leak.
Also add implementations of onNullBinding.
Fixes: 140144741
Test: manual
Change-Id: Ibde9fdbc096decb7b6ab7b60016645bc4810b859
Only getOperation and getCategory are currently used, so we only expose
those parts of the functionality. Eventually if we move BearerData to
the CBR app we will also have to expose the constructor, at which point
we may also want to expose the other constants that the constructor
uses, but for now this is okay.
Bug: 135956699
Test: manual
Change-Id: I1d3ba564372845f9b8a470adf82e84df745c02a7
Merged-In: I1d3ba564372845f9b8a470adf82e84df745c02a7
For testing we need the emergency call to go through the CTS
ConnectionService. This is achieved by passing in a package
name filter for testing, which restricts which ConnectionServices
are available for emergency calling.
For safety this filter will be bypassed if the user calls an
actual emergency number (instead of a test number).
Bug: 138741228
Test: atest CtsTelecomTestCases
Change-Id: I656533e4a36a7bba48625bf6f763731991695aed
Explain that once a country signal is lost, the broadcast
will be delayed for some time until we are confident that
we have lost visibility to any country (unless we detect
a new country).
Bug: 136036974
Test: make offline-sdk-docs (docstring-only change)
Merged-In: I29536ca2d60968405bb476a97dfbda69487c0013
Change-Id: I29536ca2d60968405bb476a97dfbda69487c0013
(cherry picked from commit 3bdc7e4c62)
This is a preparatory work for mainline. since Intdef is hidden, so we
have to move some annotations (applied in SDK/system API) to a separate
annotation class and having other module statically link to it.
TODO: include telephony annotation in framework-non-updatable-sources
Bug: 140908357
Test: Build
Change-Id: I37f8a0624bbf27f264870ee9dbf03d3aaa5cadc1
Also created a new MmsManager and moved imms APIs there. Will
make MmsManager @SystemApi in a later CL.
Test: basic sanity
Bug: 140763963
Change-Id: If22a85887c1aae0ab80562d58bc08c6965fd470f
Only getOperation and getCategory are currently used, so we only expose
those parts of the functionality. Eventually if we move BearerData to
the CBR app we will also have to expose the constructor, at which point
we may also want to expose the other constants that the constructor
uses, but for now this is okay.
Bug: 135956699
Test: manual
Change-Id: I1d3ba564372845f9b8a470adf82e84df745c02a7
The slot based version of getNetworkCountryIso is a system API.
So it needs to be gaurded by permission.
Bug: 141646066
Test: Telephony sanity tests
Change-Id: I810ff0b77b93870ae3f62769977c7094789d0a5a