To better test CBRS, we want IRadio 1.3 to be Android P plus CBRS
HAL interfaces, while 1.4 will be 1.3 plus all other Android Q
interfaces. So we are moving everything currently defined in
android.hardware.radio.V1_3 to android.hardware.radio.V1_4.
Bug: 117805040
Test: build and telephony unittest
Change-Id: I2c9bcf77ebfbda144bf184b43e196c1dd1ca466b
Merged-In: I2c9bcf77ebfbda144bf184b43e196c1dd1ca466b
Change expected value from INVALID to DEFAULT_SUSCRIPTION_ID
when caller wants to change back to user setting.
Correct spelling.
Bug: 118491136
Test: unittest
Change-Id: I0c953ba654d5465f973db6e9c7f7bacd5db23831
Merged-In: I0c953ba654d5465f973db6e9c7f7bacd5db23831
In SubscriptionManager, when onSubscriptionsChanged is called
when opportunistic subscriptions change, clear calling identity.
Otherwise mExecutor is executed with phone process identity
which can be a security issue.
Test: build
Bug: 117794788
Change-Id: I766cdc89f0421265cab00dc40d53f355deb7b92b
Merged-In: I766cdc89f0421265cab00dc40d53f355deb7b92b
add carrierId and preciseCarrierId in CarrierIdentifier
which will be passed to carrier service to decide which carrier
info to look up
Bug: 110559381
Change-Id: I1b4a44dd32148ebdf5aa437c5938cb89656c27c2
Merged-in: I1b4a44dd32148ebdf5aa437c5938cb89656c27c2
Add new key to hide Preset APN setting details. When the key is set to
true, Preset APN is still shown and selectable in APN list, however,
user cannot enter APN editor view. It means details of Preset APN will
be hidden from user.
Test: manual - check Preset APN setting details are hidden
Bug: 115453290
Change-Id: I8a5c6f92f876d349b304acf89b4ffab86ff3f24b
IApnSourceService#getApns now takes a subId argument, and can be
implemented by extending ApnService.
Bug: 113075153
Test: unit tests and manual
Change-Id: I0202c1f0529ecef558f06a9f8a90a3906912f2f0
Merged-In: I9cfcf977c20f33abd2d773393780f9e54d75fe21
Change JavaDoc in CarrierConfigManager.java. Clarify what format
string will be set and get from the key. Using ComponentName methods
to convert.
Bug: 118675660
Test: build success.
Change-Id: I47db5b665808ef7dbc9081e0112a04958497d6fd
This added the 5G FrequencyRange to the ServiceState and 5G connection
status to NetworkRegisterationState.
Bug: 111453000
Test: atest FrameworksTelephonyTests
Merged-In: Iee824b2cfd9b48b56d6541b6eef617d23677a873
Change-Id: Iee824b2cfd9b48b56d6541b6eef617d23677a873
This change fixes the RcsManager setup and adds an empty RcsThread class. Please see go/rcs-in-telephony-doc for details.
Test: Builds fine
Bug: 109759350
Merged-in: Ie3fe476ab11d515ffab6dcc6ccf5ec801a4c9057
Change-Id: Ie3fe476ab11d515ffab6dcc6ccf5ec801a4c9057
Add asynchronous calls to request CellInfo updates.
-Add a request for CellInfo
-Add a request for CellInfo that allows system apps
such as the LocationProvider to bill the work to
the app that initiated the location fix.
-Update the behavioral language for getAllCellInfo
to indicate that depending on the API level of the
caller, this API will only provide cached info, which
means that apps can always request an update without
possibly triggering a call to the modem. This also
means that the binder will not block due to modem
delay.
Bug: 37100068
Bug: 63737292
Bug: 26569588
Test: manual (via SL4A)
Change-Id: I25cbc3cecd5d396fc3baa21457c05cd6e273c9c3
SignalStrength contains a few hidden constants that
are identical to publicly exposed constants in
CellSignalStrength. Since the CellSignalStrength
values are public, redefine SignalStrength to point
to the public values and limit access to them
(since there is already a public alternative).
Bug: 30188945
Test: compilation
Change-Id: Ie7f295ef4d7849f7ce3a631cbdffe3d6670da5bd
This change uses the flatten component name instead of the separate
package name and class name for carrier settings activity.
Bug: 115429501
Test: Build
Merged-In: Ia531c3322183a2eba6962c8ee139c7854e2560ec
Change-Id: Ia531c3322183a2eba6962c8ee139c7854e2560ec
Removing an odd docstring from setPreferredNetworkType
that doesn't make any sense in the context.
Bug: 27295336
Test: compilation (docstring only change)
Change-Id: I9ed74c34970857c5b2f7c25a826f80872edee535
Test: Simulated and verified the new intend is used
Bug: 118658558
Bug: 115990430
Merged-in: I07a58d0fe1c34106b3da85d1dfd4576b40da4bd5
Change-Id: I07a58d0fe1c34106b3da85d1dfd4576b40da4bd5
(cherry picked from commit 349b9ba16f)
Support an Executor so that PhoneStateListener
can invoke callbacks not only on a user's preferred
Looper but also on a preferred Handler or in another
thread management scheme.
PhoneStateListener uses an odd pattern for its API,
so to support the historical use cases of having the
internal callback instance be instantiated during
object construction, the Executor needs to be passed
in to the PhoneStateListener during construction. This
also permits the listen() method in TelephonyManager to
avoid odd situations of having a version with an
Executor be passed in when requesting to stop listening
for events.
Bug: 118350385
Test: atest PhoneStateListenerTest
atest PhoneStateListenerExecutorTest
Change-Id: I8eeb2e156f6d67d192d17586e6aa5579ff6d675d