Home
last modified time | relevance | path

Searched refs:AppState (Results 1 – 14 of 14) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccCardApplicationStatus.java40 public enum AppState{ enum in IccCardApplicationStatus
103 public AppState app_state;
132 public AppState AppStateFromRILInt(int state) { in AppStateFromRILInt()
133 AppState newState; in AppStateFromRILInt()
136 case 0: newState = AppState.APPSTATE_UNKNOWN; break; in AppStateFromRILInt()
137 case 1: newState = AppState.APPSTATE_DETECTED; break; in AppStateFromRILInt()
138 case 2: newState = AppState.APPSTATE_PIN; break; in AppStateFromRILInt()
139 case 3: newState = AppState.APPSTATE_PUK; break; in AppStateFromRILInt()
140 case 4: newState = AppState.APPSTATE_SUBSCRIPTION_PERSO; break; in AppStateFromRILInt()
141 case 5: newState = AppState.APPSTATE_READY; break; in AppStateFromRILInt()
[all …]
DUiccCardApplication.java29 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState;
63 private AppState mAppState;
114 if (mAppState == AppState.APPSTATE_READY) { in UiccCardApplication()
132 AppState oldAppState = mAppState; in update()
160 if (mAppState == AppState.APPSTATE_READY) { in update()
413 mAppState = AppState.APPSTATE_UNKNOWN;
478 if (mAppState == AppState.APPSTATE_READY) { in notifyReadyRegistrantsIfNeeded()
506 if (mAppState == AppState.APPSTATE_PIN || in notifyPinLockedRegistrantsIfNeeded()
507 mAppState == AppState.APPSTATE_PUK) { in notifyPinLockedRegistrantsIfNeeded()
534 if (mAppState == AppState.APPSTATE_SUBSCRIPTION_PERSO && in notifyNetworkLockedRegistrantsIfNeeded()
[all …]
DUiccProfile.java443 IccCardApplicationStatus.AppState appState = mUiccApplication.getState(); in updateExternalState()
451 if (appState == IccCardApplicationStatus.AppState.APPSTATE_PIN) { in updateExternalState()
455 } else if (appState == IccCardApplicationStatus.AppState.APPSTATE_PUK) { in updateExternalState()
459 } else if (appState == IccCardApplicationStatus.AppState.APPSTATE_SUBSCRIPTION_PERSO) { in updateExternalState()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccProfileTest.java43 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState;
122 IccCardApplicationStatus.AppState appState, String aid) { in composeUiccApplicationStatus()
138 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA2"); in setUp()
208 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA0"); in testUpdateUiccProfileApplication()
211 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA1"); in testUpdateUiccProfileApplication()
214 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA2"); in testUpdateUiccProfileApplication()
293 IccCardApplicationStatus.AppState.APPSTATE_READY, "0xA0"); in testUpdateUiccProfileApplicationNotReady()
296 IccCardApplicationStatus.AppState.APPSTATE_READY, "0xA1"); in testUpdateUiccProfileApplicationNotReady()
299 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA2"); in testUpdateUiccProfileApplicationNotReady()
326 IccCardApplicationStatus.AppState.APPSTATE_READY, "0xA0"); in testUpdateUiccProfileApplicationAllReady()
[all …]
DUiccCardApplicationTest.java103 mUiccCardAppStatus.app_state = IccCardApplicationStatus.AppState.APPSTATE_PIN; in setUp()
135 assertEquals(IccCardApplicationStatus.AppState.APPSTATE_PIN, in testGetSetAppState()
137 mUiccCardAppStatus.app_state = IccCardApplicationStatus.AppState.APPSTATE_PUK; in testGetSetAppState()
143 assertEquals(IccCardApplicationStatus.AppState.APPSTATE_PUK, in testGetSetAppState()
DUiccControllerTest.java69 IccCardApplicationStatus.AppState appState, String aid) { in composeUiccApplicationStatus()
163 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA0"); in testPowerOffPowerOnWithApp()
166 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA1"); in testPowerOffPowerOnWithApp()
169 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA2"); in testPowerOffPowerOnWithApp()
DUiccCardTest.java100 IccCardApplicationStatus.AppState appState, String aid) { in composeUiccApplicationStatus()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaConnection.java36 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState;
524 AppState uiccAppState = (cardApp != null) ? cardApp.getState() : in disconnectCauseFromCode()
525 AppState.APPSTATE_UNKNOWN; in disconnectCauseFromCode()
540 if (uiccAppState != AppState.APPSTATE_READY) { in disconnectCauseFromCode()
DServiceStateTracker.java91 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState;
1020 && mUiccApplcation.getState() != AppState.APPSTATE_READY) { in handleMessage()
3119 if (mUiccApplcation != null && mUiccApplcation.getState() == AppState.APPSTATE_READY && in updateOperatorNameFromEri()
3386 if (mUiccApplcation != null && mUiccApplcation.getState() == AppState.APPSTATE_READY) { in onRestrictedStateChanged()
4211 iccCardExist = mUiccApplcation.getState() != AppState.APPSTATE_UNKNOWN; in iccCardExists()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaMmiCode.java24 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState;
240 && mUiccApplication.getState() == AppState.APPSTATE_PUK) { in processCode()
/frameworks/base/core/proto/android/server/
Dwindowmanagerservice.proto130 enum AppState { enum
136 optional AppState app_transition_state = 1;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmMmiCode.java53 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState;
1037 && mUiccApplication.getState() == AppState.APPSTATE_PUK) { in processCode()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTrackerTest.java291 doReturn(IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN). in testSpnUpdateShowPlmnOnly()
1151 doReturn(IccCardApplicationStatus.AppState.APPSTATE_READY).when( in testOnRestrictedStateChanged()
/frameworks/base/config/
Dboot-image-profile.txt41594 HSPLcom/android/internal/telephony/uicc/IccCardApplicationStatus$AppState;-><init>(Ljava/lang/Strin…
41595 …/uicc/IccCardApplicationStatus$AppState;->values()[Lcom/android/internal/telephony/uicc/IccCardApp…
41599 …atus;->AppStateFromRILInt(I)Lcom/android/internal/telephony/uicc/IccCardApplicationStatus$AppState;
41742 …CardApplication;->getState()Lcom/android/internal/telephony/uicc/IccCardApplicationStatus$AppState;
60583 Lcom/android/internal/telephony/uicc/IccCardApplicationStatus$AppState;