Home
last modified time | relevance | path

Searched refs:ics (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccControllerTest.java262 IccCardStatus ics = new IccCardStatus(); in testCardIdFromIccStatus() local
263 ics.setCardState(1 /* present */); in testCardIdFromIccStatus()
264 ics.setUniversalPinState(3 /* disabled */); in testCardIdFromIccStatus()
265 ics.atr = "abcdef0123456789abcdef"; in testCardIdFromIccStatus()
266 ics.iccid = "123451234567890"; in testCardIdFromIccStatus()
267 ics.eid = "A1B2C3D4"; in testCardIdFromIccStatus()
268 ics.mSlotPortMapping = new IccSlotPortMapping(); in testCardIdFromIccStatus()
269 ics.mSlotPortMapping.mPhysicalSlotIndex = 0; in testCardIdFromIccStatus()
270 ics.mSlotPortMapping.mPortIndex = 0; in testCardIdFromIccStatus()
271 AsyncResult ar = new AsyncResult(null, ics, null); in testCardIdFromIccStatus()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCard.java48 public EuiccCard(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId, Object lock, in EuiccCard() argument
50 super(c, ci, ics, phoneId, lock, supportedMepMode); in EuiccCard()
51 if (TextUtils.isEmpty(ics.eid)) { in EuiccCard()
55 mEid = ics.eid; in EuiccCard()
56 mCardId = ics.eid; in EuiccCard()
79 public void update(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId) { in update() argument
81 if (!TextUtils.isEmpty(ics.eid)) { in update()
82 mEid = ics.eid; in update()
84 super.update(c, ci, ics, phoneId); in update()
DEuiccPort.java132 public EuiccPort(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId, Object lock, in EuiccPort() argument
134 super(c, ci, ics, phoneId, lock, card); in EuiccPort()
137 if (TextUtils.isEmpty(ics.eid)) { in EuiccPort()
140 mEid = ics.eid; in EuiccPort()
141 mCardId = ics.eid; in EuiccPort()
161 public void update(Context c, CommandsInterface ci, IccCardStatus ics, UiccCard uiccCard) { in update() argument
163 if (!TextUtils.isEmpty(ics.eid)) { in update()
164 mEid = ics.eid; in update()
166 super.update(c, ci, ics, uiccCard); in update()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCard.java61 public UiccCard(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId, Object lock, in UiccCard() argument
64 mCardState = ics.mCardState; in UiccCard()
67 update(c, ci, ics, phoneId); in UiccCard()
106 public void update(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId) { in update() argument
108 mCardState = ics.mCardState; in update()
109 updateCardId(ics.iccid); in update()
111 int portIdx = ics.mSlotPortMapping.mPortIndex; in update()
115 port = new EuiccPort(c, ci, ics, phoneId, mLock, this, in update()
118 port = new UiccPort(c, ci, ics, phoneId, mLock, this); // pSim in update()
122 port.update(c, ci, ics, this); in update()
DUiccSlot.java118 public void update(CommandsInterface ci, IccCardStatus ics, int phoneId, int slotIndex) { in update() argument
120 mPortIdxToPhoneId.put(ics.mSlotPortMapping.mPortIndex, phoneId); in update()
121 CardState oldState = mCardState.get(ics.mSlotPortMapping.mPortIndex); in update()
122 mCardState.put(ics.mSlotPortMapping.mPortIndex, ics.mCardState); in update()
123 mIccIds.put(ics.mSlotPortMapping.mPortIndex, ics.iccid); in update()
124 parseAtr(ics.atr); in update()
127 if (ics.mCardState.isCardPresent()) { in update()
128 updateSupportedMepMode(ics.mSupportedMepMode); in update()
136 if (absentStateUpdateNeeded(oldState, ics.mSlotPortMapping.mPortIndex)) { in update()
138 ics.mSlotPortMapping.mPortIndex); in update()
[all …]
DUiccPort.java67 public UiccPort(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId, Object lock, in UiccPort() argument
72 update(c, ci, ics, uiccCard); in UiccPort()
78 public void update(Context c, CommandsInterface ci, IccCardStatus ics, UiccCard uiccCard) { in update() argument
82 mIccid = ics.iccid; in update()
83 mPortIdx = ics.mSlotPortMapping.mPortIndex; in update()
84 mPhysicalSlotIndex = ics.mSlotPortMapping.mPhysicalSlotIndex; in update()
88 mContext, mCi, ics, mPhoneId, uiccCard, mLock, sFlags); in update()
90 mUiccProfile.update(mContext, mCi, ics); in update()
DUiccProfile.java331 public UiccProfile(Context c, CommandsInterface ci, IccCardStatus ics, int phoneId, in UiccProfile() argument
351 update(c, ci, ics); in UiccProfile()
1122 public void update(Context c, CommandsInterface ci, IccCardStatus ics) { in update() argument
1124 mUniversalPinState = ics.mUniversalPinState; in update()
1125 mGsmUmtsSubscriptionAppIndex = ics.mGsmUmtsSubscriptionAppIndex; in update()
1126 mCdmaSubscriptionAppIndex = ics.mCdmaSubscriptionAppIndex; in update()
1127 mImsSubscriptionAppIndex = ics.mImsSubscriptionAppIndex; in update()
1134 if (DBG) log(ics.mApplications.length + " applications"); in update()
1135 mLastReportedNumOfUiccApplications = ics.mApplications.length; in update()
1140 if (i < ics.mApplications.length) { in update()
[all …]
/frameworks/base/cmds/incidentd/src/
DBroadcaster.cpp135 sp<IIncidentCompanion> ics = get_incident_companion(); in clearBroadcasts() local
136 if (ics != nullptr) { in clearBroadcasts()
137 ics->cancelAuthorization(found->second.listener); in clearBroadcasts()
151 sp<IIncidentCompanion> ics = get_incident_companion(); in clearPackageBroadcasts() local
152 if (ics != nullptr) { in clearPackageBroadcasts()
153 ics->cancelAuthorization(it->second.listener); in clearPackageBroadcasts()
302 sp<IIncidentCompanion> ics = get_incident_companion(); in send_approval_broadcasts() local
303 if (ics == nullptr) { in send_approval_broadcasts()
311 Status status = ics->authorizeReport(0, String16(pkg.c_str()), in send_approval_broadcasts()
366 sp<IIncidentCompanion> ics = get_incident_companion(); in send_report_ready_broadcasts() local
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyComponentFactory.java353 public UiccProfile makeUiccProfile(Context context, CommandsInterface ci, IccCardStatus ics,
356 return new UiccProfile(context, ci, ics, phoneId, uiccCard, lock, flags);
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp3091 sp<android::IBinder> ics( in RetrieveInternal() local
3094 if (ics != nullptr) { in RetrieveInternal()
3097 android::interface_cast<android::os::IIncidentCompanion>(ics)->authorizeReport( in RetrieveInternal()
3117 android::interface_cast<android::os::IIncidentCompanion>(ics)->cancelAuthorization( in RetrieveInternal()
3441 sp<android::IBinder> ics(defaultServiceManager()->getService(incidentcompanion)); in RunInternal() local
3442 if (ics != nullptr) { in RunInternal()
3444 android::interface_cast<android::os::IIncidentCompanion>(ics)->cancelAuthorization( in RunInternal()
3609 sp<android::IBinder> ics(defaultServiceManager()->getService(incidentcompanion)); in MaybeCheckUserConsent() local
3611 if (ics != nullptr) { in MaybeCheckUserConsent()
3617 android::interface_cast<android::os::IIncidentCompanion>(ics)->authorizeReport( in MaybeCheckUserConsent()