Searched refs:isRinging (Results 1 – 3 of 3) sorted by relevance
157 assertThat(shadowOf(telecomService).isRinging()).isFalse(); in testIsRinging_noIncomingOrUnknownCallsAdded_shouldBeFalse()164 assertThat(shadowOf(telecomService).isRinging()).isTrue(); in testIsRinging_incomingCallAdded_shouldBeTrue()171 assertThat(shadowOf(telecomService).isRinging()).isTrue(); in testIsRinging_unknownCallAdded_shouldBeTrue()179 assertThat(shadowOf(telecomService).isRinging()).isFalse(); in testIsRinging_incomingCallAdded_thenRingerSilenced_shouldBeFalse()187 assertThat(shadowOf(telecomService).isRinging()).isFalse(); in testIsRinging_unknownCallAdded_thenRingerSilenced_shouldBeFalse()195 assertThat(shadowOf(telecomService).isRinging()).isTrue(); in testIsRinging_ringerSilenced_thenIncomingCallAdded_shouldBeTrue()203 assertThat(shadowOf(telecomService).isRinging()).isTrue(); in testIsRinging_ringerSilenced_thenUnknownCallAdded_shouldBeTrue()
243 public boolean isRinging() { in isRinging() method in ShadowTelecomManager245 if (callRecord.isRinging) { in isRinging()250 if (callRecord.isRinging) { in isRinging()269 callRecord.isRinging = false; in silenceRinger()272 callRecord.isRinging = false; in silenceRinger()342 private boolean isRinging = true; field in ShadowTelecomManager.CallRecord
206 return mTelecomManager.isRinging(); in telecomIsRinging()