ConnectivityState (nee State) lived in SettingsLib because of the fact
that MobileMappings needed the MobileIconGroup class, which lived inside
of SignalIcon.java. The whole thing is a bit messy, but this CL moves
the state objects back into the connectivity package where they belong.
Also move MobileState and WifiState into their own kotlin classes.
Bug: 197851948
Test: atest SystemUITests
Change-Id: I2997c66dbffb5e44b8f53b9020cdeb8b614cea3b
Simplify MobileSignalController#notifyListeners() by splitting the QS
and SB portions of the method into their own *Info objects and moving
those calls out to their own methods.
Also adds mNetworkToIconLookup, mProviderModelBehavior, and
mProviderModelSetting to the MobileSignalController logs.
Test: dumpsys
Bug 197851948
Change-Id: Ibdaec230c4a407d23804fb8250809cc877a7f183
Merged-In: Ibdaec230c4a407d23804fb8250809cc877a7f183
Some variables were being created in
MobileSignalController#notifyListeners() that were just an aggregation
of a few fields on MobileState. This CL replaces those with method
calls on MobileState to clean things up and make them loggable from the
state.
Test: atest SystemUITests
Test: m -j RunSettingsLibRoboTests ROBOTEST_FILTER="com.android.settingslib.MobileStateTest"
Bug: 197851948
Change-Id: I06d5e56923897cddb53189359dc9444cdfee6e78
Merged-In: I06d5e56923897cddb53189359dc9444cdfee6e78
This resolves a TODO and removes unused fields
Test: atest SystemUITests
Bug: 197851948
Change-Id: I5e2eb4896966516f34980863e18b99368f395b20
Merged-In: I5e2eb4896966516f34980863e18b99368f395b20
This field was unused
Bug: 197851948
Test: atest SystemUITests
Change-Id: I116b5f639f601a99349ec60246f42d1f8ab83c6d
Merged-In: I116b5f639f601a99349ec60246f42d1f8ab83c6d