Home
last modified time | relevance | path

Searched refs:mEuiccManager (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/simstatus/
DSimStatusDialogControllerTest.java102 private EuiccManager mEuiccManager; field in SimStatusDialogControllerTest
132 when(mContext.getSystemService(EuiccManager.class)).thenReturn(mEuiccManager); in setup()
157 when(mEuiccManager.isEnabled()).thenReturn(false); in setup()
158 when(mEuiccManager.getEid()).thenReturn(""); in setup()
159 when(mEuiccManager.createForCardId(anyInt())).thenReturn(mEuiccManager); in setup()
409 when(mEuiccManager.isEnabled()).thenReturn(true); in initialize_updateEid_shouldNotSetEid()
410 when(mEuiccManager.getEid()).thenReturn(null); in initialize_updateEid_shouldNotSetEid()
449 when(mEuiccManager.isEnabled()).thenReturn(true); in initialize_updateEid_shouldSetEidFromCard()
450 when(mEuiccManager.getEid()).thenReturn(TEST_EID_FROM_MANAGER); in initialize_updateEid_shouldSetEidFromCard()
451 when(mEuiccManager.createForCardId(0)).thenReturn(mEuiccManager); in initialize_updateEid_shouldSetEidFromCard()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DMobileNetworkSummaryControllerTest.java73 private EuiccManager mEuiccManager; field in MobileNetworkSummaryControllerTest
89 doReturn(mEuiccManager).when(mContext).getSystemService(EuiccManager.class); in setUp()
94 when(mEuiccManager.isEnabled()).thenReturn(true); in setUp()
141 when(mEuiccManager.isEnabled()).thenReturn(false); in getSummary_noSubscriptionsNoEuiccMgr_correctSummaryAndClickHandler()
312 when(mEuiccManager.isEnabled()).thenReturn(false); in addButton_noSubscriptionsNoEuiccMgr_noAddClickListener()
320 when(mEuiccManager.isEnabled()).thenReturn(false); in addButton_oneSubscriptionNoEuiccMgr_noAddClickListener()
388 when(mEuiccManager.isEnabled()).thenReturn(false); in onResume_noSubscriptionEsimDisabled_isDisabled()
DMobileNetworkListControllerTest.java64 private EuiccManager mEuiccManager; field in MobileNetworkListControllerTest
83 when(mContext.getSystemService(EuiccManager.class)).thenReturn(mEuiccManager); in setUp()
108 when(mEuiccManager.isEnabled()).thenReturn(false); in displayPreference_eSimNotSupported_addMoreLinkNotVisible()
117 when(mEuiccManager.isEnabled()).thenReturn(true); in displayPreference_eSimSupported_addMoreLinkIsVisible()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DEuiccOperationSidecar.java47 protected EuiccManager mEuiccManager; field in EuiccOperationSidecar
109 mEuiccManager = getContext().getSystemService(EuiccManager.class); in onCreate()
DDeleteEuiccSubscriptionSidecar.java75 mEuiccManager.deleteSubscription(subscription.getSubscriptionId(), intent); in deleteSubscription()
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/
DSimStatusDialogController.java155 private final EuiccManager mEuiccManager; field in SimStatusDialogController
221 mEuiccManager = mContext.getSystemService(EuiccManager.class); in SimStatusDialogController()
639 eid = mEuiccManager.createForCardId(info.getCardId()).getEid(); in getEid()
646 } else if (mEuiccManager.isEnabled()) { in getEid()
649 eid = mEuiccManager.getEid(); in getEid()
/packages/apps/Settings/src/com/android/settings/network/
DSwitchToEuiccSubscriptionSidecar.java53 mEuiccManager.switchToSubscription(subscriptionId, mCallbackIntent); in run()