Home
last modified time | relevance | path

Searched refs:mNetworkController (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerSignalTest.java62 mNetworkController = new NetworkControllerImpl(mContext, mMockCm, mMockTm, mMockWm, mMockSm, in testNoIconWithoutMobile()
74 mNetworkController.mMobileSignalControllers.clear(); in testNoSimsIconPresent()
75 mNetworkController.updateNoSims(); in testNoSimsIconPresent()
83 mNetworkController.recalculateEmergency(); in testEmergencyOnly()
87 mNetworkController.recalculateEmergency(); in testEmergencyOnly()
95 mNetworkController.mLastServiceState = new ServiceState(); in testEmergencyOnlyNoSubscriptions()
96 mNetworkController.mLastServiceState.setEmergencyOnly(true); in testEmergencyOnlyNoSubscriptions()
97 mNetworkController.recalculateEmergency(); in testEmergencyOnlyNoSubscriptions()
105 mNetworkController.recalculateEmergency(); in testNoEmergencyOnlyWrongSubscription()
113 mNetworkController.mLastServiceState = new ServiceState(); in testNoEmengencyNoSubscriptions()
[all …]
DNetworkControllerBaseTest.java92 protected NetworkControllerImpl mNetworkController; field in NetworkControllerBaseTest
121 mNetworkController.dump(null, pw, null);
164 mNetworkController = new NetworkControllerImpl(mContext, mMockCm, mMockTm, mMockWm, mMockSm, in setUp()
172 mNetworkController.addCallback(mock(SignalCallback.class)); in setUp()
173 mNetworkController.addEmergencyListener(null); in setUp()
182 mMobileSignalController = mNetworkController.mMobileSignalControllers.get(mSubId); in setupNetworkController()
208 mNetworkController.doUpdateMobileControllers(); in setSubscriptions()
242 mNetworkController.onReceive(mContext, i); in setConnectivityViaBroadcast()
478 assertEquals("Data network name", expected, mNetworkController.getMobileDataNetworkName()); in assertDataNetworkNameEquals()
DNetworkControllerWifiTest.java174 mNetworkController.mWifiSignalController.setActivity(activity); in setWifiActivity()
184 mNetworkController.onReceive(mContext, i); in setWifiLevel()
190 mNetworkController.onReceive(mContext, new Intent(WifiManager.WIFI_STATE_CHANGED_ACTION)); in setWifiEnabled()
203 mNetworkController.onReceive(mContext, i); in setWifiState()
DNetworkControllerDataTest.java105 mNetworkController = new NetworkControllerImpl(mContext, mMockCm, mMockTm, mMockWm, mMockSm, in test4gDataIcon()
202 mNetworkController.handleConfigurationChanged(); in testAlwaysShowDataRatIcon()
218 mNetworkController.handleConfigurationChanged(); in test4gDataIconConfigChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCollapsedStatusBarFragment.java61 private NetworkController mNetworkController; field in CollapsedStatusBarFragment
83 mNetworkController = Dependency.get(NetworkController.class); in onCreate()
140 if (mNetworkController.hasEmergencyCryptKeeperText()) { in onDestroyView()
141 mNetworkController.removeCallback(mSignalCallback); in onDestroyView()
221 if (mNetworkController != null && EncryptionHelper.IS_DATA_ENCRYPTED) { in adjustDisableFlags()
222 if (mNetworkController.hasEmergencyCryptKeeperText()) { in adjustDisableFlags()
225 if (!mNetworkController.isRadioOn()) { in adjustDisableFlags()
359 if (mNetworkController.hasEmergencyCryptKeeperText()) { in initEmergencyCryptkeeperText()
363 mNetworkController.addCallback(mSignalCallback); in initEmergencyCryptkeeperText()
DStatusBarSignalPolicy.java51 private final NetworkController mNetworkController; field in StatusBarSignalPolicy
80 mNetworkController = Dependency.get(NetworkController.class); in StatusBarSignalPolicy()
84 mNetworkController.addCallback(this); in StatusBarSignalPolicy()
90 mNetworkController.removeCallback(this); in destroy()
133 mNetworkController.removeCallback(this); in onTuningChanged()
134 mNetworkController.addCallback(this); in onTuningChanged()
DStatusBar.java560 protected NetworkController mNetworkController; field in StatusBar
1125 mNetworkController = Dependency.get(NetworkController.class); in getDependencies()
3003 if (mNetworkController != null && (modeChange || command.equals(COMMAND_NETWORK))) { in dispatchDemoCommand()
3004 mNetworkController.dispatchDemoCommand(command, args); in dispatchDemoCommand()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSCarrierGroup.java54 private final NetworkController mNetworkController; field in QSCarrierGroup
69 mNetworkController = networkController; in QSCarrierGroup()
129 if (mNetworkController.hasVoiceCallingFeature()) { in updateListeners()
130 mNetworkController.addCallback(this); in updateListeners()
134 mNetworkController.removeCallback(this); in updateListeners()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DCastTileTest.java69 private NetworkController mNetworkController; field in CastTileTest
87 mNetworkController = mDependency.injectMockDependency(NetworkController.class); in setUp()
91 mCastTile = new CastTile(mHost, mController, mKeyguard, mNetworkController, in setUp()
101 verify(mNetworkController).observe(any(LifecycleOwner.class), in setUp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java69 private NetworkNameProvider mNetworkController; field in DataUsageController
83 mNetworkController = networkController; in setNetworkController()
154 if (usage != null && mNetworkController != null) { in getDataUsageInfo()
155 usage.carrier = mNetworkController.getMobileDataNetworkName(); in getDataUsageInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSignalController.java52 protected final NetworkControllerImpl mNetworkController; field in SignalController
64 mNetworkController = networkController; in SignalController()
DMobileSignalController.java562 mNetworkController.recalculateEmergency(); in updateTelephony()
588 mCurrentState.defaultDataOff = mNetworkController.isDataControllerDisabled(); in checkDefaultData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DCastTile.java65 private final NetworkController mNetworkController; field in CastTile
78 mNetworkController = networkController; in CastTile()
82 mNetworkController.observe(this, mSignalCallback); in CastTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java201 @Inject Lazy<NetworkController> mNetworkController; field in Dependency
335 mProviders.put(NetworkController.class, mNetworkController::get); in start()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBar.java417 mNetworkController = Dependency.get(NetworkController.class); in getDependencies()