Searched defs:slotId (Results 1 - 11 of 11) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DRilMessageDecoder.java59 int slotId) {
68 if (slotId != SubscriptionManager.INVALID_SIM_SLOT_INDEX && slotId < mSimCount) {
69 if (null == mInstance[slotId]) {
70 mInstance[slotId] = new RilMessageDecoder(caller, fh);
73 CatLog.d("RilMessageDecoder", "invaild slot id: " + slotId);
77 return mInstance[slotId];
58 getInstance(Handler caller, IccFileHandler fh, int slotId) argument
H A DCatService.java131 Context context, IccFileHandler fh, UiccCard ic, int slotId) {
139 mSlotId = slotId;
140 mHandlerThread = new HandlerThread("Cat Telephony service" + slotId);
144 mMsgDecoder = RilMessageDecoder.getInstance(this, fh, slotId);
185 * @param slotId to know the index of card
189 Context context, UiccCard ic, int slotId) {
212 if (sInstance[slotId] == null) {
218 sInstance[slotId] = new CatService(ci, ca, ir, context, fh, ic, slotId);
221 mIccRecords.unregisterForRecordsLoaded(sInstance[slotId]);
130 CatService(CommandsInterface ci, UiccCardApplication ca, IccRecords ir, Context context, IccFileHandler fh, UiccCard ic, int slotId) argument
188 getInstance(CommandsInterface ci, Context context, UiccCard ic, int slotId) argument
783 getInstance(int slotId) argument
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardUpdateMonitorCallback.java120 * @param slotId
123 public void onSimStateChanged(int subId, int slotId, IccCardConstants.State simState) { } argument
H A DKeyguardUpdateMonitor.java323 cb.onSimStateChanged(data.subId, data.slotId, data.simState);
572 + " slotId: " + args.slotId + " subid: " + args.subId);
574 mHandler.obtainMessage(MSG_SIM_STATE_CHANGE, args.subId, args.slotId, args.simState)
663 public int slotId; field in class:KeyguardUpdateMonitor.SimData
668 slotId = slot;
678 int slotId = intent.getIntExtra(PhoneConstants.SLOT_KEY, 0);
713 return new SimData(state, slotId, subId);
717 return "SimData{state=" + simState + ",slotId=" + slotId
1125 handleSimStateChange(int subId, int slotId, State state) argument
1408 refreshSimState(int subId, int slotId) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSubscriptionInfoUpdater.java179 int slotId = intent.getIntExtra(PhoneConstants.PHONE_KEY,
181 logd("slotId: " + slotId);
182 if (slotId == SubscriptionManager.INVALID_SIM_SLOT_INDEX) {
191 sendMessage(obtainMessage(EVENT_SIM_ABSENT, slotId, -1));
193 sendMessage(obtainMessage(EVENT_SIM_UNKNOWN, slotId, -1));
195 sendMessage(obtainMessage(EVENT_SIM_IO_ERROR, slotId, -1));
203 sendMessage(obtainMessage(EVENT_SIM_LOCKED, slotId, -1, reason));
205 sendMessage(obtainMessage(EVENT_SIM_LOADED, slotId, -1));
254 int slotId
321 public int slotId; field in class:SubscriptionInfoUpdater.QueryIccIdUserObj
323 QueryIccIdUserObj(String reason, int slotId) argument
329 handleSimLocked(int slotId, String reason) argument
356 handleSimLoaded(int slotId) argument
460 updateCarrierServices(int slotId, String simState) argument
467 handleSimAbsent(int slotId) argument
636 broadcastSimStateChanged(int slotId, String state, String reason) argument
[all...]
H A DSubscriptionController.java62 * Any setters which take subId, slotId or phoneId as a parameter will throw an exception if the
663 * @param slotId the slot which the SIM is inserted
667 public int addSubInfoRecord(String iccId, int slotId) { argument
668 if (DBG) logdl("[addSubInfoRecord]+ iccId:" + iccId + " slotId:" + slotId);
695 value.put(SubscriptionManager.SIM_SLOT_INDEX, slotId);
705 if (slotId != oldSimInfoId) {
706 value.put(SubscriptionManager.SIM_SLOT_INDEX, slotId);
729 new String[] {String.valueOf(slotId)}, null);
735 // If sSlotIdxToSubId already has a valid subId for a slotId/phoneI
832 setPlmnSpn(int slotId, boolean showPlmn, String plmn, boolean showSpn, String spn) argument
1564 getSubIdUsingSlotId(int slotId) argument
1568 getSubInfoUsingSlotIdWithCheck(int slotId, boolean needCheck, String callingPackage) argument
[all...]
H A DBaseCommands.java849 public void setUiccSubscription(int slotId, int appIndex, int subId, int subStatus, argument
H A DCommandsInterface.java1904 * @param slotId
1916 public void setUiccSubscription(int slotId, int appIndex, int subId, int subStatus, argument
H A DRIL.java729 public void setUiccSubscription(int slotId, int appIndex, int subId, argument
735 + " slot: " + slotId + " appIndex: " + appIndex
738 rr.mParcel.writeInt(slotId);
/frameworks/base/telephony/java/android/telephony/
H A DSubscriptionManager.java664 * @param slotId the slot which the SIM is inserted
668 public Uri addSubscriptionInfoRecord(String iccId, int slotId) { argument
669 if (VDBG) logd("[addSubscriptionInfoRecord]+ iccId:" + iccId + " slotId:" + slotId);
673 if (!isValidSlotId(slotId)) {
674 logd("[addSubscriptionInfoRecord]- invalid slotId");
681 iSub.addSubInfoRecord(iccId, slotId);
823 * Get slotId associated with the subscription.
824 * @return slotId as a positive integer or a negative value if an error either
851 public static int[] getSubId(int slotId) { argument
1111 isValidSlotId(int slotId) argument
[all...]
H A DTelephonyManager.java673 * @param slotId of which deviceID is returned
676 public String getDeviceSoftwareVersion(int slotId) { argument
678 int[] subId = SubscriptionManager.getSubId(slotId);
721 * @param slotId of which deviceID is returned
723 public String getDeviceId(int slotId) { argument
724 // FIXME this assumes phoneId == slotId
729 return info.getDeviceIdForPhone(slotId);
754 * @param slotId of which deviceID is returned
757 public String getImei(int slotId) { argument
758 int[] subId = SubscriptionManager.getSubId(slotId);
786 getNai(int slotId) argument
1662 hasIccCard(int slotId) argument
[all...]

Completed in 167 milliseconds