Searched refs:ringingCall (Results 1 – 8 of 8) sorted by relevance
667 BluetoothCall ringingCall = createForegroundCall(UUID.randomUUID()); in testRingingCallClccResponse() local668 calls.add(ringingCall); in testRingingCallClccResponse()669 mBluetoothInCallService.onCallAdded(ringingCall); in testRingingCallClccResponse()671 when(ringingCall.getState()).thenReturn(Call.STATE_RINGING); in testRingingCallClccResponse()672 when(ringingCall.isIncoming()).thenReturn(true); in testRingingCallClccResponse()673 when(ringingCall.isConference()).thenReturn(false); in testRingingCallClccResponse()674 when(ringingCall.getHandle()).thenReturn(Uri.parse("tel:555-0000")); in testRingingCallClccResponse()675 when(ringingCall.getGatewayInfo()) in testRingingCallClccResponse()705 BluetoothCall ringingCall = createForegroundCall(UUID.randomUUID()); in testCallClccCache() local706 calls.add(ringingCall); in testCallClccCache()[all …]
121 BluetoothCall ringingCall = getMockCall(); in getRingingOrSimulatedRingingCall() local122 when(ringingCall.getState()).thenReturn(Call.STATE_SIMULATED_RINGING); in getRingingOrSimulatedRingingCall()124 calls.add(ringingCall); in getRingingOrSimulatedRingingCall()128 assertThat(mMockCallInfo.getRingingOrSimulatedRingingCall()).isEqualTo(ringingCall); in getRingingOrSimulatedRingingCall()188 BluetoothCall ringingCall = getMockCall(); in getForegroundCall_withRingingCall() local189 when(ringingCall.getState()).thenReturn(Call.STATE_CONNECTING); in getForegroundCall_withRingingCall()191 calls.add(ringingCall); in getForegroundCall_withRingingCall()195 assertThat(mMockCallInfo.getForegroundCall()).isEqualTo(ringingCall); in getForegroundCall_withRingingCall()
553 BluetoothCall ringingCall = mCallInfo.getRingingOrSimulatedRingingCall(); in isHighDefCallInProgress() local558 if (ringingCall != null) { in isHighDefCallInProgress()559 isHighDef = ringingCall.isHighDefAudio(); in isHighDefCallInProgress()1068 BluetoothCall ringingCall = mCallInfo.getRingingOrSimulatedRingingCall(); in _processChld() local1069 if (ringingCall == null) { in _processChld()1072 Log.i(TAG, "ringingCall hashcode: " + ringingCall.hashCode()); in _processChld()1082 + ringingCall in _processChld()1090 if (!mCallInfo.isNullCall(ringingCall)) { in _processChld()1091 Log.i(TAG, "reject ringing call " + ringingCall.hashCode()); in _processChld()1092 ringingCall.reject(false, null); in _processChld()[all …]
73 Call ringingCall = mCallsManager.getRingingOrSimulatedRingingCall(); in handleWakeLock() local74 if (ringingCall != null && !ringingCall.isExternalCall()) { in handleWakeLock()
4283 Call ringingCall = getFirstCallWithState(CallState.RINGING,4286 if (ringingCall == null) {4306 answerCall(ringingCall, VideoProfile.STATE_AUDIO_ONLY);4310 if (ringingCall != null) {4313 ringingCall.reject(false, null);5187 Call ringingCall = getRingingOrSimulatedRingingCall();5188 ringingCall.getAnalytics().setCallIsAdditional(true);5189 ringingCall.getAnalytics().setCallIsInterrupted(true);5190 if (ringingCall.getState() == CallState.SIMULATED_RINGING) {5191 if (!ringingCall.hasGoneActiveBefore()) {[all …]
1970 final Call ringingCall = phone.getRingingCall(); in onCreateUnknownConnection() local1971 if (ringingCall.hasConnections()) { in onCreateUnknownConnection()1972 allConnections.addAll(ringingCall.getConnections()); in onCreateUnknownConnection()3807 Call ringingCall = phone.getRingingCall(); in checkAndRejectIncomingCall() local3808 if (ringingCall == null in checkAndRejectIncomingCall()3809 || ringingCall.getState() == Call.State.IDLE in checkAndRejectIncomingCall()3810 || ringingCall.getState() == Call.State.DISCONNECTED) { in checkAndRejectIncomingCall()3814 ringingCall = imsPhone.getRingingCall(); in checkAndRejectIncomingCall()3816 if (imsPhone == null || ringingCall == null in checkAndRejectIncomingCall()3817 || ringingCall.getState() == Call.State.IDLE in checkAndRejectIncomingCall()[all …]
1324 Call ringingCall = phone.getRingingCall(); in performHold() local1336 if (ringingCall.getState() != Call.State.WAITING) { in performHold()2343 Call ringingCall = getPhone().getRingingCall(); in isValidRingingCall() local2344 if (!ringingCall.getState().isRinging()) { in isValidRingingCall()2349 if (ringingCall.getEarliestConnection() != mOriginalConnection) { in isValidRingingCall()
1971 Call ringingCall = addSpyCall(SIM_1_HANDLE, CallState.RINGING); in testMakeRoomForEmergencyCallDuringActiveAndRingingCallDisconnectRinging() local1980 verify(ringingCall).reject(anyBoolean(), any(), any()); in testMakeRoomForEmergencyCallDuringActiveAndRingingCallDisconnectRinging()