/packages/apps/Stk/src/com/android/stk/ |
D | StkAppService.java | 282 int slotId; field in StkAppService.DelayedCmd 284 DelayedCmd(int id, CatCmdMessage msg, int slotId) { in DelayedCmd() argument 287 this.slotId = slotId; in DelayedCmd() 345 int slotId = 0; in onStart() local 348 slotId = args.getInt(SLOT_ID); in onStart() 350 CatLog.d(LOG_TAG, "onStart sim id: " + slotId + ", op: " + op + ", *****"); in onStart() 351 if ((slotId >= 0 && slotId < mSimCount) && mStkService[slotId] == null) { in onStart() 352 mStkService[slotId] = CatService.getInstance(slotId); in onStart() 353 if (mStkService[slotId] == null) { in onStart() 354 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 …]
|
/packages/services/Telephony/src/com/android/services/telephony/rcs/ |
D | TelephonyRcsService.java | 58 RcsFeatureController createController(Context context, int slotId, int subId); in createController() argument 63 UceControllerManager createUceControllerManager(Context context, int slotId, int subId); in createUceControllerManager() argument 69 SipTransportController createSipTransportController(Context context, int slotId, int subId); in createSipTransportController() argument 74 public RcsFeatureController createController(Context context, int slotId, int subId) { 75 return new RcsFeatureController(context, slotId, subId); 79 public UceControllerManager createUceControllerManager(Context context, int slotId, 81 return new UceControllerManager(context, slotId, subId); 85 public SipTransportController createSipTransportController(Context context, int slotId, 87 return new SipTransportController(context, slotId, subId); 133 int slotId = bundle.getInt(CarrierConfigManager.EXTRA_SLOT_INDEX, [all …]
|
D | UceControllerManager.java | 60 public UceControllerManager(Context context, int slotId, int subId) { in UceControllerManager() argument 61 Log.d(LOG_TAG, "create: slotId=" + slotId + ", subId=" + subId); in UceControllerManager() 62 mSlotId = slotId; in UceControllerManager() 72 public UceControllerManager(Context context, int slotId, ExecutorService executor, in UceControllerManager() argument 74 mSlotId = slotId; in UceControllerManager()
|
D | RcsFeatureController.java | 181 public RcsFeatureController(Context context, int slotId, int associatedSubId) { in RcsFeatureController() argument 183 mSlotId = slotId; in RcsFeatureController() 193 public RcsFeatureController(Context context, int slotId, int associatedSubId, in RcsFeatureController() argument 196 mSlotId = slotId; in RcsFeatureController()
|
/packages/services/Iwlan/src/com/google/android/iwlan/ |
D | IwlanHelper.java | 42 public static String getNai(Context context, int slotId) { in getNai() argument 46 tm = tm.createForSubscriptionId(getSubId(context, slotId)); in getNai() 49 subInfo = getSubInfo(context, slotId); in getNai() 68 public static int getSubId(Context context, int slotId) { in getSubId() argument 72 subid = getSubInfo(context, slotId).getSubscriptionId(); in getSubId() 79 public static int getCarrierId(Context context, int slotId) { in getCarrierId() argument 81 tm = tm.createForSubscriptionId(IwlanHelper.getSubId(context, slotId)); in getCarrierId() 85 private static SubscriptionInfo getSubInfo(Context context, int slotId) in getSubInfo() argument 88 SubscriptionInfo info = sm.getActiveSubscriptionInfoForSimSlotIndex(slotId); in getSubInfo() 156 public static <T> T getConfig(String key, Context context, int slotId) { in getConfig() argument [all …]
|
D | IwlanEventListener.java | 131 public static IwlanEventListener getInstance(@NonNull Context context, int slotId) { in getInstance() argument 132 return mInstances.computeIfAbsent(slotId, k -> new IwlanEventListener(context, slotId)); in getInstance() 203 int slotId = in onBroadcastReceived() local 213 if (slotId != SubscriptionManager.INVALID_SIM_SLOT_INDEX && context != null) { in onBroadcastReceived() 216 getInstance(context, slotId).registerContentObserver(); in onBroadcastReceived() 220 getInstance(context, slotId).updateHandlers(event); in onBroadcastReceived() 331 private IwlanEventListener(Context context, int slotId) { in IwlanEventListener() argument 333 mSlotId = slotId; in IwlanEventListener() 334 SUB_TAG = IwlanEventListener.class.getSimpleName() + "[" + slotId + "]"; in IwlanEventListener()
|
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/ |
D | ImsEntitlementReceiver.java | 65 int slotId = in onReceive() local 80 context, currentSubId, slotId, dependencies.jobManager, result)); in onReceive() 90 Context context, int currentSubId, int slotId, JobManager jobManager, in handleCarrierConfigChanged() argument 98 if (isBootUp(context, slotId)) { in handleCarrierConfigChanged() 110 int lastSubId = getAndSetSubId(context, currentSubId, slotId); in handleCarrierConfigChanged() 113 "SubId for slot " + slotId + " changed: " + lastSubId + " -> " + currentSubId); in handleCarrierConfigChanged() 134 boolean isBootUp(Context context, int slotId) { in isBootUp() argument 137 int lastBootCount = preferences.getInt(KEY_LAST_BOOT_COUNT + slotId, 0); in isBootUp() 141 preferences.edit().putInt(KEY_LAST_BOOT_COUNT + slotId, currentBootCount).apply(); in isBootUp() 146 private int getAndSetSubId(Context context, int currentSubId, int slotId) { in getAndSetSubId() argument [all …]
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | UiccSlotUtil.java | 83 public static synchronized void switchToRemovableSlot(int slotId, Context context) in switchToRemovableSlot() argument 96 if (slotId == INVALID_PHYSICAL_SLOT_ID) { in switchToRemovableSlot() 107 if (slotId >= slots.length || !slots[slotId].isRemovable()) { in switchToRemovableSlot() 108 throw new UiccSlotsException("The given slotId is not a removable slot: " + slotId); in switchToRemovableSlot() 110 if (!slots[slotId].getIsActive()) { in switchToRemovableSlot() 111 performSwitchToRemovableSlot(slotId, context); in switchToRemovableSlot() 116 private static void performSwitchToRemovableSlot(int slotId, Context context) in performSwitchToRemovableSlot() argument 128 switchSlots(context, slotId); in performSwitchToRemovableSlot()
|
D | SwitchSlotSidecar.java | 48 int slotId; field in SwitchSlotSidecar.Param 71 param.slotId = id; in runSwitchToRemovableSlot() 94 UiccSlotUtil.switchToRemovableSlot(param.slotId, getContext()); in doInBackground()
|
/packages/services/Telephony/src/com/android/phone/ |
D | TelephonyShellCommand.java | 1012 int slotId = getDefaultSlot(); in handleBarringSendCommand() local 1013 int subId = SubscriptionManager.getSubId(slotId)[0]; in handleBarringSendCommand() 1024 slotId = Integer.parseInt(getNextArgRequired()); in handleBarringSendCommand() 1025 subId = SubscriptionManager.getSubId(slotId)[0]; in handleBarringSendCommand() 1074 mTelephonyRegistryManager.notifyBarringInfoChanged(slotId, subId, barringInfo); in handleBarringSendCommand() 1106 int slotId = getDefaultSlot(); in handleImsSetServiceCommand() local 1115 slotId = Integer.parseInt(getNextArgRequired()); in handleImsSetServiceCommand() 1168 boolean result = mInterface.setBoundImsServiceOverride(slotId, isCarrierService, in handleImsSetServiceCommand() 1171 Log.v(LOG_TAG, "ims set-ims-service -s " + slotId + " " in handleImsSetServiceCommand() 1178 Log.w(LOG_TAG, "ims set-ims-service -s " + slotId + " " in handleImsSetServiceCommand() [all …]
|
D | PhoneInterfaceManager.java | 3849 int slotId = getSlotIndexOrException(subId); in registerImsRegistrationCallback() local 3850 verifyImsMmTelConfiguredOrThrow(slotId); in registerImsRegistrationCallback() 3851 ImsManager.getInstance(mApp, slotId).addRegistrationCallbackForSubscription(c, subId); in registerImsRegistrationCallback() 3970 int slotId = getSlotIndexOrException(subId); in registerMmTelCapabilityCallback() local 3971 verifyImsMmTelConfiguredOrThrow(slotId); in registerMmTelCapabilityCallback() 3972 ImsManager.getInstance(mApp, slotId).addCapabilitiesCallbackForSubscription(c, subId); in registerMmTelCapabilityCallback() 4012 int slotId = getSlotIndexOrException(subId); in isCapable() local 4013 verifyImsMmTelConfiguredOrThrow(slotId); in isCapable() 4014 return ImsManager.getInstance(mApp, slotId).queryMmTelCapability(capability, regTech); in isCapable() 4060 int slotId = getSlotIndex(subId); in isMmTelCapabilitySupported() local [all …]
|
D | ImsRcsController.java | 649 public void registerRcsFeatureCallback(int slotId, IImsServiceFeatureCallback callback) { in registerRcsFeatureCallback() argument 658 mImsResolver.listenForFeature(slotId, ImsFeature.FEATURE_RCS, callback); in registerRcsFeatureCallback() 761 int slotId = phone.getPhoneId(); in getRcsFeatureController() local 763 verifyImsRcsConfiguredOrThrow(slotId); in getRcsFeatureController() 765 RcsFeatureController c = mRcsService.getFeatureController(slotId); in getRcsFeatureController() 779 private void verifyImsRcsConfiguredOrThrow(int slotId) { in verifyImsRcsConfiguredOrThrow() argument 781 || !mImsResolver.isImsServiceConfiguredForFeature(slotId, ImsFeature.FEATURE_RCS)) { in verifyImsRcsConfiguredOrThrow()
|
D | RcsProvisioningMonitor.java | 401 RcsFeatureListener(int slotId) { in RcsFeatureListener() argument 403 mPhone, slotId, this, new HandlerExecutor(mHandler), TAG); in RcsFeatureListener() 827 int slotId = SubscriptionManager.getSlotIndex(info.getSubId()); in registerRcsFeatureListener() local 828 RcsFeatureListener cb = mRcsFeatureListeners.get(slotId); in registerRcsFeatureListener() 830 cb = new RcsFeatureListener(slotId); in registerRcsFeatureListener() 831 mRcsFeatureListeners.put(slotId, cb); in registerRcsFeatureListener()
|
/packages/services/Telephony/testapps/ImsTestService/src/com/android/phone/testapps/imstestapp/ |
D | TestImsService.java | 75 public MmTelFeature createMmTelFeature(int slotId) { in createMmTelFeature() argument 81 public RcsFeature createRcsFeature(int slotId) { in createRcsFeature() argument 86 public ImsRegistrationImplBase getRegistration(int slotId) { in getRegistration() argument 92 public ImsConfigImplBase getConfig(int slotId) { in getConfig() argument 97 public SipTransportImpl getSipTransport(int slotId) { in getSipTransport() argument
|
/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/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()
|
/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/ |
D | ImsEntitlementReceiverTest.java | 110 protected boolean isBootUp(Context context, int slotId) { in setUp() 208 private Intent getCarrierConfigChangedIntent(int subId, int slotId) { in getCarrierConfigChangedIntent() argument 211 intent.putExtra(SubscriptionManager.EXTRA_SLOT_INDEX, slotId); in getCarrierConfigChangedIntent() 225 private void setLastSubId(int subId, int slotId) { in setLastSubId() argument 228 preferences.edit().putInt("last_sub_id_" + slotId, subId).apply(); in setLastSubId()
|
/packages/apps/Settings/src/com/android/settings/ |
D | IccLockSettings.java | 249 int slotId = 0; in restoreTabFocus() local 251 slotId = Integer.parseInt(savedInstanceState.getString(CURRENT_TAB)); in restoreTabFocus() 256 final SubscriptionInfo subInfo = getVisibleSubscriptionInfoForSimSlotIndex(slotId); in restoreTabFocus() 702 private String getTagForSlotId(int slotId) { in getTagForSlotId() argument 703 return String.valueOf(slotId); in getTagForSlotId() 707 int slotId = -1; in getSlotIndexFromTag() local 709 slotId = Integer.parseInt(tag); in getSlotIndexFromTag() 712 return slotId; in getSlotIndexFromTag() 715 private SubscriptionInfo getVisibleSubscriptionInfoForSimSlotIndex(int slotId) { in getVisibleSubscriptionInfoForSimSlotIndex() argument 725 && (subInfo.getSimSlotIndex() == slotId))) { in getVisibleSubscriptionInfoForSimSlotIndex()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/ |
D | TelephonyRcsServiceTest.java | 332 private void sendCarrierConfigChanged(int slotId, int subId) { in sendCarrierConfigChanged() argument 334 intent.putExtra(CarrierConfigManager.EXTRA_SLOT_INDEX, slotId); in sendCarrierConfigChanged() 344 private void setSlotToSubIdMapping(int slotId, int loadedSubId) { in setSlotToSubIdMapping() argument 348 doReturn(subIds).when(m).getSubscriptionIds(eq(slotId)); in setSlotToSubIdMapping() 359 private RcsFeatureController createFeatureController(int slotId, int subId) { in createFeatureController() argument 362 RcsFeatureController controller = spy(new RcsFeatureController(mContext, slotId, subId, in createFeatureController()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | GsmCellBroadcastHandler.java | 175 for (int slotId = 0; slotId < tm.getActiveModemCount(); slotId++) { in registerServiceStateListeners() 176 SubscriptionInfo info = sm.getActiveSubscriptionInfoForSimSlotIndex(slotId); in registerServiceStateListeners() 180 mServiceStateListener.put(slotId, new ServiceStateListener(subId, slotId)); in registerServiceStateListeners() 181 tm.createForSubscriptionId(subId).listen(mServiceStateListener.get(slotId), in registerServiceStateListeners() 193 ServiceStateListener(int subId, int slotId) { in ServiceStateListener() argument 195 mSlotId = slotId; in ServiceStateListener()
|
/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()
|
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/ |
D | EpdgSelector.java | 89 EpdgSelector(Context context, int slotId) { in EpdgSelector() argument 91 mSlotId = slotId; in EpdgSelector() 94 public static EpdgSelector getSelectorInstance(Context context, int slotId) { in getSelectorInstance() argument 95 mSelectorInstances.computeIfAbsent(slotId, k -> new EpdgSelector(context, slotId)); in getSelectorInstance() 96 return mSelectorInstances.get(slotId); in getSelectorInstance()
|
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/job/ |
D | JobManager.java | 163 int slotId = bundle.getInt(EXTRA_SLOT_ID, SubscriptionManager.INVALID_SIM_SLOT_INDEX); in isValidJob() local 173 if (TelephonyUtils.getSlotId(context, subId) != slotId) { in isValidJob() 174 Log.d(TAG, "Stop reason: SLOTID(" + slotId + ") not matched."); in isValidJob()
|