Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerSignalTest.java61 mNetworkController = new NetworkControllerImpl(mContext, mMockCm, mMockTm, mMockWm, mMockSm, in testNoIconWithoutMobile()
73 mNetworkController.mMobileSignalControllers.clear(); in testNoSimsIconPresent()
74 mNetworkController.updateNoSims(); in testNoSimsIconPresent()
82 mNetworkController.recalculateEmergency(); in testEmergencyOnly()
86 mNetworkController.recalculateEmergency(); in testEmergencyOnly()
94 mNetworkController.mLastServiceState = new ServiceState(); in testEmergencyOnlyNoSubscriptions()
95 mNetworkController.mLastServiceState.setEmergencyOnly(true); in testEmergencyOnlyNoSubscriptions()
96 mNetworkController.recalculateEmergency(); in testEmergencyOnlyNoSubscriptions()
104 mNetworkController.recalculateEmergency(); in testNoEmergencyOnlyWrongSubscription()
112 mNetworkController.mLastServiceState = new ServiceState(); in testNoEmengencyNoSubscriptions()
[all …]
DNetworkControllerBaseTest.java84 protected NetworkControllerImpl mNetworkController; field in NetworkControllerBaseTest
111 mNetworkController.dump(null, pw, null);
152 mNetworkController = new NetworkControllerImpl(mContext, mMockCm, mMockTm, mMockWm, mMockSm, in setUp()
160 mNetworkController.addCallback(mock(SignalCallback.class)); in setUp()
161 mNetworkController.addEmergencyListener(null); in setUp()
170 mMobileSignalController = mNetworkController.mMobileSignalControllers.get(mSubId); in setupNetworkController()
195 mNetworkController.doUpdateMobileControllers(); in setSubscriptions()
234 mNetworkController.onReceive(mContext, i); in setConnectivityViaBroadcast()
461 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()
243 mNetworkController.handleConfigurationChanged(); in testAlwaysShowDataRatIcon()
259 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()
139 if (mNetworkController.hasEmergencyCryptKeeperText()) { in onDestroyView()
140 mNetworkController.removeCallback(mSignalCallback); in onDestroyView()
219 if (mNetworkController != null && EncryptionHelper.IS_DATA_ENCRYPTED) { in adjustDisableFlags()
220 if (mNetworkController.hasEmergencyCryptKeeperText()) { in adjustDisableFlags()
223 if (!mNetworkController.isRadioOn()) { in adjustDisableFlags()
357 if (mNetworkController.hasEmergencyCryptKeeperText()) { in initEmergencyCryptkeeperText()
361 mNetworkController.addCallback(mSignalCallback); in initEmergencyCryptkeeperText()
DStatusBar.java542 private NetworkController mNetworkController; field in StatusBar
622 mNetworkController = Dependency.get(NetworkController.class); in start()
2897 if (mNetworkController != null && (modeChange || command.equals(COMMAND_NETWORK))) { in dispatchDemoCommand()
2898 mNetworkController.dispatchDemoCommand(command, args); in dispatchDemoCommand()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSCarrierGroup.java53 private final NetworkController mNetworkController; field in QSCarrierGroup
67 mNetworkController = networkController; in QSCarrierGroup()
124 if (mNetworkController.hasVoiceCallingFeature()) { in updateListeners()
125 mNetworkController.addCallback(this); in updateListeners()
129 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.java51 protected final NetworkControllerImpl mNetworkController; field in SignalController
63 mNetworkController = networkController; in SignalController()
DMobileSignalController.java500 mNetworkController.recalculateEmergency(); in updateTelephony()
/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.java207 @Inject Lazy<NetworkController> mNetworkController; field in Dependency
330 mProviders.put(NetworkController.class, mNetworkController::get); in start()