Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccCardApplicationStatus.java51 public enum AppState{ enum in IccCardApplicationStatus
150 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.java32 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState;
72 private AppState mAppState;
130 if (mAppState == AppState.APPSTATE_READY) { in UiccCardApplication()
149 AppState oldAppState = mAppState; in update()
178 if (mAppState == AppState.APPSTATE_READY) { in update()
447 mAppState = AppState.APPSTATE_UNKNOWN;
528 if (mAppState == AppState.APPSTATE_READY) { in notifyReadyRegistrantsIfNeeded()
555 if (mAppState == AppState.APPSTATE_DETECTED) { in notifyDetectedRegistrantsIfNeeded()
576 if (mAppState == AppState.APPSTATE_PIN || in notifyPinLockedRegistrantsIfNeeded()
577 mAppState == AppState.APPSTATE_PUK) { in notifyPinLockedRegistrantsIfNeeded()
[all …]
DUiccProfile.java646 IccCardApplicationStatus.AppState appState = mUiccApplication.getState(); in updateExternalState()
654 if (appState == IccCardApplicationStatus.AppState.APPSTATE_PIN) { in updateExternalState()
658 } else if (appState == IccCardApplicationStatus.AppState.APPSTATE_PUK) { in updateExternalState()
662 } else if (appState == IccCardApplicationStatus.AppState.APPSTATE_SUBSCRIPTION_PERSO) { in updateExternalState()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccCardApplicationTest.java56 private IccCardApplicationStatus.AppState mAppState;
72 mUiccCardAppStatus.app_state = IccCardApplicationStatus.AppState.APPSTATE_PIN; in setUp()
93 mAppState = IccCardApplicationStatus.AppState.APPSTATE_DETECTED; in setUp()
96 mAppState = IccCardApplicationStatus.AppState.APPSTATE_READY; in setUp()
133 assertEquals(IccCardApplicationStatus.AppState.APPSTATE_PIN, in testGetSetAppState()
135 mUiccCardAppStatus.app_state = IccCardApplicationStatus.AppState.APPSTATE_PUK; in testGetSetAppState()
139 assertEquals(IccCardApplicationStatus.AppState.APPSTATE_PUK, in testGetSetAppState()
225 mUiccCardAppStatus.app_state = IccCardApplicationStatus.AppState.APPSTATE_DETECTED; in testAppStateChangeNotification()
228 assertEquals(IccCardApplicationStatus.AppState.APPSTATE_DETECTED, mAppState); in testAppStateChangeNotification()
229 assertEquals(IccCardApplicationStatus.AppState.APPSTATE_DETECTED, in testAppStateChangeNotification()
[all …]
DUiccProfileTest.java55 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState;
90 IccCardApplicationStatus.AppState appState, String aid) { in composeUiccApplicationStatus()
118 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA2"); in setUp()
195 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA0"); in testUpdateUiccProfileApplication()
198 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA1"); in testUpdateUiccProfileApplication()
201 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA2"); in testUpdateUiccProfileApplication()
256 IccCardApplicationStatus.AppState.APPSTATE_READY, "0xA0"); in testUpdateUiccProfileApplicationNotReady()
259 IccCardApplicationStatus.AppState.APPSTATE_READY, "0xA1"); in testUpdateUiccProfileApplicationNotReady()
262 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA2"); in testUpdateUiccProfileApplicationNotReady()
286 IccCardApplicationStatus.AppState.APPSTATE_READY, "0xA0"); in testUpdateUiccProfileApplicationAllReady()
[all …]
DUiccControllerTest.java80 IccCardApplicationStatus.AppState appState, String aid) { in composeUiccApplicationStatus()
205 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA0"); in testPowerOffPowerOnWithApp()
208 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA1"); in testPowerOffPowerOnWithApp()
211 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA2"); in testPowerOffPowerOnWithApp()
/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.java762 doReturn(IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN). in testSpnUpdateShowPlmnOnly()
1553 doReturn(IccCardApplicationStatus.AppState.APPSTATE_READY).when( in testOnRestrictedStateChanged()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cat/
DCATServiceTest.java115 IccCardApplicationStatus.AppState appState, String aid) { in composeUiccApplicationStatus()
138 IccCardApplicationStatus.AppState.APPSTATE_UNKNOWN, "0xA2"); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaMmiCode.java38 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState;
250 && mUiccApplication.getState() == AppState.APPSTATE_PUK) { in processCode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaConnection.java40 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState;
583 AppState uiccAppState = (cardApp != null) ? cardApp.getState() : in disconnectCauseFromCode()
584 AppState.APPSTATE_UNKNOWN; in disconnectCauseFromCode()
599 if (uiccAppState != AppState.APPSTATE_READY) { in disconnectCauseFromCode()
DServiceStateTracker.java108 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState;
1241 || mUiccApplication.getState() != AppState.APPSTATE_READY) { in handleMessage()
3963 if (mUiccApplication != null && mUiccApplication.getState() == AppState.APPSTATE_READY in getOperatorNameFromEri()
4297 && mUiccApplication.getState() == AppState.APPSTATE_READY) { in onRestrictedStateChanged()
5097 iccCardExist = mUiccApplication.getState() != AppState.APPSTATE_UNKNOWN; in iccCardExists()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/
DCarrierDisplayNameResolver.java47 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState;
452 && mPhone.getUiccCardApplication().getState() == AppState.APPSTATE_READY; in getOutOfServiceDisplayName()
/frameworks/base/core/proto/android/server/
Dwindowmanagerservice.proto174 enum AppState { enum
180 optional AppState app_transition_state = 1;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmMmiCode.java59 import com.android.internal.telephony.uicc.IccCardApplicationStatus.AppState;
1238 && mUiccApplication.getState() == AppState.APPSTATE_PUK) { in processCode()
/frameworks/base/boot/
Dpreloaded-classes12831 com.android.internal.telephony.uicc.IccCardApplicationStatus$AppState
14536 [Lcom.android.internal.telephony.uicc.IccCardApplicationStatus$AppState;
Dboot-image-profile.txt35272 Lcom/android/internal/telephony/uicc/IccCardApplicationStatus$AppState;
36984 [Lcom/android/internal/telephony/uicc/IccCardApplicationStatus$AppState;
/frameworks/base/config/
Dpreloaded-classes12862 com.android.internal.telephony.uicc.IccCardApplicationStatus$AppState
17562 [Lcom.android.internal.telephony.uicc.IccCardApplicationStatus$AppState;
Dboot-image-profile.txt45433 Lcom/android/internal/telephony/uicc/IccCardApplicationStatus$AppState;
50154 [Lcom/android/internal/telephony/uicc/IccCardApplicationStatus$AppState;