/packages/apps/Stk/src/com/android/stk/ |
D | StkAppService.java | 292 int slotId; field in StkAppService.DelayedCmd 294 DelayedCmd(int id, CatCmdMessage msg, int slotId) { in DelayedCmd() argument 297 this.slotId = slotId; in DelayedCmd() 354 int slotId = 0; in onStart() local 357 slotId = args.getInt(SLOT_ID); in onStart() 359 CatLog.d(LOG_TAG, "onStart sim id: " + slotId + ", op: " + op + ", *****"); in onStart() 360 if ((slotId >= 0 && slotId < mSimCount) && mStkService[slotId] == null) { in onStart() 361 mStkService[slotId] = CatService.getInstance(slotId); in onStart() 362 if (mStkService[slotId] == null) { in onStart() 363 CatLog.d(LOG_TAG, "mStkService is: " + mStkContext[slotId].mStkServiceState); in onStart() [all …]
|
D | StkMenuConfig.java | 91 public String getLabel(int slotId) { in getLabel() argument 92 findConfig(slotId); in getLabel() 94 if (DBG) CatLog.d(LOG_TAG, "getLabel: " + mConfigs[slotId].label + ", slot id: " + slotId); in getLabel() 95 return mConfigs[slotId].label; in getLabel() 101 public Bitmap getIcon(int slotId) { in getIcon() argument 102 findConfig(slotId); in getIcon() 105 if (mConfigs[slotId].icon != null) { in getIcon() 106 int resId = mContext.getResources().getIdentifier(mConfigs[slotId].icon, in getIcon() 111 if (DBG) CatLog.d(LOG_TAG, "getIcon: " + mConfigs[slotId].icon + ", slot id: " + slotId); in getIcon() 115 private void findConfig(int slotId) { in findConfig() argument [all …]
|
D | StkMain.java | 95 private void launchSTKMainMenu(int slotId) { in launchSTKMainMenu() argument 99 args.putInt(StkAppService.SLOT_ID, slotId); in launchSTKMainMenu()
|
/packages/services/Telephony/src/com/android/services/telephony/rcs/ |
D | TelephonyRcsService.java | 57 RcsFeatureController createController(Context context, int slotId); in createController() argument 63 UserCapabilityExchangeImpl createUserCapabilityExchange(Context context, int slotId, in createUserCapabilityExchange() argument 69 public RcsFeatureController createController(Context context, int slotId) { 70 return new RcsFeatureController(context, slotId); 74 public UserCapabilityExchangeImpl createUserCapabilityExchange(Context context, int slotId, 76 return new UserCapabilityExchangeImpl(context, slotId, subId); 101 int slotId = bundle.getInt(CarrierConfigManager.EXTRA_SLOT_INDEX, 105 updateFeatureControllerSubscription(slotId, subId); 137 public RcsFeatureController getFeatureController(int slotId) { in getFeatureController() argument 139 return mFeatureControllers.get(slotId); in getFeatureController() [all …]
|
D | RcsFeatureController.java | 86 FeatureConnector<T> create(Context context, int slotId, in create() argument 169 public RcsFeatureController(Context context, int slotId) { in RcsFeatureController() argument 171 mSlotId = slotId; in RcsFeatureController() 180 public RcsFeatureController(Context context, int slotId, RegistrationHelperFactory f) { in RcsFeatureController() argument 182 mSlotId = slotId; in RcsFeatureController()
|
D | UserCapabilityExchangeImpl.java | 112 UserCapabilityExchangeImpl(Context context, int slotId, int subId) { in UserCapabilityExchangeImpl() argument 113 mSlotId = slotId; in UserCapabilityExchangeImpl() 141 UserCapabilityExchangeImpl(Context context, int slotId, int subId, Looper looper, in UserCapabilityExchangeImpl() argument 144 mSlotId = slotId; in UserCapabilityExchangeImpl()
|
/packages/services/Telephony/src/com/android/phone/ |
D | TelephonyShellCommand.java | 467 int slotId = getDefaultSlot(); in handleImsSetServiceCommand() local 476 slotId = Integer.parseInt(getNextArgRequired()); in handleImsSetServiceCommand() 529 boolean result = mInterface.setBoundImsServiceOverride(slotId, isCarrierService, in handleImsSetServiceCommand() 532 Log.v(LOG_TAG, "ims set-ims-service -s " + slotId + " " in handleImsSetServiceCommand() 539 Log.w(LOG_TAG, "ims set-ims-service -s " + slotId + " " in handleImsSetServiceCommand() 552 int slotId = getDefaultSlot(); in handleImsGetServiceCommand() local 561 slotId = Integer.parseInt(getNextArgRequired()); in handleImsGetServiceCommand() 599 result = mInterface.getBoundImsServicePackage(slotId, isCarrierService, featureType); in handleImsGetServiceCommand() 604 Log.v(LOG_TAG, "ims get-ims-service -s " + slotId + " " in handleImsGetServiceCommand() 614 int slotId = getDefaultSlot(); in handleEnableIms() local [all …]
|
D | PhoneInterfaceManager.java | 3475 int slotId = getSlotIndex(subId); in isMmTelCapabilitySupported() local 3476 if (slotId <= SubscriptionManager.INVALID_SIM_SLOT_INDEX) { in isMmTelCapabilitySupported() 3481 ImsManager.getInstance(mApp, slotId).isSupported(capability, in isMmTelCapabilitySupported() 4119 int slotId = getSlotIndex(subId); in getImsProvisioningInt() local 4120 if (slotId <= SubscriptionManager.INVALID_SIM_SLOT_INDEX) { in getImsProvisioningInt() 4125 return ImsManager.getInstance(mApp, slotId).getConfigInterface().getConfigInt(key); in getImsProvisioningInt() 4144 int slotId = getSlotIndex(subId); in getImsProvisioningString() local 4145 if (slotId <= SubscriptionManager.INVALID_SIM_SLOT_INDEX) { in getImsProvisioningString() 4150 return ImsManager.getInstance(mApp, slotId).getConfigInterface().getConfigString(key); in getImsProvisioningString() 4170 int slotId = getSlotIndex(subId); in setImsProvisioningInt() local [all …]
|
D | SpecialCharSequenceMgr.java | 196 private static IccCardConstants.State getSimState(int slotId, Context context) { in getSimState() argument 198 int simState = tele.getSimState(slotId); in getSimState()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/ |
D | ImeiInfoDialogController.java | 74 public ImeiInfoDialogController(@NonNull ImeiInfoDialogFragment dialog, int slotId) { in ImeiInfoDialogController() argument 76 mSlotId = slotId; in ImeiInfoDialogController() 79 .getActiveSubscriptionInfoForSimSlotIndex(slotId); in ImeiInfoDialogController() 84 } else if(isValidSlotIndex(slotId, tm)) { in ImeiInfoDialogController() 153 boolean isSimPresent(int slotId) { in isSimPresent() argument 154 final int simState = mTelephonyManager.getSimState(slotId); in isSimPresent()
|
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/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/imei/ |
D | ImeiInfoDialogController.java | 73 public ImeiInfoDialogController(@NonNull ImeiInfoDialogFragment dialog, int slotId) { in ImeiInfoDialogController() argument 75 mSlotId = slotId; in ImeiInfoDialogController() 79 mSubscriptionInfo = getSubscriptionInfo(context, slotId); in ImeiInfoDialogController() 127 private SubscriptionInfo getSubscriptionInfo(Context context, int slotId) { in getSubscriptionInfo() argument 134 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/services/Telephony/tests/src/com/android/services/telephony/rcs/ |
D | TelephonyRcsServiceTest.java | 214 private void sendCarrierConfigChanged(int slotId, int subId) { in sendCarrierConfigChanged() argument 216 intent.putExtra(CarrierConfigManager.EXTRA_SLOT_INDEX, slotId); in sendCarrierConfigChanged() 226 private void setSlotToSubIdMapping(int slotId, int loadedSubId) { in setSlotToSubIdMapping() argument 230 doReturn(subIds).when(m).getSubscriptionIds(eq(slotId)); in setSlotToSubIdMapping() 241 private RcsFeatureController createFeatureController(int slotId) { in createFeatureController() argument 244 RcsFeatureController controller = spy(new RcsFeatureController(mContext, slotId, in createFeatureController()
|
/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 | 204 int slotId) { in SimStatusDialogController() argument 207 mSlotIndex = slotId; in SimStatusDialogController() 208 mSubscriptionInfo = getPhoneSubscriptionInfo(slotId); in SimStatusDialogController() 650 private SubscriptionInfo getPhoneSubscriptionInfo(int slotId) { in getPhoneSubscriptionInfo() argument 651 return SubscriptionManager.from(mContext).getActiveSubscriptionInfoForSimSlotIndex(slotId); in getPhoneSubscriptionInfo()
|
/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 | 140 int slotId) { in SimStatusDialogController() argument 143 mSubscriptionInfo = getPhoneSubscriptionInfo(slotId); in SimStatusDialogController() 417 private SubscriptionInfo getPhoneSubscriptionInfo(int slotId) { in getPhoneSubscriptionInfo() argument 420 if (subscriptionInfoList != null && subscriptionInfoList.size() > slotId) { in getPhoneSubscriptionInfo() 421 return subscriptionInfoList.get(slotId); in getPhoneSubscriptionInfo()
|
/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 | 420 final int slotId = subscriptionInfo.getSimSlotIndex(); in updateSubscriptionInfoForSelfIfChanged() local 423 if (mSlotId != slotId || mSubscriptionColor != color || mSubscriptionName != name) { in updateSubscriptionInfoForSelfIfChanged() 424 mSlotId = slotId; in updateSubscriptionInfoForSelfIfChanged()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnectionService.java | 179 public int slotId; field in TelephonyConnectionService.SlotStatus 189 public SlotStatus(int slotId, int capabilities) { in SlotStatus() argument 190 this.slotId = slotId; in SlotStatus() 201 int getSimStateForSlotIdx(int slotId); in getSimStateForSlotIdx() argument 212 public int getSimStateForSlotIdx(int slotId) { 213 return SubscriptionManager.getSimStateForSlotIndex(slotId); 228 boolean hasIccCard(int slotId); in hasIccCard() argument 249 public boolean hasIccCard(int slotId) { in hasIccCard() argument 250 return mTelephonyManager.hasIccCard(slotId); in hasIccCard() 2193 if (o1.slotId == firstOccupiedSlot.getPhoneId()) { in getFirstPhoneForEmergencyCall() [all …]
|
D | TelecomAccountRegistry.java | 283 int slotId = SubscriptionManager.INVALID_SIM_SLOT_INDEX; in buildPstnPhoneAccount() local 316 slotId = record.getSimSlotIndex(); in buildPstnPhoneAccount() 322 if (SubscriptionManager.isValidSlotIndex(slotId)) { in buildPstnPhoneAccount() 323 slotIdString = Integer.toString(slotId); in buildPstnPhoneAccount() 423 if (slotId != SubscriptionManager.INVALID_SIM_SLOT_INDEX) { in buildPstnPhoneAccount() 425 String.valueOf(slotId)); in buildPstnPhoneAccount()
|
/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()
|