Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccCardApplicationStatus.java34 public enum AppType{ enum in IccCardApplicationStatus
149 public AppType app_type;
167 public AppType AppTypeFromRILInt(int type) { in AppTypeFromRILInt()
168 AppType newType; in AppTypeFromRILInt()
171 case 0: newType = AppType.APPTYPE_UNKNOWN; break; in AppTypeFromRILInt()
172 case 1: newType = AppType.APPTYPE_SIM; break; in AppTypeFromRILInt()
173 case 2: newType = AppType.APPTYPE_USIM; break; in AppTypeFromRILInt()
174 case 3: newType = AppType.APPTYPE_RUIM; break; in AppTypeFromRILInt()
175 case 4: newType = AppType.APPTYPE_CSIM; break; in AppTypeFromRILInt()
176 case 5: newType = AppType.APPTYPE_ISIM; break; in AppTypeFromRILInt()
[all …]
DUiccCardApplication.java32 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppType;
70 private AppType mAppType;
144 AppType oldAppType = mAppType; in update()
201 private IccRecords createIccRecords(AppType type, Context c, CommandsInterface ci) { in createIccRecords()
202 if (type == AppType.APPTYPE_USIM || type == AppType.APPTYPE_SIM) { in createIccRecords()
204 } else if (type == AppType.APPTYPE_RUIM || type == AppType.APPTYPE_CSIM){ in createIccRecords()
206 } else if (type == AppType.APPTYPE_ISIM) { in createIccRecords()
214 private IccFileHandler createIccFileHandler(AppType type) { in createIccFileHandler()
618 public AppType getType() { in getType()
638 private static int getAuthContext(AppType appType) { in getAuthContext()
DUiccProfile.java68 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppType;
1156 mGsmUmtsSubscriptionAppIndex, AppType.APPTYPE_SIM, AppType.APPTYPE_USIM); in sanitizeApplicationIndexesLocked()
1159 mCdmaSubscriptionAppIndex, AppType.APPTYPE_RUIM, AppType.APPTYPE_CSIM); in sanitizeApplicationIndexesLocked()
1161 checkIndexLocked(mImsSubscriptionAppIndex, AppType.APPTYPE_ISIM, null); in sanitizeApplicationIndexesLocked()
1174 if (app.getType() == AppType.APPTYPE_USIM || app.getType() == AppType.APPTYPE_SIM in isSupportedApplication()
1176 && (app.getType() == AppType.APPTYPE_CSIM in isSupportedApplication()
1177 || app.getType() == AppType.APPTYPE_RUIM))) { in isSupportedApplication()
1184 boolean[] appReadyStateTracker = new boolean[AppType.APPTYPE_ISIM.ordinal() + 1]; in checkAndUpdateIfAnyAppToBeIgnored()
1233 private int checkIndexLocked(int index, AppType expectedAppType, AppType altExpectedAppType) { in checkIndexLocked()
1456 public boolean isApplicationOnIcc(IccCardApplicationStatus.AppType type) { in isApplicationOnIcc()
[all …]
DUiccCard.java33 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppType;
161 public boolean isApplicationOnIcc(IccCardApplicationStatus.AppType type) { in isApplicationOnIcc()
DRuimRecords.java38 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppType;
915 if (mParentApp.getType() == AppType.APPTYPE_CSIM && in isProvisioned()
DSIMRecords.java41 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppType;
281 if (mParentApp.getType() == AppType.APPTYPE_USIM) { in getExtFromEf()
1565 if (mParentApp.getType() == AppType.APPTYPE_USIM) { in loadEfLiAndEfPl()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccProfileTest.java85 IccCardApplicationStatus.AppType appType, in composeUiccApplicationStatus()
101 IccCardApplicationStatus.AppType.APPTYPE_USIM, in setUp()
128 for (IccCardApplicationStatus.AppType mAppType : in tesUiccProfileInfoSanity()
129 IccCardApplicationStatus.AppType.values()) { in tesUiccProfileInfoSanity()
130 if (mAppType == IccCardApplicationStatus.AppType.APPTYPE_USIM) { in tesUiccProfileInfoSanity()
165 IccCardApplicationStatus.AppType.APPTYPE_CSIM, in testUpdateUiccProfileApplication()
168 IccCardApplicationStatus.AppType.APPTYPE_ISIM, in testUpdateUiccProfileApplication()
171 IccCardApplicationStatus.AppType.APPTYPE_USIM, in testUpdateUiccProfileApplication()
182 assertTrue(mUiccProfile.isApplicationOnIcc(IccCardApplicationStatus.AppType.APPTYPE_CSIM)); in testUpdateUiccProfileApplication()
183 assertTrue(mUiccProfile.isApplicationOnIcc(IccCardApplicationStatus.AppType.APPTYPE_ISIM)); in testUpdateUiccProfileApplication()
[all …]
DUiccCardTest.java45 IccCardApplicationStatus.AppType appType, in composeUiccApplicationStatus()
89 for (IccCardApplicationStatus.AppType mAppType : in testUiccCartdInfoCorrectness()
90 IccCardApplicationStatus.AppType.values()) { in testUiccCartdInfoCorrectness()
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.java81 IccCardApplicationStatus.AppType appType, in composeUiccApplicationStatus()
192 IccCardApplicationStatus.AppType.APPTYPE_CSIM, in testPowerOffPowerOnWithApp()
195 IccCardApplicationStatus.AppType.APPTYPE_ISIM, in testPowerOffPowerOnWithApp()
198 IccCardApplicationStatus.AppType.APPTYPE_USIM, in testPowerOffPowerOnWithApp()
/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/
DPackageManagerComponentLabelIconOverrideTest.kt38 …droid.server.pm.test.override.PackageManagerComponentLabelIconOverrideTest.Companion.Params.AppType in <lambda>()
100 Params(VALID_PKG, AppType.SYSTEM_APP, Result.Changed), in <lambda>()
101 Params(SHARED_PKG, AppType.SYSTEM_APP, Result.Changed), in <lambda>()
102 Params(INVALID_PKG, AppType.SYSTEM_APP, SecurityException::class.java), in <lambda>()
103 Params(NON_EXISTENT_PKG, AppType.SYSTEM_APP, SecurityException::class.java) in <lambda>()
121 this += param.copy(appType = AppType.UPDATED_SYSTEM_APP) in <lambda>()
124 this += param.copy(appType = AppType.NORMAL_APP, in <lambda>()
138 private val appType: AppType, in <lambda>()
142 constructor(pkgName: String, appType: AppType, exception: Class<out Exception>) in <lambda>()
155 val isUpdatedSystemApp = appType == AppType.UPDATED_SYSTEM_APP in <lambda>()
[all …]
/frameworks/base/media/java/android/media/tv/
DTunedInfo.java72 public @interface AppType {} annotation in TunedInfo
98 @AppType private final int mAppType;
104 boolean isVisible, boolean isMainSession, @AppType int appType, int appTag) { in TunedInfo()
183 @AppType
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccCard.java269 public boolean isApplicationOnIcc(IccCardApplicationStatus.AppType type) { in isApplicationOnIcc()
DIccPhoneBookInterfaceManager.java32 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppType;
389 if (mPhone.getCurrentUiccAppType() == AppType.APPTYPE_USIM) { in updateEfForIccType()
DGsmCdmaPhone.java104 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppType;
3973 return cdmaApplication != null && (cdmaApplication.getType() == AppType.APPTYPE_CSIM || in isCdmaSubscriptionAppPresent()
3974 cdmaApplication.getType() == AppType.APPTYPE_RUIM); in isCdmaSubscriptionAppPresent()
4090 if (cdmaApplication != null && cdmaApplication.getType() == AppType.APPTYPE_RUIM) { in switchVoiceRadioTech()
4285 && uiccCardApplication.getType() == AppType.APPTYPE_RUIM) { in getOperatorNumeric()
4531 if (cdmaApplication != null && cdmaApplication.getType() == AppType.APPTYPE_RUIM) { in getLteOnCdmaMode()
DPhone.java88 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppType;
1936 public AppType getCurrentUiccAppType() { in getCurrentUiccAppType()
1941 return AppType.APPTYPE_UNKNOWN; in getCurrentUiccAppType()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java1272 IccCardApplicationStatus.AppType.APPTYPE_SIM)); in testGetEmptyIccCard()
/frameworks/base/boot/
Dpreloaded-classes10317 com.android.internal.telephony.uicc.IccCardApplicationStatus$AppType
Dboot-image-profile.txt34963 Lcom/android/internal/telephony/uicc/IccCardApplicationStatus$AppType;
36692 [Lcom/android/internal/telephony/uicc/IccCardApplicationStatus$AppType;
/frameworks/base/config/
Dpreloaded-classes10338 com.android.internal.telephony.uicc.IccCardApplicationStatus$AppType
Dboot-image-profile.txt44627 Lcom/android/internal/telephony/uicc/IccCardApplicationStatus$AppType;
48873 [Lcom/android/internal/telephony/uicc/IccCardApplicationStatus$AppType;