Home
last modified time | relevance | path

Searched refs:RINGING (Results 1 – 22 of 22) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAnomalyWatchdogTest.java165 assertTrue(new CallAnomalyWatchdog.WatchdogCallState(CallState.RINGING, in testAnomalyCallStateIsTransitory()
202 assertFalse(new CallAnomalyWatchdog.WatchdogCallState(CallState.RINGING, in testAnomalyCallStateIsTransitory()
236 assertFalse(new CallAnomalyWatchdog.WatchdogCallState(CallState.RINGING, in testAnomalyCallStateIsIntermediate()
286 assertTrue(new CallAnomalyWatchdog.WatchdogCallState(CallState.RINGING, in testAnomalyCallStateIsIntermediate()
298 Call call = setupCallHelper(CallState.RINGING, false, null, true, false); in testAddVoipRingingCall()
321 assertEquals(CallState.RINGING, call.getState()); in testAddVoipRingingCall()
332 Call call = setupCallHelper(CallState.RINGING, false, null, true, true); in testAddVoipEmergencyRingingCall()
356 assertEquals(CallState.RINGING, call.getState()); in testAddVoipEmergencyRingingCall()
367 Call call = setupCallHelper(CallState.RINGING, false, null, false, false); in testAddNonVoipRingingCall()
391 assertEquals(CallState.RINGING, call.getState()); in testAddNonVoipRingingCall()
[all …]
DCallAudioManagerTest.java138 mCallAudioManager.onCallStateChanged(call, CallState.RINGING, CallState.ACTIVE); in testUnmuteOfSecondIncomingCall()
161 when(call2.getState()).thenReturn(CallState.RINGING); in testUnmuteOfSecondIncomingCall()
200 mCallAudioManager.onCallStateChanged(call, CallState.RINGING, CallState.ACTIVE);
235 mCallAudioManager.onCallStateChanged(call, CallState.RINGING, CallState.ANSWERED);
430 when(call.getState()).thenReturn(CallState.RINGING);
457 mCallAudioManager.onCallStateChanged(call, CallState.RINGING, CallState.AUDIO_PROCESSING);
760 when(pstnCall.getState()).thenReturn(CallState.RINGING);
784 mCallAudioManager.onCallStateChanged(pstnCall, CallState.RINGING, CallState.ACTIVE);
793 when(voipCall.getState()).thenReturn(CallState.RINGING);
805 mCallAudioManager.onCallStateChanged(voipCall, CallState.RINGING, CallState.ACTIVE);
[all …]
DCallsManagerTest.java1104 Call incomingCall = addSpyCall(CallState.RINGING); in testDuplicateAnswerCall()
1128 Call incomingCall = addSpyCall(CallState.RINGING); in testAnswerCallWhenOngoingCallCanBeHeld()
1148 Call incomingCall = addSpyCall(VOIP_1_HANDLE, CallState.RINGING); in testAnswerCallWhenOngoingHasSameConnectionService()
1168 Call incomingCall = addSpyCall(VOIP_1_HANDLE, CallState.RINGING); in testAnswerCallWhenOngoingHasDifferentConnectionService()
1190 Call incomingCall = addSpyCall(VOIP_1_HANDLE, CallState.RINGING); in testAnswerCallWhenOngoingHasDifferentConnectionServiceButIsEmerg()
1220 Call incomingCall = addSpyCall(SIM_1_HANDLE, CallState.RINGING); in testAnswerCallWhenMultipleHeldCallsExisted()
1254 Call incomingCall = addSpyCall(SIM_1_HANDLE, CallState.RINGING); in testAnswerThirdCallWhenTwoCallsOnDifferentSims_disconnectsHeldCall()
1283 Call incomingCall = addSpyCall(SIM_2_HANDLE, CallState.RINGING); in testAnswerThirdCallDifferentSimWhenTwoCallsOnSameSim_disconnectsHeldCall()
1304 Call incomingCall = addSpyCall(CallState.RINGING); in testAnswerCallWhenNoOngoingCallExisted()
1320 Call incomingCall = addSpyCall(CallState.RINGING); in testAnswerAlreadyActiveCall()
[all …]
DInCallWakeLockControllerTest.java96 mInCallWakeLockController.onCallStateChanged(mCall, CallState.NEW, CallState.RINGING); in testRingingCallTransition()
DIncomingCallNotifierTest.java82 when(mRingingCall.getState()).thenReturn(CallState.RINGING); in setUp()
DCallTest.java373 assertFalse(CallState.isTransitoryState(CallState.RINGING)); in testIsCallStateTransitory()
390 assertTrue(CallState.isIntermediateState(CallState.RINGING)); in testIsCallStateIntermediate()
642 call.setState(CallState.RINGING, "test"); in testCallEventCallbacksWereCalled()
DRingerTest.java149 when(mockCall1.getState()).thenReturn(CallState.RINGING); in setUp()
150 when(mockCall2.getState()).thenReturn(CallState.RINGING); in setUp()
DTransactionTests.java192 when(mMockCall1.getState()).thenReturn(CallState.RINGING); in testRequestNewCallFocusWithRingingCall()
DTelecomServiceImplTest.java2177 when(call.getState()).thenReturn(CallState.RINGING); in testEndCallWithRingingForegroundCall()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallState.java66 public static final int RINGING = TelecomProtoEnums.RINGING; // = 4 field in CallState
168 case RINGING: in isIntermediateState()
185 case RINGING: in toString()
DCallsManager.java345 CallState.ON_HOLD, CallState.RINGING, CallState.SIMULATED_RINGING,
350 CallState.RINGING, CallState.SIMULATED_RINGING, CallState.ACTIVE,
994 setCallState(incomingCall, CallState.RINGING, in onCallFilteringComplete()
1044 setCallState(incomingCall, CallState.RINGING, "successful incoming call"); in onCallFilteringComplete()
1088 setCallState(incomingCall, CallState.RINGING, "blocking call"); in onCallFilteringComplete()
1400 setCallState(call1, CallState.RINGING, actionName + " failed on other call"); in markAllAnsweredCallAsRinging()
1754 call.setState(CallState.RINGING, "explicitly set new incoming to ringing"); in processIncomingCallIntent()
3146 if (call.getState() == CallState.RINGING) {
3812 setCallState(call, CallState.RINGING, "ringing set explicitly");
4028 if (call.getState() == CallState.RINGING
[all …]
DCallAudioManager.java100 put(CallState.RINGING, mRingingCalls); in CallAudioManager()
661 case CallState.RINGING: in onCallLeavingState()
688 case CallState.RINGING: in onCallEnteringState()
DCall.java1426 case CallState.RINGING: in setState()
2903 if (mState != CallState.RINGING) { in answerForAudioProcessing()
3170 case CallState.RINGING: in isAlive()
3760 if (mState != CallState.RINGING) { in isRespondViaSmsCapable()
3817 if (mState == CallState.RINGING || mState == CallState.ANSWERED) { in isRinging()
4279 return CallState.RINGING; in getStateFromConnectionState()
4548 || (oldState == CallState.RINGING && newState == CallState.ANSWERED)) { in updateVideoHistoryViaState()
DConnectionServiceFocusManager.java176 CallState.AUDIO_PROCESSING, CallState.RINGING);
DParcelableCallUtils.java430 case CallState.RINGING: in getParcelableState()
DRinger.java282 if (foregroundCall.getState() != CallState.RINGING in startRinging()
DTelecomServiceImpl.java2824 Call call = mCallsManager.getFirstCallWithState(CallState.RINGING, in acceptRingingCallInternal()
2849 CallState.RINGING, in endCallInternal()
2866 if (call.getState() == CallState.RINGING in endCallInternal()
/packages/services/Telecomm/src/com/android/server/telecom/voip/
DEndCallTransaction.java50 if (mCall.getState() == CallState.RINGING && code == DisconnectCause.LOCAL) { in processTransaction()
/packages/modules/Bluetooth/system/blueberry/utils/
Dbt_constants.py178 RINGING = 1 variable in CallState
/packages/apps/Stk/src/com/android/stk/
DTonePlayer.java41 mToneMap.put(Tone.RINGING, ToneGenerator.TONE_SUP_RINGTONE); in mToneMap.put() argument
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DIncomingCallNotifier.java143 call.getState() == CallState.RINGING && in updateIncomingCall()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java2611 if (state != PhoneConstants.State.OFFHOOK && state != PhoneConstants.State.RINGING) { in dialForSubscriber()