Searched refs:isRinging (Results 1 – 16 of 16) sorted by relevance
222 boolean isRinging, boolean isHoldable) { in setInfoForRow() argument240 missedButton.setVisibility(isRinging ? View.VISIBLE : View.GONE); in setInfoForRow()241 setHeldButton.setVisibility(!isRinging ? View.VISIBLE : View.GONE); in setInfoForRow()242 disconnectButton.setVisibility(!isRinging ? View.VISIBLE : View.GONE); in setInfoForRow()
333 public boolean isRinging() { in isRinging() method in HeadsetSystemInterface344 return !isInCall() && !isRinging(); in isCallIdle()
1431 if (mSystemInterface.isInCall() || mSystemInterface.isRinging()) { in setActiveDevice()2295 || (mSystemInterface.isRinging() && isInbandRingingEnabled()); in shouldCallAudioBeActive()2514 + mSystemInterface.isRinging() in isScoAcceptable()2600 ProfileService.println(sb, "Telecom.isRinging(): " + mSystemInterface.isRinging()); in dump()
2585 if (mSystemInterface.isRinging()) { in processKeyPressed()
716 when(mTelecomManager.isRinging()).thenReturn(true); in callKey_shortPress_withoutEventHandler_whenCallRinging_answersCall()746 when(mTelecomManager.isRinging()).thenReturn(true); in callKey_shortPress_withEventHandler_whenCallRinging_answersCall()810 when(mTelecomManager.isRinging()).thenReturn(true); in callKey_longPress_withoutEventHandler_whenCallRinging_answersCall()841 when(mTelecomManager.isRinging()).thenReturn(true); in callKey_longPress_withEventHandler_whenCallRinging_answersCall()
621 assertTrue(mRingerUnderTest.isRinging()); in testDelayRingerForBtHfpDevices()635 assertFalse(mRingerUnderTest.isRinging()); in testDelayRingerForBtHfpDevices()
179 if (call != null && call.getState().isRinging()) { in handleNewRingingConnection()
1740 if (!call.getState().isRinging() in onCreateIncomingConnection()1860 if (!call.getState().isRinging()) { in onCreateIncomingConnectionFailed()
2344 if (!ringingCall.getState().isRinging()) { in isValidRingingCall()
2872 if (isRinging("answer")) { in answer()2935 if (isRinging("deflect")) { in deflect()2987 } else if (isRinging("reject") || isAnswered("reject")) { in reject()3025 } else if (isRinging("reject") || isAnswered("reject")) { in reject()3816 private boolean isRinging(String actionName) { in isRinging() method in Call
647 public boolean isRinging() { in isRinging() method in Ringer
538 return mRinger.isRinging(); in isRingtonePlaying()
1241 public boolean isRinging(String callingPackage) {
946 if (mTelecomManager != null && mTelecomManager.isRinging()) { in acceptCallIfRinging()
1289 doReturn(true).when(mSystemInterface).isRinging(); in testIncomingCall_NonHdNonVoipCall_AptXDisabled()1373 doReturn(true).when(mSystemInterface).isRinging(); in testIncomingCall_HdNonVoipCall_AptXEnabled()
1259 when(mSystemInterface.isRinging()).thenReturn(true); in testKeyPressedEventDuringRinging_answerCall()