Home
last modified time | relevance | path

Searched refs:UiccController (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccControllerTest.java52 private UiccController mUiccControllerUT;
77 mUiccControllerUT = UiccController.make(mContext, in onLooperPrepared()
104 replaceInstance(UiccController.class, "mInstance", null, null); in setUp()
145 assertEquals(mSimRecords, mUiccControllerUT.getIccRecords(0, UiccController.APP_FAM_3GPP)); in testSanity()
147 UiccController.APP_FAM_3GPP2)); in testSanity()
149 UiccController.APP_FAM_IMS)); in testSanity()
150 assertNull(mUiccControllerUT.getIccFileHandler(0, UiccController.APP_FAM_3GPP)); in testSanity()
151 assertNull(mUiccControllerUT.getIccFileHandler(0, UiccController.APP_FAM_3GPP2)); in testSanity()
152 assertNull(mUiccControllerUT.getIccFileHandler(0, UiccController.APP_FAM_IMS)); in testSanity()
200 assertNotNull(mUiccControllerUT.getIccRecords(0, UiccController.APP_FAM_3GPP)); in testPowerOffPowerOnWithApp()
[all …]
DUiccStateChangedLauncherTest.java94 new UiccStateChangedLauncher(mContext, UiccController.getInstance()); in testProvisioningPackageSet()
96 verify(UiccController.getInstance(), times(1)).registerForIccChanged(eq(uiccLauncher), in testProvisioningPackageSet()
105 when(UiccController.getInstance().getUiccCardForPhone(0)).thenReturn(card); in testProvisioningPackageSet()
155 new UiccStateChangedLauncher(mContext, UiccController.getInstance()); in testProvisioningPackageUnset()
156 verify(UiccController.getInstance(), never()).registerForIccChanged(eq(uiccLauncher), in testProvisioningPackageUnset()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccStateChangedLauncher.java46 private UiccController mUiccController;
49 public UiccStateChangedLauncher(Context context, UiccController controller) { in UiccStateChangedLauncher()
DREADME1 You can see documentation in UiccController.java
DUiccProfile.java134 private int mCurrentAppType = UiccController.APP_FAM_3GPP; //default to 3gpp?
190 if ((mCurrentAppType == UiccController.APP_FAM_3GPP) && (mIccRecords != null)) {
313 mCurrentAppType = UiccController.APP_FAM_3GPP; in setCurrentAppType()
315 mCurrentAppType = UiccController.APP_FAM_3GPP2; in setCurrentAppType()
450 if (mCurrentAppType == UiccController.APP_FAM_3GPP) { in resetProperties()
658 UiccController.updateInternalIccState(mContext, mExternalState, in setExternalState()
1026 || (UiccController.isCdmaSupported(mContext) in isSupportedApplication()
1302 case UiccController.APP_FAM_3GPP: in getApplication()
1305 case UiccController.APP_FAM_3GPP2: in getApplication()
1308 case UiccController.APP_FAM_IMS: in getApplication()
[all …]
DUiccSlot.java155 UiccController.updateInternalIccState( in update()
189 UiccController.updateInternalIccState( in updateCardStateAbsent()
401 UiccController.updateInternalIccState( in onRadioStateUnavailable()
DUiccController.java104 public class UiccController extends Handler { class
165 private static UiccController mInstance;
180 public static UiccController make(Context c, CommandsInterface[] ci) { in make()
185 mInstance = new UiccController(c, ci); in make()
190 private UiccController(Context c, CommandsInterface []ci) { in UiccController() method in UiccController
264 public static UiccController getInstance() { in getInstance()
DIccCardStatus.java80 public int physicalSlotIndex = UiccController.INVALID_SLOT_ID;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSMSDispatcher.java37 import com.android.internal.telephony.uicc.UiccController;
45 protected UiccController mUiccController = null;
59 mUiccController = UiccController.getInstance(); in GsmSMSDispatcher()
228 UiccController.APP_FAM_3GPP); in getUiccCardApplication()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java86 import com.android.internal.telephony.uicc.UiccController;
130 protected UiccController mUiccController;
456 eq(UiccController.APP_FAM_3GPP)); in setUp()
458 eq(UiccController.APP_FAM_3GPP2)); in setUp()
460 eq(UiccController.APP_FAM_IMS)); in setUp()
465 case UiccController.APP_FAM_3GPP: in setUp()
467 case UiccController.APP_FAM_3GPP2: in setUp()
469 case UiccController.APP_FAM_IMS: in setUp()
493 eq(UiccController.APP_FAM_3GPP)); in setUp()
495 eq(UiccController.APP_FAM_3GPP2)); in setUp()
[all …]
DSubscriptionControllerTest.java49 import com.android.internal.telephony.uicc.UiccController;
951 assertEquals(2, UiccController.getInstance().getUiccSlots().length); in testGetEnabledSubscriptionIdSingleSIM()
975 assertEquals(2, UiccController.getInstance().getUiccSlots().length); in testGetEnabledSubscriptionIdDualSIM()
DGsmCdmaPhoneTest.java69 import com.android.internal.telephony.uicc.UiccController;
177 .getIccRecords(anyInt() /* phoneId */, eq(UiccController.APP_FAM_3GPP)); in testGetSubscriberIdForGsmPhone()
195 .getIccRecords(anyInt() /* phoneId */, eq(UiccController.APP_FAM_3GPP)); in testGetSubscriberIdForCdmaLtePhone()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionInfoUpdater.java63 import com.android.internal.telephony.uicc.UiccController;
225 UiccSlot slot = UiccController.getInstance().getUiccSlotForPhone(i); in isAllIccIdQueryDone()
226 int slotId = UiccController.getInstance().getSlotIdFromPhoneId(i); in isAllIccIdQueryDone()
342 UiccController uiccController = UiccController.getInstance(); in getCardIdFromPhoneId()
660 UiccController uiccController = UiccController.getInstance(); in updateSubscriptionInfoByIccId()
1055 int slotId = UiccController.getInstance().getSlotIdFromPhoneId(phoneId); in broadcastSimCardStateChanged()
1079 int slotId = UiccController.getInstance().getSlotIdFromPhoneId(phoneId); in broadcastSimApplicationStateChanged()
DProxyController.java33 import com.android.internal.telephony.uicc.UiccController;
67 private UiccController mUiccController;
113 UiccController uiccController, CommandsInterface[] ci, PhoneSwitcher ps) { in getInstance()
125 private ProxyController(Context context, Phone[] phone, UiccController uiccController, in ProxyController()
DCarrierServicesSmsFilter.java37 import com.android.internal.telephony.uicc.UiccController;
130 UiccCard card = UiccController.getInstance().getUiccCard(mPhone.getPhoneId()); in getCarrierAppPackageForFiltering()
DPhoneFactory.java47 import com.android.internal.telephony.uicc.UiccController;
75 static private UiccController sUiccController;
172 sUiccController = UiccController.make(context, sCommandsInterfaces); in makeDefaultPhone()
DGsmCdmaPhone.java98 import com.android.internal.telephony.uicc.UiccController;
825 r = mUiccController.getIccRecords(mPhoneId, UiccController.APP_FAM_3GPP); in getIccSerialNumber()
835 r = mUiccController.getIccRecords(mPhoneId, UiccController.APP_FAM_3GPP); in getFullIccSerialNumber()
1639 IccRecords r = mUiccController.getIccRecords(mPhoneId, UiccController.APP_FAM_3GPP2); in getNai()
1655 mPhoneId, UiccController.APP_FAM_3GPP); in getSubscriberId()
2799 return mUiccController.getUiccCardApplication(mPhoneId, UiccController.APP_FAM_3GPP); in getUiccCardApplication()
2801 return mUiccController.getUiccCardApplication(mPhoneId, UiccController.APP_FAM_3GPP2); in getUiccCardApplication()
2819 mUiccController.getUiccCardApplication(mPhoneId, UiccController.APP_FAM_IMS); in onUpdateIccAvailability()
2835 UiccController.APP_FAM_3GPP); in onUpdateIccAvailability()
2853 UiccController.APP_FAM_3GPP); in onUpdateIccAvailability()
[all …]
DCarrierResolver.java42 import com.android.internal.telephony.uicc.UiccController;
124 UiccController.getInstance().registerForIccChanged(this, ICC_CHANGED_EVENT, null); in CarrierResolver()
227 final IccRecords newIccRecords = UiccController.getInstance().getIccRecords( in handleMessage()
228 mPhone.getPhoneId(), UiccController.APP_FAM_3GPP); in handleMessage()
DPhone.java87 import com.android.internal.telephony.uicc.UiccController;
304 protected UiccController mUiccController = null;
591 mUiccController = UiccController.getInstance(); in Phone()
2502 IccRecords records = UiccController.getInstance().getIccRecords( in setVoiceMessageCount()
2503 mPhoneId, UiccController.APP_FAM_3GPP); in setVoiceMessageCount()
DServiceStateTracker.java107 import com.android.internal.telephony.uicc.UiccController;
141 private UiccController mUiccController = null;
587 mUiccController = UiccController.getInstance(); in ServiceStateTracker()
4204 UiccController.APP_FAM_3GPP); in getUiccCardApplication()
4207 UiccController.APP_FAM_3GPP2); in getUiccCardApplication()
4219 UiccCard uiccCard = UiccController.getInstance().getUiccCard(getPhoneId()); in queueNextSignalStrengthPoll()
DSMSDispatcher.java91 import com.android.internal.telephony.uicc.UiccController;
1976 UiccCard card = UiccController.getInstance().getUiccCard(mPhone.getPhoneId()); in getCarrierAppPackageName()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccCardController.java43 import com.android.internal.telephony.uicc.UiccController;
64 private UiccController mUiccController;
110 this(context, new Handler(), EuiccController.get(), UiccController.getInstance()); in EuiccCardController()
119 UiccController uiccController) { in EuiccCardController()
198 UiccController controller = UiccController.getInstance(); in getEuiccCard()
200 if (slotId != UiccController.INVALID_SLOT_ID) { in getEuiccCard()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccCardControllerTest.java38 import com.android.internal.telephony.uicc.UiccController;
72 private UiccController mUiccController;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java54 import com.android.internal.telephony.uicc.UiccController;
115 private UiccController mUiccController;
187 mUiccController = UiccController.getInstance(); in CatService()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DRetryManagerTest.java30 import com.android.internal.telephony.uicc.UiccController;
133 replaceInstance(UiccController.class, "mInstance", null, mUiccController); in setUp()

12