Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccCardApplicationStatus.java55 public enum AppState{ enum in IccCardApplicationStatus
154 public AppState app_state;
184 public AppState AppStateFromRILInt(int state) { in AppStateFromRILInt()
185 AppState newState; in AppStateFromRILInt()
188 case 0: newState = AppState.APPSTATE_UNKNOWN; break; in AppStateFromRILInt()
189 case 1: newState = AppState.APPSTATE_DETECTED; break; in AppStateFromRILInt()
190 case 2: newState = AppState.APPSTATE_PIN; break; in AppStateFromRILInt()
191 case 3: newState = AppState.APPSTATE_PUK; break; in AppStateFromRILInt()
192 case 4: newState = AppState.APPSTATE_SUBSCRIPTION_PERSO; break; in AppStateFromRILInt()
193 case 5: newState = AppState.APPSTATE_READY; break; in AppStateFromRILInt()
[all …]
DUiccCardApplication.java30 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState;
67 private AppState mAppState;
125 if (mAppState == AppState.APPSTATE_READY) { in UiccCardApplication()
144 AppState oldAppState = mAppState; in update()
173 if (mAppState == AppState.APPSTATE_READY) { in update()
439 mAppState = AppState.APPSTATE_UNKNOWN;
520 if (mAppState == AppState.APPSTATE_READY) { in notifyReadyRegistrantsIfNeeded()
547 if (mAppState == AppState.APPSTATE_DETECTED) { in notifyDetectedRegistrantsIfNeeded()
568 if (mAppState == AppState.APPSTATE_PIN || in notifyPinLockedRegistrantsIfNeeded()
569 mAppState == AppState.APPSTATE_PUK) { in notifyPinLockedRegistrantsIfNeeded()
[all …]
DUiccProfile.java545 IccCardApplicationStatus.AppState appState = mUiccApplication.getState(); in updateExternalState()
553 if (appState == IccCardApplicationStatus.AppState.APPSTATE_PIN) { in updateExternalState()
557 } else if (appState == IccCardApplicationStatus.AppState.APPSTATE_PUK) { in updateExternalState()
561 } else if (appState == IccCardApplicationStatus.AppState.APPSTATE_SUBSCRIPTION_PERSO) { in updateExternalState()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccCardApplicationTest.java55 private IccCardApplicationStatus.AppState mAppState;
69 mUiccCardAppStatus.app_state = IccCardApplicationStatus.AppState.APPSTATE_PIN; in setUp()
90 mAppState = IccCardApplicationStatus.AppState.APPSTATE_DETECTED; in setUp()
93 mAppState = IccCardApplicationStatus.AppState.APPSTATE_READY; in setUp()
122 assertEquals(IccCardApplicationStatus.AppState.APPSTATE_PIN, in testGetSetAppState()
124 mUiccCardAppStatus.app_state = IccCardApplicationStatus.AppState.APPSTATE_PUK; in testGetSetAppState()
128 assertEquals(IccCardApplicationStatus.AppState.APPSTATE_PUK, in testGetSetAppState()
214 mUiccCardAppStatus.app_state = IccCardApplicationStatus.AppState.APPSTATE_DETECTED; in testAppStateChangeNotification()
217 assertEquals(IccCardApplicationStatus.AppState.APPSTATE_DETECTED, mAppState); in testAppStateChangeNotification()
218 assertEquals(IccCardApplicationStatus.AppState.APPSTATE_DETECTED, in testAppStateChangeNotification()
[all …]
DUiccProfileTest.java50 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState;
85 IccCardApplicationStatus.AppState appState, String aid) { in composeUiccApplicationStatus()
101 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA2"); in setUp()
165 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA0"); in testUpdateUiccProfileApplication()
168 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA1"); in testUpdateUiccProfileApplication()
171 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA2"); in testUpdateUiccProfileApplication()
239 IccCardApplicationStatus.AppState.APPSTATE_READY, "0xA0"); in testUpdateUiccProfileApplicationNotReady()
242 IccCardApplicationStatus.AppState.APPSTATE_READY, "0xA1"); in testUpdateUiccProfileApplicationNotReady()
245 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA2"); in testUpdateUiccProfileApplicationNotReady()
269 IccCardApplicationStatus.AppState.APPSTATE_READY, "0xA0"); in testUpdateUiccProfileApplicationAllReady()
[all …]
DUiccControllerTest.java79 IccCardApplicationStatus.AppState appState, String aid) { in composeUiccApplicationStatus()
190 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA0"); in testPowerOffPowerOnWithApp()
193 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA1"); in testPowerOffPowerOnWithApp()
196 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA2"); in testPowerOffPowerOnWithApp()
DUiccCardTest.java46 IccCardApplicationStatus.AppState appState, String aid) { in composeUiccApplicationStatus()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierDisplayNameResolverTest.java31 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState;
77 doReturn(AppState.APPSTATE_READY).when(uiccApp).getState(); in setUp()
DServiceStateTrackerTest.java477 doReturn(IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN). in testSpnUpdateShowPlmnOnly()
1497 doReturn(IccCardApplicationStatus.AppState.APPSTATE_READY).when( in testOnRestrictedStateChanged()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaConnection.java38 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState;
556 AppState uiccAppState = (cardApp != null) ? cardApp.getState() : in disconnectCauseFromCode()
557 AppState.APPSTATE_UNKNOWN; in disconnectCauseFromCode()
572 if (uiccAppState != AppState.APPSTATE_READY) { in disconnectCauseFromCode()
DServiceStateTracker.java101 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState;
1177 && mUiccApplcation.getState() != AppState.APPSTATE_READY) { in handleMessage()
3675 if (mUiccApplcation != null && mUiccApplcation.getState() == AppState.APPSTATE_READY && in getOperatorNameFromEri()
4011 if (mUiccApplcation != null && mUiccApplcation.getState() == AppState.APPSTATE_READY) { in onRestrictedStateChanged()
4975 iccCardExist = mUiccApplcation.getState() != AppState.APPSTATE_UNKNOWN; in iccCardExists()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaMmiCode.java37 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState;
249 && mUiccApplication.getState() == AppState.APPSTATE_PUK) { in processCode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/
DCarrierDisplayNameResolver.java43 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState;
390 && mPhone.getUiccCardApplication().getState() == AppState.APPSTATE_READY; in getOutOfServiceDisplayName()
/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;
1067 && mUiccApplication.getState() == AppState.APPSTATE_PUK) { in processCode()
/frameworks/base/config/
Dpreloaded-classes5079 com.android.internal.telephony.uicc.IccCardApplicationStatus$AppState
Dboot-image-profile.txt23782 HSPLcom/android/internal/telephony/uicc/IccCardApplicationStatus$AppState;-><init>(Ljava/lang/Strin…
23783 …/uicc/IccCardApplicationStatus$AppState;->values()[Lcom/android/internal/telephony/uicc/IccCardApp…
23787 …atus;->AppStateFromRILInt(I)Lcom/android/internal/telephony/uicc/IccCardApplicationStatus$AppState;
23933 …CardApplication;->getState()Lcom/android/internal/telephony/uicc/IccCardApplicationStatus$AppState;
38021 Lcom/android/internal/telephony/uicc/IccCardApplicationStatus$AppState;