/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/simstatus/ |
D | SimStatusPreferenceControllerTest.java | 84 when(mTelephonyManager.getPhoneCount()).thenReturn(2); in displayPreference_multiSim_shouldAddSecondPreference() 93 when(mTelephonyManager.getPhoneCount()).thenReturn(1); in updateState_singleSim_shouldSetSingleSimTitleAndSummary() 104 when(mTelephonyManager.getPhoneCount()).thenReturn(2); in updateState_multiSim_shouldSetMultiSimTitleAndSummary()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/ |
D | PhoneNumberPreferenceControllerTest.java | 104 when(mTelephonyManager.getPhoneCount()).thenReturn(2); in displayPreference_multiSim_shouldAddSecondPreference() 115 when(mTelephonyManager.getPhoneCount()).thenReturn(1); in updateState_singleSim_shouldUpdateTitleAndPhoneNumber() 128 when(mTelephonyManager.getPhoneCount()).thenReturn(2); in updateState_multiSim_shouldUpdateTitleAndPhoneNumberOfMultiplePreferences()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/imei/ |
D | ImeiInfoPreferenceControllerTest.java | 95 when(mTelephonyManager.getPhoneCount()).thenReturn(2); in displayPreference_multiSimGsm_shouldAddSecondPreference() 120 when(mTelephonyManager.getPhoneCount()).thenReturn(2); in displayPreference_multiSimCdmaPhone_shouldSetMultiSimCdmaTitleAndMeid() 150 when(mTelephonyManager.getPhoneCount()).thenReturn(2); in displayPreference_multiSimGsmPhone_shouldSetMultiSimGsmTitleAndImei()
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
D | TelephonyManagerCompat.java | 65 public static int getPhoneCount(@Nullable TelephonyManager telephonyManager) { in getPhoneCount() method in TelephonyManagerCompat 71 return telephonyManager.getPhoneCount(); in getPhoneCount()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/simstatus/ |
D | SimStatusPreferenceController.java | 72 for (int simSlotNumber = 1; simSlotNumber < mTelephonyManager.getPhoneCount(); in displayPreference() 103 return mTelephonyManager.getPhoneCount() > 1 ? mContext.getString( in getPreferenceTitle()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/ |
D | SimStatusPreferenceController.java | 72 for (int simSlotNumber = 1; simSlotNumber < mTelephonyManager.getPhoneCount(); in displayPreference() 103 return mTelephonyManager.getPhoneCount() > 1 ? mContext.getString( in getPreferenceTitle()
|
/packages/apps/Dialer/java/com/android/dialer/compat/telephony/ |
D | TelephonyManagerCompat.java | 96 public static int getPhoneCount(@Nullable TelephonyManager telephonyManager) { in getPhoneCount() method in TelephonyManagerCompat 100 return telephonyManager.getPhoneCount(); in getPhoneCount()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/imei/ |
D | ImeiInfoPreferenceController.java | 51 mIsMultiSim = mTelephonyManager.getPhoneCount() > 1; in ImeiInfoPreferenceController() 68 for (int simSlotNumber = 1; simSlotNumber < mTelephonyManager.getPhoneCount(); in displayPreference()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PhoneNumberPreferenceController.java | 73 for (int simSlotNumber = 1; simSlotNumber < mTelephonyManager.getPhoneCount(); in displayPreference() 139 return mTelephonyManager.getPhoneCount() > 1 ? mContext.getString( in getPreferenceTitle()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | PhoneNumberPreferenceController.java | 75 for (int simSlotNumber = 1; simSlotNumber < mTelephonyManager.getPhoneCount(); in displayPreference() 141 return mTelephonyManager.getPhoneCount() > 1 ? mContext.getString( in getPreferenceTitle()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/ |
D | ImeiInfoPreferenceController.java | 53 mIsMultiSim = mTelephonyManager.getPhoneCount() > 1; in ImeiInfoPreferenceController() 70 for (int simSlotNumber = 1; simSlotNumber < mTelephonyManager.getPhoneCount(); in displayPreference()
|
D | ImeiInfoDialogController.java | 169 return slotIndex >= 0 && slotIndex < telephonyManager.getPhoneCount(); in isValidSlotIndex()
|
/packages/services/Telephony/src/com/android/phone/ |
D | NotificationMgr.java | 287 if (mTelephonyManager.getPhoneCount() > 1) { in updateMwi() 344 if (mTelephonyManager.getPhoneCount() > 1) { in updateMwi() 526 if (mTelephonyManager.getPhoneCount() > 1) { in updateCfi()
|
D | ShortcutViewUtils.java | 214 if (telephonyManager.getPhoneCount() <= 0) { in pickPreferredPhone()
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
D | SpecialCharSequenceMgr.java | 327 if (TelephonyManagerCompat.getPhoneCount(telephonyManager) > 1) { in handleDeviceIdDisplay() 328 for (int slot = 0; slot < telephonyManager.getPhoneCount(); slot++) { in handleDeviceIdDisplay()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnectionService.java | 227 int getPhoneCount(); in getPhoneCount() method 244 public int getPhoneCount() { in getPhoneCount() method in TelephonyConnectionService.TelephonyManagerProxyImpl 245 return mTelephonyManager.getPhoneCount(); in getPhoneCount() 1934 int phoneCount = mTelephonyManagerProxy.getPhoneCount(); in possiblyOverrideDefaultDataForEmergencyCall() 2094 int phoneCount = mTelephonyManagerProxy.getPhoneCount(); in getFirstPhoneForEmergencyCall()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/ |
D | OemUnlockPreferenceController.java | 181 int phoneCount = mTelephonyManager.getPhoneCount(); in isSimLockedDevice()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | OemUnlockPreferenceController.java | 176 int phoneCount = mTelephonyManager.getPhoneCount(); in isSimLockedDevice()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | TelephonyConnectionServiceTest.java | 1185 doReturn(2).when(mTelephonyManagerProxy).getPhoneCount(); in setupConnectionServiceForDelayDial() 1225 doReturn(2).when(mTelephonyManagerProxy).getPhoneCount(); in setupConnectionServiceInApm() 1282 when(mTelephonyManagerProxy.getPhoneCount()).thenReturn(2); in setupDeviceConfig()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | LegacyVoicemailNotifier.java | 181 if (context.getSystemService(TelephonyManager.class).getPhoneCount() <= 1) { in getNotificationTag()
|
/packages/apps/Dialer/java/com/android/dialer/notification/ |
D | VoicemailChannelUtils.java | 239 return context.getSystemService(TelephonyManager.class).getPhoneCount() <= 1; in isSingleSimDevice()
|
/packages/apps/Dialer/java/com/android/dialer/app/settings/ |
D | DialerSettingsActivity.java | 121 if (isPrimaryUser && TelephonyManagerCompat.getPhoneCount(telephonyManager) <= 1) { in onBuildHeaders()
|
/packages/apps/Settings/src/com/android/settings/sim/ |
D | SimSettings.java | 77 private int mPhoneCount = TelephonyManager.getDefault().getPhoneCount();
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sim/ |
D | SimSettings.java | 77 private int mPhoneCount = TelephonyManager.getDefault().getPhoneCount();
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | MobileNetworkUtils.java | 86 int phoneCount = context.getSystemService(TelephonyManager.class).getPhoneCount(); in isWifiCallingEnabled()
|