/packages/services/Telecomm/src/com/android/server/telecom/ |
RingbackPlayer.java | 35 private Call mCall; 54 if (mCall == call) { 59 if (mCall != null) { 65 mCall = call; 79 if (mCall == call) { 82 mCall = null;
|
CreateConnectionProcessor.java | 89 private final Call mCall; 106 mCall = call; 131 if (mCall.getTargetPhoneAccount() != null) { 133 mCall.getTargetPhoneAccount(), mCall.getTargetPhoneAccount())); 135 if (!mCall.isSelfManaged()) { 137 adjustAttemptsForEmergency(mCall.getTargetPhoneAccount()); 164 ConnectionServiceWrapper service = mCall.getConnectionService(); 166 service.abort(mCall); 167 mCall.clearConnectionService() [all...] |
VideoProviderProxy.java | 91 private Call mCall; 128 mCall = call; 149 Log.addEvent(mCall, LogUtils.Events.RECEIVE_VIDEO_REQUEST, 152 mCall.getAnalytics().addVideoEvent( 156 if (!mCall.isVideoCallingSupported() && 162 Log.addEvent(mCall, LogUtils.Events.SEND_VIDEO_RESPONSE, "video not supported"); 177 listener.onSessionModifyRequestReceived(mCall, videoProfile); 202 Log.addEvent(mCall, LogUtils.Events.RECEIVE_VIDEO_RESPONSE, eventMessage); 205 mCall.getAnalytics().addVideoEvent( 275 mCall.setCallDataUsage(dataUsage) [all...] |
CreateConnectionTimeout.java | 37 private final Call mCall; 48 mCall = call; 54 if (!mCall.isEmergencyCall()) { 61 mPhoneAccountRegistrar.getSimCallManagerFromCall(mCall); 107 if (mIsRegistered && isCallBeingPlaced(mCall)) { 110 mConnectionService.disconnect(mCall);
|
DtmfLocalTonePlayer.java | 128 private Call mCall; 161 if (mCall != call) { 176 if (mCall != call) { 202 mCall = call; 217 if (call != null && mCall == call) { 221 mCall = null;
|
NewOutgoingCallIntentBroadcaster.java | 72 private final Call mCall; 90 mCall = call; 114 Log.i(this, "Received new-outgoing-call-broadcast for %s with data %s", mCall, 134 if (mCall != null) { 135 mCall.disconnect(disconnectTimeout); 141 if (mCall.isDisconnected()) { 143 " ignore the broadcast Call %s", mCall); 165 mCall.setNewOutgoingCallIntentBroadcastIsDone(); 166 mCallsManager.placeOutgoingCall(mCall, resultHandleUri, gatewayInfo, 215 mCall.setNewOutgoingCallIntentBroadcastIsDone() [all...] |
/cts/tests/tests/telecom/src/android/telecom/cts/ |
ExternalCallTest.java | 37 private Call mCall; 68 mCall = mInCallService.getLastCall(); 70 assertCallState(mCall, Call.STATE_DIALING); 71 assertCallProperties(mCall, Call.Details.PROPERTY_IS_EXTERNAL_CALL); 72 assertCallCapabilities(mCall, Call.Details.CAPABILITY_CAN_PULL_CALL); 87 mCall.pullExternalCall(); 98 assertCallCapabilities(mCall, 0); 103 mCall.pullExternalCall();
|
CallDetailsTest.java | 76 private Call mCall; 119 mCall = mInCallService.getLastCall(); 121 assertCallState(mCall, Call.STATE_DIALING); 133 assertThat(mCall.getDetails().getAccountHandle(), instanceOf(PhoneAccountHandle.class)); 134 assertEquals(TEST_PHONE_ACCOUNT_HANDLE, mCall.getDetails().getAccountHandle()); 145 assertThat(mCall.getDetails().getCallCapabilities(), instanceOf(Integer.class)); 146 assertEquals(CALL_CAPABILITIES, mCall.getDetails().getCallCapabilities()); 147 assertTrue(mCall.getDetails().can(Call.Details.CAPABILITY_HOLD)); 148 assertTrue(mCall.getDetails().can(Call.Details.CAPABILITY_MUTE)); 149 assertFalse(mCall.getDetails().can(Call.Details.CAPABILITY_MANAGE_CONFERENCE)) [all...] |
MockVideoCallCallback.java | 28 private Call mCall; 40 mCall = call;
|
/packages/apps/Dialer/java/com/android/incallui/ |
DialpadPresenter.java | 31 private DialerCall mCall; 37 mCall = CallList.getInstance().getOutgoingOrActive(); 51 mCall = callList.getOutgoingOrActive(); 52 Log.d(this, "DialpadPresenter mCall = " + mCall); 62 if (PhoneNumberUtils.is12Key(c) && mCall != null) { 71 TelecomAdapter.getInstance().playDtmfTone(mCall.getId(), c); 79 if (mCall != null) { 81 TelecomAdapter.getInstance().stopDtmfTone(mCall.getId());
|
CallButtonPresenter.java | 61 private DialerCall mCall; 105 mCall = callList.getOutgoingCall(); 107 mCall = callList.getActiveOrBackgroundCall(); 113 if (oldState == InCallState.OUTGOING && mCall != null) { 114 if (CallerInfoUtils.isVoiceMailNumber(mContext, mCall) && getActivity() != null) { 122 mCall = callList.getIncomingCall(); 124 mCall = null; 126 updateUi(newState, mCall); 140 if (mInCallButtonUi != null && call != null && call.equals(mCall)) { 152 if (mInCallButtonUi != null && mCall != null) [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
DtmfLocalTonePlayerTest.java | 37 @Mock Call mCall; 45 when(mCall.getContext()).thenReturn(mContext); 52 mPlayer.onForegroundCallChanged(null, mCall); 61 mPlayer.onForegroundCallChanged(null, mCall); 70 mPlayer.onForegroundCallChanged(null, mCall); 71 mPlayer.playTone(mCall, '9'); 80 mPlayer.onForegroundCallChanged(null, mCall); 81 mPlayer.playTone(mCall, '9'); 90 mPlayer.onForegroundCallChanged(null, mCall); 91 mPlayer.stopTone(mCall); [all...] |
InCallWakeLockControllerTest.java | 38 @Mock Call mCall; 60 when(mCallsManager.getRingingCall()).thenReturn(mCall); 63 mInCallWakeLockController.onCallAdded(mCall); 73 mInCallWakeLockController.onCallAdded(mCall); 80 when(mCallsManager.getRingingCall()).thenReturn(mCall); 83 mInCallWakeLockController.onCallStateChanged(mCall, CallState.NEW, CallState.RINGING); 93 mInCallWakeLockController.onCallRemoved(mCall); 103 mInCallWakeLockController.onCallRemoved(mCall); 110 when(mCallsManager.getRingingCall()).thenReturn(mCall);
|
IncomingCallFilterTest.java | 46 @Mock private Call mCall; 88 when(mCall.getHandle()).thenReturn(TEST_HANDLE); 94 IncomingCallFilter testFilter = new IncomingCallFilter(mContext, mResultCallback, mCall, 97 verify(mFilter1).startFilterLookup(mCall, testFilter); 99 testFilter.onCallFilteringComplete(mCall, RESULT1); 101 verify(mResultCallback).onCallFilteringComplete(eq(mCall), eq(RESULT1)); 112 IncomingCallFilter testFilter = new IncomingCallFilter(mContext, mResultCallback, mCall, 115 verify(mFilter1).startFilterLookup(mCall, testFilter); 116 verify(mFilter2).startFilterLookup(mCall, testFilter); 117 verify(mFilter3).startFilterLookup(mCall, testFilter) [all...] |
CallScreeningServiceFilterTest.java | 71 @Mock Call mCall; 98 when(mCall.getId()).thenReturn(CALL_ID); 117 eq(mCall), anyBoolean(), eq(mPhoneAccountRegistrar))).thenReturn(null); 126 mFilter.startFilterLookup(mCall, mCallback); 127 verify(mCallback).onCallFilteringComplete(eq(mCall), eq(PASS_RESULT)); 134 mFilter.startFilterLookup(mCall, mCallback); 135 verify(mCallback).onCallFilteringComplete(eq(mCall), eq(PASS_RESULT)); 141 mFilter.startFilterLookup(mCall, mCallback); 142 verify(mCallback).onCallFilteringComplete(eq(mCall), eq(PASS_RESULT)); 148 mFilter.startFilterLookup(mCall, mCallback) [all...] |
AsyncBlockCheckFilterTest.java | 43 @Mock private Call mCall; 67 when(mCall.getHandle()).thenReturn(TEST_HANDLE); 79 mFilter.startFilterLookup(mCall, mCallback); 82 .onCallFilteringComplete(eq(mCall), eq(BLOCK_RESULT)); 93 mFilter.startFilterLookup(mCall, mCallback); 96 .onCallFilteringComplete(eq(mCall), eq(PASS_RESULT));
|
DirectToVoicemailCallFilterTest.java | 39 @Mock private Call mCall; 55 verify(mCallback).onCallFilteringComplete(mCall, 72 verify(mCallback).onCallFilteringComplete(mCall, 86 verify(mCallback).onCallFilteringComplete(mCall, 100 when(mCall.getHandle()).thenReturn(handle); 103 filter.startFilterLookup(mCall, mCallback);
|
ProximitySensorManagerTest.java | 39 @Mock Call mCall; 62 add(mCall); 94 add(mCall);
|
NewOutgoingCallIntentBroadcasterTest.java | 72 @Mock private Call mCall; 81 when(mCall.getInitiatingUser()).thenReturn(UserHandle.CURRENT); 103 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(Uri.parse(voicemailNumber)), 135 doReturn(true).when(mCall).isDisconnected(); 244 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(handle), isNull(GatewayInfo.class), 267 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(handle), isNull(GatewayInfo.class), 284 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(encHandle), isNull(GatewayInfo.class), 303 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(handle), 318 verify(mCall).disconnect(timeoutCaptor.capture()); 337 verify(mCall).disconnect(timeoutCaptor.capture()) [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/ |
IncomingCallFilter.java | 43 private final Call mCall; 62 mCall = call; 70 Log.addEvent(mCall, LogUtils.Events.FILTERING_INITIATED); 72 filter.startFilterLookup(mCall, this); 80 Log.addEvent(mCall, LogUtils.Events.FILTERING_TIMED_OUT); 81 mListener.onCallFilteringComplete(mCall, mResult); 98 Log.addEvent(mCall, LogUtils.Events.FILTERING_COMPLETED, mResult); 99 mListener.onCallFilteringComplete(mCall, mResult);
|
CallScreeningServiceFilter.java | 57 Log.addEvent(mCall, LogUtils.Events.SCREENING_BOUND, componentName); 88 if (mCall != null && mCall.getId().equals(callId)) { 119 if (mCall != null && mCall.getId().equals(callId)) { 145 private Call mCall; 180 mCall = call; 190 Log.addEvent(mCall, LogUtils.Events.SCREENING_COMPLETED, mResult); 191 mCallback.onCallFilteringComplete(mCall, mResult); 235 Log.addEvent(mCall, LogUtils.Events.BIND_SCREENING, componentName) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
ImsExternalConnection.java | 74 private ImsExternalCall mCall; 89 mCall = new ImsExternalCall(phone, this); 108 return mCall; 189 if (mCall == null) { 192 mCall.setActive(); 199 if (mCall == null) { 203 mCall.setTerminated(); 256 if (mCall.getState() == Call.State.ACTIVE) { 258 } else if (mCall.getState() == Call.State.DISCONNECTED) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/ |
GLCallGroups.java | 51 private final GLCall mCall; 56 mCall = call; 87 return mCall; 92 private final GLCall mCall; 96 mCall = call; 121 return mCall;
|
/packages/services/Telephony/src/com/android/phone/ |
CallTime.java | 45 private Call mCall; 71 mCall = call; 97 if (mCall != null) { 98 Call.State state = mCall.getState(); 101 updateElapsedTime(mCall);
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
TestCallList.java | 52 private Call mCall; 55 mCall = call; 62 + " call = " + mCall); 71 + " call = " + mCall); 87 "onVideoQualityChanged: videoQuality = " + videoQuality + " call = " + mCall);
|