/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerSignalTest.java | 63 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 …]
|
D | NetworkControllerWifiTest.java | 178 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()
|
D | NetworkControllerBaseTest.java | 97 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()
|
D | NetworkControllerDataTest.java | 105 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/ |
D | CollapsedStatusBarFragment.java | 60 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()
|
D | StatusBarSignalPolicy.java | 51 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()
|
D | StatusBar.java | 588 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/ |
D | QSCarrierGroupController.java | 55 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/ |
D | QSCarrierGroupControllerTest.java | 63 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/ |
D | DataUsageController.java | 69 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/ |
D | CastTileTest.java | 69 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/ |
D | SignalController.java | 52 protected final NetworkControllerImpl mNetworkController; field in SignalController 64 mNetworkController = networkController; in SignalController()
|
D | MobileSignalController.java | 562 mNetworkController.recalculateEmergency(); in updateTelephony() 588 mCurrentState.defaultDataOff = mNetworkController.isDataControllerDisabled(); in checkDefaultData()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | CastTile.java | 65 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/ |
D | Dependency.java | 218 @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/ |
D | StatusBarTest.java | 214 @Mock private NetworkController mNetworkController; field in StatusBarTest 360 mNetworkController, in setup()
|