Home
last modified time | relevance | path

Searched refs:isVoiceCapable (Results 1 – 25 of 41) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DVibrateWhenRingPreferenceControllerTest.java83 when(mTelephonyManager.isVoiceCapable()).thenReturn(true); in display_shouldDisplay()
91 when(mTelephonyManager.isVoiceCapable()).thenReturn(false); in display_shouldNotDisplay_notVoiceCapable()
99 when(mTelephonyManager.isVoiceCapable()).thenReturn(true); in display_shouldNotDisplay_RampingRingerEnabled()
107 when(mTelephonyManager.isVoiceCapable()).thenReturn(true); in display_shouldNotDisplay_VoiceEnabled_RampingRingerEnabled()
115 when(mTelephonyManager.isVoiceCapable()).thenReturn(false); in display_shouldNotDisplay_VoiceDisabled_RampingRingerEnabled()
141 when(mTelephonyManager.isVoiceCapable()).thenReturn(true); in voiceCapable_availabled()
148 when(mTelephonyManager.isVoiceCapable()).thenReturn(false); in voiceCapable_notAvailabled()
DNotificationVolumePreferenceControllerTest.java73 when(mTelephonyManager.isVoiceCapable()).thenReturn(false); in isAvailable_singleVolume_shouldReturnFalse()
81 when(mTelephonyManager.isVoiceCapable()).thenReturn(true); in isAvailable_voiceCapable_shouldReturnFalse()
89 when(mTelephonyManager.isVoiceCapable()).thenReturn(false); in isAvailable_notSingleVolume_notVoiceCapable_shouldReturnTrue()
DRingVolumePreferenceControllerTest.java75 when(mTelephonyManager.isVoiceCapable()).thenReturn(true); in isAvailable_singleVolume_shouldReturnFalse()
83 when(mTelephonyManager.isVoiceCapable()).thenReturn(false); in isAvailable_notVoiceCapable_shouldReturnFalse()
91 when(mTelephonyManager.isVoiceCapable()).thenReturn(true); in isAvailable_notSingleVolume_VoiceCapable_shouldReturnTrue()
DPhoneRingtonePreferenceControllerTest.java56 when(mTelephonyManager.isVoiceCapable()).thenReturn(false); in isAvailable_notVoiceCapable_shouldReturnFalse()
63 when(mTelephonyManager.isVoiceCapable()).thenReturn(true); in isAvailable_VoiceCapable_shouldReturnTrue()
DDialPadTonePreferenceControllerTest.java64 when(mTelephonyManager.isVoiceCapable()).thenReturn(true); in setUp()
81 when(mTelephonyManager.isVoiceCapable()).thenReturn(false); in isAvailable_notVoiceCapable_shouldReturnFalse()
DWorkSoundPreferenceControllerTest.java78 when(mTelephonyManager.isVoiceCapable()).thenReturn(true); in setUp()
205 when(mTelephonyManager.isVoiceCapable()).thenReturn(false); in onResume_noVoiceCapability_shouldHidePhoneRingtone()
/packages/apps/Contacts/src/com/android/contacts/compat/
DTelephonyManagerCompat.java42 public static boolean isVoiceCapable(@Nullable TelephonyManager telephonyManager) { in isVoiceCapable() method in TelephonyManagerCompat
49 return telephonyManager.isVoiceCapable(); in isVoiceCapable()
/packages/services/Telecomm/src/com/android/server/telecom/components/
DUserCallIntentProcessor.java85 if (!isVoiceCapable()) { in processIntent()
186 private boolean isVoiceCapable() { in isVoiceCapable() method in UserCallIntentProcessor
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
DPhoneNumberPreferenceControllerTest.java89 when(mTelephonyManager.isVoiceCapable()).thenReturn(true); in getAvailabilityStatus_isVoiceCapable_shouldBeAVAILABLE()
97 when(mTelephonyManager.isVoiceCapable()).thenReturn(false); in getAvailabilityStatus_isNotVoiceCapable_shouldBeUNSUPPORTED_ON_DEVICE()
/packages/apps/Settings/src/com/android/settings/notification/
DPhoneRingtonePreferenceController.java39 return Utils.isVoiceCapable(mContext); in isAvailable()
DDialPadTonePreferenceController.java39 return Utils.isVoiceCapable(context); in DialPadTonePreferenceController()
DNotificationVolumePreferenceController.java38 && !Utils.isVoiceCapable(mContext) && !mHelper.isSingleVolume() in getAvailabilityStatus()
DVibrateWhenRingPreferenceController.java70 return Utils.isVoiceCapable(mContext) && !isRampingRingerEnabled() in getAvailabilityStatus()
DRingVolumePreferenceController.java89 return Utils.isVoiceCapable(mContext) && !mHelper.isSingleVolume() in getAvailabilityStatus()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DPhoneRingtonePreferenceController.java39 return Utils.isVoiceCapable(mContext); in isAvailable()
DDialPadTonePreferenceController.java39 return Utils.isVoiceCapable(context); in DialPadTonePreferenceController()
DNotificationVolumePreferenceController.java38 && !Utils.isVoiceCapable(mContext) && !mHelper.isSingleVolume() in getAvailabilityStatus()
DVibrateWhenRingPreferenceController.java70 return Utils.isVoiceCapable(mContext) && !isRampingRingerEnabled() in getAvailabilityStatus()
DRingVolumePreferenceController.java89 return Utils.isVoiceCapable(mContext) && !mHelper.isSingleVolume() in getAvailabilityStatus()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DDialerRoleBehavior.java46 return telephonyManager.isVoiceCapable(); in isAvailableAsUser()
DEmergencyRoleBehavior.java45 return telephonyManager.isEmergencyAssistanceEnabled() && telephonyManager.isVoiceCapable(); in isAvailableAsUser()
/packages/apps/Contacts/src/com/android/contacts/util/
DPhoneCapabilityTester.java65 sIsPhone = TelephonyManagerCompat.isVoiceCapable( in initialize()
/packages/apps/Settings/src/com/android/settings/users/
DUserCapabilities.java61 if (dpm.isDeviceManaged() || Utils.isVoiceCapable(context)) { in create()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserCapabilities.java61 if (dpm.isDeviceManaged() || Utils.isVoiceCapable(context)) { in create()
/packages/apps/Messaging/src/com/android/messaging/util/
DPhoneUtils.java678 public boolean isVoiceCapable() { in isVoiceCapable() method in PhoneUtils
679 return mTelephonyManager.isVoiceCapable(); in isVoiceCapable()

12