Home
last modified time | relevance | path

Searched refs:slotId (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/Stk/src/com/android/stk/
DStkAppService.java286 int slotId; field in StkAppService.DelayedCmd
288 DelayedCmd(int id, CatCmdMessage msg, int slotId) { in DelayedCmd() argument
291 this.slotId = slotId; in DelayedCmd()
342 int slotId = 0; in onStart() local
345 slotId = args.getInt(SLOT_ID); in onStart()
347 CatLog.d(LOG_TAG, "onStart sim id: " + slotId + ", op: " + op + ", *****"); in onStart()
348 if ((slotId >= 0 && slotId < mSimCount) && mStkService[slotId] == null) { in onStart()
349 mStkService[slotId] = CatService.getInstance(slotId); in onStart()
350 if (mStkService[slotId] == null) { in onStart()
351 CatLog.d(LOG_TAG, "mStkService is: " + mStkContext[slotId].mStkServiceState); in onStart()
[all …]
DStkMenuConfig.java90 public String getLabel(int slotId) { in getLabel() argument
91 findConfig(slotId); in getLabel()
93 if (DBG) CatLog.d(LOG_TAG, "getLabel: " + mConfigs[slotId].label + ", slot id: " + slotId); in getLabel()
94 return mConfigs[slotId].label; in getLabel()
100 public Bitmap getIcon(int slotId) { in getIcon() argument
101 findConfig(slotId); in getIcon()
104 if (mConfigs[slotId].icon != null) { in getIcon()
105 int resId = mContext.getResources().getIdentifier(mConfigs[slotId].icon, in getIcon()
110 if (DBG) CatLog.d(LOG_TAG, "getIcon: " + mConfigs[slotId].icon + ", slot id: " + slotId); in getIcon()
114 private void findConfig(int slotId) { in findConfig() argument
[all …]
DStkMain.java95 private void launchSTKMainMenu(int slotId) { in launchSTKMainMenu() argument
100 , PhoneConstants.SIM_ID_1 + slotId); in launchSTKMainMenu()
/packages/services/Telephony/src/com/android/phone/
DTelephonyShellCommand.java313 int slotId = getDefaultSlot(); in handleImsSetServiceCommand() local
321 slotId = Integer.parseInt(getNextArgRequired()); in handleImsSetServiceCommand()
350 boolean result = mInterface.setImsService(slotId, isCarrierService, packageName); in handleImsSetServiceCommand()
352 Log.v(LOG_TAG, "ims set-ims-service -s " + slotId + " " in handleImsSetServiceCommand()
357 Log.w(LOG_TAG, "ims set-ims-service -s " + slotId + " " in handleImsSetServiceCommand()
369 int slotId = getDefaultSlot(); in handleImsGetServiceCommand() local
377 slotId = Integer.parseInt(getNextArgRequired()); in handleImsGetServiceCommand()
402 result = mInterface.getImsService(slotId, isCarrierService); in handleImsGetServiceCommand()
407 Log.v(LOG_TAG, "ims get-ims-service -s " + slotId + " " in handleImsGetServiceCommand()
415 int slotId = getDefaultSlot(); in handleEnableIms() local
[all …]
DPhoneInterfaceManager.java3415 int slotId = getSlotIndex(subId); in getImsProvisioningInt() local
3416 if (slotId <= SubscriptionManager.INVALID_SIM_SLOT_INDEX) { in getImsProvisioningInt()
3421 return ImsManager.getInstance(mApp, slotId).getConfigInterface().getConfigInt(key); in getImsProvisioningInt()
3440 int slotId = getSlotIndex(subId); in getImsProvisioningString() local
3441 if (slotId <= SubscriptionManager.INVALID_SIM_SLOT_INDEX) { in getImsProvisioningString()
3446 return ImsManager.getInstance(mApp, slotId).getConfigInterface().getConfigString(key); in getImsProvisioningString()
3466 int slotId = getSlotIndex(subId); in setImsProvisioningInt() local
3467 if (slotId <= SubscriptionManager.INVALID_SIM_SLOT_INDEX) { in setImsProvisioningInt()
3472 return ImsManager.getInstance(mApp, slotId).getConfigInterface().setConfig(key, value); in setImsProvisioningInt()
3492 int slotId = getSlotIndex(subId); in setImsProvisioningString() local
[all …]
DSpecialCharSequenceMgr.java195 private static IccCardConstants.State getSimState(int slotId, Context context) { in getSimState() argument
197 int simState = tele.getSimState(slotId); in getSimState()
DMobileNetworkSettings.java724 private void updatePhone(int slotId) { in updatePhone() argument
726 .getActiveSubscriptionInfoForSimSlotIndex(slotId); in updatePhone()
731 Log.i(LOG_TAG, "updatePhone:- slotId=" + slotId + " sir=" + sir); in updatePhone()
762 int slotId = getSlotIdFromBundle(data); in updateCurrentTab() local
763 if (slotId >= 0 && mTabHost != null && mTabHost.getCurrentTab() != slotId) { in updateCurrentTab()
764 mTabHost.setCurrentTab(slotId); in updateCurrentTab()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/imei/
DImeiInfoDialogController.java74 public ImeiInfoDialogController(@NonNull ImeiInfoDialogFragment dialog, int slotId) { in ImeiInfoDialogController() argument
76 mSlotId = slotId; in ImeiInfoDialogController()
80 mSubscriptionInfo = getSubscriptionInfo(context, slotId); in ImeiInfoDialogController()
128 private SubscriptionInfo getSubscriptionInfo(Context context, int slotId) { in getSubscriptionInfo() argument
135 return subscriptionInfoList.get(slotId); in getSubscriptionInfo()
DImeiInfoDialogFragment.java46 public static void show(@NonNull Fragment host, int slotId, String dialogTitle) { in show() argument
50 bundle.putInt(SLOT_ID_BUNDLE_KEY, slotId); in show()
66 final int slotId = bundle.getInt(SLOT_ID_BUNDLE_KEY); in onCreateDialog() local
69 final ImeiInfoDialogController controller = new ImeiInfoDialogController(this, slotId); in onCreateDialog()
/packages/services/Telephony/testapps/ImsTestService/src/com/android/phone/testapps/imstestapp/
DTestImsService.java67 public MmTelFeature createMmTelFeature(int slotId) { in createMmTelFeature() argument
73 public RcsFeature createRcsFeature(int slotId) { in createRcsFeature() argument
78 public ImsRegistrationImplBase getRegistration(int slotId) { in getRegistration() argument
84 public ImsConfigImplBase getConfig(int slotId) { in getConfig() argument
/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/
DImeiInfoDialogFragment.java46 public static void show(@NonNull Fragment host, int slotId, String dialogTitle) { in show() argument
50 bundle.putInt(SLOT_ID_BUNDLE_KEY, slotId); in show()
66 final int slotId = bundle.getInt(SLOT_ID_BUNDLE_KEY); in onCreateDialog() local
69 final ImeiInfoDialogController controller = new ImeiInfoDialogController(this, slotId); in onCreateDialog()
DImeiInfoDialogController.java75 public ImeiInfoDialogController(@NonNull ImeiInfoDialogFragment dialog, int slotId) { in ImeiInfoDialogController() argument
77 mSlotId = slotId; in ImeiInfoDialogController()
80 .getActiveSubscriptionInfoForSimSlotIndex(slotId); in ImeiInfoDialogController()
85 } else if(isValidSlotIndex(slotId, tm)) { in ImeiInfoDialogController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/simstatus/
DSimStatusDialogFragment.java49 public static void show(Fragment host, int slotId, String dialogTitle) { in show() argument
53 bundle.putInt(SIM_SLOT_BUNDLE_KEY, slotId); in show()
65 final int slotId = bundle.getInt(SIM_SLOT_BUNDLE_KEY); in onCreateDialog() local
67 mController = new SimStatusDialogController(this, mLifecycle, slotId); in onCreateDialog()
DSimStatusDialogController.java133 int slotId) { in SimStatusDialogController() argument
136 mSubscriptionInfo = getPhoneSubscriptionInfo(slotId); in SimStatusDialogController()
408 private SubscriptionInfo getPhoneSubscriptionInfo(int slotId) { in getPhoneSubscriptionInfo() argument
411 if (subscriptionInfoList != null && subscriptionInfoList.size() > slotId) { in getPhoneSubscriptionInfo()
412 return subscriptionInfoList.get(slotId); in getPhoneSubscriptionInfo()
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/
DSimStatusDialogFragment.java49 public static void show(Fragment host, int slotId, String dialogTitle) { in show() argument
53 bundle.putInt(SIM_SLOT_BUNDLE_KEY, slotId); in show()
65 final int slotId = bundle.getInt(SIM_SLOT_BUNDLE_KEY); in onCreateDialog() local
67 mController = new SimStatusDialogController(this, mLifecycle, slotId); in onCreateDialog()
DSimStatusDialogController.java145 int slotId) { in SimStatusDialogController() argument
148 mSubscriptionInfo = getPhoneSubscriptionInfo(slotId); in SimStatusDialogController()
426 private SubscriptionInfo getPhoneSubscriptionInfo(int slotId) { in getPhoneSubscriptionInfo() argument
427 return SubscriptionManager.from(mContext).getActiveSubscriptionInfoForSimSlotIndex(slotId); in getPhoneSubscriptionInfo()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java184 public int slotId; field in TelephonyConnectionService.SlotStatus
192 public SlotStatus(int slotId, int capabilities) { in SlotStatus() argument
193 this.slotId = slotId; in SlotStatus()
201 int getSimStateForSlotIdx(int slotId); in getSimStateForSlotIdx() argument
212 public int getSimStateForSlotIdx(int slotId) {
213 return SubscriptionManager.getSimStateForSlotIndex(slotId);
226 boolean hasIccCard(int slotId); in hasIccCard() argument
247 public boolean hasIccCard(int slotId) { in hasIccCard() argument
248 return mTelephonyManager.hasIccCard(slotId); in hasIccCard()
1635 if (o1.slotId == firstOccupiedSlot.getPhoneId()) { in getFirstPhoneForEmergencyCall()
[all …]
DTelecomAccountRegistry.java210 int slotId = SubscriptionManager.INVALID_SIM_SLOT_INDEX; in buildPstnPhoneAccount() local
242 slotId = record.getSimSlotIndex(); in buildPstnPhoneAccount()
248 if (SubscriptionManager.isValidSlotIndex(slotId)) { in buildPstnPhoneAccount()
249 slotIdString = Integer.toString(slotId); in buildPstnPhoneAccount()
343 if (slotId != SubscriptionManager.INVALID_SIM_SLOT_INDEX) { in buildPstnPhoneAccount()
345 String.valueOf(slotId)); in buildPstnPhoneAccount()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DSubscriptionListData.java69 final int slotId = selfParticipantData.getDisplaySlotId(); in fromSelfParticipantData() local
70 final String iconIdentifier = String.format(Locale.getDefault(), "%d", slotId); in fromSelfParticipantData()
73 context.getString(R.string.sim_slot_identifier, slotId) : subscriptionName; in fromSelfParticipantData()
DParticipantData.java386 final int slotId = subscriptionInfo.getSimSlotIndex(); in updateSubscriptionInfoForSelfIfChanged() local
389 if (mSlotId != slotId || mSubscriptionColor != color || mSubscriptionName != name) { in updateSubscriptionInfoForSelfIfChanged()
390 mSlotId = slotId; in updateSubscriptionInfoForSelfIfChanged()
/packages/apps/Contacts/src/com/android/contacts/compat/
DTelephonyManagerCompat.java86 public static String getDeviceId(@Nullable TelephonyManager telephonyManager, int slotId) { in getDeviceId() argument
93 return telephonyManager.getDeviceId(slotId); in getDeviceId()
/packages/apps/Settings/src/com/android/settings/sim/
DPreferredSimDialogFragment.java77 final int slotId = activity.getIntent().getIntExtra(SimDialogActivity.PREFERRED_SIM, in getPreferredSubscription() local
79 return getSubscriptionManager().getActiveSubscriptionInfoForSimSlotIndex(slotId); in getPreferredSubscription()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConnectionServiceTest.java836 private void setPhoneSlotState(int slotId, int slotState) { in setPhoneSlotState() argument
837 when(mSubscriptionManagerProxy.getSimStateForSlotIdx(slotId)).thenReturn(slotState); in setPhoneSlotState()
840 private void setSlotHasIccCard(int slotId, boolean isInserted) { in setSlotHasIccCard() argument
841 when(mTelephonyManagerProxy.hasIccCard(slotId)).thenReturn(isInserted); in setSlotHasIccCard()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sim/
DSimDialogActivity.java80 private void displayPreferredDialog(final int slotId) { in displayPreferredDialog() argument
84 .getActiveSubscriptionInfoForSimSlotIndex(slotId); in displayPreferredDialog()
DSimSettings.java288 public SimPreference(Context context, SubscriptionInfo subInfoRecord, int slotId) { in SimPreference() argument
293 mSlotId = slotId; in SimPreference()

12