Searched refs:getSimCount (Results 1 – 13 of 13) sorted by relevance
102 when(mMockTelephonyManager.getSimCount()).thenReturn(1); in setUp()138 when(mMockTelephonyManager.getSimCount()).thenReturn(2); in onStart_multiSim_registersObserver()198 when(mMockTelephonyManager.getSimCount()).thenReturn(2); in handlePreferenceChanged_setFalse_isMultiSim_disablesData()208 when(mMockTelephonyManager.getSimCount()).thenReturn(2); in handlePreferenceChanged_setFalse_isMultiSim_setsUnchecked()241 when(mMockTelephonyManager.getSimCount()).thenReturn(2); in handlePreferenceChanged_setTrue_isMultiSim_noOtherSimActive_enablesData()250 when(mMockTelephonyManager.getSimCount()).thenReturn(2); in handlePreferenceChanged_setTrue_isMultiSim_noOtherSimActive_setsChecked()264 when(mMockTelephonyManager.getSimCount()).thenReturn(2); in handlePreferenceChanged_setTrue_isMultiSim_otherSimActive_opensDialog()326 when(mMockTelephonyManager.getSimCount()).thenReturn(2); in enableMutliSimDialog_onConfirm_enablesData()354 when(mMockTelephonyManager.getSimCount()).thenReturn(2); in enableMutliSimDialog_onConfirm_setsChecked()
101 when(mMockTelephonyManager.getSimCount()).thenReturn(1); in setUp()136 when(mMockTelephonyManager.getSimCount()).thenReturn(2); in onStart_registerObserver_additionalSubId()
133 when(mTelephonyManager.getSimCount()).thenReturn(1); in setUp()330 when(mTelephonyManager.getSimCount()).thenReturn(2); in onStart_multiSim_registersObserver()
137 boolean isMultiSim = (getTelephonyManager().getSimCount() > 1); in handlePreferenceChanged()172 if (getTelephonyManager().getSimCount() != 1) { in getObservableUri()
150 if (TelephonyManager.from(context).getSimCount() != 1) { in register()
217 if (mTelephonyManager.getSimCount() != 1) { in getObservableUri()
91 int simCount = TelephonyManager.from(mContext).getSimCount(); in onListItemClick()175 int simCount = TelephonyManager.from(mContext).getSimCount(); in addStkMenuListItems()
71 int simCount = TelephonyManager.from(mContext).getSimCount(); in isShowSTKListMenu()
92 protected int getSimCount() { in getSimCount() method in ShadowTelephonyManager
111 if (TelephonyManager.from(getContext()).getSimCount() != 1) { in getObservableUri()
95 boolean isMultiSim = (telephonyManager.getSimCount() > 1); in makeMessage()
174 if (tm.getSimCount() != 1) { in register()
774 if (TelephonyManager.getDefault().getSimCount() > 1) { in registerSettingsObserver()