Searched refs:slotId (Results 1 - 20 of 20) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSubscriptionInfoUpdater.java208 int slotId = intent.getIntExtra(PhoneConstants.PHONE_KEY,
210 logd("slotId: " + slotId);
211 if (slotId == SubscriptionManager.INVALID_SIM_SLOT_INDEX) {
219 rebroadcastIntentsOnUnlock.put(slotId, intent);
221 sendMessage(obtainMessage(EVENT_SIM_ABSENT, slotId, -1));
223 sendMessage(obtainMessage(EVENT_SIM_UNKNOWN, slotId, -1));
225 sendMessage(obtainMessage(EVENT_SIM_IO_ERROR, slotId, -1));
227 sendMessage(obtainMessage(EVENT_SIM_RESTRICTED, slotId, -1));
235 sendMessage(obtainMessage(EVENT_SIM_LOCKED, slotId,
357 public int slotId; field in class:SubscriptionInfoUpdater.QueryIccIdUserObj
359 QueryIccIdUserObj(String reason, int slotId) argument
365 handleSimLocked(int slotId, String reason) argument
392 handleSimLoaded(int slotId) argument
500 updateCarrierServices(int slotId, String simState) argument
507 handleSimAbsent(int slotId) argument
677 broadcastSimStateChanged(int slotId, String state, String reason) argument
[all...]
H A DSubscriptionController.java61 * Any setters which take subId, slotId or phoneId as a parameter will throw an exception if the
668 * @param slotId the slot which the SIM is inserted
672 public int addSubInfoRecord(String iccId, int slotId) { argument
674 " slotId:" + slotId);
701 value.put(SubscriptionManager.SIM_SLOT_INDEX, slotId);
711 if (slotId != oldSimInfoId) {
712 value.put(SubscriptionManager.SIM_SLOT_INDEX, slotId);
735 new String[] {String.valueOf(slotId)}, null);
741 // If sSlotIdxToSubId already has a valid subId for a slotId/phoneI
838 setPlmnSpn(int slotId, boolean showPlmn, String plmn, boolean showSpn, String spn) argument
1566 getSubIdUsingSlotId(int slotId) argument
1570 getSubInfoUsingSlotIdWithCheck(int slotId, boolean needCheck, String callingPackage) argument
[all...]
H A DBaseCommands.java851 public void setUiccSubscription(int slotId, int appIndex, int subId, int subStatus, argument
H A DCommandsInterface.java1906 * @param slotId
1918 public void setUiccSubscription(int slotId, int appIndex, int subId, int subStatus, argument
H A DRIL.java846 public void setUiccSubscription(int slotId, int appIndex, int subId, argument
852 + " slot: " + slotId + " appIndex: " + appIndex
855 rr.mParcel.writeInt(slotId);
/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
788 getInstance(int slotId) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DISub.aidl99 * @param slotId the slot which the SIM is inserted
102 int addSubInfoRecord(String iccId, int slotId);
147 int[] getSubId(int slotId);
H A DITelephony.aidl370 int getCallStateForSlot(int slotId);
386 * @param slotId - slot to query.
388 int getActivePhoneTypeForSlot(int slotId);
518 * @param slotId user preferred slotId.
521 boolean hasIccCardUsingSlotId(int slotId);
1022 * @param slotId - device slot.
1027 String getImeiForSlot(int slotId, String callingPackage);
1032 * @param slotId - device slot.
1037 String getDeviceSoftwareVersionForSlot(int slotId, Strin
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DSubscriptionControllerMock.java144 public int addSubInfoRecord(String iccId, int slotId) { argument
148 public boolean setPlmnSpn(int slotId, boolean showPlmn, String plmn, boolean showSpn, argument
246 public int[] getSubIdUsingSlotId(int slotId) { argument
247 return getSubId(slotId);
250 public List<SubscriptionInfo> getSubInfoUsingSlotIdWithCheck(int slotId, boolean needCheck, argument
/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.java370 cb.onSimStateChanged(data.subId, data.slotId, data.simState);
682 + " slotId: " + args.slotId + " subid: " + args.subId);
684 mHandler.obtainMessage(MSG_SIM_STATE_CHANGE, args.subId, args.slotId, args.simState)
798 public int slotId; field in class:KeyguardUpdateMonitor.SimData
803 slotId = slot;
813 int slotId = intent.getIntExtra(PhoneConstants.SLOT_KEY, 0);
848 return new SimData(state, slotId, subId);
853 return "SimData{state=" + simState + ",slotId=" + slotId
1399 handleSimStateChange(int subId, int slotId, State state) argument
1696 refreshSimState(int subId, int slotId) argument
[all...]
H A DEmergencyButton.java64 public void onSimStateChanged(int subId, int slotId, State simState) {
H A DKeyguardSimPinView.java60 public void onSimStateChanged(int subId, int slotId, State simState) {
H A DKeyguardSimPukView.java62 public void onSimStateChanged(int subId, int slotId, State simState) {
/frameworks/base/telephony/java/android/telephony/
H A DSubscriptionManager.java674 * @param slotId the slot which the SIM is inserted
678 public Uri addSubscriptionInfoRecord(String iccId, int slotId) { argument
679 if (VDBG) logd("[addSubscriptionInfoRecord]+ iccId:" + iccId + " slotId:" + slotId);
683 if (!isValidSlotId(slotId)) {
684 logd("[addSubscriptionInfoRecord]- invalid slotId");
691 iSub.addSubInfoRecord(iccId, slotId);
833 * Get slotId associated with the subscription.
834 * @return slotId as a positive integer or a negative value if an error either
861 public static int[] getSubId(int slotId) { argument
1158 isValidSlotId(int slotId) argument
[all...]
H A DTelephonyManager.java820 * @param slotId of which deviceID is returned
823 public String getDeviceSoftwareVersion(int slotId) { argument
828 return telephony.getDeviceSoftwareVersionForSlot(slotId, getOpPackageName());
863 * @param slotId of which deviceID is returned
865 public String getDeviceId(int slotId) { argument
866 // FIXME this assumes phoneId == slotId
871 return info.getDeviceIdForPhone(slotId, mContext.getOpPackageName());
896 * @param slotId of which deviceID is returned
899 public String getImei(int slotId) { argument
904 return telephony.getImeiForSlot(slotId, getOpPackageNam
927 getNai(int slotId) argument
1124 getCurrentPhoneTypeForSlot(int slotId) argument
1836 hasIccCard(int slotId) argument
2854 getCallStateForSlot(int slotId) argument
5588 setAllowedCarriers(int slotId, List<CarrierIdentifier> carriers) argument
5608 getAllowedCarriers(int slotId) argument
[all...]
H A DPhoneNumberUtils.java1863 int slotId = SubscriptionManager.getSlotId(subId);
1867 String ecclist = (slotId <= 0) ? "ril.ecclist" : ("ril.ecclist" + slotId);
1871 Rlog.d(LOG_TAG, "slotId:" + slotId + " subId:" + subId + " country:"
1905 emergencyNumbers = ((slotId < 0) ? "112,911,000,08,110,118,119,999" : "112,911");
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardViewMediator.java407 public void onSimStateChanged(int subId, int slotId, IccCardConstants.State simState) {
410 Log.d(TAG, "onSimStateChanged(subId=" + subId + ", slotId=" + slotId
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedCommandsVerifier.java1292 public void setUiccSubscription(int slotId, int appIndex, int subId, int subStatus, argument

Completed in 2443 milliseconds