/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | VibrateWhenRingPreferenceControllerTest.java | 83 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()
|
D | NotificationVolumePreferenceControllerTest.java | 73 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()
|
D | RingVolumePreferenceControllerTest.java | 75 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()
|
D | PhoneRingtonePreferenceControllerTest.java | 56 when(mTelephonyManager.isVoiceCapable()).thenReturn(false); in isAvailable_notVoiceCapable_shouldReturnFalse() 63 when(mTelephonyManager.isVoiceCapable()).thenReturn(true); in isAvailable_VoiceCapable_shouldReturnTrue()
|
D | DialPadTonePreferenceControllerTest.java | 64 when(mTelephonyManager.isVoiceCapable()).thenReturn(true); in setUp() 81 when(mTelephonyManager.isVoiceCapable()).thenReturn(false); in isAvailable_notVoiceCapable_shouldReturnFalse()
|
D | WorkSoundPreferenceControllerTest.java | 78 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/ |
D | TelephonyManagerCompat.java | 42 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/ |
D | UserCallIntentProcessor.java | 85 if (!isVoiceCapable()) { in processIntent() 186 private boolean isVoiceCapable() { in isVoiceCapable() method in UserCallIntentProcessor
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/ |
D | PhoneNumberPreferenceControllerTest.java | 89 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/ |
D | PhoneRingtonePreferenceController.java | 39 return Utils.isVoiceCapable(mContext); in isAvailable()
|
D | DialPadTonePreferenceController.java | 39 return Utils.isVoiceCapable(context); in DialPadTonePreferenceController()
|
D | NotificationVolumePreferenceController.java | 38 && !Utils.isVoiceCapable(mContext) && !mHelper.isSingleVolume() in getAvailabilityStatus()
|
D | VibrateWhenRingPreferenceController.java | 70 return Utils.isVoiceCapable(mContext) && !isRampingRingerEnabled() in getAvailabilityStatus()
|
D | RingVolumePreferenceController.java | 89 return Utils.isVoiceCapable(mContext) && !mHelper.isSingleVolume() in getAvailabilityStatus()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | PhoneRingtonePreferenceController.java | 39 return Utils.isVoiceCapable(mContext); in isAvailable()
|
D | DialPadTonePreferenceController.java | 39 return Utils.isVoiceCapable(context); in DialPadTonePreferenceController()
|
D | NotificationVolumePreferenceController.java | 38 && !Utils.isVoiceCapable(mContext) && !mHelper.isSingleVolume() in getAvailabilityStatus()
|
D | VibrateWhenRingPreferenceController.java | 70 return Utils.isVoiceCapable(mContext) && !isRampingRingerEnabled() in getAvailabilityStatus()
|
D | RingVolumePreferenceController.java | 89 return Utils.isVoiceCapable(mContext) && !mHelper.isSingleVolume() in getAvailabilityStatus()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/ |
D | DialerRoleBehavior.java | 46 return telephonyManager.isVoiceCapable(); in isAvailableAsUser()
|
D | EmergencyRoleBehavior.java | 45 return telephonyManager.isEmergencyAssistanceEnabled() && telephonyManager.isVoiceCapable(); in isAvailableAsUser()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | PhoneCapabilityTester.java | 65 sIsPhone = TelephonyManagerCompat.isVoiceCapable( in initialize()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserCapabilities.java | 61 if (dpm.isDeviceManaged() || Utils.isVoiceCapable(context)) { in create()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/ |
D | UserCapabilities.java | 61 if (dpm.isDeviceManaged() || Utils.isVoiceCapable(context)) { in create()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | PhoneUtils.java | 678 public boolean isVoiceCapable() { in isVoiceCapable() method in PhoneUtils 679 return mTelephonyManager.isVoiceCapable(); in isVoiceCapable()
|