Add the APIs in SubscriptionInfo/SubscriptionManager to
set and to get the Usage Setting.
Bug: 210023167
Test: atest SubscriptionControllerTest#testUsageSettingProperty
Change-Id: I515700ac0a7731c80002eee13d466c28c977f419
Migrate the following unsafe parcel APIs in framework-minus-apex:
* Parcel.readSerializable()
* Parcel.readArrayList()
* Parcel.readList()
* Parcel.readParcelable()
* Parcel.readParcelableList()
* Parcel.readSparseArray()
This CL was generated by applying lint fixes that infer the expected
type from the caller code and provide that as the type parameter
(ag/16365240).
A few observations:
* In some classes we couldn't migrate because the class also belonged to
another build module whose min SDK wasn't current (as is the case for
framework-minus-apex), hence I suppressed the lint check
(since I'll eventually submit the lint check to the tree).
* In some cases, I needed to do the cast in
https://stackoverflow.com/a/1080525/5765705 to make the compiler happy
since there isn't another way of providing a class of type
Class<MyClassWithGenerics<T>>.
* In the readSerializable() case, the new API also requires the class
loader, that was inferred to by InferredClass.class.getClassLoader().
* Note that automatic formatting and import rely on running hooked up
to the IDE, which wasn't the case here.
Bug: 195622897
Test: TH passes
Change-Id: I11a27b9bdab7959ee86e90aa1e1cbebd7aaf883c
Provide the temporary command line tool to check whether new
data stack is enabled or not.
Bug: 196597630
Test: adb shell cmd phone get-data-mode
Change-Id: I9f95e7424e6e74af12a0f6780a58fb5732df7300
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: I15f920024d3ca3e630d16900e341ff41ee13d7d9
Provide last known cell id to connection service
for emergency calls.
Bug: 198533763
Test: unit test
Change-Id: I8b660c0b5fbe095e3b9b67129b7404ebd7ec5ccd
Modified logic to retrieve phoneId based on the slot index and port index as well.
Test: build
Bug: 199559346
Change-Id: I98036645023bd7ba12475d4a06ce64287401471b
registerImsStateCallback and unregisterImsStateCallback are
added to ImsMmTelManager, ImsRcsManager, and SipDelegateManager.
Those are used to receive updates about the connection state
of the underlying ImsService.
Bug: 178016400
Test: atest ImsStateCallbackTest
Change-Id: If547ce637725d4f98942b0b554187a0ba91f60de
Merged-In: If547ce637725d4f98942b0b554187a0ba91f60de
Merged-In: I3ac14cc3bcb28f5f966a1b3c215727784527e475
Newly added UiccPortInfo and UiccSlotMapping classes and introduced
UiccPortInfo as a port list in UiccCardInfo and UiccSlotInfo,
Deprecated some constructors and updated callers.
Test: build
Bug: 159354974
Change-Id: I71e4e1ef649b7301d126dde23d53783761de940f
Allow user to enable or disable voice over NR.
Bug: 190668235
Test: verified using settings UI
Change-Id: I655dc93c0b213e1b85b29b9a168f99072ca82186
Merged-In: I655dc93c0b213e1b85b29b9a168f99072ca82186
Add a parameter, String callingPackage, to send the pakage name of the client.
With this, we can see what apps have listeners for which features.
Bug: 178016400
Test: atest
Change-Id: I3ac14cc3bcb28f5f966a1b3c215727784527e475
registerImsStateCallback and unregisterImsStateCallback are
added to ImsMmTelManager, ImsRcsManager, and SipDelegateManager.
Those are used to receive updates about the connection state
of the underlying ImsService.
Bug: 178016400
Test: atest FrameworksTelephonyTests:ImsStateCallbackTest
Change-Id: If547ce637725d4f98942b0b554187a0ba91f60de
The feature is now replaced with TM#setSignalStrengthUpdateRequest
introduced in S release. The logic for the obsoleted feature is
cleared up.
The request to report system signal strength while idle is
still protected by permission to use internally.
Bug: 177924721
Test: atest TelephonyRegistryTest SignalStrengthUpdateRequestTest
Change-Id: Idad4ca59720fac50b5ec0fe50e2b6ac8e9dbb801
Some OEMs use test SIMs which have ICCID=FFFFFFF... In this case we
don't strip trailing F's.
Bug: 199254579
Test: manual
Change-Id: I69b40fa75e59163e8c30be77cc38e908d6dd8cd4
Warnings from using untyped List/Map. For now these List/Map can't be
migrated to typed ones because AIDL List/Map doesn't support Integer as
key/value types.
Bug: 192615532
Test: m
Change-Id: If55364b4ad4dc5660871f7eef051e12ec0399a70