Home
last modified time | relevance | path

Searched refs:isHfpDeviceAttached (Results 1 – 2 of 2) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/
DRinger.java273 public boolean startRinging(Call foregroundCall, boolean isHfpDeviceAttached) { in startRinging() argument
295 .supplyAsync(() -> getRingerAttributes(foregroundCall, isHfpDeviceAttached), in startRinging()
491 mRingtonePlayer.play(ringtoneInfoSupplier, afterRingtoneLogic, isHfpDeviceAttached); in startRinging()
701 private RingerAttributes getRingerAttributes(Call call, boolean isHfpDeviceAttached) { in getRingerAttributes() argument
754 ((isHfpDeviceAttached && shouldRingForContact) || isSelfManaged); in getRingerAttributes()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DRingerTest.java795 private boolean startRingingAndWaitForAsync(Call mockCall2, boolean isHfpDeviceAttached) in startRingingAndWaitForAsync() argument
797 boolean result = mRingerUnderTest.startRinging(mockCall2, isHfpDeviceAttached); in startRingingAndWaitForAsync()