Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerSignalTest.java63 mNetworkController = new NetworkControllerImpl(mContext, mMockCm, mMockTm, mMockWm, in testNoIconWithoutMobile()
81 mNetworkController = new NetworkControllerImpl(mContext, mMockCm, mMockTm, mMockWm, in testServiceStateInitialState()
85 mNetworkController.registerListeners(); in testServiceStateInitialState()
97 mNetworkController.mMobileSignalControllers.clear(); in testNoSimsIconPresent()
98 mNetworkController.updateNoSims(); in testNoSimsIconPresent()
106 mNetworkController.recalculateEmergency(); in testEmergencyOnly()
110 mNetworkController.recalculateEmergency(); in testEmergencyOnly()
118 mNetworkController.mLastServiceState = new ServiceState(); in testEmergencyOnlyNoSubscriptions()
119 mNetworkController.mLastServiceState.setEmergencyOnly(true); in testEmergencyOnlyNoSubscriptions()
120 mNetworkController.recalculateEmergency(); in testEmergencyOnlyNoSubscriptions()
[all …]
DNetworkControllerWifiTest.java178 mNetworkController.mWifiSignalController.fetchInitialState(); in testFetchInitialData()
195 mNetworkController.mWifiSignalController.fetchInitialState(); in testFetchInitialData_correctValues()
197 assertTrue(mNetworkController.mWifiSignalController.mCurrentState.enabled); in testFetchInitialData_correctValues()
198 assertTrue(mNetworkController.mWifiSignalController.mCurrentState.connected); in testFetchInitialData_correctValues()
199 assertEquals(testSsid, mNetworkController.mWifiSignalController.mCurrentState.ssid); in testFetchInitialData_correctValues()
204 mNetworkController.mWifiSignalController.setActivity(activity); in setWifiActivity()
214 mNetworkController.onReceive(mContext, i); in setWifiLevel()
220 mNetworkController.onReceive(mContext, new Intent(WifiManager.WIFI_STATE_CHANGED_ACTION)); in setWifiEnabled()
233 mNetworkController.onReceive(mContext, i); in setWifiState()
DNetworkControllerBaseTest.java97 protected NetworkControllerImpl mNetworkController; field in NetworkControllerBaseTest
128 if (mNetworkController == null) {
135 mNetworkController.dump(null, pw, null);
203 mNetworkController = new NetworkControllerImpl(mContext, mMockCm, mMockTm, mMockWm, in setUp()
211 mNetworkController.addCallback(mock(SignalCallback.class)); in setUp()
212 mNetworkController.addEmergencyListener(null); in setUp()
221 mMobileSignalController = mNetworkController.mMobileSignalControllers.get(mSubId); in setupNetworkController()
247 mNetworkController.doUpdateMobileControllers(); in setSubscriptions()
280 mNetworkController.onReceive(mContext, i); in setConnectivityViaBroadcast()
525 assertEquals("Data network name", expected, mNetworkController.getMobileDataNetworkName()); in assertDataNetworkNameEquals()
DNetworkControllerDataTest.java105 mNetworkController = new NetworkControllerImpl(mContext, mMockCm, mMockTm, mMockWm, in test4gDataIcon()
202 mNetworkController.handleConfigurationChanged(); in testAlwaysShowDataRatIcon()
218 mNetworkController.handleConfigurationChanged(); in test4gDataIconConfigChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCollapsedStatusBarFragment.java60 private NetworkController mNetworkController; field in CollapsedStatusBarFragment
82 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.java588 private final NetworkController mNetworkController; field in StatusBar
756 mNetworkController = networkController; in StatusBar()
3090 if (mNetworkController != null && (modeChange || command.equals(COMMAND_NETWORK))) { in dispatchDemoCommand()
3091 mNetworkController.dispatchDemoCommand(command, args); in dispatchDemoCommand()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/carrier/
DQSCarrierGroupController.java55 private final NetworkController mNetworkController; field in QSCarrierGroupController
124 mNetworkController = networkController; in QSCarrierGroupController()
185 if (mNetworkController.hasVoiceCallingFeature()) { in updateListeners()
186 mNetworkController.addCallback(mSignalCallback); in updateListeners()
190 mNetworkController.removeCallback(mSignalCallback); in updateListeners()
306 private final NetworkController mNetworkController; field in QSCarrierGroupController.Builder
316 mNetworkController = networkController; in Builder()
327 mNetworkController, mCarrierTextControllerBuilder); in build()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/carrier/
DQSCarrierGroupControllerTest.java63 private NetworkController mNetworkController; field in QSCarrierGroupControllerTest
77 when(mNetworkController.hasVoiceCallingFeature()).thenReturn(true); in setup()
79 .when(mNetworkController) in setup()
101 mNetworkController, mCarrierTextControllerBuilder) 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/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/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
79 mNetworkController = networkController; in CastTile()
83 mNetworkController.observe(this, mSignalCallback); in CastTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java218 @Inject Lazy<NetworkController> mNetworkController; field in Dependency
352 mProviders.put(NetworkController.class, mNetworkController::get); in start()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java214 @Mock private NetworkController mNetworkController; field in StatusBarTest
360 mNetworkController, in setup()