Searched refs:shouldRingForContact (Results 1 – 5 of 5) sorted by relevance
55 public RingerAttributes.Builder setShouldRingForContact(boolean shouldRingForContact) { in setShouldRingForContact() argument56 mShouldRingForContact = shouldRingForContact; in setShouldRingForContact()88 boolean shouldRingForContact, boolean silentRingingRequested, in RingerAttributes() argument95 mShouldRingForContact = shouldRingForContact; in RingerAttributes()120 public boolean shouldRingForContact() { in shouldRingForContact() method in RingerAttributes
335 final boolean shouldFlash = attributes.shouldRingForContact(); in startRinging()346 isVibratorEnabled(mContext, attributes.shouldRingForContact()); in startRinging()433 boolean vibratorReserved = isVibratorEnabled && attributes.shouldRingForContact() in startRinging()657 public boolean shouldRingForContact(Call call) { in shouldRingForContact() method in Ringer689 private boolean isVibratorEnabled(Context context, boolean shouldRingForContact) { in isVibratorEnabled() argument698 || (zenModeOn && shouldRingForContact)); in isVibratorEnabled()709 boolean shouldRingForContact = shouldRingForContact(call); in getRingerAttributes()716 boolean isRingerAudible = isVolumeOverZero && shouldRingForContact; in getRingerAttributes()721 isVolumeOverZero, shouldRingForContact); in getRingerAttributes()754 ((isHfpDeviceAttached && shouldRingForContact) || isSelfManaged); in getRingerAttributes()[all …]
101 when(mRinger.shouldRingForContact(mCall)).thenReturn(false); in testShouldSuppressCall()123 when(mRinger.shouldRingForContact(mCall)).thenReturn(true); in testCallShouldRingAndNotBeSuppressed()
670 assertFalse(mRingerUnderTest.shouldRingForContact(mockCall1)); in testShouldRingForContact_CallSuppressed()691 assertTrue(mRingerUnderTest.shouldRingForContact(mockCall1)); in testShouldRingForContact_CallShouldRing()711 assertFalse(mRingerUnderTest.shouldRingForContact(mockCall1)); in testShouldRingForContact_matchesCallFilterIsAlreadyComputed()725 assertFalse(mRingerUnderTest.shouldRingForContact(mockCall2)); in testNoFlashNotificationWhenCallSuppressed()739 assertTrue(mRingerUnderTest.shouldRingForContact(mockCall2)); in testStartFlashNotificationWhenRingStarts()765 assertTrue(mRingerUnderTest.shouldRingForContact(mockCall2)); in testStopFlashNotificationWhenRingStops()
56 boolean shouldSuppress = !mRinger.shouldRingForContact(mCall); in startFilterLookup()