Home
last modified time | relevance | path

Searched refs:mInternetDialogController (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogDelegateControllerTest.java190 private InternetDialogController mInternetDialogController; field in InternetDialogDelegateControllerTest
230 mInternetDialogController = new InternetDialogController(mContext, in setUp()
238 mInternetDialogController.mOnSubscriptionsChangedListener); in setUp()
239 mInternetDialogController.onStart(mInternetDialogCallback, true); in setUp()
240 mInternetDialogController.onAccessPointsChanged(mAccessPoints); in setUp()
241 mInternetDialogController.mActivityStarter = mActivityStarter; in setUp()
242 mInternetDialogController.mWifiIconInjector = mWifiIconInjector; in setUp()
272 mInternetDialogController.connectCarrierNetwork(); in connectCarrierNetwork_mergedCarrierEntryCanConnect_connectAndCreateSysUiToast()
285 mInternetDialogController.connectCarrierNetwork(); in connectCarrierNetwork_mergedCarrierEntryCanConnect_doNothingWhenSettingsOff()
299 mInternetDialogController.connectCarrierNetwork(); in connectCarrierNetwork_mergedCarrierEntryCanConnect_doNothingWhenKeyguardLocked()
[all …]
DInternetDialogDelegateTest.java81 private InternetDialogController mInternetDialogController; field in InternetDialogDelegateTest
119 when(mInternetDialogController.getMobileNetworkTitle(anyInt())) in setUp()
121 when(mInternetDialogController.getMobileNetworkSummary(anyInt())) in setUp()
123 when(mInternetDialogController.isWifiEnabled()).thenReturn(true); in setUp()
138 mInternetDialogController, in createInternetDialog()
193 when(mInternetDialogController.isAirplaneModeEnabled()).thenReturn(true); in updateDialog_withApmOn_internetDialogSubTitleGone()
202 when(mInternetDialogController.isAirplaneModeEnabled()).thenReturn(false); in updateDialog_withApmOff_internetDialogSubTitleVisible()
211 when(mInternetDialogController.isAirplaneModeEnabled()).thenReturn(false); in updateDialog_apmOffAndHasEthernet_showEthernet()
212 when(mInternetDialogController.hasEthernet()).thenReturn(true); in updateDialog_apmOffAndHasEthernet_showEthernet()
221 when(mInternetDialogController.isAirplaneModeEnabled()).thenReturn(false); in updateDialog_apmOffAndNoEthernet_hideEthernet()
[all …]
DInternetAdapterTest.java65 private InternetDialogController mInternetDialogController; field in InternetAdapterTest
88 mInternetAdapter = new InternetAdapter(mInternetDialogController, mScope); in setUp()
126 when(mInternetDialogController.getWifiDrawable(any())).thenReturn(null); in onBindViewHolder_getWifiDrawableNull_noCrash()
135 when(mInternetDialogController.getWifiDrawable(any())).thenReturn(mWifiDrawable); in onBindViewHolder_getWifiDrawableNotNull_setWifiIconDrawable()
243 verify(mInternetDialogController).connect(mWifiEntry); in viewHolderOnWifiClick_wifiCanConnect_connectWifi()
253 verify(mInternetDialogController).launchWifiDetailsSetting(anyString(), any()); in viewHolderOnWifiClick_wifiCanNotConnectButIsSaved_launchWifiDetailsSetting()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogDelegate.java117 private final InternetDialogController mInternetDialogController; field in InternetDialogDelegate
206 mInternetDialogController = internetDialogController; in InternetDialogDelegate()
207 mDefaultDataSubId = mInternetDialogController.getDefaultDataSubscriptionId(); in InternetDialogDelegate()
208 mTelephonyManager = mInternetDialogController.getTelephonyManager(); in InternetDialogDelegate()
216 mAdapter = new InternetAdapter(mInternetDialogController, coroutineScope); in InternetDialogDelegate()
287 mInternetDialogController.isAirplaneModeEnabled() ? View.VISIBLE : View.GONE); in onCreate()
297 mInternetDialogController.onStart(this, mCanConfigWifi); in onStart()
328 mInternetDialogController.onStop(); in onStop()
357 mInternetDialogController.isAirplaneModeEnabled() ? View.VISIBLE : View.GONE); in updateDialog()
361 setMobileDataLayout(mInternetDialogController.activeNetworkIsCellular(), in updateDialog()
[all …]
DInternetAdapter.java57 private final InternetDialogController mInternetDialogController; field in InternetAdapter
70 mInternetDialogController = controller; in InternetAdapter()
80 return new InternetViewHolder(mHolderView, mInternetDialogController, mCoroutineScope); in onCreateViewHolder()
140 final InternetDialogController mInternetDialogController; field in InternetAdapter.InternetViewHolder
149 mInternetDialogController = internetDialogController; in InternetViewHolder()
172 v -> mInternetDialogController.launchWifiDetailsSetting( in onBind()
196 mInternetDialogController.startActivity(intent, view); in onWifiClick()
219 mInternetDialogController.connect(wifiEntry); in wifiConnect()
226 mInternetDialogController.launchWifiDetailsSetting(wifiEntry.getKey(), view); in wifiConnect()
242 Drawable drawable = mInternetDialogController.getWifiDrawable(wifiEntry); in getWifiDrawable()
DInternetDialogController.java1087 final InternetDialogController mInternetDialogController;
1093 mInternetDialogController = internetDialogController;
1108 mInternetDialogController.makeOverlayToast(R.string.wifi_failed_connect_message);