Searched refs:simSlot (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/ |
D | ImeiInfoPreferenceController.java | 102 private CharSequence getSummary(int simSlot) { in getSummary() argument 103 final int phoneType = getPhoneType(simSlot); in getSummary() 104 return phoneType == PHONE_TYPE_CDMA ? mTelephonyManager.getMeid(simSlot) in getSummary() 105 : mTelephonyManager.getImei(simSlot); in getSummary() 110 final int simSlot = mPreferenceList.indexOf(preference); in handlePreferenceTreeClick() local 111 if (simSlot == -1) { in handlePreferenceTreeClick() 115 ImeiInfoDialogFragment.show(mFragment, simSlot, preference.getTitle().toString()); in handlePreferenceTreeClick() 135 private void updatePreference(Preference preference, int simSlot) { in updatePreference() argument 136 preference.setTitle(getTitle(simSlot)); in updatePreference() 137 preference.setSummary(getSummary(simSlot)); in updatePreference() [all …]
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/ |
D | SimStatusPreferenceController.java | 96 final int simSlot = mPreferenceList.indexOf(preference); in handlePreferenceTreeClick() local 97 if (simSlot == -1) { in handlePreferenceTreeClick() 101 SimStatusDialogFragment.show(mFragment, simSlot, getPreferenceTitle(simSlot)); in handlePreferenceTreeClick() 105 private String getPreferenceTitle(int simSlot) { in getPreferenceTitle() argument 107 R.string.sim_status_title_sim_slot, simSlot + 1) : mContext.getString( in getPreferenceTitle() 111 private CharSequence getCarrierName(int simSlot) { in getCarrierName() argument 116 if (info.getSimSlotIndex() == simSlot) { in getCarrierName()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PhoneNumberPreferenceController.java | 123 private CharSequence getPhoneNumber(int simSlot) { in getPhoneNumber() argument 124 final SubscriptionInfo subscriptionInfo = getSubscriptionInfo(simSlot); in getPhoneNumber() 132 private CharSequence getPreferenceTitle(int simSlot) { in getPreferenceTitle() argument 134 R.string.status_number_sim_slot, simSlot + 1) : mContext.getString( in getPreferenceTitle() 139 SubscriptionInfo getSubscriptionInfo(int simSlot) { in getSubscriptionInfo() argument 144 if (info.getSimSlotIndex() == simSlot) { in getSubscriptionInfo()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | SuppServicesUiUtil.java | 89 int simSlot = (phone.getPhoneId() == 0) ? 1 : 2; in makeMessage() local 109 simSlot); in makeMessage() 113 simSlot); in makeMessage()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsDatabaseHelper.java | 3929 final int simSlot = c.getInt(3); in getAllSimAccounts() local 3931 if (simSlot < 0 || !SimAccount.getValidEfTypes().contains(efType)) { in getAllSimAccounts() 3935 result.add(new SimAccount(c.getString(1), c.getString(2), simSlot, efType)); in getAllSimAccounts() 4019 int simSlot, int efType) { in createSimAccountIdInTransaction() argument 4020 if (simSlot < 0) { in createSimAccountIdInTransaction() 4046 DatabaseUtils.bindObjectToProgram(insert, 4, simSlot); in createSimAccountIdInTransaction() 4062 public int removeSimAccounts(int simSlot) { in removeSimAccounts() argument 4065 new String[]{String.valueOf(simSlot)}); in removeSimAccounts()
|
D | ContactsProvider2.java | 2307 final int simSlot = extras.getInt(SimContacts.KEY_SIM_SLOT_INDEX, -1); in call() local 2309 if (simSlot < 0) { in call() 2325 AccountWithDataSet.get(accountName, accountType, null), simSlot, efType); in call() 2345 final int simSlot = extras.getInt(SimContacts.KEY_SIM_SLOT_INDEX, -1); in call() local 2346 if (simSlot < 0) { in call() 2355 removedCount = mDbHelper.get().removeSimAccounts(simSlot); in call()
|