Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerSignalTest.java66 mNetworkController = new NetworkControllerImpl(mContext, mMockCm, mMockTm, in testNoIconWithoutMobile()
87 mNetworkController = new NetworkControllerImpl(mContext, mMockCm, mMockTm, in testServiceStateInitialState()
94 mNetworkController.registerListeners(); in testServiceStateInitialState()
106 mNetworkController.mMobileSignalControllers.clear(); in testNoSimsIconPresent()
107 mNetworkController.updateNoSims(); in testNoSimsIconPresent()
115 mNetworkController.recalculateEmergency(); in testEmergencyOnly()
119 mNetworkController.recalculateEmergency(); in testEmergencyOnly()
127 mNetworkController.mLastServiceState = new ServiceState(); in testEmergencyOnlyNoSubscriptions()
128 mNetworkController.mLastServiceState.setEmergencyOnly(true); in testEmergencyOnlyNoSubscriptions()
129 mNetworkController.recalculateEmergency(); in testEmergencyOnlyNoSubscriptions()
[all …]
DNetworkControllerWifiTest.java208 mNetworkController.mWifiSignalController.fetchInitialState(); in testFetchInitialData()
225 mNetworkController.mWifiSignalController.fetchInitialState(); in testFetchInitialData_correctValues()
227 assertTrue(mNetworkController.mWifiSignalController.mCurrentState.enabled); in testFetchInitialData_correctValues()
228 assertTrue(mNetworkController.mWifiSignalController.mCurrentState.connected); in testFetchInitialData_correctValues()
229 assertEquals(testSsid, mNetworkController.mWifiSignalController.mCurrentState.ssid); in testFetchInitialData_correctValues()
238 mNetworkController.setNoNetworksAvailable(false); in testVcnWithUnderlyingWifi()
243 mNetworkController.setNoNetworksAvailable(true); in testVcnWithUnderlyingWifi()
297 mNetworkController.mWifiSignalController.setActivity(activity); in setWifiActivity()
313 mNetworkController.onReceive(mContext, new Intent(WifiManager.WIFI_STATE_CHANGED_ACTION)); in setWifiEnabled()
DNetworkControllerDataTest.java111 mNetworkController = new NetworkControllerImpl(mContext, mMockCm, mMockTm, in test4gDataIcon()
216 mNetworkController.handleConfigurationChanged(); in testAlwaysShowDataRatIcon()
235 mNetworkController.handleConfigurationChanged(); in test4gDataIconConfigChange()
282 assertTrue(mNetworkController.isMobileDataNetworkInService()); in testIsDataInService_true()
287 assertFalse(mNetworkController.isMobileDataNetworkInService()); in testIsDataInService_noSignal_false()
295 assertFalse(mNetworkController.isMobileDataNetworkInService()); in testIsDataInService_notInService_false()
DNetworkControllerBaseTest.java109 protected NetworkControllerImpl mNetworkController; field in NetworkControllerBaseTest
146 if (mNetworkController == null) {
153 mNetworkController.dump(null, pw, null);
227 mNetworkController = new NetworkControllerImpl(mContext, in setUp()
252 mNetworkController.addCallback(mock(SignalCallback.class)); in setUp()
253 mNetworkController.addEmergencyListener(null); in setUp()
269 mMobileSignalController = mNetworkController.mMobileSignalControllers.get(mSubId); in setupNetworkController()
302 mNetworkController.doUpdateMobileControllers(); in setSubscriptions()
653 assertEquals("Data network name", expected, mNetworkController.getMobileDataNetworkName()); in assertDataNetworkNameEquals()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCollapsedStatusBarFragment.java80 private final NetworkController mNetworkController; field in CollapsedStatusBarFragment
136 mNetworkController = networkController; in CollapsedStatusBarFragment()
206 if (mNetworkController.hasEmergencyCryptKeeperText()) { in onDestroyView()
207 mNetworkController.removeCallback(mSignalCallback); in onDestroyView()
291 if (mNetworkController != null && EncryptionHelper.IS_DATA_ENCRYPTED) { in adjustDisableFlags()
292 if (mNetworkController.hasEmergencyCryptKeeperText()) { in adjustDisableFlags()
295 if (!mNetworkController.isRadioOn()) { in adjustDisableFlags()
476 if (mNetworkController.hasEmergencyCryptKeeperText()) { in initEmergencyCryptkeeperText()
480 mNetworkController.addCallback(mSignalCallback); in initEmergencyCryptkeeperText()
DStatusBarSignalPolicy.java62 private final NetworkController mNetworkController; field in StatusBarSignalPolicy
100 mNetworkController = networkController; in StatusBarSignalPolicy()
117 mNetworkController.addCallback(this); in StatusBarSignalPolicy()
123 mNetworkController.removeCallback(this); in destroy()
166 mNetworkController.removeCallback(this); in onTuningChanged()
167 mNetworkController.addCallback(this); in onTuningChanged()
DStatusBar.java653 private final NetworkController mNetworkController; field in StatusBar
844 mNetworkController = networkController; in StatusBar()
1199 mNetworkController, in makeStatusBarView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/carrier/
DQSCarrierGroupController.java63 private final NetworkController mNetworkController; field in QSCarrierGroupController
227 mNetworkController = networkController; in QSCarrierGroupController()
324 if (mNetworkController.hasVoiceCallingFeature()) { in updateListeners()
325 mNetworkController.addCallback(mSignalCallback); in updateListeners()
329 mNetworkController.removeCallback(mSignalCallback); in updateListeners()
463 private final NetworkController mNetworkController; field in QSCarrierGroupController.Builder
479 mNetworkController = networkController; in Builder()
494 mNetworkController, mCarrierTextControllerBuilder, mContext, in build()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java67 private NetworkNameProvider mNetworkController; field in DataUsageController
80 mNetworkController = networkController; in setNetworkController()
152 if (usage != null && mNetworkController != null) { in getDataUsageInfo()
153 usage.carrier = mNetworkController.getMobileDataNetworkName(); in getDataUsageInfo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/carrier/
DQSCarrierGroupControllerTest.java67 private NetworkController mNetworkController; field in QSCarrierGroupControllerTest
94 when(mNetworkController.hasVoiceCallingFeature()).thenReturn(true); in setup()
96 .when(mNetworkController) in setup()
120 mNetworkController, mCarrierTextControllerBuilder, mContext, mCarrierConfigTracker, in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DWifiSignalController.java119 if (mCurrentState.isDefault || (!mNetworkController.isRadioOn() in notifyListenersForNonCarrierWifi()
120 && !mNetworkController.isEthernetDefault())) { in notifyListenersForNonCarrierWifi()
171 mNetworkController.getNetworkNameForCarrierWiFi(mCurrentState.subId); in notifyListenersForCarrierWifi()
241 mNetworkController.notifyWifiLevelChange(level); in notifyWifiLevelChangeIfNecessary()
DSignalController.java56 protected final NetworkControllerImpl mNetworkController; field in SignalController
68 mNetworkController = networkController; in SignalController()
DMobileSignalController.java372 if (mNetworkController.isCarrierMergedWifi(mSubscriptionInfo.getSubscriptionId())) { in notifyListeners()
635 return mNetworkController.hasDefaultNetwork() in hideNoCalling()
729 mNetworkController.notifyDefaultMobileLevelChange(newLevel); in notifyMobileLevelChangeIfNecessary()
783 mNetworkController.recalculateEmergency(); in updateTelephony()
809 mCurrentState.defaultDataOff = mNetworkController.isDataControllerDisabled(); in checkDefaultData()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCollapsedStatusBarFragmentTest.java66 private NetworkController mNetworkController; field in CollapsedStatusBarFragmentTest
237 mNetworkController = mock(NetworkController.class); in instantiate()
249 mNetworkController, in instantiate()
DStatusBarTest.java231 @Mock private NetworkController mNetworkController; field in StatusBarTest
393 mNetworkController, in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DCastTileTest.java75 private NetworkController mNetworkController; field in CastTileTest
112 mNetworkController, in setUp()
126 verify(mNetworkController).observe(any(LifecycleOwner.class), in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DCastTile.java76 private final NetworkController mNetworkController; field in CastTile
102 mNetworkController = networkController; in CastTile()
105 mNetworkController.observe(this, mSignalCallback); in CastTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java249 @Inject Lazy<NetworkController> mNetworkController; field in Dependency
396 mProviders.put(NetworkController.class, mNetworkController::get); in start()