/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/ |
D | ImeiInfoPreferenceController.java | 98 private CharSequence getSummary(int simSlot) { in getSummary() argument 99 final int phoneType = getPhoneType(simSlot); in getSummary() 100 return phoneType == PHONE_TYPE_CDMA ? mTelephonyManager.getMeid(simSlot) in getSummary() 101 : mTelephonyManager.getImei(simSlot); in getSummary() 106 final int simSlot = mPreferenceList.indexOf(preference); in handlePreferenceTreeClick() local 107 if (simSlot == -1) { in handlePreferenceTreeClick() 111 ImeiInfoDialogFragment.show(mFragment, simSlot, preference.getTitle().toString()); in handlePreferenceTreeClick() 141 private void updatePreference(Preference preference, int simSlot) { in updatePreference() argument 142 preference.setTitle(getTitle(simSlot)); in updatePreference() 143 preference.setSummary(getSummary(simSlot)); in updatePreference() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/imei/ |
D | ImeiInfoPreferenceController.java | 88 final int simSlot = mPreferenceList.indexOf(preference); in handlePreferenceTreeClick() local 89 if (simSlot == -1) { in handlePreferenceTreeClick() 93 ImeiInfoDialogFragment.show(mFragment, simSlot, preference.getTitle().toString()); in handlePreferenceTreeClick() 123 private void updatePreference(Preference preference, int simSlot) { in updatePreference() argument 126 preference.setTitle(getTitleForCdmaPhone(simSlot)); in updatePreference() 127 preference.setSummary(getMeid(simSlot)); in updatePreference() 130 preference.setTitle(getTitleForGsmPhone(simSlot)); in updatePreference() 131 preference.setSummary(mTelephonyManager.getImei(simSlot)); in updatePreference() 135 private CharSequence getTitleForGsmPhone(int simSlot) { in getTitleForGsmPhone() argument 136 return mIsMultiSim ? mContext.getString(R.string.imei_multi_sim, simSlot + 1) in getTitleForGsmPhone() [all …]
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/ |
D | SimStatusPreferenceController.java | 93 final int simSlot = mPreferenceList.indexOf(preference); in handlePreferenceTreeClick() local 94 if (simSlot == -1) { in handlePreferenceTreeClick() 98 SimStatusDialogFragment.show(mFragment, simSlot, getPreferenceTitle(simSlot)); in handlePreferenceTreeClick() 102 private String getPreferenceTitle(int simSlot) { in getPreferenceTitle() argument 104 R.string.sim_status_title_sim_slot, simSlot + 1) : mContext.getString( in getPreferenceTitle() 108 private CharSequence getCarrierName(int simSlot) { in getCarrierName() argument 113 if (info.getSimSlotIndex() == simSlot) { in getCarrierName()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/simstatus/ |
D | SimStatusPreferenceController.java | 93 final int simSlot = mPreferenceList.indexOf(preference); in handlePreferenceTreeClick() local 94 if (simSlot == -1) { in handlePreferenceTreeClick() 98 SimStatusDialogFragment.show(mFragment, simSlot, getPreferenceTitle(simSlot)); in handlePreferenceTreeClick() 102 private String getPreferenceTitle(int simSlot) { in getPreferenceTitle() argument 104 R.string.sim_status_title_sim_slot, simSlot + 1) : mContext.getString( in getPreferenceTitle() 108 private CharSequence getCarrierName(int simSlot) { in getCarrierName() argument 113 if (info.getSimSlotIndex() == simSlot) { in getCarrierName()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | PhoneNumberPreferenceController.java | 131 private CharSequence getPhoneNumber(int simSlot) { in getPhoneNumber() argument 132 final SubscriptionInfo subscriptionInfo = getSubscriptionInfo(simSlot); in getPhoneNumber() 140 private CharSequence getPreferenceTitle(int simSlot) { in getPreferenceTitle() argument 142 R.string.status_number_sim_slot, simSlot + 1) : mContext.getString( in getPreferenceTitle() 147 SubscriptionInfo getSubscriptionInfo(int simSlot) { in getSubscriptionInfo() argument 152 if (info.getSimSlotIndex() == simSlot) { in getSubscriptionInfo()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PhoneNumberPreferenceController.java | 131 private CharSequence getPhoneNumber(int simSlot) { in getPhoneNumber() argument 132 final SubscriptionInfo subscriptionInfo = getSubscriptionInfo(simSlot); in getPhoneNumber() 140 private CharSequence getPreferenceTitle(int simSlot) { in getPreferenceTitle() argument 142 R.string.status_number_sim_slot, simSlot + 1) : mContext.getString( in getPreferenceTitle() 147 SubscriptionInfo getSubscriptionInfo(int simSlot) { in getSubscriptionInfo() argument 152 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()
|