Home
last modified time | relevance | path

Searched refs:isRinging (Results 1 – 16 of 16) sorted by relevance

/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedCallListAdapter.java222 boolean isRinging, boolean isHoldable) { in setInfoForRow() argument
240 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()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetSystemInterface.java333 public boolean isRinging() { in isRinging() method in HeadsetSystemInterface
344 return !isInCall() && !isRinging(); in isCallIdle()
DHeadsetService.java1431 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()
DHeadsetStateMachine.java2585 if (mSystemInterface.isRinging()) { in processKeyPressed()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarInputServiceTest.java716 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()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DRingerTest.java621 assertTrue(mRingerUnderTest.isRinging()); in testDelayRingerForBtHfpDevices()
635 assertFalse(mRingerUnderTest.isRinging()); in testDelayRingerForBtHfpDevices()
/packages/services/Telephony/src/com/android/services/telephony/
DPstnIncomingCallNotifier.java179 if (call != null && call.getState().isRinging()) { in handleNewRingingConnection()
DTelephonyConnectionService.java1740 if (!call.getState().isRinging() in onCreateIncomingConnection()
1860 if (!call.getState().isRinging()) { in onCreateIncomingConnectionFailed()
DTelephonyConnection.java2344 if (!ringingCall.getState().isRinging()) { in isValidRingingCall()
/packages/services/Telecomm/src/com/android/server/telecom/
DCall.java2872 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
DRinger.java647 public boolean isRinging() { in isRinging() method in Ringer
DCallAudioManager.java538 return mRinger.isRinging(); in isRingtonePlaying()
DTelecomServiceImpl.java1241 public boolean isRinging(String callingPackage) {
/packages/services/Car/service/src/com/android/car/
DCarInputService.java946 if (mTelecomManager != null && mTelecomManager.isRinging()) { in acceptCallIfRinging()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceAndStateMachineTest.java1289 doReturn(true).when(mSystemInterface).isRinging(); in testIncomingCall_NonHdNonVoipCall_AptXDisabled()
1373 doReturn(true).when(mSystemInterface).isRinging(); in testIncomingCall_HdNonVoipCall_AptXEnabled()
DHeadsetStateMachineTest.java1259 when(mSystemInterface.isRinging()).thenReturn(true); in testKeyPressedEventDuringRinging_answerCall()