Home
last modified time | relevance | path

Searched refs:AppType (Results 1 – 18 of 18) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccCardApplicationStatus.java33 public enum AppType{ enum in IccCardApplicationStatus
148 public AppType app_type;
166 public AppType AppTypeFromRILInt(int type) { in AppTypeFromRILInt()
167 AppType newType; in AppTypeFromRILInt()
170 case 0: newType = AppType.APPTYPE_UNKNOWN; break; in AppTypeFromRILInt()
171 case 1: newType = AppType.APPTYPE_SIM; break; in AppTypeFromRILInt()
172 case 2: newType = AppType.APPTYPE_USIM; break; in AppTypeFromRILInt()
173 case 3: newType = AppType.APPTYPE_RUIM; break; in AppTypeFromRILInt()
174 case 4: newType = AppType.APPTYPE_CSIM; break; in AppTypeFromRILInt()
175 case 5: newType = AppType.APPTYPE_ISIM; break; in AppTypeFromRILInt()
[all …]
DUiccCardApplication.java30 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppType;
68 private AppType mAppType;
142 AppType oldAppType = mAppType; in update()
199 private IccRecords createIccRecords(AppType type, Context c, CommandsInterface ci) { in createIccRecords()
200 if (type == AppType.APPTYPE_USIM || type == AppType.APPTYPE_SIM) { in createIccRecords()
202 } else if (type == AppType.APPTYPE_RUIM || type == AppType.APPTYPE_CSIM){ in createIccRecords()
204 } else if (type == AppType.APPTYPE_ISIM) { in createIccRecords()
212 private IccFileHandler createIccFileHandler(AppType type) { in createIccFileHandler()
604 public AppType getType() { in getType()
624 private static int getAuthContext(AppType appType) { in getAuthContext()
DUiccProfile.java60 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppType;
1077 mGsmUmtsSubscriptionAppIndex, AppType.APPTYPE_SIM, AppType.APPTYPE_USIM); in sanitizeApplicationIndexesLocked()
1080 mCdmaSubscriptionAppIndex, AppType.APPTYPE_RUIM, AppType.APPTYPE_CSIM); in sanitizeApplicationIndexesLocked()
1082 checkIndexLocked(mImsSubscriptionAppIndex, AppType.APPTYPE_ISIM, null); in sanitizeApplicationIndexesLocked()
1095 if (app.getType() == AppType.APPTYPE_USIM || app.getType() == AppType.APPTYPE_SIM in isSupportedApplication()
1097 && (app.getType() == AppType.APPTYPE_CSIM in isSupportedApplication()
1098 || app.getType() == AppType.APPTYPE_RUIM))) { in isSupportedApplication()
1105 boolean[] appReadyStateTracker = new boolean[AppType.APPTYPE_ISIM.ordinal() + 1]; in checkAndUpdateIfAnyAppToBeIgnored()
1154 private int checkIndexLocked(int index, AppType expectedAppType, AppType altExpectedAppType) { in checkIndexLocked()
1371 public boolean isApplicationOnIcc(IccCardApplicationStatus.AppType type) { in isApplicationOnIcc()
DUiccCard.java32 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppType;
160 public boolean isApplicationOnIcc(IccCardApplicationStatus.AppType type) { in isApplicationOnIcc()
DRuimRecords.java35 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppType;
915 if (mParentApp.getType() == AppType.APPTYPE_CSIM && in isProvisioned()
DSIMRecords.java40 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppType;
274 if (mParentApp.getType() == AppType.APPTYPE_USIM) { in getExtFromEf()
1554 if (mParentApp.getType() == AppType.APPTYPE_USIM) { in loadEfLiAndEfPl()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccProfileTest.java83 IccCardApplicationStatus.AppType appType, in composeUiccApplicationStatus()
99 IccCardApplicationStatus.AppType.APPTYPE_USIM, in setUp()
126 for (IccCardApplicationStatus.AppType mAppType : in tesUiccProfileInfoSanity()
127 IccCardApplicationStatus.AppType.values()) { in tesUiccProfileInfoSanity()
128 if (mAppType == IccCardApplicationStatus.AppType.APPTYPE_USIM) { in tesUiccProfileInfoSanity()
163 IccCardApplicationStatus.AppType.APPTYPE_CSIM, in testUpdateUiccProfileApplication()
166 IccCardApplicationStatus.AppType.APPTYPE_ISIM, in testUpdateUiccProfileApplication()
169 IccCardApplicationStatus.AppType.APPTYPE_USIM, in testUpdateUiccProfileApplication()
180 assertTrue(mUiccProfile.isApplicationOnIcc(IccCardApplicationStatus.AppType.APPTYPE_CSIM)); in testUpdateUiccProfileApplication()
181 assertTrue(mUiccProfile.isApplicationOnIcc(IccCardApplicationStatus.AppType.APPTYPE_ISIM)); in testUpdateUiccProfileApplication()
[all …]
DUiccCardTest.java45 IccCardApplicationStatus.AppType appType, in composeUiccApplicationStatus()
89 for (IccCardApplicationStatus.AppType mAppType : in tesUiccCartdInfoSanity()
90 IccCardApplicationStatus.AppType.values()) { in tesUiccCartdInfoSanity()
DUiccCardApplicationTest.java67 mUiccCardAppStatus.app_type = IccCardApplicationStatus.AppType.APPTYPE_SIM; in setUp()
111 assertEquals(IccCardApplicationStatus.AppType.APPTYPE_SIM, mUiccCardApplication.getType()); in testGetSetAppType()
112 mUiccCardAppStatus.app_type = IccCardApplicationStatus.AppType.APPTYPE_USIM; in testGetSetAppType()
116 assertEquals(IccCardApplicationStatus.AppType.APPTYPE_USIM, mUiccCardApplication.getType()); in testGetSetAppType()
DUiccControllerTest.java78 IccCardApplicationStatus.AppType appType, in composeUiccApplicationStatus()
189 IccCardApplicationStatus.AppType.APPTYPE_CSIM, in testPowerOffPowerOnWithApp()
192 IccCardApplicationStatus.AppType.APPTYPE_ISIM, in testPowerOffPowerOnWithApp()
195 IccCardApplicationStatus.AppType.APPTYPE_USIM, in testPowerOffPowerOnWithApp()
/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/
DPackageManagerComponentLabelIconOverrideTest.kt35 …droid.server.pm.test.override.PackageManagerComponentLabelIconOverrideTest.Companion.Params.AppType in <lambda>()
97 Params(VALID_PKG, AppType.SYSTEM_APP, Result.Changed), in <lambda>()
98 Params(SHARED_PKG, AppType.SYSTEM_APP, Result.Changed), in <lambda>()
99 Params(INVALID_PKG, AppType.SYSTEM_APP, SecurityException::class.java) in <lambda>()
117 this += param.copy(appType = AppType.UPDATED_SYSTEM_APP) in <lambda>()
120 this += param.copy(appType = AppType.NORMAL_APP, in <lambda>()
127 private val appType: AppType, in <lambda>()
131 constructor(pkgName: String, appType: AppType, exception: Class<out Exception>) in <lambda>()
144 val isUpdatedSystemApp = appType == AppType.UPDATED_SYSTEM_APP in <lambda>()
145 val isSystem = appType == AppType.SYSTEM_APP || isUpdatedSystemApp in <lambda>()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccPhoneBookInterfaceManager.java28 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppType;
340 if (mPhone.getCurrentUiccAppType() == AppType.APPTYPE_USIM) { in updateEfForIccType()
DIccCard.java268 public boolean isApplicationOnIcc(IccCardApplicationStatus.AppType type) { in isApplicationOnIcc()
DGsmCdmaPhone.java96 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppType;
3793 return cdmaApplication != null && (cdmaApplication.getType() == AppType.APPTYPE_CSIM || in isCdmaSubscriptionAppPresent()
3794 cdmaApplication.getType() == AppType.APPTYPE_RUIM); in isCdmaSubscriptionAppPresent()
3910 if (cdmaApplication != null && cdmaApplication.getType() == AppType.APPTYPE_RUIM) { in switchVoiceRadioTech()
4087 && uiccCardApplication.getType() == AppType.APPTYPE_RUIM) { in getOperatorNumeric()
4302 if (cdmaApplication != null && cdmaApplication.getType() == AppType.APPTYPE_RUIM) { in getLteOnCdmaMode()
DPhone.java83 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppType;
1887 public AppType getCurrentUiccAppType() { in getCurrentUiccAppType()
1892 return AppType.APPTYPE_UNKNOWN; in getCurrentUiccAppType()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java1105 IccCardApplicationStatus.AppType.APPTYPE_SIM)); in testGetEmptyIccCard()
/frameworks/base/config/
Dpreloaded-classes9170 com.android.internal.telephony.uicc.IccCardApplicationStatus$AppType
Dboot-image-profile.txt50179 Lcom/android/internal/telephony/uicc/IccCardApplicationStatus$AppType;