/packages/apps/Stk/src/com/android/stk/ |
D | StkAppService.java | 286 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 …]
|
D | StkMenuConfig.java | 90 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 …]
|
D | StkMain.java | 95 private void launchSTKMainMenu(int slotId) { in launchSTKMainMenu() argument 100 , PhoneConstants.SIM_ID_1 + slotId); in launchSTKMainMenu()
|
/packages/services/Telephony/src/com/android/phone/ |
D | TelephonyShellCommand.java | 313 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 …]
|
D | PhoneInterfaceManager.java | 3415 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 …]
|
D | SpecialCharSequenceMgr.java | 195 private static IccCardConstants.State getSimState(int slotId, Context context) { in getSimState() argument 197 int simState = tele.getSimState(slotId); in getSimState()
|
D | MobileNetworkSettings.java | 724 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/ |
D | ImeiInfoDialogController.java | 74 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()
|
D | ImeiInfoDialogFragment.java | 46 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/ |
D | TestImsService.java | 67 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/ |
D | ImeiInfoDialogFragment.java | 46 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()
|
D | ImeiInfoDialogController.java | 75 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/ |
D | SimStatusDialogFragment.java | 49 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()
|
D | SimStatusDialogController.java | 133 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/ |
D | SimStatusDialogFragment.java | 49 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()
|
D | SimStatusDialogController.java | 145 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/ |
D | TelephonyConnectionService.java | 184 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 …]
|
D | TelecomAccountRegistry.java | 210 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/ |
D | SubscriptionListData.java | 69 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()
|
D | ParticipantData.java | 386 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/ |
D | TelephonyManagerCompat.java | 86 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/ |
D | PreferredSimDialogFragment.java | 77 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/ |
D | TelephonyConnectionServiceTest.java | 836 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/ |
D | SimDialogActivity.java | 80 private void displayPreferredDialog(final int slotId) { in displayPreferredDialog() argument 84 .getActiveSubscriptionInfoForSimSlotIndex(slotId); in displayPreferredDialog()
|
D | SimSettings.java | 288 public SimPreference(Context context, SubscriptionInfo subInfoRecord, int slotId) { in SimPreference() argument 293 mSlotId = slotId; in SimPreference()
|